[Q] nandroid backup into a flashable rom? - Android Q&A, Help & Troubleshooting

First, I'm not a developer, I've never made a rom now do I know how. Not that I can't learn. I'm just broke and have a horrible computer its so bad I haven't used it since I got my evo 4G. Anyway I'm not new to flashing, modding or anything to do with my evo. What I like to do is flash a rom as a base then find other tweaks and mods and flash them. remove things the developer put in and maybe replace them with other thing I find from other roms. Eventually I have a custom "rom" mostly unrecognizable from my original base. My question is, is it possible to nand my "rom" and turn it into a flashable rom to share with the community?

caddermeran said:
First, I'm not a developer, I've never made a rom now do I know how. Not that I can't learn. I'm just broke and have a horrible computer its so bad I haven't used it since I got my evo 4G. Anyway I'm not new to flashing, modding or anything to do with my evo. What I like to do is flash a rom as a base then find other tweaks and mods and flash them. remove things the developer put in and maybe replace them with other thing I find from other roms. Eventually I have a custom "rom" mostly unrecognizable from my original base. My question is, is it possible to nand my "rom" and turn it into a flashable rom to share with the community?
Click to expand...
Click to collapse
I believe you can use the latest version of clockwork mod to create a flashable update.zip of your current ROM that you could then share with people.
Edit: Option can be found under backup and restore options and is called "create image zip"
Sent from my SCH-I535 using xda premium

What about Ra? I guess I can check myself. If I rename the zip, would you still be able to flash it? Would it be considered a rom? Would I post it in developers section? With proper credit of course.

caddermeran said:
What about Ra? I guess I can check myself. If I rename the zip, would you still be able to flash it? Would it be considered a rom? Would I post it in developers section? With proper credit of course.
Click to expand...
Click to collapse
Amon Ra (I assume thats what you mean by Ra) is pretty old, I think its a CWM (Specifically clockwork mod 6 and above) only feature. Yes I'm pretty sure if your just renaming the zip and not modifying any thing else once you create the update.zip you should be able to flash it just fine. And yes it would be considered a ROM more of a cooked ROM since you didn't compile it from source, but still a ROM non the less. And yes since it's a ROM post you would post it in the development section (Not Original Development Section though), and as always like you mentioned proper credit is important :good:.

Thanks for the information. I'm using smelkus amon ra, I heard cwm didn't wipe properly. Has that issue been fixed? I'm gonna work on cooking my rom polish it up a bit and post it soon Thanks again for the information, gonna put you in my credits

caddermeran said:
Thanks for the information. I'm using smelkus amon ra, I heard cwm didn't wipe properly. Has that issue been fixed? I'm gonna work on cooking my rom polish it up a bit and post it soon Thanks again for the information, gonna put you in my credits
Click to expand...
Click to collapse
I'm pretty sure this issue has been fixed, besides when you want to whipe something it's best to do whipe cache or data or whatever else your whipping at least 2 times just to be on the safe side. And thank you for putting me in the credits make sure to send me the link when you post the link would love to check it out :thumbup:
Sent from my SCH-I535 using xda premium

I'm gonna have to post elsewhere a few more time before I'll even be allowed to post in the development section. Sucks, that's the only section I use. This is the first time I've had any real questions.

caddermeran said:
I'm gonna have to post elsewhere a few more time before I'll even be allowed to post in the development section. Sucks, that's the only section I use. This is the first time I've had any real questions.
Click to expand...
Click to collapse
The easiest and most legitimate way to get enough posts if to look through the the various Q & A threads and try and answer some peoples questions, or you can look through topics that interest you and comment on them in some way that adds to the discussion.

Thanks for the tip. That's what I was going to to do. Thanks again for the info.

So I finally got my rom how I want it, I flash the latest cwm, and the option to create a flashable zip is not available for the evo 4g. Any other ideas?

caddermeran said:
So I finally got my rom how I want it, I flash the latest cwm, and the option to create a flashable zip is not available for the evo 4g. Any other ideas?
Click to expand...
Click to collapse
Try doing a data dump (dd) of all the partitions on your device using commands along the lines of: (Can be done from ADB shell or terminal emulator)
$ su
# cat /proc/mtd
Also try "mounts" if that doesn't work
Then based on that output you dump the partitions using the dd command (Following is an example do not copy verbatim).
# dd if=/dev/block/mmcblk0p9 of=/mtd/sdcard/system.img
Then take a meta-inf folder from a working ROM for your device, extract the contents of the system.img file so you have a system folder, and the boot.img once you have these three files zip them all up, and sign the Rom then flash in recovery.
Another suggestion, would be to just take the stock Rom or even Cyanogenmod for your phone and modify that using notepad++, Gimp, and 7-zip (PM me if you want some help with this).
Finally, you could look into compiling AOSP or Cyanogenmod from source for your device.
Sent from my SCH-I535 using xda premium

Related

New "dev"

Hey there people! i have been using many different roms since i got my X10. And i was thinking about trying to make a rom myself. theres just really one question that i have at the moment and that is how do i make it a flashable zip?
I saw something a while ago about firstly backing up the whole rom using xrecovery and then somehow making it into a zip.
Thanks in advance. im doing this because i want to be able to release my rom to my fellow members of XDA.
Pandayoyo said:
Hey there people! i have been using many different roms since i got my X10. And i was thinking about trying to make a rom myself. theres just really one question that i have at the moment and that is how do i make it a flashable zip?
I saw something a while ago about firstly backing up the whole rom using xrecovery and then somehow making it into a zip.
Thanks in advance. im doing this because i want to be able to release my rom to my fellow members of XDA.
Click to expand...
Click to collapse
i´ts possible to create a rom from a backup yet, that´s something i won´t recommend. whý?
or you know what you´re doing or most probably you broke some essential parts of it (busybox just to name 1).
you can do from the most simple way to start:
- create your backup as you previous wrote.
- follow THIS GUIDE from DoomLoRD to convert img files
- pick one rom (any will do), open the downloaded one with 7-zip and paste your files in it
this is the most simple way for you to start from the one you have

Electrify System Dump 4.5.1A_SUN_USC_16.7

Stock system dump (this is not cwm flashable, this is for devs needing a base rom) all credit goes to drenner99
Deodex'd Version (cwm flashable)
this will allow themeing and your phone should run slightly faster
will someone please tell me what this does?
rj_22 said:
will someone please tell me what this does?
Click to expand...
Click to collapse
Nothing as of right now a dev has to cook a ROM using this as a base
Sent from my MB855 using xda premium
rj_22 said:
will someone please tell me what this does?
Click to expand...
Click to collapse
shabbypenguin said:
Stock system dump (this is not cwm flashable, this is for devs needing a base rom) all credit goes to drenner99
deodex version coming up here shortly
Click to expand...
Click to collapse
and here i thought i did...
It's just a system dump from the Motorola Electrify. It's more or less the same as our stock system dump.
Well let the rom making begin! I wanna root and flash my phone badly....but I dont wanna do it until there is a way I can go back to stock for warranty purposes.
deodex'd uploaded guys
shabbypenguin said:
deodex'd uploaded guys
Click to expand...
Click to collapse
shabbypenguin, the link you posted is password protected - fyi
thanks
shhhh no its not >.>
Thanks for the hard work, guys.
I wish I were able to make roms.
Unfortunately I'm running into an error when attempting to flash via cwm.
Getting status error 0.
:/
superuser in stock dump?
@shabbypenguin,
I was reading through your AIO root thread and it occurred to me that I had rooted prior to extracting the system dump that is posted in op as "Stock". Therefore, there is a version of superuser present in /app that I assume may not have been there as delivered. Of course, I may be making an incorrect assumption.
Is it appropriate then to call this stock, or is it a given that rooting would have been necessary to perform the dump in the first place?
I also don't know if this would affect your deodexed version?
Just wondering if this fact needs to be mentioned somewhere, unless I just did.
b4ifuru18 said:
Unfortunately I'm running into an error when attempting to flash via cwm.
Getting status error 0.
:/
Click to expand...
Click to collapse
It's says in op that you can't flash using cwn
Sent from my MB855 using xda premium
First off, thanks for all your efforts to provide us with this...
Second, root is a requirement for the dump and so even with the Superuser app, what you supplied is most definitely stock.
Unless of course you deleted anything in /system/ prior to the dump...
drenner99 said:
@shabbypenguin,
I was reading through your AIO root thread and it occurred to me that I had rooted prior to extracting the system dump that is posted in op as "Stock". Therefore, there is a version of superuser present in /app that I assume may not have been there as delivered. Of course, I may be making an incorrect assumption.
Is it appropriate then to call this stock, or is it a given that rooting would have been necessary to perform the dump in the first place?
I also don't know if this would affect your deodexed version?
Just wondering if this fact needs to be mentioned somewhere, unless I just did.
Click to expand...
Click to collapse
edward.hidalgo said:
It's says in op that you can't flash using cwn
Sent from my MB855 using xda premium
Click to expand...
Click to collapse
I'm referring to the stock deodex that is cwm flashable according to shabby.
Beach_Head said:
First off, thanks for all your efforts to provide us with this...
Second, root is a requirement for the dump and so even with the Superuser app, what you supplied is most definitely stock.
Unless of course you deleted anything in /system/ prior to the dump...
Click to expand...
Click to collapse
Nothing was deleted
and thank you for your guidance in helping to get this done...
b4ifuru18 said:
I'm referring to the stock deodex that is cwm flashable according to shabby.
Click to expand...
Click to collapse
This is simply a stock from from the Photon's "sister," the Electrify. No one has even identified if there are any benefits/improvements hidden inside this ROM, much less how compatible it is with the Photon.
Just because something IS flashable doesn't mean you SHOULD flash it. OP was very clear - this is for devs only, not public consumption. If you don't know enough, then you're better off exercising some patience and waiting for further announcements.
actually im gunna guess that the man has an electrify and my cwm script is busted
I would venture to guess that you guys will have the same issue we do with the photon roms. As other members on my team verified that root, recovery, kernel and unlock work from the photon. The kernel needed wifi fixed which was pretty simple. In which I pm'd shabby about earlier. The roms also work but some things need fixed to get it working.
I don't know all the details besides what weasel told myself. But mms, 3g I believe works but going back to stock it wouldn't, eri says sprint, blur e-mail fc's and activation for sprint kept popping up to where you have to skip it. Weasel has fixed most of the stuff in the homebase port. I believe e-mail still fc's and mms is still broke.
But here is the first deodex rom weasel and myself did if you want to add it to the first post. http://2fastroms.com/viewtopic.php?f=116&t=265
Then here is the kernel shabby did with wifi fixed ready to install. Only rc-1 since wifi was broke in rc-2. If the electrify people want to install it just grab it from shabby's thread. There was reports of 3000's+ in bench's. Not sure of rom it was on but I would venture to guess our stock rom. http://2fastroms.com/viewtopic.php?f=118&t=334
Then here is the port for homebase weasel is playing with http://2fastroms.com/viewtopic.php?f=116&t=268 if you guys wanted to look at it.
i would gather a lot of frameworks issues, as with services.jar would happen between the phones.
edit: you keep saying you fixed wifi. but the only way to fix it, is by rebuilding the modules using my config file.. which only i have...
unless im missing some other way to replace it?

Easy Kernel Installer

Hi all.
I have created for users a kernel installer, to take out the hassle of typing out commands yourself.
For this to work, there are some requirements that must be met.
1-you have bootloader unlocked
2-you have fastboot drivers already installed. if you dont, please install them
This was created on windows 7, and i am yet to find out if it works on anything else. So please let me know.
I currently have 2 versions. The first is just the installer itself. Where you add your kernel (the boot.img) to the folder yourself. The second, is set up to install DooMLords latest kernel (version 3).
In the future, I am hoping to also create (with the developers permission), a one click installer for custom ROM's.
To use, just extract the folder, if necessary add your boot.img, then double click "FLASH KERNEL" and plug your phone in. The installer reboots the phone into the correct mode itself and wait
Plain installer (no kernel)
http://www.4shared.com/file/pJZy6Osc/kernel_flasher.html?
DooMLords DooMKerneL auto installer
http://www.4shared.com/file/WlrTYOxa/doomkernel-version3-autoinstal.html?
Credits:
DooMLord for his amazing work on kernels and many other releases
and many others who's names i cant think of right now, but the developers should know who they are!!
you are all amazing and a great inspiration!!
EDIT:
i am currently running androhero's ROM and dooms kernel on my phone, which were both installed via this method. if all goes well and i have no issues with the ROM, and i hear back from androhero with permission, i may soon be able to roll out easy installers for custom roms
Can this work for CM7 kernel? (if there is one)
I used the XDA App to post this, what did you use?
Cat_On_Droid said:
Can this work for CM7 kernel? (if there is one)
I used the XDA App to post this, what did you use?
Click to expand...
Click to collapse
that's the kernel i was using when i built the code
just download the kernel from the cm7 thread, download the plain installer, add the boot.img to the extracted folder, and BOOM!!! cm7 kernel installer!!
No disrespect but is it so much easyer than type this few fastboot commands?
^ I also thought about that, but users with winxp will find it helpful
I used the XDA App to post this, what did you use?
IE-coRe said:
No disrespect but is it so much easyer than type this few fastboot commands?
Click to expand...
Click to collapse
some people dont feel comfortable doing it, or get it wrong. and may mess things up. this allows people to do it in a simple way.
and also, i plan to expand this into a one click type of installer to take out the hassle (and mistakes) of installing custom roms.
in essence, the less a noob has to do, the less they can get wrong and then we might have fewer people on the forum saying "i broke my phone :'(" etc. hehe.
okay thats true
Cat_On_Droid said:
^ I also thought about that, but users with winxp will find it helpful
I used the XDA App to post this, what did you use?
Click to expand...
Click to collapse
I just copy the address line in the folder window and 'cd' + paste (folder address) in the cmd window and you're good to go with issuing commands. Some .exe files also works when drag and drop into the cmd window on winxp. Pretty sure it works with fastboot.exe and i know that bunzip2/bzip2 works that way on winxp.
Then again i feel comfy doing things from a cmd window and think it's more fun that way. Well flashing from recovery is also a nice way to do things, comes in handy when out and about. Used it alot with my HTC Desire HD.
Anyway nice move @solitarymonkey i think it'll come in handy for some users that don't feel comfy in all this cmd/fastboot thingy
Regards Dousan...
solitarymonkey said:
some people dont feel comfortable doing it, or get it wrong. and may mess things up. this allows people to do it in a simple way.
and also, i plan to expand this into a one click type of installer to take out the hassle (and mistakes) of installing custom roms.
in essence, the less a noob has to do, the less they can get wrong and then we might have fewer people on the forum saying "i broke my phone :'(" etc. hehe.
Click to expand...
Click to collapse
[CONSTRUCTIVE CRITICISM]
I dont like the idea of real nooby noobs installing custom roms.
If they cant copy-paste a few commands i think it is a bad idea to have them run custom roms.
I would however like to see a stock rom + kernel installer, that wipes the cache and data(option), and relocks the bootloader(option).
[/CONSTRUCTIVE CRITICISM]
Azeazezar said:
[CONSTRUCTIVE CRITICISM]
I dont like the idea of real nooby noobs installing custom roms.
If they cant copy-paste a few commands i think it is a bad idea to have them run custom roms.
I would however like to see a stock rom + kernel installer, that wipes the cache and data(option), and relocks the bootloader(option).
[/CONSTRUCTIVE CRITICISM]
Click to expand...
Click to collapse
i understand what you are saying. but in a way, shouldnt something that's open source be available to everyone?
and when i get the chance, i'll have a look into your suggestion. although flashtool can do that if you have both the ftf of the official rom that you want, and the bootloader lock file from blagus' tutorial thread ^_^
Ok so I'm one of the n00bs that this type of program will help.
I was wondering: is it 1) possible and 2) beneficial/additive to install something like doomlord's kernel while on the stock ROM?
I would really like to my phone to run faster, have better battery life, and have the ability to overclock and I think doomlords accomplishes all that.
What do you think?
btw r800x verizon unlocked bootloader by Alejandrissimo
Dyelon said:
Ok so I'm one of the n00bs that this type of program will help.
I was wondering: is it 1) possible and 2) beneficial/additive to install something like doomlord's kernel while on the stock ROM?
I would really like to my phone to run faster, have better battery life, and have the ability to overclock and I think doomlords accomplishes all that.
What do you think?
btw r800x verizon unlocked bootloader by Alejandrissimo
Click to expand...
Click to collapse
Sorry, no dice. Doomlords's kernel won't work with the stock r800x Rom.
Sent from my R800x using xda premium
antEris said:
Sorry, no dice. Doomlords's kernel won't work with the stock r800x Rom.
Sent from my R800x using xda premium
Click to expand...
Click to collapse
Hm. well thanks anyway man....I'll probably wait until cyanogen doesn't have any profound deficiencies then
This is a nice tool you put together!
I understand where the other guys are coming from but i think this too will save me some time for sure!
DrROBschiz said:
This is a nice tool you put together!
I understand where the other guys are coming from but i think this too will save me some time for sure!
Click to expand...
Click to collapse
Indeed. For people who regularly flash different roms and need different kernels for them, it removes the tedious and repetitive task of typing the same thing again and again. And it gave me something to do and experiment with for you guys ^_^
Sent from my R800i using xda premium

Path to Custom ROM?

So now that we have root, what is the next step? I am not a Dev, so I'm wondering, someone has to take the system dump, deodex the files? Then, build the custom files that will allow/create the customizations? Sorry for my lack of knowledge, just wondering how far off we are from a custom ROM or at least the ability to run some of the customizations found in say ROM toolbox?
I guess we have to hope that some awesome devs get the Razr.
I will build a rom, but I am not doing anything until a SBF/FXZ file appears that I can restore my phone easily during the testing phase.
Edit: Also WRONG SECTION
FrAsErTaG said:
I will build a rom, but I am not doing anything until a SBF/FXZ file appears that I can restore my phone easily during the testing phase.
Edit: Also WRONG SECTION
Click to expand...
Click to collapse
I don't blame you for waiting. Nobody wants to brick their phone.
Sent from my DROID RAZR using xda premium

[Q] Creating back ups after flashing base ROM

I just got my OG and I'm very happy with it. I came from the Infuse and if you know anything about it you can understand why I'm happy. I'm not new to flashing or new with CWM, and I've been trying to find the answers to my questions in this forum but I have seen conflicting information.
I would love to root and unlock my OG and flash the base ROM - but
1. Can i create and use a backup in CWM? I read that the backup are not working and a fix was on the way, but I could not find out if the fix came or not.
2. If I can't create backups in CWM and I still want to root and unlock, can't i simply remove the bloatware myself from the /sys/apps folder?
Again, I'm new to this phone so be gentle with me if these questions have been asked and answered before. I tired for 4 days to find my answers in a comprehensive place.
EDIT: Sorry community just saw the post in the dev section on the fix.
jimi_pooh said:
I just got my OG and I'm very happy with it. I came from the Infuse and if you know anything about it you can understand why I'm happy. I'm not new to flashing or new with CWM, and I've been trying to find the answers to my questions in this forum but I have seen conflicting information.
I would love to root and unlock my OG and flash the base ROM - but
1. Can i create and use a backup in CWM? I read that the backup are not working and a fix was on the way, but I could not find out if the fix came or not.
2. If I can't create backups in CWM and I still want to root and unlock, can't i simply remove the bloatware myself from the /sys/apps folder?
Again, I'm new to this phone so be gentle with me if these questions have been asked and answered before. I tired for 4 days to find my answers in a comprehensive place.
EDIT: Sorry community just saw the post in the dev section on the fix.
Click to expand...
Click to collapse
1. If you use twrp or cwm touch You can do backups both have flashable zips in their respective threads.
2. You can only remove some of the bloat with an unlocked bootloader, otherwise thy set of a security warning.
Sent from my LG-E970 using xda premium
Deaf Mute said:
1. If you use twrp or cwm touch You can do backups both have flashable zips in their respective threads.
2. You can only remove some of the bloat with an unlocked bootloader, otherwise thy set of a security warning.
Sent from my LG-E970 using xda premium
Click to expand...
Click to collapse
Thanks Deaf Mute. I did see that the newer CWM was in the dev thread. I guess I need to learn up on bootloaders with the OG
jimi_pooh said:
Thanks Deaf Mute. I did see that the newer CWM was in the dev thread. I guess I need to learn up on bootloaders with the OG
Click to expand...
Click to collapse
Just run freegee from your computer or purchase the app on the play store and run that very quick unlock. Doesn't delete anything off of your device. You get the non touch version on cwm or twrp via app (you get the choice) out just the non touch cwm via the desktop version. Both also create backups so you can restore the old bootloader easily.
Sent from my LG-E970 using xda premium

Categories

Resources