CWM error Status 6. Help - Android Q&A, Help & Troubleshooting

Hey, I'm having trouble making an update.zip, I'm new to making zips and i searched online for help but none fixed my problem. here is my updater-script
package_extract_file("modem.bin", "/tmp/modem.bin");
set_perm(0, 0, 0777, "/tmp/modem.bin");
package_extract_file("updater.sh", "/tmp/updater.sh");
set_perm(0, 0, 0777, "/tmp/updater.sh");
package_extract_file("make_ext4fs", "/tmp/make_ext4fs");
set_perm(0, 0, 0777, "/tmp/make_ext4fs");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
package_extract_file("flash_image", "/tmp/flash_image");
set_perm(0, 0, 0777, "/tmp/flash_image");
package_extract_file("erase_image", "/tmp/erase_image");
set_perm(0, 0, 0777, "/tmp/erase_image");
package_extract_file("bml_over_mtd", "/tmp/bml_over_mtd");
set_perm(0, 0, 0777, "/tmp/bml_over_mtd");
package_extract_file("bml_over_mtd.sh", "/tmp/bml_over_mtd.sh");
set_perm(0, 0, 0777, "/tmp/bml_over_mtd.sh");
package_extract_file("boot.img", "/tmp/boot.img");
assert(run_program("/tmp/updater.sh") == 0);
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
run_program("/sbin/busybox", "umount", "/system");
Click to expand...
Click to collapse
below I will have a link to my zip. Any help is appreciated.

Can ask developers
u can ask developers for this type of problem's ...
Just be friend with any of the developers .... or send a private message to them ...
This type of problems can be easily solved by .... Recognized developers ( or ) Contributers
:highfive:

Can you tell the error message?

kasper_h said:
Can you tell the error message?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is the error I get.

If you go to Advanced-Show log, you get more info of what is wrong...

kasper_h said:
If you go to Advanced-Show log, you get more info of what is wrong...
Click to expand...
Click to collapse
My computer is currently dead, so do you think you can fix it up?

as far as i know, error 6 was caused by some miss typing on updater-script. you can check again the syntax or command used in it.

You're updater-script is in Windows/DOS formatting. It should be in UNIX.

Related

[WIP] [DEV] NOTHING-mod, delete please

No longer supported, go to zeubea's thread for further updates
Downloading...
Bwahahahaha
Sent from my fingertips using Android.
Wagedroid said:
Downloading...
Bwahahahaha
Sent from my fingertips using Android.
Click to expand...
Click to collapse
Fingers Crossed
Downloading now. Can't wait to give it a shot.
I don't understand I keep getting a status (0) but isn't that a mount error?
Sent from my fingertips using Android.
ill look at the updater-script later, ill try to find a working one
Whoareyou said:
ill look at the updater-script later, ill try to find a working one
Click to expand...
Click to collapse
It can also be the busybox right?
Sent from my fingertips using Android.
hi, works hw?
The suspense is killing me!
Sent from my fingertips using Android.
This is great. Can't wait!
Sooo? does it work?
Do0zman said:
Sooo? does it work?
Click to expand...
Click to collapse
Doesn't install at the momennt
Sent from my fingertips using Android.
Wagedroid said:
I don't understand I keep getting a status (0) but isn't that a mount error?
Sent from my fingertips using Android.
Click to expand...
Click to collapse
show_progress(0.500000, 0);
format("yaffs2", "MTD", "system");
mount("yaffs2", "MTD", "system", "/system"); 0
package_extract_dir("system", "/system");
why is there a 0...?
Sorry, i dont have home internet, I can only help during school hours
Please tell me install guide for this ROM to my MT3GS. Thanks
daniel60104 said:
show_progress(0.500000, 0);
format("yaffs2", "MTD", "system");
mount("yaffs2", "MTD", "system", "/system"); 0
package_extract_dir("system", "/system");
why is there a 0...?
Click to expand...
Click to collapse
Could be a corrupt busy box?
Sent from my fingertips using Android.
Okay, i think i know how to fix this!
Whoareyou said:
Okay, i think i know how to fix this!
Click to expand...
Click to collapse
Winning
Sent from my fingertips using Android.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Lmao.
That was perfect
Are you at school?
Sent from my fingertips using Android.

[Q] Lockscreen-Remove clock and date

Hello,
I have a question, I use the lockscreen, the one who's part of my ROM [ICS] [CM9] KonstaKANG (Android 4.0.4)
in setting is not an option to disable displaying time and date ..
is there any way to remove the clock and date?
Phone: ZTE Blade
Thanks and sorry for my bad English
Nobody really knows how to do it?
....
...
... no, apparently... If you dont see an option, surely it cant be done. have you tried with some lockscreen app?
I just use this lockscreen, not another app
I tried to remove the clock editing the xml file for the lockscreen, but without success ..
have some patience to get devs to answer to you
---------- Post added at 05:29 PM ---------- Previous post was at 05:27 PM ----------
it would for sure be in settings
here is my file framework-res.apk
http://depositfiles....files/ptcqt4g29
could someone edit and remove clock and date?
...
U have to edit I guess the framework-res.apk manually. I'm not sure which file, I don't have a ZTE anymore, sorry
Edit:
I'll take a look at your fw-res tomorrow.
Sent from the outer space, delivered by an android
look in values /colours xml, and change the lockscreen clock values to a transparent value.
just for clarity, the values shown are not transparent
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
so I changed this
And nothing happened,clock is still here, why?
and now the phone freezes..
did you take the arsc from the build folder, and place that into the original framework res apk?
ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
Yes, I did
try placing a 1 at the end of the values, like 00000001
could try also the recompiled apk that apktool has churned out and see if that one works.
ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
like this?
I did, but still the same, the phone freezes again and the clock is still there
it shouldn't make it freeze as were only changing a colour value. let me have a faff
edit, I do have a alternative way of sorting this, what would be for me to make a blank androidclock ttf, and replace the androidclock font with a blank version. no txt in font no lockscreen clock.
ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
phone freezes every time I replace the original framework-res and I restored using recovery
I've knocked up a blank font, but it only removed the clock, but not the date. back to the drawing board. this will be possible
ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
if you still managed to remove that date, it would be great
when you upload my framework-res.apk, you edited it to me?
http://depositfiles.com/files/hdxjmg4pt

[Q] Status 7 xperia mini pro sk17 i cannot fix it

Hello i have a problem with status 7 but i cannot fix it, i tried some advices from xda and other pages but it wont work for me
i tried install some stock ftf kernel , i extract boot.img from ROM which i want instal but no results. i have cm9 instaled before but i tried instal miui ROM ( miui can be instaled without erors but then only what i can see is fxp logo and after blackscreen and status 7 is result
sory for my bad english
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Simple just unpack the Rom zip goto system/ open build.prop with notpad++ delete the 1st 6 lines having the 'getprop thing's' save it...repack the zip and flash the rom
Sent from my SK17i using XDA Premium HD app
sandy7 said:
Simple just unpack the Rom zip goto system/ open build.prop with notpad++ delete the 1st 6 lines having the 'getprop thing's' save it...repack the zip and flash the rom
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
sorry but i dont know which one lines you actually mean
b33ro said:
sorry but i dont know which one lines you actually mean
Click to expand...
Click to collapse
Just delete the 1st six lines in updatee script.
Sent from my SK17i using XDA Premium HD app
Okay you'll need Notepad++ to do this, but it's a free and small download so... c;
As the user above me said, open up the META-INF/google/android/ folder and open the updater-script with Notepad++ and delete all the lines that include "getprop" (they will be at the top).
b33ro said:
sorry but i dont know which one lines you actually mean
Click to expand...
Click to collapse
here see delete these lines in updater script..
Code:
assert(getprop("ro.product.device") == "SK17i" || getprop("ro.build.product") == "SK17i" ||
getprop("ro.product.device") == "SK17a" || getprop("ro.build.product") == "SK17a" ||
getprop("ro.product.device") == "mango" || getprop("ro.build.product") == "mango");
I love you both. thanks very much its working :good:

[GUIDE]How to port other rom

Hello
Maybe look like on our devices has a few little roms and for someone to port other rom from ther devices
Special for beginner developed
MUST HAVE APPLICATION
Notepad++ (DOWNLOAD)
Winrar (DOWNLOAD)
Notes:
I will be referring to the following:
BASE = The GB/ICS/JB ROM made for your Device only.
PORTED = The ROM you are trying to port from.
BASE and PORTED must be the same CPU. e.g. ARMv7, ARMv6, ARMv5
You must have the same settings in Notepad++ like mine.
Ignore the procedure, if the file or folder is not present!
BASE & PORTED should be the same Android version.
If you are porting a custom GB ROM, then use a GB BASE, the same goes for ICS and JB
Make sure both BASE & PORTED are deodexed (It's hard to port an odexed ROM)
Final ROM is inside PORTED Folder
(Don't get confused! This is a Major change from the previous Guide because this method is a lot faster and easier)
PORTED FOLDER
Please remove this folder on system folder except:
App
Framework
Media( it folder have sound system and bootanimation)
Fonts
BASE FOLDER
PLEASE REMOVE THIS FOLDER on system
App
Fonts
Framework
Media
WHAT TO DO NOW?
Copy all folder on ported folder to base folder..
Now go to the etc folder in base.zip and the port.zip now see if the base.zip has any extra files other than those in the port.zip
if you find any put them in your etc folder of port.zip
Open /system/build.prop
Copy & Replace the following:
ro.modversion
ro.cm.version
ro.config.ringtone
ro.config.notification_sound
ro.config.alarm_alert
ro.config.sms_received_sound
ro.config.sms_delivered_sound
persist.sys.themeId
persist.sys.themePackageName
MIUI
Add & Make sure the following values are like this:
ro.build.id=MIUI
ro.build.display.id=MIUI x.x.x
ro.build.version.incremental=x.x.x
ro.config.ringtone=MI.ogg
LEWA OS
Add & Make sure the following values are like this:
ro.build.display.id=LeWa_ROM_DeviceNickname_xx.xx.xx
ro.lewa.version=LeWa_ROM_DeviceNickname_xx.xx.xx
ro.lewa.device=DeviceNickname
ro.lewa.swapper.part_path=PORTED's_Value
ro.lewa.swapper.flash_swappiness=PORTED's_Value
ro.lewa.swapper.sd_swappiness=PORTED's_Value
ro.error.receiver.system.apps=com.lewa.fc
ro.error.receiver.default=com.lewa.fc
Make sure the following is for your Device:
rild.libpath=
rild.libargs=
BASE FOLDER
Open /system/build.prop
Highlight from: ro.build.tags=
to: # ADDITIONAL_BUILD_PROPERTIES
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Copy & Replace that highlighted part to: PORTED's build.prop's highlighted part
Copy everything from: # ADDITIONAL_BUILD_PROPERTIES
To: the end of the file
Paste it to PORTED's build.prop
UPADE SCRIPT
BASE FOLDER
Move the following, to PORTED FOLDER:
COPY AND REPLACE IT
META-INF/com/google/android/update-binary
META-INF/com/android/metadata
META-INF/com/android/otacert
Now open folder in fornt rom folder you can see META-INF folder
META-INF/com/google/android/updater-script
Replace the following values, to PORTED FOLDER:
mount("xxxxxx");
format("xxxxxx");
retouch_binary
The installation of the kernel (Something like: assert(package_extract_file("boot.img",)
Take note of the added set_perms & set_perm_recursives that PORTED FOLDER added. Then replace all set_perm and set_perm_recursive from BASE FOLDER to PORTED FOLDER. Put back in the noted set_perms & set_perm_recursive you wrote down, to PORTED FOLDER updater-script
FOR ICS
If the updater-script in PORTED FOLDER is modded to have tweaks & addons do the set_perms procedure above
Now use BASE's entire META-INF Folder. Copy it to PORTED
MIUI
Add value to ported folder
set_perm(0, 0, 06755, "/system/xbin/invoke-as");
set_perm(0, 0, 0755, "/system/lib/liblbesec.so");
reserved
Reserved only

[Q] updater-script for mediatek device mt-6572(CHERRY MOBILE EDGE)

Hello Fellow XDA!
Good day! I would like to seek help about my query in modifying in updater-script. I know there's a lot of thread about updater-script for different devices and tutorials but i'm looking for mediatek devices specifically in CHERRY MOBILE EDGE. The CHERRY MOBILE EDGE is a local device and only available in the Philippines and I can say that it has a decent specs(see specs below). Unfortunately there is no available supports for this device due to its not popular in the Philippines. I'm doing this in behalf of all EDGE users to experience difference custom ROM on their device and i'm looking forward to have a custom ROM for it. That's why i'm seeking for your help fellow XDA expert! I'm following this steps http://en.miui.com/thread-32469-1-1.html and I'm stuck in updater-script section where I have a problem in mmcblk0x of /system and /data. It shows the the mmcblk05 for /system and mmcblk07 for data but in my case the value of mmcblk0x for /system is mmcblk04 and the mmcblk0x for /data is mmcblk06. See the attached image for more clarification, does my modified updater-script is correct? or it will lead to bootloop or deadboot? thank you for your help in advance!
blockmaps
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
original script in updater-script
ui_print("MIyUwI Ver 4.1.3 ROM");
ui_print("Base MIUI ROM");
ui_print("by : FieKri ");
ui_print("Format & mount system...");
format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/data");
delete_recursive("/data/dalvik-cache");
format("ext4", "EMMC", "[email protected]", "0", "/system");
mount("ext4", "EMMC", "[email protected]", "/system");
show_progress(0.700000, 40);
ui_print("Extracting system...");
modified updater-script
ui_print("MIyUwI Ver 4.1.3 ROM");
ui_print("Base MIUI ROM");
ui_print("by : FieKri ");
ui_print("Format & mount system...");
format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0");
delete_recursive("/data/dalvik-cache");mount("ext4", "EMMC","/dev/block/mmcblk0p5", "/system");
show_progress(0.700000, 40);
ui_print("Extracting system...");mount("ext4", "EMMC","/dev/block/mmcblk0p7", "/data");
show_progress(0.700000, 40);
ui_print("Extracting data...");
EDGE specs
EDIT: Mali-400 MP* not MO, sorry about that.
why u only delete dalvik-cache ?

Categories

Resources