MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

29 Jun: 4.0.0.5 - ClockworkMod Recovery for the LG Optimus 2X

312 posts in this topic

Posted · Report post

DO NOT RUN THIS ON THE G2X! The partition layout is different, doing so will do bad things to your device!

Here is an UNOFFICIAL (hence custom colouring) ClockworkMod image for the LG Optimus 2X.

Some points to note - READ THESE CAREFULLY!

  • This uses the external SD as 'sdcard'.
  • If you manage to break your device completely, this ROM should get you back up and running.

    Download

    I have packaged the recovery itself and the installation system together in one download zip.

    • 4.0.0.5 - DOWNLOAD (Mediafire Pro) - MD5: 30855ab501eaf94cff71ccfecf6bd5e9

    Installation automatically on your device

    NEW - recommended: If your device is rooted, my 99p 2X Recovery Boot app (mentioned below) can now flash the recovery image for you the first time you run the app and on subsequent version updates!

    Installation on Windows, Linux and OSX

    - Download the zip file above and extract to a directory

    - Connect your device and ensure 'USB debugging' is enabled

    - WINDOWS - double click 'install-clockworkmod-windows.bat'

    - MAC - Open a terminal window to the directory containing the files, and type 'chmod +x install-clockworkmod-mac.sh' followed by './install-clockworkmod-mac.sh'

    - LINUX - Open a terminal window to the directory containing the files, and type 'chmod +x install-clockworkmod-linux.sh' followed by './install-clockworkmod-linux.sh'

    If you wish, you can also manually install the recovery by pushing the clockworkmod.img file to /data/local/ with adb and running 'dd if=/data/local/clockworkmod.img of=/dev/block/mmcblk0p7' from a root shell.

    Launching Recovery

    To boot ClockworkMod Recovery, either:

      [*]Turn the device on while holding the volume down and power buttons until recovery loads

      [*]Download the OPTIONAL 99p 'LG 2X Recovery Boot' application from the Android Market (NOTE: This app is completely optional - if you do use it, thanks for your support - there is a discussion topic for the app here)

      Source / Updates

      I'll be posting the device profile and source changes on my GitHub shortly, and will issue fixes / new Betas as required.

      Enjoy! :D

      P

      recovery2x.jpg

0

Share this post


Link to post
Share on other sites

Posted · Report post

Recovery flashed, rebooted and testet ok with taking a backup.. thanks paul :D

0

Share this post


Link to post
Share on other sites

Posted · Report post

Woo!

Nicely done!

Now I'll just sit back and wait for somebody competent to start rolling out the custom roms...

0

Share this post


Link to post
Share on other sites

Posted · Report post

So do you get prompted for the SU access when you run the recovery app? Check in 'Superuser' if it shows as permitted or denied...

P

Your batch script for windows calls adb instead of adb-windows btw

0

Share this post


Link to post
Share on other sites

Posted · Report post

Your batch script for windows calls adb instead of adb-windows btw

Fixed, thanks.

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

Nope no prompt fir SU access and the recovery app isn't listed in Superuser app

Same here for me, su works fine on, for example, root explorer, but it doesn't popup on the recovery app, neither is it listed in the log as having requested it.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi

I'm getting this when I try:

adb-windows push psneuter /data/local/psneuter
error: device not found

adb-windows shell /data/local/psneuter
error: device not found

adb-windows wait-for-device
[/codebox]

The device has USB-Debugging enabled.

BTW: I've downloaded your LG 2X app to support your great work :-)

0

Share this post


Link to post
Share on other sites

Posted · Report post

Yeah, running the windows bat file (I'm at work, windows only here...) and rebooting to recovery will send you to the stock LG recovery - and wipe your phone.

That'll teach me to run batfiles without reading the source! :D

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi

I'm getting this when I try:

adb-windows push psneuter /data/local/psneuter
error: device not found

adb-windows shell /data/local/psneuter
error: device not found

adb-windows wait-for-device
[/codebox]

The device has USB-Debugging enabled.

BTW: I've downloaded your LG 2X app to support your great work :-)

Sounds like you don't have the driver installed, i used the one from the superoneclick root thread on xda

0

Share this post


Link to post
Share on other sites

Posted · Report post

Yeah, running the windows bat file (I'm at work, windows only here...) and rebooting to recovery will send you to the stock LG recovery - and wipe your phone.

That'll teach me to run batfiles without reading the source! :D

Only if it didn't work...?

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

Great work Paul!

Just a simple question, just purchased the app in marked, but haven't installed cwm yet (at work, no admin rights)

Will the app boot into the stock recovery if cwm is not present, and if it does, will it wipe the phone?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Great work Paul!

Just a simple question, just purchased the app in marked, but haven't installed cwm yet (at work, no admin rights)

Will the app boot into the stock recovery if cwm is not present, and if it does, will it wipe the phone?

It shouldn't wipe, just load stock recovery... (i've tested it and that's what happened).

P

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

It shouldn't wipe, just load stock recovery... (i've tested it and that's what happened).

P

If the bat file doesn't work (you might wan't to add some sort of notification for that...), booting the phone while holding vol-down, you will get stock recovery - and wipe. :D

Lesson learned: Do full backup, THEN try the first beta :D

Edited by Sorensiim
0

Share this post


Link to post
Share on other sites

Posted · Report post

Reboot app updated to r2.

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

If the bat file doesn't work (you might wan't to add some sort of notification for that...), booting the phone while holding vol-down, you will get stock recovery - and wipe. :D

Lesson learned: Do full backup, THEN try the first beta :D

whats happend?

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Don't work for me:

C:\tools>install-clockworkmod-windows.bat

C:\tools>adb-windows push psneuter /data/local/psneuter

1751 KB/s (557962 bytes in 0.311s)

C:\tools>adb-windows shell /data/local/psneuter

/data/local/psneuter: permission denied

C:\tools>adb-windows wait-for-device

C:\tools>adb-windows push clockworkmod.img /data/local/

1926 KB/s (4444160 bytes in 2.253s)

C:\tools>adb-windows shell dd if=/data/local/clockworkmod.img of=/

lk0p7

/dev/block/mmcblk0p7: cannot open for write: Permission denied

Edit: Rooted again and it went ok.

Edited by BrumBrum74
0

Share this post


Link to post
Share on other sites

Posted · Report post

Don't work for me:

C:\tools>install-clockworkmod-windows.bat

C:\tools>adb-windows push psneuter /data/local/psneuter

1751 KB/s (557962 bytes in 0.311s)

C:\tools>adb-windows shell /data/local/psneuter

/data/local/psneuter: permission denied

C:\tools>adb-windows wait-for-device

C:\tools>adb-windows push clockworkmod.img /data/local/

1926 KB/s (4444160 bytes in 2.253s)

C:\tools>adb-windows shell dd if=/data/local/clockworkmod.img of=/

lk0p7

/dev/block/mmcblk0p7: cannot open for write: Permission denied

Ah, damn you Windows permissions. Could you edit the batch file to add 'adb-windows shell chmod 4755 /data/local/psneuter' after the push and see if that fixes it?

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

And I got my device wiped again. Should be a pause after scripthas run to see if it all went ok or not.

Vol Down and Power wiped my phone when I though all went ok. :D

0

Share this post


Link to post
Share on other sites

Posted · Report post

And I got my device wiped again. Should be a pause after scripthas run to see if it all went ok or not.

Vol Down and Power wiped my phone when I though all went ok. :D

So adding that line sorted it right?

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

I have the same problem, when I holding vol- and power, the phone doesn't go into clockworkmode. So I have added command "pause" into the file install-clockworkmod-windows.bat. This is picture

56833847.jpg

Uploaded with ImageShack.us

How do I correct it

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for this too Paul, worked like a dream, full adb shell and all. Nice work.

FYI, it didn't affect me but psneuter doesn't have execute modes in /data/local/ so throws a permission denied in the script.

Perhaps:

adb-windows shell chmod 0777 /data/local/psneuter

Before it runs?

Dave

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi to all.

I'm waiting for the shipment of my new 2x, now I have read this topic and I have a question...

Do you know a way to backup stock rom and recovery before install clockworkmod?

Thanks

Tommaso

0

Share this post


Link to post
Share on other sites

Posted · Report post

Back capacitive button works as enter/confirm... :D

0

Share this post


Link to post
Share on other sites

Posted · Report post

Is your phone rooted?

Yes.

And I rooted it again and then run the bat file. Done. OK

Thanks

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.