How to make a flashable Rom from a System Dump? - Android Q&A, Help & Troubleshooting

Hey, so I've been searching around but I couldn't find any clues. Right now I have a complete system dump for a HTC One Rom. How could add root to it and make it flashable via recovery?

filmaker said:
Hey, so I've been searching around but I couldn't find any clues. Right now I have a complete system dump for a HTC One Rom. How could add root to it and make it flashable via recovery?
Click to expand...
Click to collapse
Make a zip file and use it in Android Kitchen by dsixda.

How would one go about doing that on windows
Sent from my SGH-M919 now Free

Make a folder named system put all the dump folders like app etc bin and all that then zip it and name it as system after that put it in kitchen make a working folder it will add all required files for making it flashable :thumbup:
Sent from my Xperia Live with Walkman using xda app-developers app

CLINTZ9 said:
Make a folder named system put all the dump folders like app etc bin and all that then zip it and name it as system after that put it in kitchen make a working folder it will add all required files for making it flashable :thumbup:
Sent from my Xperia Live with Walkman using xda app-developers app
Click to expand...
Click to collapse
whould the the product of this be flashable in safestrap?

Related

[Q] How to create a flashable zip for xRecovery (with working links?)

Hello,
Does anyone here know how to make a flashable zip for xRecovery. I want to include apps in the zip... I found already some things while searching but no guide had a working download link etc...
So who can explain me how to do it or give me a link to a working guide with working links...?
xPlayGunz
Ok, so this is what I did.
I took such package as this and then I just put apps in it I want to flash. You can also make Your own directories
jakuburban said:
Ok, so this is what I did.
I took such package as this and then I just put apps in it I want to flash. You can also make Your own directories
Click to expand...
Click to collapse
And the permissions?
Simple.... Use any other flashable zips and edit its contents as per your requirements. That's what I do too!
Sent from my X10 using xda premium
milton.bain said:
Simple.... Use any other flashable zips and edit its contents as per your requirements. That's what I do too!
Sent from my X10 using xda premium
Click to expand...
Click to collapse
Many of us do, recycling zips is easier than trying to make them from scratch
Sent from my X10i using xda premium
xPlayGunZ said:
And the permissions?
Click to expand...
Click to collapse
Don't worry about permissions

Essential question

Hi
I downloaded a custom rom based on ICS and unzip the file then I add some app.apk to data/app and rezip it.
I tried to run zip in recovery but coudn't.
My question is that, why it didn't work??
Originally is it possible to add app.apk to same folder of a custom rom and then install the rom with my favorite apps??
Thanks for answering me.
Sent from my HTC EVO 3D X515m using xda premium
You can use 7zip "free download" to modify roms. It allows you to edit the rom without extracting it. Download the program and read the tutorial. Basically when you extract a rom you change the file association and it needs to be resigned. Also when you swap out and or add apps,files,etc you have to edit the update script to reflect the changes. You can google to find out more. This is just my understanding, hope it helps.
#Root-Hack_Mod*Always\
arses said:
Hi
I downloaded a custom rom based on ICS and unzip the file then I add some app.apk to data/app and rezip it.
I tried to run zip in recovery but coudn't.
My question is that, why it didn't work??
Originally is it possible to add app.apk to same folder of a custom rom and then install the rom with my favorite apps??
Thanks for answering me.
Sent from my HTC EVO 3D X515m using xda premium
Click to expand...
Click to collapse
If u unzip the file, it will lost it signed properties (something like that) which cause the file not useable. If u need to add or remove apk, just use winrar or 7z and open the file without unzipping it.
Sent from my LT18i using xda premium
maliceomalice said:
If u unzip the file, it will lost it signed properties (something like that) which cause the file not useable. If u need to add or remove apk, just use winrar or 7z and open the file without unzipping it.
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
Thanks man I'll try it.
Sent from my HTC EVO 3D X515m using xda premium
maliceomalice said:
If u unzip the file, it will lost it signed properties (something like that) which cause the file not useable. If u need to add or remove apk, just use winrar or 7z and open the file without unzipping it.
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
Hi
I did it with both winrar and 7zip but I got same error.
If find a solution I'll pleased you
thanks for helping
hey
I found it. Must use androidsigner.
Glad you got everything worked out.
#Root-Hack_Mod*Always\
Could u upload the zip here cuz I don't feel like making a ppc account
Sent from my PG86100 using xda premium
kickyoace said:
Could u upload the zip here cuz I don't feel like making a ppc account
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
ummm, what zip?
Hey
I did it and installed the rom but many of added apps didn't work.
I do not know why???
Perhaps it cause of my recovery because I used. 4EXT recovery.
And I must say that androidsigner n not sign zip files over than 600Mb. I tried several times.

Help developing my own Rom

Hi all i am interested in developing my own Rom does anyone have any advice on where to start or know of a good tutorial thank you.
Sent from my GT-I9300 using xda app-developers app
http://forum.xda-developers.com/showthread.php?t=1750733
azcamm27 said:
Hi all i am interested in developing my own Rom does anyone have any advice on where to start or know of a good tutorial thank you.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Install DSIXDA kitchen first..tutorial here
Now use an already existing custom ROM, Stock Firmware, Nandroid Backup to create your working folder..
Do whatever you want to do..
Now copy the meta-inf folder from an existing CWM flashable ROM..and paste it into your working folder..
Select the system folder, boot.img, META-INF folder and create a zip file ..
if you have modem.bin and /data/app functionality..you will have to make appropriate changes to your updater-script file..
Sign your zip using the tool i have attached..
[How To]
Extract the zip file in a folder
rename your zipped ROM as update.zip
put it in the Autosign folder
run the AutoSign.bat file
Now wait untill your zip is signed..you will get a update-signed.zip as the final ROM..
zoot1 said:
Install DSIXDA kitchen first..tutorial here
Now use an already existing custom ROM, Stock Firmware, Nandroid Backup to create your working folder..
Do whatever you want to do..
Now copy the meta-inf folder from an existing CWM flashable ROM..and paste it into your working folder..
Select the system folder, boot.img, META-INF folder and create a zip file ..
if you have modem.bin and /data/app functionality..you will have to make appropriate changes to your updater-script file..
Sign your zip using the tool i have attached..
[How To]
Extract the zip file in a folder
rename your zipped ROM as update.zip
put it in the Autosign folder
run the AutoSign.bat file
Now wait untill your zip is signed..you will get a update-signed.zip as the final ROM..
Click to expand...
Click to collapse
I can't get it to deodex the files on DSIXDA Kitchen. Will that zip file you put up here help?
Thank you for the guide I will have a go later and see what I can do.
Sent from my GT-I9300 using xda app-developers app
Meemo23 said:
I can't get it to deodex the files on DSIXDA Kitchen. Will that zip file you put up here help?
Click to expand...
Click to collapse
That zip file he attached is only for signing the rom zip after it's done.
Are you getting errors when deodexing it? Is it failing to deodex ALL files or just some?
Is galaxy s3 supported as its not in the list of supported devices.
Sent from my GT-I9300 using xda app-developers app
azcamm27 said:
Is galaxy s3 supported as its not in the list of supported devices.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
No galaxy s3 is not supported.. So you will not be able to get the complete rom out of it.. You will have to do some manual work.. Which I have stated in my post..
All those facing deodexing errors set the api level to 16
Sent from someone in the Milky Way
graffixnyc said:
That zip file he attached is only for signing the rom zip after it's done.
Are you getting errors when deodexing it? Is it failing to deodex ALL files or just some?
Click to expand...
Click to collapse
Failing everything i tried changing the smali and baksmali files..
Meemo23 said:
Failing everything i tried changing the smali and baksmali files..
Click to expand...
Click to collapse
have you set the api level to 16..also deodex framewok and system apps together..
Do you need Linux to create a rom or you can do this on windows... i know you can get a virtual box and use linux on windows . But is there people creating roms purely on windows operating systems??
graffixnyc said:
That zip file he attached is only for signing the rom zip after it's done.
Are you getting errors when deodexing it? Is it failing to deodex ALL files or just some?
Click to expand...
Click to collapse
error should be in api level
Meemo23 said:
Failing everything i tried changing the smali and baksmali files..
Click to expand...
Click to collapse
go to kitchen > tools > deodex_files > open api_level, and write 16.
zoot1 said:
have you set the api level to 16..also deodex framewok and system apps together..
Click to expand...
Click to collapse
Oh so i have to set it api level to 16 cool thanks man for your help..
btemtd said:
Do you need Linux to create a rom or you can do this on windows... i know you can get a virtual box and use linux on windows . But is there people creating roms purely on windows operating systems??
Click to expand...
Click to collapse
No you can set up the Kitchen in Windows as well..use Cygwin for this...just search for it..
---------- Post added at 09:56 AM ---------- Previous post was at 09:55 AM ----------
Meemo23 said:
Oh so i have to set it api level to 16 cool thanks man for your help..
Click to expand...
Click to collapse
Ya you have to set api level to 16..as JB is number 16 and ICS was 15..I had stated this in my earlier post..
zoot1 said:
No galaxy s3 is not supported.. So you will not be able to get the complete rom out of it.. You will have to do some manual work.. Which I have stated in my post..
All those facing deodexing errors set the api level to 16
Sent from someone in the Milky Way
Click to expand...
Click to collapse
I have used dsixda kitchen for s3 and it worked perfectly
Sent from my GT-I9300 using XDA Premium HD app
IOIDroid said:
I have used dsixda kitchen for s3 and it worked perfectly
Sent from my GT-I9300 using XDA Premium HD app
Click to expand...
Click to collapse
Where you able to flash the zip created by dsixda kitchen after creation??
I doubt so as the partition information of GS3 is not there in the kitchen edify_defs files the updater-script will be wrong..you will get errors while flashing..
zoot1 said:
Where you able to flash the zip created by dsixda kitchen after creation??
I doubt so as the partition information of GS3 is not there in the kitchen edify_defs files the updater-script will be wrong..you will get errors while flashing..
Click to expand...
Click to collapse
Yes
Sent from my GT-I9300 using XDA Premium HD app
IOIDroid said:
Yes
Sent from my GT-I9300 using XDA Premium HD app
Click to expand...
Click to collapse
Just use updater-script or update binary extracted from another similiar type of ROM.
Kitchen mods won't work because it uses update-script, and doesn't convert to updater-script properly.
Will likely give a Status 7 error in CWM.
Updater script could be modded manually with notepad ++.
But, you don't really need to change anything in there. except ui_print.

Android Kitchen

hey guys, i'm newbie in making a rom.... so i had installed everything including the Android Kitchen and Cygwin... I type the cygwin terminal :
- cd kitchen
- ./menu
everything went well... i pressed number 1 which is make a working rom.... the terminal detects my Xperia sola .54_ftf.zip... i click that and they said extracting rom from zip file, then suddenly they say error: no system folder found... Help me please, anyone?? i promise i'll click your thanks button if anyone gets to help me.... :good:
This is the terminal :
Welcome to dsixda's Android Kitchen
Please wait ...........
============================================================
Android Kitchen 0.221 - by dsixda (xda-developers.com)
============================================================
> MAIN MENU
1 - Set up working folder from ROM
2 - Add root permissions
3 - Add BusyBox
4 - Disable boot screen sounds
5 - Zipalign all *.apk files to optimize RAM usage
6 - Change wipe status of ROM
7 - Change name of ROM
8 - Show working folder information
0 - ADVANCED OPTIONS
00 - LEGACY OPTIONS (old and rarely used)
99 - Build ROM from working folder
u - Kitchen Info/Update/Donate
x - Exit
Enter option: 1
CREATE WORKING FOLDER FOR ROM
==============================
Ensure there is at least one ROM under the 'original_update' folder!
Select an option:
s - Show supported formats
x - Abort, don't create working folder
Or press Enter to continue
?
Before you proceed:
The existing working folders under the main folder can be backed up
to the folder 'original_update' for later use; otherwise they will be
deleted.
Found the following:
WORKING_xperia
Move to original_update? (default: y): n
Removing ...
Please wait ...
Available ROMs:
(1) Copy_of_Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
(2) Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
Enter selection number (default=1, cancel=0, r=refresh): 1
Selected Copy_of_Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
The new working folder will be named WORKING_030613_184247
Change the name (y/n)? (default: n): y
Enter a new name (using this prefix): WORKING_xperia
Creating working folder WORKING_xperia ...
Extracting ROM from ZIP file ...
Error: No system folder found!
Press Enter to continue
Sherwinnn said:
...
Extracting ROM from ZIP file ...
Error: No system folder found!
Press Enter to continue
Click to expand...
Click to collapse
As far as I know you will need a Cwm flashable zip.....
I guess you have just created a zip of the ftf file......
Sent from my Xperia Sola using xda app-developers app
@[email protected] said:
As far as I know you will need a Cwm flashable zip.....
I guess you have just created a zip of the ftf file......
Sent from my Xperia Sola using xda app-developers app
Click to expand...
Click to collapse
How to get the cwm flashable zip??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
How to get the cwm flashable zip??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Dump the system from the ftf and then create a .zip file including the meta-inf folder.....
Sent from my Xperia Sola using xda app-developers app
@[email protected] said:
Dump the system from the ftf and then create a .zip file including the meta-inf folder.....
Sent from my Xperia Sola using xda app-developers app
Click to expand...
Click to collapse
Whuuuuuuttttt???? Explain more??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
Whuuuuuuttttt???? Explain more??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Do some search buddy...... you will gain more if you search yourself......
Nyways heres the LINK which may be of great help.........
This was my first guide for development......
What you can do is flash stock rom and get cwm to it
Then go to backup in cwm and create firmware.zip
It will do all the stuff for u and just place this file in the input folder!
So can I create gaming ROM by using this Android Kitchen??
Sent from my Galaxy Nexus using xda app-developers app
By Gaming, you mean Fast and No Lags? You could make a rom faster than stock with the Kitchen but this was designed to work with all Devices so its just a basic tool here. For real performance, you need to do device specific tweaks and all so you ought to learn to do it manually
Min3r said:
By Gaming, you mean Fast and No Lags? You could make a rom faster than stock with the Kitchen but this was designed to work with all Devices so its just a basic tool here. For real performance, you need to do device specific tweaks and all so you ought to learn to do it manually
Click to expand...
Click to collapse
Someone is back
Nothing is like a real gaming rom unless u overclock gpu and give it more ram
Term we(not me) use as gaming Rom is that we keep more ram free and high minfree values so that good amount of ram is available for the game
So I have to do tweaks to make a lag free ROM??
Sent from my Galaxy Nexus using xda app-developers app
Yup Take a look at some of the roms released here to get an idea of the tweaks normally used
Sherwinnn said:
So I have to do tweaks to make a lag free ROM??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
you will have to tweak so as to reduce lag and also get more free RAM which can be used to play games.........
Take a look at OOM Groupings, Dalvik Cache and also tweaking the CFS ( Thunderbolt Script would be an ideal base to start with ) These give the most noticeable improvements
The most famous tweaks is thunderbolt right?? Do I have to do manually or what?? Step by step instruction to do a custom ROM please..... if not then nevermind!!!
Sent from my Galaxy Nexus using xda app-developers app
The best way to learn is to download any custom rom, go through the entire thing yourself And take a look at my guide for making cwm flashable zips and you'll be able to understand how things work What you do is open Thunderbolt tweaks zip and go through the files in it and try to understand the code
Min3r said:
The best way to learn is to download any custom rom, go through the entire thing yourself And take a look at my guide for making cwm flashable zips and you'll be able to understand how things work What you do is open Thunderbolt tweaks zip and go through the files in it and try to understand the code
Click to expand...
Click to collapse
You are smart, that's why you understand the thunderbolt codes....
Sent from my Galaxy Nexus using xda app-developers app
Its not very hard mate Just go through a few simpler scripts first and then you'll quickly understand it too I started understanding what these scripts do a week into my development start, but it wasnt till later i realised its just basic Shell scripts Learn Shell Scripting for linux and you'll be able to understand these commands easily
What is Meta. inf??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
What is Meta. inf??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Meta.INF contains just the updater script which is run when you select the .zip file in CWM.......
any more knowledge would be more helpful......... :cheers:

[TOOL][6/2] - Empty Zip File For S4

This is just what the OP says. Nothing more, nothing less.
Its a flash-able zip file with script to unzip system to system. There are two folders preset in system; app and framework.
Good for making your own mods and distributing them.
Do NOT use this to distribute a ROM!
I seen someone try that once.... Wasnt good!
Usage:
Put files in zip using 7zip or WinRar.
Flash it
You can edit the updater-script to take out www.scottsroms.com and put in what you want using Notepad++
If you need help feel free to ask.
You should check out ZIPme on Google Play. You can add the files you want from your phone and create the update.zip
Sent from my SCH-I545 using xda premium
Ty on this. I was looking for a flashable zip I had long time ago
Sent from my SCH-I545 using Tapatalk 4 Beta
Kind of new
scrosler said:
Usage:
Put files in zip using 7zip or WinRar.
Flash it
You can edit the updater-script to take out www.scottsroms.com and put in what you want using Notepad++
If you need help feel free to ask.
Click to expand...
Click to collapse
2 questions
1) I assume this is ok to use for flashing the google keyboard?
2)If so, do permissions need to be set? Anything else a noob might need to know?
Thanks for the file.
Shaftamle said:
2 questions
1) I assume this is ok to use for flashing the google keyboard?
2)If so, do permissions need to be set? Anything else a noob might need to know?
Thanks for the file.
Click to expand...
Click to collapse
It is okay for flashing a keyboard yes. You will use like 7zip or winter to open but not extract the zip and drag and drop your keyboard apk into /system/app.
Permissions are set for you too.
As for why you want it, check out this as it may be what you want and more.
http://forum.xda-developers.com/showthread.php?t=1965768
Sent from my Galaxy S4
jrummy16 said:
You should check out ZIPme on Google Play. You can add the files you want from your phone and create the update.zip
Sent from my SCH-I545 using xda premium
Click to expand...
Click to collapse
Awesome app man! Thanks so much! I was wondering if you Mind if I add to the updater script that is produced to reflex my name?
Sent from a Shaftamle Galaxy S4
"Thanks Button" is always appreciated!
http://mycolorscreen.com/Shaftamle/

Categories

Resources