Related
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
Can anyone put into layman's terms the initial process of rooting a phone? I have the OTA and there's no root method, so I'd like to manually root via TWRP. Is busy box mandatory for root? If not, should I get it or pass on it? Where do I get the package to flash? Then for supersu....where do I get the binaries/zip package for that?
I want to ruu back to actual stock and then manually root, but the only thing I cab find is the root scripts, which don't work. I'm having issues with the 1.22 rooted Rom which I believe stem from stripping out firmware and or hboot and stuff. Since I'm already updated is prefer to work from the actual stock build.
This could be a great starting point for those with phone that are already updated... Anyone care to help?
Sent from my EVO using xda app-developers app
kornface13 said:
Can anyone put into layman's terms the initial process of rooting a phone? I have the OTA and there's no root method, so I'd like to manually root via TWRP. Is busy box mandatory for root? If not, should I get it or pass on it? Where do I get the package to flash? Then for supersu....where do I get the binaries/zip package for that?
I want to ruu back to actual stock and then manually root, but the only thing I cab find is the root scripts, which don't work. I'm having issues with the 1.22 rooted Rom which I believe stem from stripping out firmware and or hboot and stuff. Since I'm already updated is prefer to work from the actual stock build.
This could be a great starting point for those with phone that are already updated... Anyone care to help?
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
well chill for one second xD you dont need and cant use any of that mess if you dont have root
what you did is whats preventing you from rooting, which was updating to 1.22, as far as i understand, the current methods dont work for getting you root, sooo, maybe im wrong but i believe theres a trick where u can RUU back to the old 1.33 or whatever, but look in the original development thread
Of course its still possible. Why couldn't I ruu (to 1.22)...run HTC unlock...flash twrp...flash supersu...flash busybox? Boom, I'm rooted on a stock build. I know the current scripts can't do it, bit I can definitely do it manually if I have all the right resources....or if I knew what I was doing... Right??
Sent from my EVO using xda app-developers app
kornface13 said:
Of course its still possible. Why couldn't I ruu (to 1.22)...run HTC unlock...flash twrp...flash supersu...flash busybox? Boom, I'm rooted on a stock build. I know the current scripts can't do it, bit I can definitely do it manually if I have all the right resources....or if I knew what I was doing... Right??
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
if the htc site doesnt have it, and you know how, then you should post your method xD
otherwise idk what your saying...
If you want root and s-off use the links in my signature where it says ]ROOT] and [s-off]
Just concerned with root... It says it works up to 1.13. I've already done the OTA so I'm 1.22... Will it still work?
Sent from my EVO using xda app-developers app
Didn't you already answer your own question in the 3rd post in this thread. You seem to already have the answer.
However, I will say this is discussed in several other threads already just spend a little bit of time searching and you'll find the directions to help you. The time you'll spend searching is as much time as you've put into this thread already.
Sent from my EVO using xda premium
Rocklee99 said:
if the htc site doesnt have it, and you know how, then you should post your method xD
otherwise idk what your saying...
Click to expand...
Click to collapse
If I knew what I was doing I'd gladly post . Give me some time....I'll get there.
brandonmaze said:
Didn't you already answer your own question in the 3rd post in this thread. You seem to already have the answer.
However, I will say this is discussed in several other threads already just spend a little bit of time searching and you'll find the directions to help you. The time you'll spend searching is as much time as you've put into this thread already.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
I have been searching.....I've spent HOURS and HOURS on this forum the past few days. I guess I'm just looking for confirmation that what I want to do is in fact the right thing to do... Everyone is so set on all the root scripts, but noone says what that process actually is. And that's what I want. I want the process so I can start contributing without just taking everyone else's work. I think there's a ton of people in my same situation (htc unlocked, s-on, accepted the OTA) that wants a simple way to get back root without reflashing entire roms. So I guess my three big questions are...
1.) I understand that root requires an app (superuser or supersu) as well as the binaries. I have no idea where these binaries are. Where would I get the supersu ones? Is it flashable? Where do the "binaries" actually go?
2.) Busybox...do you have to be rooted to install it? It seems like you do if this is really a set of tools not included in stock android. Maybe I'm wrong though. And more importantly....where do you get it. I'll be honest, I haven't searched around on this issue yet, so maybe the answers already out there... I just wanted to ask in case someone felt like layin down some knowledge.
3.) The flashable zip. I guess I could unzip one and see what's inside, but I'm sure someone on here can explain so it makes more sense than I'd gather by just unzipping and looking around. Like for instance, so flashable zips are entire roms...some are just radios...some are simple tweaks. This leads me to believe there's a script inside defining what to actually do. Let's say I wanted to create my own flashable zip which included TWRP, the root binaries and supersu, as well as busybox. Do I create a perl script called your_moms_a_skank and include it with all the other files? Is there a certain filename (instructions) the android operating system looks for when you flash a zip? Shoot i dunno.....I guess I'll start ripping these apart and seeing whats inside....
If you can't answer all three, that's fine. Any information is better than none... You all are awesome and I would buy you all cupcakes if I knew where you lived... Don't actually tell me where you live because the cupcakes will never come. I'll eat them long before they make it to the post office. I'm just saying....I'd consider buying you a cupcake. And it's the thought that counts...so you have to be happy about this.
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
I know what you're thinking "We already have root, why do we want and/or need this?". Well, if you followed the root thread, you would have seen that the package posted was built off of two images. There was the early firmware posting that it was first made from, then a system pull in a rar archive that was used to put the root package on the latest firmware. In the processes, there were issues with permissions and other items missing. The people involved did a great job with what they had, but I don't like hacked up solutions to problems.
So, to fix that, I had a stock system.img for the release firmware. This allowed me to build a fully stock root package with no missing files or incorrect permissions. While it took some time to get this tested and verified working without having the device, I was able to get it. Thanks goes to Adrynalyne, Mibix, and AstainHellBring (and anyone else) from IRC for testing several packages (Freenode, #galaxy-note-2). This is only the start of things to come, and I plan on slowly working on a ROM based on this then. I also made a deodexed version of the same package. Download and flash that if you wish, but it was more to verify that nothing broke in the deodexing process and to get a working base for a custom ROM.
DOWNLOADS
Stock Rooted Image
Mirror 1
Mirror 2
Deodexed Stock Rooted Image
Mirror 1
Mirror 2
INSTRUCTIONS
Download one of the above packages for flashing.
Extract the file (7zip works to extract).
Open Odin (download that elsewhere), and put the extracted tar.md5 in the PDA spot
(Re)Boot your phone into download mode and plug it in to your computer
With it recognized in Odin, press start
Once the phone boots up, all should be well. If you notice issues, boot into recovery and wipe data and this should fix the problems.
If you still have issues after wiping the /data and performing a factory reset, please post here.
NOTE: I am not responsible for any ill effects caused to you, your loved ones, you phone, or anything else as a result of flashing this. Do so at your own risk as I won't be held responsible.
Saving this one too, just in case.
I'm nuts about imnuts! Its great to have you here! Can't wait for one of your ROMs.
So just for clarification, this is a newer version of system than what the other root package was?
I will probably flash the deoxed version anyone, but just checking.
mazz0310 said:
So just for clarification, this is a newer version of system than what the other root package was?
I will probably flash the deoxed version anyone, but just checking.
Click to expand...
Click to collapse
yes
mazz0310 said:
So just for clarification, this is a newer version of system than what the other root package was?
I will probably flash the deoxed version anyone, but just checking.
Click to expand...
Click to collapse
Same "version" as the last one created by Mr Robinson, just that it was built off of a system.img of the shipping firmware that preserved all permissions on the files. Functionally, this should be basically the same as what was done earlier, just put together in a less hacked up manner.
What would be the advantage of deodexed version?
sent using my apple assassin.
blackbass595 said:
What would be the advantage of deodexed version?
sent using my apple assassin.
Click to expand...
Click to collapse
I do believe that's really for doing themes etc. (Makes it easier, that is)
Thank you. I ran your droid charge roms. Do u plan on get a note2?
Oh I wasn't sure if it litened it up or sped it up in any way. Would u see any reason to flash this over or in place of the first one I have now? All seems to be working fine.
What happens to all the mods that we have used on our phone, e.g. replacing files. I have changed my status bar and changed it so I can use MW with all apps.
Is this like the other one where are apps are not deleted?
Could yuo explain the advantages of the deoxed version vs. this one?
I will d/l both to keep on hand and thank you imnuts for putting this together. Does this address the lag with the screen turning on. I did of course wipe cache, etc, etc. when I rooted the first time. Remember kids, always wipe when you're done
kimdoocheol said:
What happens to all the mods that we have used on our phone, e.g. replacing files. I have changed my status bar and changed it so I can use MW with all apps.
Is this like the other one where are apps are not deleted?
Could yuo explain the advantages of the deoxed version vs. this one?
Click to expand...
Click to collapse
Its a true latest rooted system image. You will have to redo all your mods. If your happy with what you have now, I wouldn't worry about it.
blackbass595 said:
What would be the advantage of deodexed version?
Click to expand...
Click to collapse
It is significantly easier to theme and modify deodexed versions compared to what ships.
vileSpyderPig said:
Thank you. I ran your droid charge roms. Do u plan on get a note2?
Click to expand...
Click to collapse
If/when I get enough money, yes. For the moment, I have a few people I know that are testing things for me.
blackbass595 said:
Oh I wasn't sure if it litened it up or sped it up in any way. Would u see any reason to flash this over or in place of the first one I have now? All seems to be working fine.
Click to expand...
Click to collapse
kimdoocheol said:
What happens to all the mods that we have used on our phone, e.g. replacing files. I have changed my status bar and changed it so I can use MW with all apps.
Is this like the other one where are apps are not deleted?
Could yuo explain the advantages of the deoxed version vs. this one?
Click to expand...
Click to collapse
If you already have root and/or have done other changes to /system, then there isn't a need to flash this. It is meant more for people that haven't yet rooted. If you have only done root, this shouldn't change anything for you. If you have rooted and made other changes (deleting apps/etc.), then it will undo those changes, and possibly force you to factory reset. Nothing has been deleted from either package, just root and busybox being added.
Deodexed v. stock is mainly for ease of modification. After the first boot, there is no speed difference in the two, though you may save a little bit of storage on the stock version. Functionally, they are identical, just that if one was looking to theme or make other changes, it is easier to do on the Deodexed version. I plan on starting a ROM then, maybe with the help of a few people, and this will start with the deodexed version and will get its own thread if it comes.
Just to answer any future questions, if you're already rooted, you don't need this. It was created as a better starting point for anyone that has not yet rooted their phone.
Thanks for clearing that up imnuts. So seriously though, no performance differences between the two? I find that weird if the permissions are all messed up in the original. I'm planning to root my sister's phone tonight, and it wouldn't be hard for me to do mine again tonight either if there is some reason for it, from the sounds of it, there isn't
Looking forward to your future stuff, +1 anyways.
I may have to try both and see which is is best for future efforts.
imnuts said:
It is significantly easier to theme and modify deodexed versions compared to what ships.
If/when I get enough money, yes. For the moment, I have a few people I know that are testing things for me.
Click to expand...
Click to collapse
Just curious how much money do you already have for the Note 2? I don't know much about you, but I already donated to Adam & Beans, I don't see why we can't help you get the phone as well. I'm willing to donate if we can get a thread together. It only helps the community..
kimdoocheol said:
Thanks for clearing that up imnuts. So seriously though, no performance differences between the two? I find that weird if the permissions are all messed up in the original. I'm planning to root my sister's phone tonight, and it wouldn't be hard for me to do mine again tonight either if there is some reason for it, from the sounds of it, there isn't
Looking forward to your future stuff, +1 anyways.
Click to expand...
Click to collapse
I don't know if there are permissions issues with what was out, but given how it was made, it could be possible that one or two of the items with special permissions was missed, and without hitting a specific usage scenario, you'd never know. I think that given what MrRobinson was working with, he did a great job :good: I haven't actually compared what I have with what was previously out other than to verify that all files were present, I wasn't looking at permissions.
As for what's best for future efforts, it's going to be easier to theme and mod the deodexed version.
I do plan on building a ROM then starting next week, but progress will be slow (this alone took a week to get everything sorted properly).
2swizzle said:
Just curious how much money do you already have for the Note 2? I don't know much about you, but I already donated to Adam & Beans, I don't see why we can't help you get the phone as well. I'm willing to donate if we can get a thread together. It only helps the community..
Click to expand...
Click to collapse
+1
imnuts said:
I don't know if there are permissions issues with what was out, but given how it was made, it could be possible that one or two of the items with special permissions was missed, and without hitting a specific usage scenario, you'd never know. I think that given what MrRobinson was working with, he did a great job :good: I haven't actually compared what I have with what was previously out other than to verify that all files were present, I wasn't looking at permissions.
As for what's best for future efforts, it's going to be easier to theme and mod the deodexed version.
I do plan on building a ROM then starting next week, but progress will be slow (this alone took a week to get everything sorted properly).
Click to expand...
Click to collapse
there is no issues with mrRobinson's root image...that article is misleading. The very first image had issues but was quickly revised and fully functional!
Since I haven't seen any other threads on this topic, I figured I'd go ahead and get the ball rolling for anybody interesting in building a custom ROM. As the title suggests, this is a completely deodexed system image for the latest firmware update we recently received.
Just to clarify, this is a (mostly) stock base, and is intended to serve more as a foundation/starting point for anyone looking to build their own ROM.
I took the liberty to update all applications to their newest/current version and preinstalled busybox, which should save everyone a considerable amount of time and data. I also removed about a dozen or so apps that don't serve any beneficial purpose to the phone, but I will still include them in the download link for anybody that wants them for whatever reason.
You will obviously need to be rooted in order to flash this through recovery, so unfortunately if you are one of the unlucky souls that lost it with the update, you'll have to wait for a custom tot to surface before you can flash this.
I've been running this image for the last couple weeks or so and haven't encountered a single issue, but you should still make a backup of your current setup prior to flashing just to play it safe.
Nothing special needs to be done when flashing it, just the standard factory reset along with SuperSU and you should be good to go. If you have any questions, feel free to ask, and hopefully you like it!
Download Link: https://drive.google.com/open?id=0B1zv5TG-Zo2kQlh2ejBDc05hWEU
hope this gets the ball rollin on ROMs. thanks so much! I have been having a few issues w/ the fluence patch..but not that many. but i know a custom made app for our phone would be way better. to get rid of all t-mo bloat.
pychobj2001 said:
hope this gets the ball rollin on ROMs. thanks so much! I have been having a few issues w/ the fluence patch..but not that many. but i know a custom made app for our phone would be way better. to get rid of all t-mo bloat.
Click to expand...
Click to collapse
I'm pretty sure it isn't flashable (correct me if I'm wrong) once it is flashable, I'll probably throw something together (TeamSPR ROM)
1619415 said:
I'm pretty sure it isn't flashable (correct me if I'm wrong) once it is flashable, I'll probably throw something together (TeamSPR ROM)
Click to expand...
Click to collapse
Just as the OP states, this absolutely can be flashed through recovery.
Kosovo0275 said:
Just as the OP states, this absolutely can be flashed through recovery.
Click to expand...
Click to collapse
I guess I'll start working later, lol
If you want send me a PM and we can work on it together
1619415 said:
I'm pretty sure it isn't flashable (correct me if I'm wrong) once it is flashable, I'll probably throw something together (TeamSPR ROM)
Click to expand...
Click to collapse
I may be wrong but this one sounds like an image. Am I correct ? There are stock folder based roms available that can be used as a base.
wolfu11 said:
I may be wrong but this one sounds like an image. Am I correct ? There are stock folder based roms available that can be used as a base.
Click to expand...
Click to collapse
Where!?!
Does this Rom offers the new radios and other new stuff from 10D and would I be able to revert back to 10a without any issue like on the other methods?
Rick1221 said:
Does this Rom offers the new radios and other new stuff from 10D and would I be able to revert back to 10a without any issue like on the other methods?
Click to expand...
Click to collapse
I'm pretty sure as long as you don't install the new bootloader you'll be good
1619415 said:
Where!?!
Click to expand...
Click to collapse
Here: http://forum.xda-developers.com/lg-g5/development/fluence-hd-rom-t3412535
theres one for the H850 and one for the H830 Click on the download link and you will see it.
wolfu11 said:
I may be wrong but this one sounds like an image. Am I correct ? There are stock folder based roms available that can be used as a base.
Click to expand...
Click to collapse
Yes, for simplicitys sake I chose to use an image in the zip instead. Not knowing if anybody would even be interested in this, it seemed like the logical route to take. Though you might have found other ROMS that are directory based for our phone, I doubt you've found another that's already predeodexed for you. Its also extremely simple to extract this image into the filesystem that you're looking for, but not the other way around.
Kosovo0275 said:
Yes, for simplicitys sake I chose to use an image in the zip instead. Not knowing if anybody would even be interested in this, it seemed like the logical route to take. Though you might have found other ROMS that are directory based for our phone, I doubt you've found another that's already predeodexed for you. Its also extremely simple to extract this image into the filesystem that you're looking for, but not the other way around.
Click to expand...
Click to collapse
If you could make it folder based, I can have a ROM done by like tomorrow, lol
1619415 said:
If you could make it folder based, I can have a ROM done by like tomorrow, lol
Click to expand...
Click to collapse
Sure. Ill make it when I get home in like 20 minutes or so.
Kosovo0275 said:
Sure. Ill make it when I get home in like 20 minutes or so.
Click to expand...
Click to collapse
Sounds good, if you can send it to me in a PM that way I can make sure it boots and I can start working.
Flashed and verified working. Uploading now.
Kosovo0275 said:
Flashed and verified working. Uploading now.
Click to expand...
Click to collapse
Sounds good, If you want, we can still work on a ROM (send me a PM)
I'll download the ROM, debloat it, add SuperSU to the meta-inf and stuff then you can do those tweaks you were telling me about.
1619415 said:
Sounds good, If you want, we can still work on a ROM (send me a PM)
I'll download the ROM, debloat it, add SuperSU to the meta-inf and stuff then you can do those tweaks you were telling me about.
Click to expand...
Click to collapse
Files are finally up and available to download at the link provided in the OP.
Kosovo0275 said:
Files are finally up and available to download at the link provided in the OP.
Click to expand...
Click to collapse
Sounds good, I'll modify and flash in a few and send you what I have that way you can modify it as well.
Flashed this yesterday and have had no issues since. Pretty solid. Thanks!
Got a question. So I'm rooted and on 10a. I can flash this without any problems? Can I use the twrp app or should I boot into recovery? Thanks.