[Q] Custom Rom invalid .zip - Android Q&A, Help & Troubleshooting

hi guys!
First of all : I'm new to the custom rom scene development. I do know how to flash and so..
So i've installed cygwin and the android kitchen. I took the stock rom provided to me by the manufacturer, i was able to set up the working folder. Then I did : "Build ROM from working folder", without making any changes to apk's or something like that.
When i got the update.zip file i tried flashing it with a recovery and using the update.zip in /sdcard method. The first method just stopped after verifying, the second method said it was an invalid package.
I believe there is something wrong with the signing of the rom. Could you guys help me out?
Thx!

tcornelis said:
hi guys!
First of all : I'm new to the custom rom scene development. I do know how to flash and so..
So i've installed cygwin and the android kitchen. I took the stock rom provided to me by the manufacturer, i was able to set up the working folder. Then I did : "Build ROM from working folder", without making any changes to apk's or something like that.
When i got the update.zip file i tried flashing it with a recovery and using the update.zip in /sdcard method. The first method just stopped after verifying, the second method said it was an invalid package.
I believe there is something wrong with the signing of the rom. Could you guys help me out?
Thx!
Click to expand...
Click to collapse
do you installed java jdk?
how do you make rom using kitchen,via cwm backup or else.
for which phone you are making rom?
His story is history,My story is mystery.

roshan77ss said:
do you installed java jdk?
how do you make rom using kitchen,via cwm backup or else.
for which phone you are making rom?
His story is history,My story is mystery.
Click to expand...
Click to collapse
yes i have the latest java JDK
i've got the update.zip (see 1.png)
in Android Kitchen folder i put the update.zip in the original_update

Related

Custom rom error

Hi, i have a problem with my custom rom. I followed many guides to create a custom rom. I use android kitchen and 7zip.
My device is Plunk elite 2 ( http://www.plunk.it/tvbox/pro ). I downloaded a firmware from Plunk and with android kitchen I added just one application in system/app folder. I build the archive with android kitchen and always with android kitchen i sign the archive.
When i try to install the update from sd card i get this error:
finding update package
verifying update package
installation aborted
I tried more times but no solved. How can I do? Where i wrong?
what did it say
What did the error say did it indicat error status 7 or 6 or did it jus say instalation aborted.....I can try to help if u tell me exactly what the error message says
itachar said:
Hi, i have a problem with my custom rom. I followed many guides to create a custom rom. I use android kitchen and 7zip.
My device is Plunk elite 2 ( http://www.plunk.it/tvbox/pro ). I downloaded a firmware from Plunk and with android kitchen I added just one application in system/app folder. I build the archive with android kitchen and always with android kitchen i sign the archive.
When i try to install the update from sd card i get this error:
finding update package
verifying update package
installation aborted
I tried more times but no solved. How can I do? Where i wrong?
Click to expand...
Click to collapse
I post the image of error
http://imageshack.us/photo/my-images/6/va6z.jpg/
I get just installation aborted. In the firmware i have these files:
meta-inf (folder)
recovery (folder)
system (folder)
boot.img
bootloader.img
logo.img
I hope u can help me.
Thanks
itachar said:
I post the image of error
http://imageshack.us/photo/my-images/6/va6z.jpg/
I get just installation aborted. In the firmware i have these files:
I hope u can help me.
Thanks
Click to expand...
Click to collapse
you have stock recovery.... first install ClockworkMod Recovery
then you are able to install any rom
khan_frd2002 said:
you have stock recovery.... first install ClockworkMod Recovery
then you are able to install any rom
Click to expand...
Click to collapse
I have device rooted and i have installed rom manager from playstore. But, when can i find cwm recovery for my device?
itachar said:
I have device rooted and i have installed rom manager from playstore. But, when can i find cwm recovery for my device?
Click to expand...
Click to collapse
Google for it........... you will find if is there
khan_frd2002 said:
Google for it........... you will find if is there
Click to expand...
Click to collapse
I don't found nothing, but there is another way for install custom rom?
itachar said:
I don't found nothing, but there is another way for install custom rom?
Click to expand...
Click to collapse
you can only install custom rom via cwm recovery....... but if you only want to add app to system then use root explore for it
khan_frd2002 said:
you can only install custom rom via cwm recovery....... but if you only want to add app to system then use root explore for it
Click to expand...
Click to collapse
Yes but i would send this custom rom at my friend.
I found cwm recovery just for rockchip but nothing for amlogic.

[HELP] Modifying ROM doubts

Good evening,
I've written a module for my smartphone and I need to compose a rom to install on my device...
I followed some tutorials, so now I know how to build an android kernel, obtaining a zImage.
Now, a friend told me that I must make a backup with clockworkmod (done!) and download on my pc, than I can recover the boot.img from there and split them in ramdisk and kernel.
Now I can compile my new kernel and merge it (the obtained zImage?) with the ramdisk to have a new rom to flash on my device... is true?
But I don't know how I can split the boot.img (maybe with dsixda kitchen?) and how to create the new rom. I tryied som weeks ago with a .zip rom and the dsixda kitchen and I split and recomposed a rom, but files contained in the .zip files was different from files that I downloaded by my device...
Someone can explain me the correct way to do this process? Thank you!
Paolo.dev said:
Good evening,
I've written a module for my smartphone and I need to compose a rom to install on my device...
I followed some tutorials, so now I know how to build an android kernel, obtaining a zImage.
Now, a friend told me that I must make a backup with clockworkmod (done!) and download on my pc, than I can recover the boot.img from there and split them in ramdisk and kernel.
Now I can compile my new kernel and merge it (the obtained zImage?) with the ramdisk to have a new rom to flash on my device... is true?
But I don't know how I can split the boot.img (maybe with dsixda kitchen?) and how to create the new rom. I tryied som weeks ago with a .zip rom and the dsixda kitchen and I split and recomposed a rom, but files contained in the .zip files was different from files that I downloaded by my device...
Someone can explain me the correct way to do this process? Thank you!
Click to expand...
Click to collapse
So many u can use
1. http://forum.xda-developers.com/showthread.php?t=1619473
2. http://forum.xda-developers.com/showthread.php?t=2036528
3. http://forum.xda-developers.com/showthread.php?t=1877807
and many more if u search

Android kitchen is not using the correct mount points.

So I was trying to package a rom and let the kitchen create the meta-inf folder along with the updater-script but the problem is that it's not using the specified mount points.
My phone isn't supported in the kitchen so I had to make a file in the edify_defs folder for my phone. I did all the right steps, I renamed the file to that of the ro.produc.device, used the template and made the necessary edits using notepad ++, and checked the file for any incorrect syntax yet after all that, the kitchen isn't using the mount points I put but instead uses the default value "mount("MTD", "system", "/system")".
Any help?
bump
Don't rely on kitchen's mount. Instead, use the update binary of a working zip for your device and edit the updater-script manually to make it work.
iZLeeP said:
Don't rely on kitchen's mount. Instead, use the update binary of a working zip for your device and edit the updater-script manually to make it work.
Click to expand...
Click to collapse
Yah, the thing is there are no roms for my device not even a stock rom. This is the reason why I'm trying to learn how to build a rom.
Anyways, I got the kitchen to detect the mount points. Turns out i had put the kitchen in the wrong directory. Made the zip flash correctly but now i encountered a new problem. After flashing the zip, the interface on my phone becomes really small. It's like my display went into tablet mode. Any idea on this?
black_fire21 said:
Yah, the thing is there are no roms for my device not even a stock rom. This is the reason why I'm trying to learn how to build a rom.
Anyways, I got the kitchen to detect the mount points. Turns out i had put the kitchen in the wrong directory. Made the zip flash correctly but now i encountered a new problem. After flashing the zip, the interface on my phone becomes really small. It's like my display went into tablet mode. Any idea on this?
Click to expand...
Click to collapse
What's your device and android version? Much better if you could post on your device's specific thread.
It's a local phone called starmobile quest, running jellybean. Sadly, there is absolutely no support for the device not even from the manufacturers. There are no developers either. The only thing we have is root and cwm.

[Q] Problem with using android kitchen. Help needed.

I had been trying to make a custom ROM or porting a ROM for Micromax Canvas A 96. It has only one custom ROM found in 'needrom' site. As the stock ROM is in a format suitable for SP Flashtool , I wanted to make a CWM flashable ROM in zip format, so that porting will be easier. For this purpose I need 'METAINF' Folder with updater script. So, after searching I came across a guide on 'Converting boot.img +system.img' to CWM flashable zip ROM. I followed it and used android kitchen and got a ROM in zip in the output folder which I re-named (during working on 'cygwin' window). Now I checked it by extracting with 'Express zip' windows software, and it says " The zip is corrupted or encrypted or empty or in an incompatible format'. Now, I do not know how to go about it. Please help me.

Ported Roms for k-Touch in TWRP = invalid zip file!?

Hey all,
So I downloaded hexagon OS for mt6580 and LineaseOS13 for mt6580.. of course installing them gives me a bootlop since they are not ported for the K-touch i10... so I followed a guide to replace the files in those custom roms with the required ones from the stock rom to get them to work. zipped them up, put the zip on the phone, and twrp gives me the "invalid zip file" error when trying to flash them...
help?
@SaucemanBangorang
Isn't the error message "Invalid Zip File Format"?
0
Seppppx said:
1. You used the wrong compression method (most likely.)
You need to set the compression method to "store"
2. Don't port ROMs. Build them from source as they were intended to be. It is much easier to build them than port.
Click to expand...
Click to collapse
Thanks for replying.
I did something dumber, when it zipped, it put the files into a folder, hence the error, re-zipped so it wouldn't do that, and it installed, but the roms of course don't work despite porting them.
2. Building the rom from source sounds way beyond me. Porting meant coping files from the stock rom to the custom rom.. is building a rom easier than that? I actually hate this iteration of the i10 I was given, since it is actually weaker and less functional than my i9.. so I just wanted to see if a better rom would at least make it a usable phone.. I already spent hours flashing and rooting just to get past the stupid trojans/spyware that were installed on the phone.. irritates me that I would have to spend even more time building a rom for it.. especially when it's not a popular phone and said no rom would be of no use to anyone.

Categories

Resources