[ROM] MinimalX

Discussion in 'Droid X2 Development' started by C21johnson, Jul 18, 2011.

  1. xfloggingkylex

    Joined:
    Sep 13, 2010
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Thank you so much.


    For the rom, the ability to overclock would be awesome, even if it wasn't built into the rom (like changing the values) as long as it gets unlocked so we can use our favorite apps to push this monster faster.

    I have an underclocked profile in Quickclock advanced (awesome app that both undervolts and overclocks for you). The profile I run every day is 1265mhz and is running the same voltage the phone does out of the box. These phones are overvolted to make sure any fluctuations are still safe for their one size fits all. About 5 minutes using quickclock and it found the lowest voltage to run and highest frequency, then make profiles combining those numbers to make the phone as effecient as possible.


    Sent from my LGB v0.9 Gingercomb Juiced DROID2
     
  2. C21johnson

    C21johnson Premium Member
    Premium Member Developer

    Joined:
    Aug 14, 2010
    Messages:
    121
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Okay guys, I was able to determine what has caused the brick... And it's bad news.

    First of all, we have to have CWM Recovery in order to install a ROM, correct? Yes.

    Secondly, to enable oodles of goodies at boot, we either have to have an unlocked kernel (we do NOT have this). Or we can follow the new popular trend of configuring a 2nd init.

    From what I understand, the kernel calls the init file to decide what occurs at boot. This allows us to have certain scripts run at boot, changes to the phone at boot, and other actions that we normally do not have access to. By installing a 2nd init, it is able to hijack the first, and thus, the kernel calls to it instead. There is an awesome article by cvpcs concerning 2nd init that can be found HERE.

    All sounds good, right? We are finally advancing in development on this phone, we have access to control a lot of things. Unfortunately, this is WRONG.

    The 2nd init interferes with the CWM Recovery we have for the X2. Recovery hijacks the charging screen and this is the root cause of this problem. This lands your phone in a bootloop causing you to be stuck at the Motorola Logo, unable to advance toward the boot animation.

    TLDR; we cannot have our current recovery and 2nd init at the same time because the two interfere.

    I'm somewhat left with a very tough decision, and that's leaving 2nd init out. Which means, no SuperCharger baked into the script, no OC at boot, and no CyanogenMod for the X2 until this is resolved.


    ... BUT I have one last idea before I call it quits on this. After dumping the 2nd init files, I can try to call a script that will put recovery back into the "charge state." If this is called at the end of the install, hopefully... we can bypass this problem.

    Unfortunately, we run into another error. To be able to get back to functional recovery (to flash a new ROM or even recover a nandroid), we have to uninstall 2nd init.

    X2 development will come to a slow halt unless we are able to get around this.

    Any suggestions, ideas, or if you KNOW how to get around this, please, please, please share.

    BTW, this is SBF numero 10 for the day dancedroid
     
  3. xfloggingkylex

    Joined:
    Sep 13, 2010
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Can we edit the recovery program that we are currently using to not require the charger be plugged in? No one recovery I have used needs it, and if that is the problem there should be a way to disable that requirement and if I understand the issue (I probably don't), that will be the best work around possible.
     
  4. C21johnson

    C21johnson Premium Member
    Premium Member Developer

    Joined:
    Aug 14, 2010
    Messages:
    121
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    It would surely be the best, but most definitely not the easiest. As things stand now, I am looking for the easiest due to having a really busy schedule.

    Thanks for your input.
     
  5. xfloggingkylex

    Joined:
    Sep 13, 2010
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Well what ever happened to the other recovery that was being worked on before you discovered this? You found this one early in the week and some other guy said the "official" recovery would be out by the end of the week. Obviously it didn't happen, but do we know if that recovery ever was completed? I seem to remember the picture of the x2 in recovery and it wasn't plugged in. Just a thought.

    Sent from my LGB v0.9 Gingercomb Juiced DROID2
     
  6. MikeJ92YJ

    MikeJ92YJ Member

    Joined:
    Jul 12, 2010
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Naugatuck, Connecticut
    Ratings:
    +0
    I Just About Threw My Phone. A Whole Slew Of Cuss Words Were Thrown Instead. How Can Two Of The Best Things Possible Be Our Worst Enemy. I Am So Pissed That I Can't Figure Out Or Have The Answer.
     
  7. zeppelinrox

    zeppelinrox Premium Member
    Premium Member Developer

    Joined:
    Jan 15, 2011
    Messages:
    511
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Dunno... Milestones can flash roms but can't use CWM... mostly we use androidiani open recovery.

    Of course it's less convenient than CWM, but it works great.

    I'm not saying to try androidiani OR, but it's probably possible to create a recovery
     
  8. C21johnson

    C21johnson Premium Member
    Premium Member Developer

    Joined:
    Aug 14, 2010
    Messages:
    121
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Haha, no worries just yet my brother-man. A temporary fix is simple -- when you flash this ROM, you will lose CWM Recovery. The files will still be present, but it will be in "charge" state. CWM installer, and an 2nd init uninstaller app will be included in the ROM, but will be named <app>.apk.bak to hide them from the app drawer. When you're ready to boot into CWM to flash a new ROM or nandroid restore, just remove the .bak, install both apks, open the 2nd init app (uninstall), then open the CWM and boot recovery.

    Inconvenient, but hey, at least it works.
     
  9. MikeJ92YJ

    MikeJ92YJ Member

    Joined:
    Jul 12, 2010
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Naugatuck, Connecticut
    Ratings:
    +0
    At Least It's A Start Extremely Inconvenient But If It Allows New ROMs Let's Do It!
     
  10. C21johnson

    C21johnson Premium Member
    Premium Member Developer

    Joined:
    Aug 14, 2010
    Messages:
    121
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Flashing the newest release now. Minfree values are baked in + much more.

    Release is soon if all flashes well.
     
  11. Soocold

    Soocold Member

    Joined:
    Jun 8, 2011
    Messages:
    221
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Middle of Kansas
    Ratings:
    +0
    What values do you have them at?

    Droid X^2
     
  12. Soocold

    Soocold Member

    Joined:
    Jun 8, 2011
    Messages:
    221
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Middle of Kansas
    Ratings:
    +0
    Oh ya, you mentioned that you were gonna change the theme of the rom. IMO it should stay same, I love the way it looks

    Droid X^2
     
Search tags for this page
droid one minimal rom
,
fastest minimal rom for droid x
,
htc pi 4610i
,
minimal roms droidx
,
minimal x driod
,

minimal x rom

,
minimal x v.beta 2.0
,
minimalx rom
,
minimalx rom driod x2
,
nvflash for droid x2