[Q] URGENT HELP in making a flashable Stock Rom extracted from HTC RUU. - HTC Pico (Explorer)

I am beginner to android ROM development. i am at learning stage. I want to make a stock rom of HTC Explorer in a zip format so that it can be flashable through CWM. Here is the steps i am following:
1. I extraced rom.zip file from HTC Explorer RUU.
2. I placed it in original_update folder in android kitchen.
3. I set up a working folder from android kitchen menu and i got these files and folders in WORKING folder
boot.img
system
META-INF
4. I selected the option 99 in kitchen menu that is Building a ROM.
5. After successful completion i got a zip file in OUTPUT folder.
6.Then, i copied that update.zip file from OUTPUT folder to my sd card.
7. Now, i boot into recovery, and try to install zip from sd card but it shows an error like this
Error in sd-card/update.zip
(Status 0)
Installation Aborted.
Now i dont understand why it is giving me an error even i have not touched any file from the working folder.
am i doing it wrong? pls help me.

Related

How to create an update.zip

Things you'll need :- 1. Auto sign tool2. update-binary for FIT3. update-script(If you don't know how to make, then use the one provided in the zip file. It can be used to copy files in the system folder to the /system/ of the phone)
DOWNLOAD LINK :- w w w . multiupload .c o m / K2QQNT3W2N
NOTE :- Make sure you make a backup of the files you are flashing. For backup you can refer to the docs and download "deodexed update.zip" for your respective ROM !!
Lets get started :-1. Make a new folder on the desktop and rename it as "TEST"2. Make this structure of folders in the TEST folder
------META-INF>>>>COM>>>>GOOGLE>>>>ANDROID
TEST-----
------SYSTEM3. Now add whatever you want to flash Eg. You want to flash /app/systemUI.apk and /framework/framework-res.apk
Sol. 1. Create two folders named "app" and "framework" within "TEST>>>SYSTEM" 2. Put your files in the respective folders.
4. Now put "update-script" and "update-binary" in "meta-inf>com>google>android". (Provided in REPLICA in zip file !! ENJOY )
5. Now select the "META-INF" and "SYSTEM" folder together and compress it and make a file named "update.zip".
6. Put the update.zip in the "Auto-Sign" folder and run the" Sign.bat". Press any key to continue..
7. Now you'll get a "signed_update.zip" in the same folder !!
8. Flash it via RECOVERY....
the file was deleted...

[Q] Flash A Custom ROM : P3100 : Specific Issue - Fastboot Not Supported

I have made a custom ROM, with additional API's and patches using stock ICS source - Downloaded from source.android.com.
After modifying, patching etc, I built the ROM using 'make' on my Ubuntu machine.
I followed the steps here to build the ROM: http://source.android.com/source/building.html
The output of this procedure is attached as a screenshot
(I copied the folder to windows hence the screenshot shows a windows OS)
Now I have a ROM I am asked to flash it using'fastboot flashall' per the instruction here:
http://source.android.com/source/building-devices.html
My device doesn't seem to support a Fastboot mode.
The output folder of the ROM is attached as a screenshot.
A> When I try to use CWM, it fails to flash - MD5 Mismatch:
Also I am unsure how CWM flashes and which of the folders are to be included. A CWM recovery generates:
1. boot.img
2. recovery.img
3. system.ext4.tar
4. data.ext4.tar
5. cache.ext4.tar
6. nandroid.md5
Clearly my output folder is not aligned to this format. So I'm a bit lost here.
B> Odin takes on tar file. I am not sure if simply making the folder a tar will work.
C> Heimdall doesnt support this tab I guess...
Any ideas on a solution would be appreciated.
Thanks & Regards
Indrajit
Downloaded & Installed a custom ROM zip, it worked. How can I make mine into a zip?
Most of the custom ROMs have a boot.img, system folder, data folder and meta-inf.
What is Meta-Inf?
Also If I zip my ROM (created as mentioned above) and try installing it doesnt since I dont have a Meta-Inf & I cant use the other meta-inf.
This is the ROM I installed: Worked fine except USB-PC connection didnt:
http://forum.xda-developers.com/showthread.php?t=1643736
Any ideas / suggestions would be highly useful & appreciated.
Thanks in advance.

[GUIDE] Creating Rom Update.zip

Hello Guys,This is an updated guide for creating an update.zip for your rom.I know that there are a few guides out there but i think my guide is a bit simpler and straight forward.
Step 1:
Download AutoUpdateCreator_V1.1
Step 2:Extract file and click on "CreateUpdateZip.exe"
Step 3: You can either drag your created zip file or press ENTER (If you did not compress your rom yet)
Step 4:Now drag & drop your ROM Folder in the program
**NOTE** Structure of ROM folder should be as follows:
ROM FOLDER(Containing)
---System
---Data
Note: If you get an error it means that your ROM Structure is incorrect!!)
Step 5:Now that everything is done,zip is signed go to GENERATED ZIPS in autoupdatecreator folder.
Step 6:Copy your update-script in your generated zip file at /META-INF/COM/GOOGLE/ANDROID/
(Do NOT replace Update-binary file!)
Other Notes:
(Update Script must be created,there are templates available)
(Editing Update Script with normal windows text editor will cause Status 6 Error)
(Adding an incorrect or non existing file in update-script will also give you a Status 6 Error)
Cheers
Thanx for work.means now i can convert .tar files into zip?and can flash from cell
not working in last cwm
switch to Edify error
Hey man, i guess you can help me. I have a samsung double time and it can't be flashed via odin, my wifi and all connections, except mobile data are not working. So i have the .tar firmware extracted. Is there any way to create an update.zip file from this firmware.
Stavr0s91i said:
Hello Guys,This is an updated guide for creating an update.zip for your rom.I know that there are a few guides out there but i think my guide is a bit simpler and straight forward.
Step 1:
Download AutoUpdateCreator_V1.1
Step 2:Extract file and click on "CreateUpdateZip.exe"
Step 3: You can either drag your created zip file or press ENTER (If you did not compress your rom yet)
Step 4:Now drag & drop your ROM Folder in the program
**NOTE** Structure of ROM folder should be as follows:
ROM FOLDER(Containing)
---System
---Data
Note: If you get an error it means that your ROM Structure is incorrect!!)
Step 5:Now that everything is done,zip is signed go to GENERATED ZIPS in autoupdatecreator folder.
Step 6:Copy your update-script in your generated zip file at /META-INF/COM/GOOGLE/ANDROID/
(Do NOT replace Update-binary file!)
Other Notes:
(Update Script must be created,there are templates available)
(Editing Update Script with normal windows text editor will cause Status 6 Error)
(Adding an incorrect or non existing file in update-script will also give you a Status 6 Error)
Cheers
Click to expand...
Click to collapse
The Download link is offline

[TUTORIAL] Create Flashable Zip From CWM/TWRP Backup (MTK)

Hi,
today I'm going to show how to create a flashable
zip from a CWM/TWRP Backup. This is specially for MTK
device(you can try in other device,may work). Here is
my step by step tutorial...
Requirements:
* PC
* CWM/TWRP Backup
* Winrar
* Brain
you need META-INF,system & boot.img for making a
flashble zip rom, so you have to collect these from
your backup
*CWM method:
1. Copy the CWM backup from Phone to PC
2. Extract system.ext4.tar file with winrar, you
will get the system folder
3. Collect the boot.img from the backup
4. Now collect a META-INF folder from any custom
rom which is made for your device
5. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
6. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
7. Done.
TWRP method:
1. Copy the TWRP backup from Phone to PC
2. Collect the file 'system.ext4.win' rename it
to 'system.ext4.tar'
3. Extract the system.ext4.tar. Now in case if your
TWRP backup is not in compression method, you will
directly get the system folder. Or if your TWRP
backup is in compression method, you will get a
file named 'system.ext4', don't worry just again
rename it to 'system.ext4.tar' and extract to get
the 'system' folder
4. Collect the 'boot.emmc.win' file and rename it
to boot.img, now ypu manage the boot.img also
5. Now collect a META-INF folder from any custom
rom which is made for your device
6. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
7. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
8. Done.
akash_bd said:
Hi,
today I'm going to show how to create a flashable
zip from a CWM/TWRP Backup. This is specially for MTK
device(you can try in other device,may work). Here is
my step by step tutorial...
Requirements:
* PC
* CWM/TWRP Backup
* Winrar
* Brain
you need META-INF,system & boot.img for making a
flashble zip rom, so you have to collect these from
your backup
*CWM method:
1. Copy the CWM backup from Phone to PC
2. Extract system.ext4.tar file with winrar, you
will get the system folder
3. Collect the boot.img from the backup
4. Now collect a META-INF folder from any custom
rom which is made for your device
5. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
6. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
7. Done.
TWRP method:
1. Copy the TWRP backup from Phone to PC
2. Collect the file 'system.ext4.win' rename it
to 'system.ext4.tar'
3. Extract the system.ext4.tar. Now in case if your
TWRP backup is not in compression method, you will
directly get the system folder. Or if your TWRP
backup is in compression method, you will get a
file named 'system.ext4', don't worry just again
rename it to 'system.ext4.tar' and extract to get
the 'system' folder
4. Collect the 'boot.emmc.win' file and rename it
to boot.img, now ypu manage the boot.img also
5. Now collect a META-INF folder from any custom
rom which is made for your device
6. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
7. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
8. Done.
Click to expand...
Click to collapse
where is thanks button
This is awesome. Thanks for the easy tutorial. What about adding the cache and data segments as well? How would we go about doing that with the twrp backup? Thanks!
What if my TWRP backup folder got 2 system.ext4.win files?
system.ext4.win000
system.ext4.win001
What should i do to combine these 2 files into single .tar ?
You are 1 bright mutha effa
Dude,
You are the brightest Mutha Effa Ever. Thanks for sharing that; Good Thinking dude.
CYGWIN Unpacking TWRP Backup Files
limcs79 said:
What if my TWRP backup folder got 2 system.ext4.win files?
system.ext4.win000
system.ext4.win001
What should i do to combine these 2 files into single .tar ?
Click to expand...
Click to collapse
This is for Latest TWRP used with safestrap (my phone is AT&T Note 3)
rename them both seperatly
system.ext4.win000.tar
system.ext4.win001.tar
winrar and 7-zip failed for me
I used CYGWIN
CYGWIN Unpacking TWRP Backup Files
akash_bd said:
Hi,
today I'm going to show how to create a flashable
zip from a CWM/TWRP Backup. This is specially for MTK
device(you can try in other device,may work). Here is
my step by step tutorial...
Requirements:
* PC
* CWM/TWRP Backup
* Winrar
* Brain
you need META-INF,system & boot.img for making a
flashble zip rom, so you have to collect these from
your backup
*CWM method:
1. Copy the CWM backup from Phone to PC
2. Extract system.ext4.tar file with winrar, you
will get the system folder
3. Collect the boot.img from the backup
4. Now collect a META-INF folder from any custom
rom which is made for your device
5. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
6. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
7. Done.
TWRP method:
1. Copy the TWRP backup from Phone to PC
2. Collect the file 'system.ext4.win' rename it
to 'system.ext4.tar'
3. Extract the system.ext4.tar. Now in case if your
TWRP backup is not in compression method, you will
directly get the system folder. Or if your TWRP
backup is in compression method, you will get a
file named 'system.ext4', don't worry just again
rename it to 'system.ext4.tar' and extract to get
the 'system' folder
4. Collect the 'boot.emmc.win' file and rename it
to boot.img, now ypu manage the boot.img also
5. Now collect a META-INF folder from any custom
rom which is made for your device
6. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
7. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
8. Done.
Click to expand...
Click to collapse
Thanks for your thread
Just 1 question: i have see multiple flashable zip on XDA, and they have a diffrents compression level, so how decide it?
Thank you for such a simple and amazing tutorial
Great tutorial
[my phone iz better than urz]
I want to make KK Stock ROM for iBall Slide 3G 7271 HD70
Hi,
Regarding the 4th step, Their are no ROM available for this device so I don't have the files.
I have the block MAP for the device,
So could u plz guide me to make the meta files?
"4. Now collect a META-INF folder from any custom rom which is made for your device"
babai93 said:
Hi,
Regarding the 4th step, Their are no ROM available for this device so I don't have the files.
I have the block MAP for the device,
So could u plz guide me to make the meta files?
"4. Now collect a META-INF folder from any custom rom which is made for your device"
Click to expand...
Click to collapse
What version is your phone
These are the files i have.. Is UBOOT.img is necessary?
boot.img
cache.ext4
data.ext4
nandroid.md5
recovery.txt
system.ext4
uboot.img
Click to expand...
Click to collapse
akash_bd said:
Hi,
today I'm going to show how to create a flashable
zip from a CWM/TWRP Backup. This is specially for MTK
device(you can try in other device,may work). Here is
my step by step tutorial...
Requirements:
* PC
* CWM/TWRP Backup
* Winrar
* Brain
you need META-INF,system & boot.img for making a
flashble zip rom, so you have to collect these from
your backup
*CWM method:
1. Copy the CWM backup from Phone to PC
2. Extract system.ext4.tar file with winrar, you
will get the system folder
3. Collect the boot.img from the backup
4. Now collect a META-INF folder from any custom
rom which is made for your device
5. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
6. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
7. Done.
TWRP method:
1. Copy the TWRP backup from Phone to PC
2. Collect the file 'system.ext4.win' rename it
to 'system.ext4.tar'
3. Extract the system.ext4.tar. Now in case if your
TWRP backup is not in compression method, you will
directly get the system folder. Or if your TWRP
backup is in compression method, you will get a
file named 'system.ext4', don't worry just again
rename it to 'system.ext4.tar' and extract to get
the 'system' folder
4. Collect the 'boot.emmc.win' file and rename it
to boot.img, now ypu manage the boot.img also
5. Now collect a META-INF folder from any custom
rom which is made for your device
6. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
7. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
8. Done.
Click to expand...
Click to collapse
I try to follow the tutorial you created but when the flash still fails , a description that appeared md5 not found , and whether the Meta - Inf / updater - script that must be made because I was dizzy with it
irwandwiyanto said:
I try to follow the tutorial you created but when the flash still fails , a description that appeared md5 not found , and whether the Meta - Inf / updater - script that must be made because I was dizzy with it
Click to expand...
Click to collapse
You need to use the Meta folder from a working rom installer for your phone, you then select the Meta folder, system folder (hold down the ctlr key to select each folder, then right clink the selected file and zip.
carl1961 said:
You need to use the Meta folder from a working rom installer for your phone, you then select the Meta folder, system folder (hold down the ctlr key to select each folder, then right clink the selected file and zip.
Click to expand...
Click to collapse
how do I get the Meta folder from the backup of my ROM ?
irwandwiyanto said:
how do I get the Meta folder from the backup of my ROM ?
Click to expand...
Click to collapse
sorry I meant META-INF folder, you use the META-INF from a working rom install for your phone. Look under your phones thread here on XDA and locate a rom and use it to go with your backup files so you can make a install of your backup
Question onf TWRP Step 3
akash_bd said:
Hi,
today I'm going to show how to create a flashable
zip from a CWM/TWRP Backup. This is specially for MTK
device(you can try in other device,may work). Here is
my step by step tutorial...
Requirements:
* PC
* CWM/TWRP Backup
* Winrar
* Brain
you need META-INF,system & boot.img for making a
flashble zip rom, so you have to collect these from
your backup
*CWM method:
1. Copy the CWM backup from Phone to PC
2. Extract system.ext4.tar file with winrar, you
will get the system folder
3. Collect the boot.img from the backup
4. Now collect a META-INF folder from any custom
rom which is made for your device
5. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
6. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
7. Done.
TWRP method:
1. Copy the TWRP backup from Phone to PC
2. Collect the file 'system.ext4.win' rename it
to 'system.ext4.tar'
3. Extract the system.ext4.tar. Now in case if your
TWRP backup is not in compression method, you will
directly get the system folder. Or if your TWRP
backup is in compression method, you will get a
file named 'system.ext4', don't worry just again
rename it to 'system.ext4.tar' and extract to get
the 'system' folder
4. Collect the 'boot.emmc.win' file and rename it
to boot.img, now ypu manage the boot.img also
5. Now collect a META-INF folder from any custom
rom which is made for your device
6. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
7. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
8. Done.
Click to expand...
Click to collapse
QUESTIONS
---------------------------
1. On STEP 3 I did the following:
Extract the system.ext4.tar.
If your TWRP backup is in compression method, you will get a file named 'system.ext4',
Rename it to 'system.ext4.tar'
Next part, " Extract to get the 'system' folder", does not work. What do I do here?
2. Doing #1 in Linux or does this need to be done win Windows?
3. META-INF - My HTC ONE X+ (code name evitare UL) does not have any custom ROMs I can find. What other sources of META-INF are there?
Please notify me at [email protected] when you post answers. Thanks
Click to expand...
Click to collapse
[email protected] said:
QUESTIONS
---------------------------
1. On STEP 3 I did the following:
Extract the system.ext4.tar.
If your TWRP backup is in compression method, you will get a file named 'system.ext4',
Rename it to 'system.ext4.tar'
Next part, " Extract to get the 'system' folder", does not work. What do I do here?
2. Doing #1 in Linux or does this need to be done win Windows?
3. META-INF - My HTC ONE X+ (code name evitare UL) does not have any custom ROMs I can find. What other sources of META-INF are there?
Please notify me at [email protected] when you post answers. Thanks
Click to expand...
Click to collapse
Rom List
You can get your META-INF from one of them
Extract to get the system folder:
CYGWIN Unpacking TWRP Backup Files
Download CYGWIN http://cygwin.com/
rename:
data.ext4.win to data.ext4.win.tar
system.ext4.win000 system.ext4.win000.tar
system.ext4.win001 to system.ext4.win001.tar
Make a directory in your CYGWIN Home [Username]folder
Example: untar
Use Windows File Explorer go to your CYGWING Home
C:\cygwin\home\carl (your user name will be here)
make any folder you choose
Example:
C:\cygwin\home\carl\untar
and C:\cygwin\home\carl\untar\data ( for data files)
put your renamed data files in a folder named data
C:\cygwin\home\carl\untar\data (this is to keep files separate when unpacked)
While in Explorer put your renamed system files in untar folder
start CYGWIN ( Use the Cygwin Terminal and then you can copy and paste these commands)
cd to untar folder
example:
cd\untar
do these commands one at a time, it will extract to a folder named system
tar -xvf system.ext4.win000.tar
tar -xvf system.ext4.win001.tar
cd to data
do this command
tar -xvf data.ext4.win.tar
tar -xvf data.ext4.win000.tar
tar -xvf data.ext4.win001.tar
all your data files will extract
Click to expand...
Click to collapse
carl1961 said:
What version is your phone
Click to expand...
Click to collapse
This is iBall Slide 7271 HD70 with preloaded KitKat 4.4.2
I lost my nandroid backup of stock network carrier's ROM so my friend made backup using same TWRP recovery and now I want to build flashable zip. He excluded only data and cache.
There are some things that confuses me.
This device (Alcatel OT M' Pop) has custpack.ext4.win. Do I have to include it and how?
This is all files from backup:
{
"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"
}
Also I used Cygwin Terminal to unpack system.ext4.win because 7Zip and WinRar gave me errors during unpacking process but interesting thing is that when I open archive with 7zip I can see META-INF folder Can I use that META and how the hell WinRar doesn't show it? Or is it safer to include META from another ROM for this device?

Error fixes of all custom recoveries

You can find error fixes of all the major + minor of our custom recoveries
Md5 mismatch error fix
MD 5 MISMATCH ERROR IN FLASHING YOUR PREVIOUS BACKUP ???
HERE IS HOW TO FIX IT :-
If your phone is booting up then install ES FILE Explorer from playstore ,
then navigate to your rom backup folder in your phone's SD card.
If your phone is not booting up then get your SD card out of it and,
then insert it in another android phone which is working then do as above .
You backup folder will be clockworkmod\2016......something according to the date of backup,
then in that folder you will find various files .
select the file that you want to flash and remove all other files from that folder to another folder .
long press it and open its properties -click show checksum.
copy the md5 sum .
open the nadroid.md5 file replace the md5 of the file you want to flash in it and remove all other names+md5's in the file and click on save .
REMEMBER BACKUP THE ORIGINAL FILE ANYWHERE ELSE BUT NOT IN THAT FOLDER AND SEND ALL OTHER FILES ANYWHERE ELSE LEAVING THE NANDROID.MD5 AND THE FILE YOU WANT TO FLASH THERE ITSELF
NOW BOOT INTO RECOVERY AND TRY TO FLASH THE FILE AGAIN IF ANY PROBLEM TEXT DOWN IN HERE !!!!!

Categories

Resources