With root, why do we need custom roms?


Last Updated:

  1. WACOMalt

    WACOMalt Member This Topic's Starter

    Joined:
    Jun 26, 2010
    Messages:
    24
    Likes Received:
    12
    Please read this before you assume I'm an idiot ;) Thanks.

    Anyways, so my thinking is, we can root our Droid X. This gives us access to every system file... amirite?

    If that's the case, shouldn't it be possible to literally replace everything using some super user priviledged apk? I know linux well, and I know some android development stuff, but I don't know anything about custom roms (on android at least) and how efuse works, so I obviously could be completely off base here.

    The only hitch I see would be that while the phone is running, many many many of these files are likely in use. It just seems there would be some way to close everything (and I mean EVERYTHING), with the phone still running, and replace all system files with a new set.

    Now I'm not entirely savvy on how efuse works, and I'm even less sure on how changing the system this way would, from efuse's eyes, differ from a full custom rom flashing, and if, if it did work, you'd still be bricked on the next reboot...

    Thoughts? I mean it at least seems that we could find a way to replace motoBlur. :)
     

    Advertisement
  2. VIO

    VIO Well-Known Member

    Joined:
    May 12, 2010
    Messages:
    263
    Likes Received:
    62
    I think the main problem is trying to swap out a kernel while the current one is running, which is...messy to say the least. Tho the Milestone has something like this going on but it is not really comparable to true ROM swapping.

    Honestly that is really the point of a Bootloader, an independent piece o software that isn't attached to the OS/kernel so can alter it completely. so While Root gives you access to everything in the OS you really need access one level out to do that level of alteration.

    Tho, at least it is theoretically possible (really theoretical)
     
  3. shadowdude777

    shadowdude777 Well-Known Member

    Joined:
    Nov 8, 2009
    Messages:
    1,842
    Likes Received:
    122
    This is what I was thinking when I initially heard that the Droid X has root but the bootloader won't allow us to install things as well. I mean, if you read the "classic Linux horror story", you quickly realize that Linux can still run even as a (pun intended) shell of its former self.
     
  4. JrzDroid

    JrzDroid Well-Known Member

    Joined:
    Nov 30, 2009
    Messages:
    1,682
    Likes Received:
    308
    i just want to overclock
     
  5. brian0488

    brian0488 Active Member

    Joined:
    Apr 15, 2010
    Messages:
    29
    Likes Received:
    6
    Android 2.2 has some major changes over 2.1. The ability to install custom ROMs will allow you to install 2.2 before Verizon / Motorola say it's ok.

    I'm not a ROM devolper, so I might be wrong here but I think things like Blur and Sense are tied in pretty tight to the ROM, so you can't just delete / remove certain files to go from Blur to Sense or vanilla android. You will need a custom ROM to do that.
     
  6. Piiman

    Piiman Well-Known Member

    Joined:
    May 28, 2010
    Messages:
    2,333
    Likes Received:
    153
    I'm betting 2.2 will be out LONG before we can flash a custom ROM. We may never be able to unless we get some inside info from Motorola. :(
     
  7. shadowdude777

    shadowdude777 Well-Known Member

    Joined:
    Nov 8, 2009
    Messages:
    1,842
    Likes Received:
    122
    I feel like the last two people that posted didn't grasp what the OP was saying...

    A custom ROM is just a compilation of modified Android system files, right? So theoretically we could just replace everything on the phone. The only hurdle would be replacing files that are in use.
     
  8. Piiman

    Piiman Well-Known Member

    Joined:
    May 28, 2010
    Messages:
    2,333
    Likes Received:
    153
    Oddly you seemed to have nailed the current method that birdman is using. From what I understand You/we will install an apk that allows an app, that writes a file, that once you reboot high jacks the start up. It does this super early and gives you complete access to the system , or any, folder(nothing is active). So instead of flashing roms we'll be replacing the system.

    Oh and I was totally wrong two post back :)

    in case you haven't seen

    http://www.youtube.com/watch?v=1aMPUcY71Yc&feature=player_embedded
     
  9. JrzDroid

    JrzDroid Well-Known Member

    Joined:
    Nov 30, 2009
    Messages:
    1,682
    Likes Received:
    308
    hijacking the system before it can load, INGENIOUS!
     
  10. izomiac

    izomiac Active Member

    Joined:
    Jul 9, 2010
    Messages:
    41
    Likes Received:
    21
    To my knowledge, the problem is that the first stage bootloader is stored in a protected area. The bootloader as a whole (not sure of the stage, but probably not first) reputedly checks both kernel version and features before booting it.

    But, if that protection can be defeated then we could just do a low level flash while the phone is booted. It's below the level of the filesystem, so opened files don't matter, though you have to close everything to minimize the risk of a crash. That's the way routers running OpenWRT are flashed, and, amusingly enough, that developer seems to be working on this phone as well.

    OTOH, since we should have access to the bootscripts, we can basically control everything except kernel features. My linux knowledge is at a weird place between complete newb and adept, but IIRC there's a way to load a new kernel without rebooting (used to patch kernel security bugs on high uptime servers), but I'm not sure about the details. Despite being locked down, Linux is versatile enough that I don't think the protections are as serious a hindrance as people make them out to be.
     
  11. Nightwind Hawk

    Nightwind Hawk Well-Known Member

    Joined:
    Jul 29, 2010
    Messages:
    180
    Likes Received:
    15
    Yeah... isn't it funny how fast this has happened?? :D I saw your post and thought "HUH? What's he talking about?" and then looked at the date and thought.. "oh this is a few days ago.."

    Incredible!
     
  12. Piiman

    Piiman Well-Known Member

    Joined:
    May 28, 2010
    Messages:
    2,333
    Likes Received:
    153
    they lost a lot of post also when the site went down. i just happen to scroll back and see my post and thought it was funny seeing how things have changed.

    It kind made me a flip flopper..guess Ill never run for office.
     
  13. LexusBrian400

    LexusBrian400 Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    699
    Likes Received:
    154
    You know you can overclock right now right?

    for now, its as good as its gonna get. Even with custom roms, we cant modify the kernel which mean no modular overclocking. Sorry, but its gonna be a while :(
     
  14. Piiman

    Piiman Well-Known Member

    Joined:
    May 28, 2010
    Messages:
    2,333
    Likes Received:
    153
    The birdman and crew "have high hopes" they can also get the kernel.
     
  15. LexusBrian400

    LexusBrian400 Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    699
    Likes Received:
    154
    As do I.

    But you know the saying...

    Wish in 1 hand and shit in the other, see which one gets filled first.
     
  16. Piiman

    Piiman Well-Known Member

    Joined:
    May 28, 2010
    Messages:
    2,333
    Likes Received:
    153
    But you know the saying...

    Wish in 1 hand and shit in the other, see which one gets filled first.[/QUOTE]

    I was like you once.:confused:

    take a look at post #6 and note the date then look at post 8 again note the date:D that was only a 9 day span. I didn't even have time to shit in my other hand (thank God)

    And after watching their video they seemed fairly certain they will do it.
     
  17. xclr82xtc

    xclr82xtc Well-Known Member

    Joined:
    Nov 16, 2009
    Messages:
    240
    Likes Received:
    7
    birdman penis before that video...


    Birdman penis AFTER that video



    lol
     
  18. Piiman

    Piiman Well-Known Member

    Joined:
    May 28, 2010
    Messages:
    2,333
    Likes Received:
    153
    ??:confused: I don't get it :eek:..................
     

Share This Page

Loading...