Related
Hi there,
I have encountered a problem when i want to flash a custom rom.
I installed all the neccesary software, however when i want to instal the zip from sd card i keep getting an error that says that the zip is bad.
I have tried different roms and I have encountered the problem over and over again.
Can someone help me with this?!
Thanks,
Bojan
how are you moving the zip to the sd? because magldr usb transfers corrupt larger files.
also, it usually helps to write a brief step by step of what you have done so far. Don't just say 'i have downloaded all the software' and assume that everything you did so far is correct, because 9 out of 10 problems are user error, and very often its an assumption that causes the problem.
Also check your rom by double-clicking the zip file (no need to unzip unless you want to), a good download will not record errors upon opening the rom's zip files). There are instances that a download is bad and yes copy the rom through a card reader. :good:
I'm getting an error when I try to install a .zip file through CWM recovery.
I get an error saying : E: Can't Open /sdcard/x (No such file or directory exists).
I've looked around and have learned that my best bet is to format my SD card. I can do that just fine, but I don't want to lose my data. I'm not flashing a ROM, it's just a custom lockscreen clock. If I format, I'll have to redo everything and lose all my data, apps, and system files (I'm running CM7 off of my SD card). But I need that for my zip to even be worth it.
I'm running a nightly build. Is there any possibility/plausibility that this could be a ROM-specific bug?
Is there any advice as to what I should do?
Thanks in advance.
SacTappingUni said:
I'm getting an error when I try to install a .zip file through CWM recovery.
I get an error saying : E: Can't Open /sdcard/x (No such file or directory exists).
I've looked around and have learned that my best bet is to format my SD card. I can do that just fine, but I don't want to lose my data. I'm not flashing a ROM, it's just a custom lockscreen clock. If I format, I'll have to redo everything and lose all my data, apps, and system files (I'm running CM7 off of my SD card). But I need that for my zip to even be worth it.
I'm running a nightly build. Is there any possibility/plausibility that this could be a ROM-specific bug?
Is there any advice as to what I should do?
Thanks in advance.
Click to expand...
Click to collapse
If you are running CM7 on SD you do not flash zips to it with ordinary CWM. Ordinary CWM will flash things to emmc. But maybe that is what you are trying to do. You do not say what you have on emmc.
If you want to flash the zip to the SD installation, make sure the zip file starts with update- and put it in the boot partition just like you do for roms. Then boot to SD recovery and the script will install it to SD.
An alternate way to flash things to SD installed CM7 is to use a special CWM modified for use on SD installs. You can read about and get it by looking at my tips thread linked in my signature. Item B5.
If you want to flash to emmc, make sure you are using an ordinary SD to put the zip on. Ordinary CWM always looks for partition one on the sd for the zip file. On your CM7 SD, the file is on partition 4 so CWM cannot find it.
So I'm trying to flash a new clock for my NC's unlock screen. The zip is called HoneyCombClock.zip. So do I just rename it to update.zip? That's not going to mess anything up?
Also yes, I booted into boot menu and selected emmc recovery. I thought that I needed to do CWM recovery.
I'll try the proposed method when I get a confirmation that it's not going to mess up my NC.
SacTappingUni said:
So I'm trying to flash a new clock for my NC's unlock screen. The zip is called HoneyCombClock.zip. So do I just rename it to update.zip? That's not going to mess anything up?
Also yes, I booted into boot menu and selected emmc recovery. I thought that I needed to do CWM recovery.
I'll try the proposed method when I get a confirmation that it's not going to mess up my NC.
Click to expand...
Click to collapse
You need to find out if it is a flashable zip... or if it is an app that has been zipped... I'm betting on the latter.
SacTappingUni said:
So I'm trying to flash a new clock for my NC's unlock screen. The zip is called HoneyCombClock.zip. So do I just rename it to update.zip? That's not going to mess anything up?
Also yes, I booted into boot menu and selected emmc recovery. I thought that I needed to do CWM recovery.
I'll try the proposed method when I get a confirmation that it's not going to mess up my NC.
Click to expand...
Click to collapse
If it is a flashable zip like Dizzy pointed out, you should rename to update-HoneyCombClock.zip. But I agree with Dizzy that it is probably a zipped apk file, not a flashable zip. Try looking at it with a zip program and see what you get.
It is indeed a flashable zip. I extracted it to make sure.
Also, I'm curious as to what you (leapinlar) meant when you instructed me to put the zip in the boot partition. From what I understand, that's the root of the SD card, right? Or has it changed?
SacTappingUni said:
It is indeed a flashable zip. I extracted it to make sure.
Also, I'm curious as to what you (leapinlar) meant when you instructed me to put the zip in the boot partition. From what I understand, that's the root of the SD card, right? Or has it changed?
Click to expand...
Click to collapse
Yes, it is what shows up on your PC when you take the card out of the nook and put it in the PC. Copy the zip there, rename it like I suggested above, put back in nook. When booting hold the n key until the boot menu comes up. Select SD and recovery and finish booting. The recovery script will install the zip.
I'm doing it and I'm not getting any errors, but when I boot into recovery, it runs through and shuts down without installing the zip. I don't understand what I could be doing wrong.
SacTappingUni said:
I'm doing it and I'm not getting any errors, but when I boot into recovery, it runs through and shuts down without installing the zip. I don't understand what I could be doing wrong.
Click to expand...
Click to collapse
And you renamed it like I said with update- on the front? (Don't forget the dash and no spaces.)
The file name is "update-HoneyCombClock". That should work right?
Sorry about these extended questions.
SacTappingUni said:
The file name is "update-HoneyCombClock". That should work right?
Sorry about these extended questions.
Click to expand...
Click to collapse
and .zip at the end?
It's automatically recognized as a zip file. If I put .zip at the end, it will show up on my tablet as "update-HoneyCombClock.zip.zip" Nevertheless, I'll try it and see what I get. I'll laugh if it works.
SacTappingUni said:
It's automatically recognized as a zip file. If I put .zip at the end, it will show up on my tablet as "update-HoneyCombClock.zip.zip" Nevertheless, I'll try it and see what I get. I'll laugh if it works.
Click to expand...
Click to collapse
Even if you get it flashing with your SD setup... it may not work if it requires honeycomb and you're running gingerbread.
It's meant for cm7. Here's a link to the thread I got the zip from: http://forum.xda-developers.com/showthread.php?t=959602
SacTappingUni said:
It's automatically recognized as a zip file. If I put .zip at the end, it will show up on my tablet as "update-HoneyCombClock.zip.zip" Nevertheless, I'll try it and see what I get. I'll laugh if it works.
Click to expand...
Click to collapse
What does the script say when it boots to SD recovery? Does it say install zip not found? And when you take it back out and look at it in the PC, is it still there? If it installed, the script will remove it. I know you can have your PC set to not show known extensions so it looks like it is missing. Temporarily disable that so you can really see the name. The script requires that it be named precisely, update- at the beginning, .zip at the end and no spaces.
The script doesn't mention any .zip installation. The zip file stays on my sd card root after recovery.
I just set my computer to show extensions. I'll retry the installation and make sure that every detail is perfect.
I remember doing something similar when I flashed a nightly on my nook. It was a .zip file. It wasn't flashing, so I looked around and got the impression that it would only instal if it had "update-" at the beginning. So I renamed it and it installed. I don't know what's up with my NC now. Is there any possibility that this could be a bug with the nightly? Or are installations not affected by ROM's.
SacTappingUni said:
The script doesn't mention any .zip installation. The zip file stays on my sd card root after recovery.
I just set my computer to show extensions. I'll retry the installation and make sure that every detail is perfect.
I remember doing something similar when I flashed a nightly on my nook. It was a .zip file. It wasn't flashing, so I looked around and got the impression that it would only instal if it had "update-" at the beginning. So I renamed it and it installed. I don't know what's up with my NC now. Is there any possibility that this could be a bug with the nightly? Or are installations not affected by ROM's.
Click to expand...
Click to collapse
No the existing rom will make no difference. It could be the zip itself. It has to be structured like a rom zip. It needs a /system directory with the files you want to flash. And it needs a META-INF folder with the script file buried in it. Where did you get the zip? Maybe I could look at it for you.
EDIT: I just downloaded and looked at it. It is just adding a single font to your /fonts folder. Nothing else. You can do that manually with root explorer. Just extract the font from the zip and copy to /system/fonts.
I got the zip from here: http://forum.xda-developers.com/showthread.php?t=959602
The clock can be flashed on any device with the following zip in recovery just like before.
http://www.mediafire.com/?b6xpw0pda671ujm
Click to expand...
Click to collapse
The zip has a font file and a meta-inf folder.
Look at my edit above
I replaced the file, but now I'm in an infinite bootloop.It just keeps doing the skateboarding android animation. Please tell me this isn't a problem with permissions. I don't know if I can even edit permissions now.
Sir, I Need a Internal Image files(From PINK SCREEN) If you have rom used base B526, please upload it sir, i very need that all files,bcoz with old amss from b526 my X5 can be boot normally, can be shutdown normally. Now i'm using OLD (if it corrects, i see in the thread it's image files from B160, i think that's not compatible with B526 Image) before i do update from external sd card, it was a word "Unpacking blablabla" but after changing the amss and the other, it's looks like this http://www.7ayak.com/up/uploads/13425105111.jpg
so please help me sir, without all of you, my x5 can't be turned on like a normal x5, just reboot, reboot, and reboot every 1-3 minutes
Check my mega drive (signature), you should be able to find them.
Sent from my U8800
Blefish said:
Check my mega drive (signature), you should be able to find them.
Sent from my U8800
Click to expand...
Click to collapse
Ya sir i have download it before. But it didn't work sir, changing the amss and other files still got reboot automatically (in 1-5 mins my X5 will get autoreboot)
I have do partition before about 1GB SD and 1.4GB APP, but i need to install a stock rom, never get completed, always get at 1/2 and failed (no words says 'update blablalba'
When i install a stock partition, never successfull. hmm, after i click emmc unlock boot for my friend l7 , my phone turns like that sir . vie my thread before for details . i have go to huawei centre, but they ask me to pay Rp.2.000.000 for changing the engine inside (WTF! I Have buy it only Rp.1.600.000) :crying:
i see my x5 partition via minitool partition wizard , see that picture sir, are my X5 internal partition was bad or it's okay ?
Blefish said:
Check my mega drive (signature), you should be able to find them.
Sent from my U8800
Click to expand...
Click to collapse
Just need to know something Blefish. In your mega drive, under Cust Partition, there are two files: hw-cust_data.zip and elisa-cust_data.zip. What are these files for?
I think they are both for custom partitioning the data, and none of them return you to stock partition. I think what the OP has done is accidentally flash one of them, and then flash the second one as well. Which has caused his partitions to be messed up.
But, please kindly confirm what these files are for?
Thanks.
Blefish, i've downloaded B526 Image files from your mega, but i think its not correct amss.mbn for B526, it size same as i downloaded before (23,5mb) before i replacing the amss, my amss original size upper than 23mb and my phone never get reboot automatically
rqmok said:
Just need to know something Blefish. In your mega drive, under Cust Partition, there are two files: hw-cust_data.zip and elisa-cust_data.zip. What are these files for?
I think they are both for custom partitioning the data, and none of them return you to stock partition. I think what the OP has done is accidentally flash one of them, and then flash the second one as well. Which has caused his partitions to be messed up.
But, please kindly confirm what these files are for?
Thanks.
Click to expand...
Click to collapse
Sir, i think my phone always get auto reboot its not causing by the partition. first time i got the problem in my other thread is my x5 working like normal but my x5 can;t detect a simcard, and now it can (i'm not fixing it, just maybe it has fixed by itself ) . but my stupid i do change the amss.mbn , before i got amss.mbn size is more than 23,5mb sir
So, the problem may causing my phone auto reboot is need to change the correct amss from the base B526
If someone can't upload the amss, i need to unpack update.app based on B526 and find the amss.mbn . but i don't know how to
rqmok said:
Just need to know something Blefish. In your mega drive, under Cust Partition, there are two files: hw-cust_data.zip and elisa-cust_data.zip. What are these files for?
I think they are both for custom partitioning the data, and none of them return you to stock partition. I think what the OP has done is accidentally flash one of them, and then flash the second one as well. Which has caused his partitions to be messed up.
But, please kindly confirm what these files are for?
Thanks.
Click to expand...
Click to collapse
Under cust/image, there is also cust_data folder. This is not really used in the 2.3 I believe, but it contains some carrier specific bits to Android. Not really necessary though.
VickySullivan said:
Blefish, i've downloaded B526 Image files from your mega, but i think its not correct amss.mbn for B526, it size same as i downloaded before (23,5mb) before i replacing the amss, my amss original size upper than 23mb and my phone never get reboot automatically
Click to expand...
Click to collapse
The B528, B526 all use the B522 amss if I am not mistaken, so there is no difference.
Blefish said:
Under cust/image, there is also cust_data folder. This is not really used in the 2.3 I believe, but it contains some carrier specific bits to Android. Not really necessary though.
The B528, B526 all use the B522 amss if I am not mistaken, so there is no difference.
Click to expand...
Click to collapse
Maybe
*Update
Now i repartitioning the system again with minitool partition wizard
- Ext 3 (system ) : 220mB
- Ext 3 (app) : 700mB+
- U8800-MMC (SD Internal) : 1.9gB
But when i trying to install stock rom, it always fails
I have more fun with my x5 since my x5 goes like a crazy phone
*It's same as before, gets auto reboot.
*I Have changed the Date and Time, but after my phone auto reboot IT'S DATE BACK AGAIN TO JAUNARY 1980 and TIME BACK TO THE 07:00 AGAIN , WHEN I NOT CHANGE IT, THE TIME WILL WORK ONLY ON 07:00 AND UO, Whats wrong with my phone sir>?
Always restart and restart. did u know what is the problem sir ?>
I posted this in a ROM thread, but figured it might be useful to others who run 4.3 custom ROMs and want to change their stock system font (apparently users have been getting bootloops when trying to use an app to change the font).
Requirements:
1. Must be rooted.
2. Must have a custom recovery for flashing the zip (so, at this time, only devices with pre-MF3 firmware).
1. Download the font changer flashable zip template that I put together here: http://www.mediafire.com/?3xqzzuov9uhunr5
2. Get a hold of the font you want to change to, making sure it's in *.ttf format.
3. Rename the font to Roboto-Regular.ttf. If the font you downloaded has a Bold variant, download it rename it to Roboto-Bold.ttf.
4a. If you're on your computer, use 7Zip/WinRAR to drag and drop the fonts you just renamed to the "system/fonts" folder within my template. If you renamed them precisely as I specified above, they should overwrite the two existing files of the same name. If your font doesn't have a Bold variant, you don't need to worry about the existing Roboto-Bold.ttf file in the archive (it's the stock bold font from 4.3 ROMs).
4b. If you're doing this from your phone (like I always do), either use Zarchiver (Free app in the Play Store) to perform the same process as described in Step 4a, or just use Root Explorer or something similar to unzip the entire template zip, drop the new fonts in the respective folder, and re-zip the template.
5. Flash away!
I've been using this method (within a custom GAPPs package that I maintain for myself with other customizations like clear GAPPs, etc.) for awhile now, and it's always worked without fail.
In case you're curious, the "custom" font that I use is just the Roboto-Light.ttf that is already included in the stock 4.3 /fonts folder. It's just a bit thinner than the stock font, and just looks cleaner IMO. If you want to try this one out, just flash my template zip without making any changes
I tried this method but it just results in a bootloop. I have this RobotoCondensed4.3.zip that I downloaded from somewhere and it's worked on all the roms I've used but replacing the fonts inside the zip doesn't work for me. and if I flash it after using your method it fixes the bootloop. any ideas? I'm trying to flash the Droid Sans font
deadenz said:
I tried this method but it just results in a bootloop. I have this RobotoCondensed4.3.zip that I downloaded from somewhere and it's worked on all the roms I've used but replacing the fonts inside the zip doesn't work for me. and if I flash it after using your method it fixes the bootloop. any ideas? I'm trying to flash the Droid Sans font
Click to expand...
Click to collapse
Are you flashing this on a fresh ROM install before booting for the first time? That's what it was meant for (there are no permissions-fixing in the updater-script. Can you post that zip you're talking about? I should be able to figure out what exactly it is that is causing it to "fix" the bootloop after using my method.
CPA Poke said:
Are you flashing this on a fresh ROM install before booting for the first time? That's what it was meant for (there are no permissions-fixing in the updater-script. Can you post that zip you're talking about? I should be able to figure out what exactly it is that is causing it to "fix" the bootloop after using my method.
Click to expand...
Click to collapse
no, I don't think I've flashed it on a fresh install. I'll attach a link for the zip.. and if you can figure out how to add the font droid sans to this zip instead of roboto condensed that would be great. also what I like about this zip is that it will change every font on the phone, even the fonts in chrome which nothing else I've tried will do that.. I was using iFont but that didn't change fonts in chrome
RobotoCondensed_4.3.zip (502 KB)
https://mega.co.nz/#!HFti0aRJ!E4fZiWBKIC2zh92YRVOqzlwEOAVJDqgP-XnEO04BxCM
any luck?
Hello,
Yes I know this is a DUMB question but when I used to flash my other phones I physically had an SDcard in it and knew if my files were on it. I have been having nothing but issues with my experience lately and am getting past each part carefully.
I am wondering where on the file structure the files need to be as in when I do a FULL wipe in recovery I do not wipe the files.
I have attached my screenshot, I take my files from the download folder and put them in the / to me what would be considered the root folder.
It then looks like it is called an emulated folder. I just wanted to verify this does not get wiped from TWRP.
Thanks!
I keep everything rom related in a directory called ROMs in /storage/emulated/0. Everything in my rom directory is retained after a full wipe.
Btw, it's a smart question.
OK, thanks I appreciate the response.
Now I just need to figure out why I was having so many problems installing a custom ROM.