[Q] CWM backup-->flashable rom? - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

I'm a new developer and have applied all my tweaks and edits via root explorer so far. is there a way to change a CWM backup into a flashable rom file for other users to flash? I searched around a bit, but couldn't seem to find anything about it.

Goto this thread here
follow all the setup to install cygwin & kitchen
once it's all setup you can plug your phone in and create a rom
follow the guide (second method) for creating the rom system files by extracting the system folders from your phone (rom you are using)
you can then turn it into a flashable rom zip

I think you just basically extract the CWM backup, then repackage them in 1 zip file (except for the androidsecure backup).

9steele9 said:
I'm a new developer and have applied all my tweaks and edits via root explorer so far. is there a way to change a CWM backup into a flashable rom file for other users to flash? I searched around a bit, but couldn't seem to find anything about it.
Click to expand...
Click to collapse
YOU CAN USE THE CWM BACKUP IN KITCHEN YO MAKE A CUSTOM ROM.BUT YOU CAN'T ABLE TO USE THE BACKUP FILE DIRECTLY AS A CUSTOM ROM.
OTHER HAND YOU CAN MAKE ALSO THIS BACKUP AS A DEODEXED STOCK ROM BY DEODEXING THIS BACKUP FILES.
YOU CAN FIND KICHEN GUIDE HERE-http://forum.xda-developers.com/showthread.php?t=1801690
YOU CAN FIND DEODEXING GUIDE HERE-http://forum.xda-developers.com/showthread.php?t=2230337
PRESS THANKS IF I HAVE A BIT SUCCESS TO HELPING YOU.....:thumbsup:

Hmm thats how i make roms that i dont post here though....
In tthe cwm backup u have system.rfs.tar
Extract it using 7zip
U get system.img or u might get a system folder....
Extract the img file using Magic Iso
Open magic iso
In menu..
File>open
Select ur system.img
On the left side pane right click on the disk icon and click extract.select ur destination
Once the files are all extracted copy all of them in a folder named "system"
Now get a meta-inf folder from a custom rom and zip
Meta-Inf and system folder together
U have ur rom...
Ill create a video tutorial for this tomorrow as many people ask this question in different threads of devices....
Sent from my GT-S5360 using xda app-developers app

Related

[Q] Beats audio flashed accidentally

Im using hyperion 8. i accidentally flashed beats audio zip from rocko devs website in hyperion 8. now i cant open "sound effects" in settings.
Message:
The application Equalizer (process com.bel.android.dspmanager) has stopped working.
is there a solution other than reflashing hyperion 8
Unzip mod zip
unzip rom zip
Replace the files in the mod zip with ones from rom zip
rezip and Flash
manually delete any extra files that were in mod zip but not rom zip
Of course it's much easier to restore your nandroid backup but for some reason no one here ever makes one even though I keep telling people to
doubt
marcussmith2626 said:
Unzip mod zip
unzip rom zip
Replace the files in the mod zip with ones from rom zip
rezip and Flash
manually delete any extra files that were in mod zip but not rom zip
Of course it's much easier to restore your nandroid backup but for some reason no one here ever makes one even though I keep telling people to
Click to expand...
Click to collapse
thanks for the fast reply. as you said i dont have a nandroid backup
i have one more doubt. will it replace all files added by the original mod zip? or just add new files from rom?
adithyaappu said:
thanks for the fast reply. as you said i dont have a nandroid backup
i have one more doubt. will it replace all files added by the original mod zip? or just add new files from rom?
Click to expand...
Click to collapse
You replace any files from the mod zip with ones from the rom zip
by flashing it you are replacing the files from the mod zip with ones from the rom zip
Any extra files that are in the mod zip but not in rom zip Manually remove with a root browser
This should then put your phone back to pre mod flashing
Remember ALWAYS make a nandroid backup in future
thanks
marcussmith2626 said:
You replace any files from the mod zip with ones from the rom zip
by flashing it you are replacing the files from the mod zip with ones from the rom zip
Any extra files that are in the mod zip but not in rom zip Manually remove with a root browser
This should then put your phone back to pre mod flashing
Remember ALWAYS make a nandroid backup in future
Click to expand...
Click to collapse
sorry if that was a stupid qn. im a noob. actually i got confused when i read your post. now im clear
i will make a nandroid backup in the future.

Creating a Flashable zip problem

Hi I created a bootanimation and want to make it flashable. I followed tutorials from the net and xda. I got two files META-INF and system.
I put my bootanimation.zip in system/media. That's all. I didn't touch META-INF .
After flashing the zip in cwm, it says Installation aborted . Need Help please...
thats because the flashable zip wasnt for your phone
status 0 - wrong update binary
status 6 - wrong update script
here is my template for you
simply download it
open it in winrar (or if using phone just unzip everything)
open the system foler
you will notice a framework folder that is currently empty
you can leave this folder as it is
just create folders to where you want to flash the file to
for example your bootanimation.zip create the following
in the system folder create a folder called media
in the media folder place your bootanimation.zip
the same is true for any other files you want to flash
if you want to flash a file to system/framework just put a file in that folder
if you want to flash a file to system/app just create a folder called app in the system folder and put what you want to flash there
if on winrar you just have to open the zip and right click and create a folder - no need to unzip everything
if on phone and you have unzipped everything just zip everything back up when done
flashable zip template can be download from here
if you are using stock rom you need to enable custom boot animations first using the custom boot enabler zip
(if you already have a custom boot animation and bootanimation.zip working in a custom rom then you dont need to do this)
Ovafloa_X said:
Hi I created a bootanimation and want to make it flashable. I followed tutorials from the net and xda. I got two files META-INF and system.
I put my bootanimation.zip in system/media. That's all. I didn't touch META-INF .
After flashing the zip in cwm, it says Installation aborted . Need Help please...
Click to expand...
Click to collapse
If just a bootanimanion, push using root browser only
Or using a another flashable bootanimation file and the replace the bootanimation.zip with yours
I attch it . Credits to its maker
works perfectly! thanks

how can i install . help me my brothers

my rom is stock odex i used universal deodexer and deodexed my.system/app and system/framework folders . now my question.
how can i install that app and framework folders to my phone ??(i tried replace with root explorer but it does not .(
how can i make thats to a flashable zip?
but
my problem is not that . i can make a flashable zip . its working fine but after i flashed old .odex files doesnt delete. how can i add it to meta inf for when flashing delete app and replace new app and same for framework
No need to create any kind of meta inf you just need to find any flashable zip may be of some kind of theme or update package of your rom if available and just edid it using zarchiver(android) or winrar(windows) simply delete eveything inside the system folder inside the zip except the app folder then delete everything inside app folder then put the apk you want to replace in the app folder. And you are done. Its recommended to sign the zip using apktool(windows) or zipsigner(android) but you can skip this step. Thats about making a flashable zip.
But as far as i know you need to have deodnexed rom to make any changes to system.
Anyways this thread should have been posted in q&a section.

[Help wanted] How to flash files and folders ?

I've extracted my system.img and have on my computer all the files and folder's from said image.
What I'd like to know, is there anyway to be able to flash those files and folders onto my phone?
Say for instances I make changes to some of those files(eg system/lib) , how can I flash or copy those files or folders I've made changes too back to my phone
I should add I'm using a lineageOs 7.1.1 and a twrp recovery
You need root for these sorts of things apparently.
Derendila said:
You need root for these sorts of things apparently.
Click to expand...
Click to collapse
I do have root
You cannot flash a file or a folder .
You can delete and cut and paste files/ folders .
Nandroid system backup is what most would do .
JJEgan said:
You cannot flash a file or a folder .
You can delete and cut and paste files/ folders .
Nandroid system backup is what most would do .
Click to expand...
Click to collapse
Hmm that might work, I could take a nandroid, modify the system there, but I'm not sure if I can recompile the nandroid and have it still workable. I'm pretty sure you can flash folders and files, in fact I have a few zip files that do exactly that, I'm just unsure of the exact process, I believe it would involve creating an updater script, it also would seem that no developer has looked at my question lol
You asked how to flash folders not how to make zip .Look at any zip and see the layout and paths what to do .
Or open rom zip cut and paste your files close and flash.Nandroid restore if a problem .
Sent from my SM-N930F using XDA-Developers Legacy app
JJEgan said:
You asked how to flash folders not how to make zip .Look at any zip and see the layout and paths what to do .
Or open rom zip cut and paste your files close and flash.Nandroid restore if a problem .
Click to expand...
Click to collapse
Thanks for your feedback, yes I asked how to flash files and folder's, but that doesn't exclude zip files as the delivery system for said files. I'll look into other ROMs, but most nougat ROMs use a different file structure
XDA forum hardware development hacking etc should have details how to make a zip ##
https://forum.xda-developers.com.

Question about creating TWRP flashable file

Hey all, I've looked all over an can't find the answer to this... I have a NAND backup I made using TWRP, however, I had the problem many have had with getting errors when trying to restore it. So I thought I'd try a different way by creating a TWRP flashable file from the NAND files. I have taken the files from the backup and extracted them using CYGWIN. I read a thread here:
https://forum.xda-developers.com/showthread.php?t=2746044
But I'm stuck on a couple of things... First, the part about using the META-INF folder from another ROM... I've checked the files in in the META-INF folder and notice that the updater-script is what loads the files and directories. But none of the META-INF files I have found matches my backup files.
The files I want to flash are the complete system folder, complete data folder and the boot.img file. Is it possibly to flash these with TWRP without the META-INF folder/files? If I have to use the META-INF how do I make sure all the files and folders are flashed?
Would it be better to create an ODIN flashable file and just use Odin to do the flash? If so should I put the system and data folders into one file and then use the boot.img (or would I put the boot.img finle into a tar) in the Bootloader spot in Odin?
Thanks in advance.

Categories

Resources