[Q] 4ext Status Error overview - Desire Q&A, Help & Troubleshooting

Hi,
so i had from time to time problems with Status errors when flashing something with 4ext. This time it is an Status 6 error. Searching the Internet says me to change the newline symboles from Windows to unix. But they still where unix. So I don't know what other kind of problem can cause this error. Is there maybe an overview with all status errors, what they mean and how i can fix them??
Thank you all
HandyBesitzer

Status 6 could mean the zip is corrupt. Also sometimes when you change the updater script and have a syntax error it will give status 6. Check it over and make sure your not missing any semi colons or anything.
Sent from my HTC Desire using xda app-developers app

That'S the problem i changed the updater-script, but there is everything fine.
here is a picture of the script in Notepad++
{
"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"
}
what can be wrong with the zip file??
i used winrar, choosed zip and compression normal. removed all things from meta-inf folder, and resigned by sign-em.
==EDIT==
just complete repacked the zip but there is still the error

I found it. One of your extracting files lines has the letter 'y' at the end of it. Remove it

chromium96 said:
I found it. One of your extracting files lines has the letter 'y' at the end of it. Remove it
Click to expand...
Click to collapse
good spot. also OP u can check these scripts with the dsixda kitchen for errors

Thank you very much.
How das this with the kitchen work?? i know how to do it with an ROM i set up for working folder but how does it go for a theme pack??
==EDIT==
just removed it, repacked, and tryed to flash, but the same error

HandyBesitzer said:
How das this with the kitchen work?? i know how to do it with an ROM i set up for working folder but how does it go for a theme pack??
Click to expand...
Click to collapse
erm i dunno if it will work, like in the kitchen u can check for errors on a rom zip so just put the theme zip there and create a working folder then try check script for errors. might work, might not.

ok just put the updater-script into the meta-inf folder from my working folder of my GingerSense4 ROM. i converted to update-script and searched fro errors. Hey the kitchen says me that there is a error. -.- but i still doesn't know what it is. Is there maybe a special order the partition needs to be mounted/unmounted??

Check this out http://forum.xda-developers.com/showthread.php?t=2157659

That i allready tryed and how you can see from the pic there is still every newline char converted to Unix.
I just set up the Theme in the kitchen. It gave some errors, because there is no system folder, but i can convert updater to update and check the script. First the kitchen shorten my script up to 3 lines .
At all it found 2 issues. here the output:
==============================================
1/3: copy_dir PACKAGE:sdext /sd-ext
>> WARNING: sd-ext not found in working folder
2/3: copy_dir PACKGE:system SYSTEM:
>> WARNING: system not found in working folder
3/3: copy_dir PACKAGE:data DATA:
2 issue(s) found. Please review the update-script to ensure it is correct.
Press Enter to continue
==============================================
these errors are really funny because every thing worked, before i added the data partition and this didn't cause an error.

These tools i found mite help
UpdatezipCreator
flashpack.zipCreatorV1{TheCollective}w/EdifyScripting
How to Create Android Update Zip

thank you for your help. I just tryed a clean updater-script.
Code:
run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/sd-ext");
mount("MTD", "system", "/system");
mount("MTD", "userdata", "/data");
package_extract_dir("sdext", "/sd-ext");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
unmount("/sd-ext");
unmount("/system");
unmount("/data");
and i got no error. SO my Question what is the different?? The only thing i changed is that i deletet all ui_prints.
Maybe it's the 3 ui_prints at the end after unmounting?? This was made by an other Member and it worked alll the time, but i thought this looks a bit streang.

Related

Creating my 1st theme

Well I am now finally going to create my first theme and I am getting myself pretty familiar with everything but I had a question...
I know the stuff that cannot be messed with and all seeing as how I am working with the cm builds but would anyone know where I could find the terminal stuff. I wanted to change up that icon if I could to something a little more theme filling?
Thanks in advance and as soon as I get something going I will posts images.
brilliant - i for one look forward to seeing you work.
but sorry, can't help you with your Q.
APEX.7 said:
brilliant - i for one look forward to seeing you work.
but sorry, can't help you with your Q.
Click to expand...
Click to collapse
Terminal stuff?
/apps/term.apk has the terminal app 'stuff'
All you can change images wise is the terminal icon basically.
Are you just wanting to change the terminal icon (such as in the drawer?)
If thats the case, open the apps folder in your ROM and find the term.apk and open that. navigate to the drawable folder and the icon is in there.
Thats cool. Thanks for the confidence boost on creating...
Yeah pretty much just the icon...And thanks all for the help
Question...yet again...
I am using the auto signing program and am signing my little beta theme for testing and when I am loading it via the recovery mode I get E:Can't find update script. I am still new so if any help I would appreciate much.
Also should I include the fonts folder just as a precaution. I am not including that in my theme as I know there is the font chooser program out there as well so I figure let people have there own choice in font...again thanks
Yeah you need an update script, which will be found at /META-INF/com/google/android/update-script
and should look like this:
Code:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:system SYSTEM:
or something along those lines.
This script is assuming your zip file contains the following structure:
/framework
/system
/system/app
There is a simpler one that only needs to contain the second line and has the structure like this:
/system
/system/app
/system/framework
daveid said:
Yeah you need an update script, which will be found at /META-INF/com/google/android/update-script
and should look like this:
Code:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:system SYSTEM:
or something along those lines.
This script is assuming your zip file contains the following structure:
/framework
/system
/system/app
There is a simpler one that only needs to contain the second line and has the structure like this:
/system
/system/app
/system/framework
Click to expand...
Click to collapse
Ah ok...Any idea where I can get that file or folder by chance?
holmes901 said:
Ah ok...Any idea where I can get that file or folder by chance?
Click to expand...
Click to collapse
Here is a completely blank update.zip that has a proper update script in it, drop your files in re-sign, and go.
daveid said:
Here is a completely blank update.zip that has a proper update script in it, drop your files in re-sign, and go.
Click to expand...
Click to collapse
Thanks so much for the download and the help.I should be good to go now so no more worries.
So far what I have for my first
So the screen below shows what I have so far...I am still working on it and hoping I can get the blur transitions into the mix as well as maybe more or better icons...If anyone has a link where I could get the blur transitions from feel free to send my way.
{
"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"
}
holmes901 said:
Question...yet again...
I am using the auto signing program and am signing my little beta theme for testing and when I am loading it via the recovery mode I get E:Can't find update script. I am still new so if any help I would appreciate much.
Also should I include the fonts folder just as a precaution. I am not including that in my theme as I know there is the font chooser program out there as well so I figure let people have there own choice in font...again thanks
Click to expand...
Click to collapse
Same problem. Even with the update script in there from the template update folders, I still get this error. I seem to have the resigning working. Any idea how to fix this error?

Dena theme 1.2 for JPM

Here is dena theme for I9000XXJPM
Root your phone
install lagfix
install busybox
Managed to get it working using Android SDK tools. ROOT needed
Connected my phone via usb with the computer ... USB debuging needs to be enabled before connecting the phone.
copy the files included in Dena Theme 1.2 to your internal SD card.
1. adb shell
2. su (grant su rights on your phone when asked)
3. mount -o rw,remount /dev/block/mtdblock3 /system
3. rm system/framework/twframework-res.apk
4. rm system/framework/framework-res.apk
5. rm system/app/settings.apk (if no file is found try Settings.apk ... no ide if it matters tho)
6. busybox cp sdcard/twframework-res.apk system/framework
7. busybox cp sdcard/framework-res.apk system/framework
8. busybox cp sdcard/Settings.apk system/app
Then reboot your phone manually.
So i suggest you bacup the original *.apk`s
Have Fun!!!!
Link:
rapidshare.com/files/426871246/Dena_theme_1.2_for_JPM.zip
New Version for JPO
Link:
rapidshare.com/files/428036654/Dena_theme_v1_3_for_JPO.zip
a screenshot would be nice
Sorry i can not upload pics but it works perfect
Can anyone make an update.zip icluding all these files (framework,twframework,setting.apk) ?
it would be much easyer.
I installed the dena Theme for JP6 on JPM and my phone crashed, i had to flash the JPM aggain.
Is this Version sure for JPM? and what´s the differens btw this and that from dena for JP6??
Hi do not know if I can help but I installed the track chain on galaxy with JPM and luxury goes, I've installed it and tracing the rootexplorer r / o-res.apk framework files, Settings.apk, twframework-res . apk in their folders, the only thing that looks good is the lock screen that goes transparent, but I've replaced by Simply lock screen and is great and the theme is beautiful, the best thing on the Internet for our galaxy .
Well I hope I have helped a little to the creators of such great item, thanks
Not gonna download without a screenshot. :/
small bug
>>Jumba Not gonna download without a screenshot. :/
The screen shot is here
"forum.xda-developers.com/showthread.php?t=770507"
there is a small bug in the theme for JPM tho...the battery animation when charging only animates at a quarter of the circle...not doing the full circle as it should..perhaps the animation sequence is off a little bit...
Without a Screenshot -> no chance
DENA Theme for JPO
rapidshare.com/files/428036654/Dena_theme_v1_3_for_JPO.zip
screenshoot please!
Dont anyone read the threads?
Post 7 quite clearly has a link to the thread with a screenshot.. also theres screenshots throughout the Docs Rom thread.
TrOjAn
this is screenshots
{
"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"
}
Just downloaded this and its 5mb smaller than JPA... checking to see whats difference
any multiupload mirror please?
Thanks...
TrOjAnUK said:
Just downloaded this and its 5mb smaller than JPA... checking to see whats difference
Click to expand...
Click to collapse
Did you find the difference?
There is no installer script in this, it is just 3 x .apk files.
I will look through them and compare with default .apks, as of this moment I am NOT installing as I dont know the author (7posts) and its not how a theme is normally released.
TrOjAn
I've used Dena's theme with Doc v7 JPA and Doc v6, awesome both times!
Tried installing JPO theme via CWM and it just didn't do anything, just got stuck on installing, didn't progress.
yep,but with XJPO stuck me on CWM
not instaling I dont now why
file is 7mb(view on root explorer)
wirkin nice V6
read first post

DEV help needed boot.img/assert failed

hi guys,
im running into problems.
after using kitchen and signing my rom etc, I try to flash it but it says:
Code:
assert failed: write_raw_image("/tmp/boot.img","boot" android
I saw many people have this problem, and some say coverting to edify works.
however edify is not supported by newer recoveries.
any devs faced this problem and know how to fix??
Nope. Never had this problem. Just download Phiexz's or Delanoiter's kernel and look at the updater-script. Just copy the boot.img part
Peteragent5 said:
Nope. Never had this problem. Just download Phiexz's or Delanoiter's kernel and look at the updater-script. Just copy the boot.img part
Click to expand...
Click to collapse
Maybe ill try that, but I can still use my own boot?
Sent from my GT-S5660 using xda premium
Yes you can still use your boot.img
In the updater-script look for the process where it's flash the kernel / boot.img
Peteragent5 said:
Yes you can still use your boot.img
In the updater-script look for the process where it's flash the kernel / boot.img
Click to expand...
Click to collapse
Ok will try that
Sent from my GT-S5660 using xda premium
now im getting
error in update.zip
status 6
downloaded notepad++
is it necessary to remove unneeded spaces?
now it works, it says installation done, but, if I reboot, nothing happened, im just on the rom I whas.
it says its installing, but doesn't really do anything..
you know how to fix this??
voetbalremco said:
now im getting
error in update.zip
status 6
downloaded notepad++
is it necessary to remove unneeded spaces?
Click to expand...
Click to collapse
Yes you need Notepad++.
Select all your text and go to Edit > EOL Conversion > UNIX Format
And if you want to see the hidden format look at the picture below. It should say LF for UNIX and CR LF for Windows
{
"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"
}
You can erase unneeded spaces if you want to but it's not necessary.
voetbalremco said:
now it works, it says installation done, but, if I reboot, nothing happened, im just on the rom I whas.
it says its installing, but doesn't really do anything..
you know how to fix this??
Click to expand...
Click to collapse
Hmmm... I really don't use kitchen that much because it's really annoying getting the Rom to boot up. Plus it's not specifically for Gio. So I don't know lol
You can grab an boot.img of phiexz cm7?
jaapteeuw12 said:
You can grab an boot.img of phiexz cm7?
Click to expand...
Click to collapse
No.
The boot isnt the problem, its just not installing, also the system doesnt do anything..
Sent from my GT-S5660 using xda premium

[SCRIPT] shellpaste v0.4

This is a handy little shell script I wrote today that I used to copy files to /system/app folder. This is the first thing I ever wrote for Android so I don't know if anyone has any use for this but there ya go.
{
"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"
}
To use simply download the shellpaste.txt from below and rename it to shellpaste.sh. Put the file in the root of your SD card then go to android terminal and type the following:
Code:
sh /sdcard/shellpaste.sh
Changelog:
Code:
shellpaste v0.4
-now supports all folders not just /system.
-added chmod to actually make it useful. Thanks Tigger31337.
shellpaste v0.3
-cleaned up the code a bit.
shellpaste v0.2
-first release.
Thanks man this is very helpful for the things I do. Cheers.
-rezo609
Awesome! Hope it serves you well.
small scripts, medium tricks, big handy
Does this address permissioning after the file(s) are copied?
No offense, but yours seems like a rather convoluted method when you've got things like adb push or just drag and drop from the PC. If the apk is already on your phone, then you need only do a cut and paste to /system (with, say, Root Explorer) and then set permissions. Done.
Also, it's not very flexible. What if I want to copy to /data? Another script??
None taken. The script changes the permissions to r/w, copies the file, then changes it back to read-only. As I said, this was just a script I wrote to help me with what I needed to do at the time. Maybe I'll write a new version that supports any folder the user chooses.. I agree, it's not exactly an elegant solution but I'm a complete noob at this. You gotta start somewhere, right?
Edit: Also, I am completely open to feature suggestions. So if there's anything more advanced you guys would like to see in newer versions feel free to post. I'm using this as a tool to learn as much as possible.
Sent from my htc wildfire s a510e using XDA
I don't mean permissions at the f/s mount level, I mean permissions at the file level (i.e. chmod).
If you're copying an apk to /system/app, then eventually you'll need to chmod it to 644 before it will execute properly. Maybe I'm missing something, but copying an apk from SD card to /system isn't going to do this for you automatically.
I have a suggestion to your script
Example: I pushed a systemUI.apk in system/app folder through adb now when you look at your phone the statusbar dissappears, of course because of push, now can you make a script to rerun the apk or execute it, like mounting it dunno the exact word, so that you won't have to reboot your phone to see your statusbar again, instead just run it like windows run. This is usefull if your modding the APK.
Gotcha. Completely forgot about chmod.
I'll try to make it reinstall the systemui.apk without rebooting but could use some pointers on how to achieve this.
Edit:
Made a new version that supports mounting of all folders and added chmod into the mix. Should work properly now.
einstein.frat said:
I have a suggestion to your script
Example: I pushed a systemUI.apk in system/app folder through adb now when you look at your phone the statusbar dissappears, of course because of push, now can you make a script to rerun the apk or execute it, like mounting it dunno the exact word, so that you won't have to reboot your phone to see your statusbar again, instead just run it like windows run. This is usefull if your modding the APK.
Click to expand...
Click to collapse
I've never used android scripts before but I'm guessing you could just do
exec /system/app/whatever.apk
But idk on that one.
Sent from my HTC Wildfire S A510e using xda premium
einstein.frat said:
I have a suggestion to your script
Example: I pushed a systemUI.apk in system/app folder through adb now when you look at your phone the statusbar dissappears, of course because of push, now can you make a script to rerun the apk or execute it, like mounting it dunno the exact word, so that you won't have to reboot your phone to see your statusbar again, instead just run it like windows run. This is usefull if your modding the APK.
Click to expand...
Click to collapse
I do exactly this on the WildChild ROM, using pm disable/enable.
It's a method I came up with by myself (so, it's not very elegant but it gets the job done ). There might be other ways of doing it, but I haven't seen any yet.

[Aosp]How To Port For Dummies

Here is a quick guide that is PRETTY reliable by ET4G
-------------------------------
This for now is for aosp/ maybe touchwiz.......
-------------------------------
First things first
Find a Base From and The From you want to port......
----------------------------
Make sure these devices are extremely similar or else you have to do framework edits/resizing and other stuff
So if you want to port use something close for the epic
Like international sgs2
------------------------------
Next.....
Go into system of from you plan to port......
And take the
System/apps
System/framework
System/fonts
And system/media
And replace the same files in the base from for those......
SO AGAIN MOVE THOSE FILES FROM PORT TO THE BASE
----------------------------
Next .......
Go into xbin and replace su
----------------------------
Next.......
Go into libs and replace
libandroid_runtime.so
*****Also make sure you dont mismatch your libraries....easiest way to make an unstable rom(they must be built to match eachother)****
----------------------------
After that......
Go into build prop with Linux or windows if using windows get the program notepad++
Change the
ro.build.id
ro.build.display.id
ro. build.incremental
All to that of the port....
-----------------------------
Now go into updater script in
Meta-inf/Google/android
Nothing really has to be changed for now.......
If you would like to make it fancy
U can go into notepad++
And edit it
For example
Add a line in front of the first and type
ui_print("");
ui_print("");
ui_print("Whatever you want");
ui_print("");
ui_print("like your username");
ui_print("");
ui_print("info on the rom");
ui_print("");
ui_print("whatever");
ui_print("");
ui_print("");
Just make sure you don't write anywhere you want or replace something..........
Will result in status 6 or 7 error in cwm
--------------------------
Now zip up that file and flash.......
If the phone doesn't go past boot animation
Connect to PC while in animation
.......
Make sure you have adb and type
adb logcat d> logcat.txt
And a txt file will save to where sdk is located
-------------------------
If it says there is a lib missing in Debug
Just replace FROM PORTED AS WELL.....
--------------------------
And your good to go
-------------------------
Guys I'm open to questions Just Ask
PM or In this Thread
---------------------------
HIT THE THANKS BUTTON IF THIS HELPS
Reserved for additions
Sent from my SPH-D710 using XDA
******Why not one more******
Sent from inside the box
Am i missing anything just pm me no need for anything like that in thread
PM and ill add immediately
Sent from my SPH-D710 using XDA
Mismatching libraries is the number one way to make an unstable ROM.
Always make sure your libraries are built to match each other.
Very true thankyou for the tip will add immediately
Sent from my SPH-D710 using XDA
Edit:Added to thread
SENT FROM OUTSIDE THE BOX
*****Hit The Thanks Button****
When I Deserve It
{
"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"
}
No changes to kernel? Would i used a kernel for this device and i should be fine?
Sent from my SPH-D710
Would it be possible to port a SGS3 Touchwiz ROM? I would love to give that a try.
Sent from my SPH-D710 using xda premium
hey guys
1. the base kernel should be fine
you shouldnt have to edit the ramdisk in aosp ports
2. this is a porting guide for aosp
Touchwiz maybe different porting steps but its always worth a try be careful
Member has been banned for creating puppies of a previously banned user, therefore this will be closed.

Categories

Resources