yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] tonyp:
- - - - - -​

TWRP

- Team Win Recovery Project -​

Attention:

You can find the updated TWRP recoveries by [MENTION=1200697]DJNoXD[/MENTION] in his thread here!

Remember that you can donate to TWRP here: http://www.teamw.in/project/twrp2
​

This thread is deprecated.

Old content:

I have been asked to create an own thread for the TWRP recovery I compiled for the new bootloader, so here you go.

Personally I prefer TWRP over CWM, but that's for everybody to choose on their own.

We got official TWRP support for the Optimus 2x - but only for the old bootloader. You can use the GooManager app to flash the recovery (see below).

I adapted and compiled TWRP for the new bootloader and tested it for quite a while without a single problem.

Additionally I added a flashable zip recovery installer for the old bootloader if someone prefers that over the use of GooManager.

TWRP is NOT my work, but the work from TeamWin under the lead of Dees_Troy.

If you like TWRP you can donate to TeamWin here: http://www.teamw.in/project/twrp2​

Bugs?:

If you have any issues grab a log, it's really easy: Advanced -> Copy Log to SD. It will copy the log to your external sdcard.

You can post it in here, then I'll review it and forward it to Dees_Troy if it contains an error.

Or contact TWRP directly via their contact form: http://www.teamw.in/contact

I'm not interested in any complaints or bug reports that do not contain a log! Seriously, just don't.

Remember: I'm compiling this for my personal use and am sharing it with you. I don't care if you use it or not, you're free to use CWM or whatever other recovery is out there.​

Download:

http://tonyp.basketbuild.com/index.php?dir=main/P990-stuff/TWRP/

mirror: http://goo.im/devs/tonyp/P990-stuff/TWRP

http://tonyp.hopto.org/?dir=P990/TWRP (I'm only updating this if there's a goo.im outage)​

Installation:

These files are flashable zips, just flash them with your current recovery.

If you want to flash the recovery manually, extract the img files from the zips, push it to the SDCard, open the Terminal Emularot and type:

old bootloader:

su
dd if=/sdcard/openrecovery-twrp-oldbl-p990.img of=/dev/block/mmcblk0p7

new bootloader:

su
dd if=/sdcard/recovery-TWRP-newbl.img of=/dev/block/mmcblk0p8
[LG Optimus 2x] tonyp:
TWRP does support a great theme engine, see here: http://www.teamw.in/project/twrp2themers

If you know of nice themes for our HDPI (480x800) device or created your own please post them here :)

Personally I'd love to get the Holo Theme by thecoby xdhpi theme to get ported to our hdpi device:

http://xdaforums.com/showthread.php?t=1942309

I don't have time to do that at the moment, so I'm posting it here if someone is interested in doing it.

If not I'll do it once I find the time.

Thanks to aldyu we do have the Holo Dark Theme now fully functional for our device! :)

Check out his post here and don't forget to press thanks!

Installation:

Download the theme, rename it to ui.zip, create the folder /TWRP/theme at the internal SDCard and put the zip into it.

Preview:
[LG Optimus 2x] chris_drums:
Great! i tried twrp when you posted in thread cm10 pa, has more options than cwm, but has bugs in other roms???
[LG Optimus 2x] kukharski:
[480x800] TWRP Holo Theme - Light / Dark
[LG Optimus 2x] C0D3N1N3R:
Thanks for the awesome recovery port!

The button between home and back broke the recovery (or was it the theme?). After I pressed the button and pulled the battery the TWRP screen kept on flashing and never entered the recovery (or let me boot the phone). I had to NVFlash to get my device back. Flashed it again same problem. Deleted TWRP folder, now it works flawlessly.

TWRP Theme - Holo Light
[LG Optimus 2x] tonyp:
Thanks, didn't see it. Although it's not finished yet according to the posts in the thread it does look nice :)

Eh, certainly not TWRP's fault. Maybe the themes. Or no idea what you did :D

The button is for displaying the recovery log, pressing it again will remove the log again.

I've been using this quite often when I was testing every aspect of the recovery to ensure it's safe.
[LG Optimus 2x] C0D3N1N3R:
I tried pressing it again but the log didn't disappear. Flashed it again and not it works!

Oh and the time is not correct :P
[LG Optimus 2x] Garfields 2X:
you have to set the time manually in settings?! ;)

btw tony thanks a lot - really appreciate your work! i waited so long for TWRP on new bootloader! everything works great so far! you are such a huge WIN for all p990 owners!

THANKS
[LG Optimus 2x] MetaIIica:
oh wow, this is very nice, better as CWM Touch recovery 6x.x.x i think.
[LG Optimus 2x] SWTR:
AW: [RECOVERY] [new|old bl] TWRP 2.3.3.0 touch recovery [2013-01-19]

Why can' t I see the batterystatus?

Gesendet von meinem LGP990 mit CM10.
[LG Optimus 2x] hugoqueiroz94:
Thanks tonyp :)
[LG Optimus 2x] cl06:
Re: [RECOVERY] [new|old bl] TWRP 2.3.3.0 touch recovery [2013-01-19]

Unbeliveable! Thx Tonyp!!!
[LG Optimus 2x] tonyp:
I updated my TWRP to 2.4, please update it!

http://goo.im/devs/tonyp/P990-stuff/TWRP

More details later, gtg now.
[LG Optimus 2x] I.m.Tuga:
Re: [RECOVERY] [new|old bl] TWRP 2.4.0.0 touch recovery [2013-02-01]

I'm sorry for the noob questions but i have lots of backups from CWM, does those backups work on TWRP?

Really interested in using this recovery (no more button mashing) and the possibility to rename the backups is awesome.

Thank you very much Tony!!
[LG Optimus 2x] MetaIIica:
No, you can not use it.

The best option was i missed in CWM is flash in Batch-Mode. But the clock and the battery status are a funny gimmick. Nice but not important.
[LG Optimus 2x] tonyp:
Re: [RECOVERY] [new|old bl] TWRP 2.4.0.0 touch recovery [2013-02-01]

Okay, as promised another post about the new twrp version.

The v3.3.0.0 version for the

new

bootloader has unfortunately been compiled exactly at the time pengus kernel source had the rare ext4 race bug.

So I'd recommend everyone on the new bootloader to update to the new version asap.

If you think you got errors then just do a backup, format /system, /data and /cache, then restore. Most people, including me, shouldn't be affected though.

The new kernel should be absolutely stable, it's based on Kowalski kernel 011p4 (which is like p3 but with the shutdown bug fuxed). This one is completely stable again. (remember, even cwm is using the cm kenel which I'd consider less stable than pengus one).

I had planned to update TWRP during this weekend anyways as twrp 2.4.0.0 got released.

Now cm10.1 users can safely use twrp as well!

Lol, while heading to the twrp website I noticed it got a new update today.

So expect a twrp 2.4.1.0 release tomorrow :)

What's new in 2.4.0.0:

Using libtar instead of busybox's tar for better control over tar file creation and breaking the 2GB barrier that busybox imposes (thanks to bigbiff)

Support for exFAT formatted sdcards (also thanks to bigbiff)

Support for decrypting Samsung TouchWiz encrypted devices including internal and external storage (special thanks to a3955269 for figuring it out)

Improvements to OpenRecoveryScript including displaying a proper GUI while the script is running

Added wipe cache and dalvik after ADB Sideload

Replaced many system calls with their native C counterparts

Fixed bugs in file manager where it would display an empty list after moving or deleting a folder

Fixed AOSP recovery commands to run after decryption on encrypted devices

Improvements for building TWRP in CM10.1

Other minor bugfixes and improvements
[LG Optimus 2x] I.m.Tuga:
Re: [RECOVERY] [new|old bl] TWRP 2.4.0.0 touch recovery [2013-02-01]

Did try twrp, made a backup with it and tried to restore from that backup but the backup folder was empty, am i missing something...
[LG Optimus 2x] tonyp:
Re: [RECOVERY] [new|old bl] TWRP 2.4.0.0 touch recovery [2013-02-01]

I did plenty of backups with twrp, always worked like a charm.

In twrp you can choose the backups location (internal or external sdcard).

So check if it's on the other partition.

Speaking about TWRP.

Please read my update in the twrp thread.

You can wait till tomorrow with updating twrp though, I will push version 2.4.1.0 tomorrow.
[LG Optimus 2x] tonyp:
Okay, about version 2.4.1.0:

My self-built newbl build had already been at version 2.4.1.0 :)

I was in a little hurry and confused myself with the 2.4.0.0 version for the oldbl lol :cyclops:

Now the official build reached 2.4.1.0 as well: http://teamw.in/project/twrp2/65

I downloaded it and zipped it into a flashable zip again, download at the OP.

To avoid confusion I uploaded "recovery-TWRP-2.4.1.0-newbl-20130201.zip" file as well - but it's exactly the same recovery as the previous one.

If you downloaded the "recovery-TWRP-2.4-newbl-20130201.zip" file you already got the newest version and don't have to reflash it it.

2.4.0.0 and 2.4.1.0 changelog:

2.4.0.0 is a big update. If you want to read more details about the meaning of the above lines in the changelog I'd suggest to read the following post which explains them in more details:

http://rootzwiki.com/news/_/article...dated-to-240-big-changes-under-the-hood-r1360

:)
[LG Optimus 2x] Custom40:
Ah, the volume buttons can at last rest ;)

Looking great, loving the Holo theme just as much as the recovery itself.

Thanks :)

Note: Topic should be sticked or whatever its called..
[LG Optimus 2x] puffingman:
Great! Just installed on CivZ rom and kernel. no problems so far
[LG Optimus 2x] wucinac:
I like the recovey, but I think there is a problem when restoring data. all goes ok, but the phone will not start, it gets stuck in bootanimations. to have the phone turned on, I have to re-install everything from recovery and then restoring the data.

BL new

rom P.A. 04

kernel kowalski 011p4

recovery TWRP 2.4.1.0
[LG Optimus 2x] natalya:
All good here, but why did you Photoshop the pictures in the OP? Rofl I have never had any battery stats shown in the recovery :(
[LG Optimus 2x] docsmiley:
Sv: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

Installed 2.4.1.0 for old bl, thanks for sharing, I have one small bug both internal and external point to external I can reach internal by navigating to root/emmc

Sendt fra min LG-P990 med Tapatalk2
[LG Optimus 2x] sobaquete:
So, just to be sure about the installation of this recovery on Old BL using the ZIP file: I have to open my current CWM recovery, flash the ZIP file, then reboot recovery and... voilà, my CWM would be gone for good and this TWRP would be running??

Thanks!
[LG Optimus 2x] orbital_71:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

Yes after flashing reboot phone 1st the go to recovery to be safe
[LG Optimus 2x] punyategar:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

I have a problem with flashing zips sometimes. The flashing just fails. I reboot to recovery then try to flash it again somehow it works. Also with restore nands. It doesnt matter where do i put my zips (int or ext storage).

Twrp 2.4.1.0. I flash pengus roms and kernels, your pa roms, (the right) gapps.
[LG Optimus 2x] vs0587:
android.secure in internal sdcard is not restored correctly.... I can view it in file manager when i am in recovery, but when i reboot the system, the folder disappear and my stock rom doesn't have any apps installed.....

EDIT: i can view the restored file in windows explorer....

EDIT 2: i can view all apps installed in app manager......
[LG Optimus 2x] Justray:
x2, I also have some flashing issues, sometimes worked, some didnt, also I used to install it with the "rename the file update.zip and flash with LG update software/recovery" but this last time didnt worked... but after 3 tries it worked :D so.. just keep flashing the SOAB

BTW, beautiful new theme by Homero (dont you worry english included ;) also spanish!!).

http://xdaforums.com/showthread.php?t=2142602
[LG Optimus 2x] tonyp:
logs

Okay guys, if you have any issues please attach a recovery log.

That's really easy at TWRP. Just choose Advanced -> Copy Log to SD.

It will copy the log to your external sd card. Just attach that to your post here or copy it to http://pastebin.com.

So, the next time something fails, go back and get me a log immediately afterwards :good:
[LG Optimus 2x] vs0587:
Solved! It's a titanium backup problem with "move app to sd" feature...... :good:
[LG Optimus 2x] punyategar:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

Well, this is new. I didnt know you could get logs over twrp.
[LG Optimus 2x] vs0587:
Appened to me too, after a backup, when i've tried to flash a zip (KoB 0.5) the recovery says somthing like "error, impossible to open zip file"... I've rebooted the recovery and all worked fine....

Next time, i post the log.....
[LG Optimus 2x] DKH6789:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

I have one problem: I read the #1 but find no way to install TWRP for new bootloader.

Can you help me?
[LG Optimus 2x] vs0587:
Use the lg toolkit 5.0.....
[LG Optimus 2x] DKH6789:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

I read that I just need to type command in emulator.

When I tried, there is a warning "Write error, no free space on your device"
[LG Optimus 2x] dr4go:
Use mmcblk0p7 for old layout and mmcblk0p8 for the new layout. As now you have screwed the partition table I would strongly suggest to use the toolkit before.
[LG Optimus 2x] tonyp:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

The attached files are flashable zips.

As the recovery is completely loaded into ram it's possible to write to the recovery partition.

So you can even flash these files with cwm. Then just do a reboot recovery and you're in your freshly installed twrp.
[LG Optimus 2x] DKH6789:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

:confused:Sorry for the noob, but which files? I mean for new bootloader, plz give me details.

Thank you :o
[LG Optimus 2x] ImRocker:
I just installed TWRP 2.4.10 at new ICS unlocked bl, and tried to install P.A.C. 19.9.0 and it says installed, but everytime i reboot, always shows the Recovery, i click on Restart : System : Recovery : Bootloader and it always goes to recovery mode, even when i turn off my phone...

Back to CWM :(
[LG Optimus 2x] tonyp:
See, I'm using TWRP for more than 1.5 month now and never had a single problem.

If you guys attach a log I'll look into it or forward it to the TWRP creators - if not there's nothing I (or anybody else) can or will do for you.

But I won't ask for logs again from now on, if they're attached I'll have a look, if not don't expect any kind of help.

I'm compiling TWRP for myself as I like it a lot better than CWM.

I just share it with anyone who's interested.
[LG Optimus 2x] ImRocker:
i don't know dude, i just used the AIO ToolKit v5 to install the new ics unlocked bl, and installed twrp, and tried to install pacman, and everythings goes well, or i think so, but recovery boot loops, i tried to install cwm, and recovery boot loop again.

So i installed oldbl, and install again newbl, and installed twrp again, and... i can't put the log but here is what i found

E:Mount: Unable to find partition for patch '/and

E:UnMount: Unable to find partition for pach 'an

Updating Partition details...

Running boot Script...

Finished running boot script...

That's all strange, under this is the installing pacman stuff...

Any idea?
[LG Optimus 2x] DKH6789:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

And no one help me to install TWRP for new bootloader...

:banghead:
[LG Optimus 2x] kingvortex:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

Why should anyone, when you won't help yourself? :banghead: :rolleyes: It has been suggested twice to you in this thread to use the AIO tool.

If you cannot find something that is pinned to the top of this section, perhaps you shouldn't be messing with custom roms and recoveries :D
[LG Optimus 2x] ImRocker:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

Dude you can install it with AIOTK get it from development section.

I just installed it with old bootloader and everything is fine on cyan10.1

Enviado desde mi LG-P990 usando Tapatalk 2
[LG Optimus 2x] torq1337:
Sorry for offtopic, just wanted to share my first theme for this awesome recovery!

There you go:

http://xdaforums.com/showthread.php?t=2151338

Hope you like it ;)
[LG Optimus 2x] vs0587:
For installation see this thread:

http://xdaforums.com/showthread.php?t=2020737 :good:
[LG Optimus 2x] wucinac:
each time after completing backup can not install anything. If I wont to install anything, I have to reboot into recovery. I made a log file.
[LG Optimus 2x] tonyp:
Thanks for the log! I forwarded it.

So it will be fixed in the next TWRP version :)

As soon as they push it I will build a new one for the newbl as well.
[LG Optimus 2x] hadi_rena:
Does anyone have trouble restoring backup using titanium backup ? Titanium backup found TWRP backup but after scanning backup show no app. I doesn't have these kind of problem while using 2.3.x (old bl)
[LG Optimus 2x] hadi_rena:
Sorry I forgot to attach required log files. Now I attached the log files can someone help me
[LG Optimus 2x] Justray:
Its normal, not TWRP fault, I also have the same issue, there's a FIX, read throughly next time :o

Downloads Seccion Says: "important: Please flash this after the Rom: http://d-h.st/Dod"

http://xdaforums.com/showpost.php?p=36183371&postcount=2

So yeah... I also missed that until 5 min ago :D I just kept flashing and re flashing till it worked.
[LG Optimus 2x] ImRocker:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

It's not the problem, I just can't do anything with new bootloader, I can flash all rooms and not problem, but I got recovery boot loop always.

I got TWRP working right now with old bootloader and oficial cyanogenmod latest nightly 4.2.2

Enviado desde mi LG-P990 usando Tapatalk 2
[LG Optimus 2x] janzak:
Just found this great recovery system and installed it without any problems. Thank you very much Tonyp for this port.
[LG Optimus 2x] kingvortex:
Re: [RECOVERY] [new|old bl] TWRP 2.4.1.0 touch recovery [2013-02-01]

It was obviously a problem with Titanium Backup, as it now works after an update.
[LG Optimus 2x] baliriot:
any chance for 2.4.2.0 update mister tony? :D :fingers-crossed:

saw an update on mako threads

edit: nevermind, updated 2.4.2.0 with goo manager, :o
[LG Optimus 2x] Thief777:
del
[LG Optimus 2x] tonyp:
2.4.3.0

I just compiled TWRP 2.4.3.0 for the newbl :)

As always I added a flashable zip installer for the official TWRP oldbl release as well if you don't want to use the GooManager.

Grab it from the first post. It should fix all issues that were reported in here - like backups not restoring or the need to reboot after making a backup before doing so.

My personal highlight is the screen timeout, finally I can leave the phone in recovery without it getting hot :)

And the military time option (no more AM/PM) and the new scrollbar are nice.

Remember, I'm compiling this for my personal use and am sharing it with you.

TWRP is NOT my work, but the work from TeamWin under the lead of Dees_Troy.

I'm not interested in general complaints. If you encounter a bug attach a recovery log and I'll forward it to Dees_Troy if the log shows an error.

Or just contact TWRP directly via their contact form: http://www.teamw.in/contact
[LG Optimus 2x] Custom40:
Flashing. You might want to edit the subject of the topic ;)

Thanks for the effort put into this! Volume buttons are chilling these days heh
[LG Optimus 2x] kennguy:
This TWRP will work well with all ICS, CM10, CM10.1 rom, sir ? :)
[LG Optimus 2x] orbital_71:
Re: [RECOVERY] [new|old bl] TWRP 2.4.3.0 touch recovery [2013-03-02]

Use the new bootloader for it
[LG Optimus 2x] kakailler:
Re: [RECOVERY] [new|old bl] TWRP 2.4.3.0 touch recovery [2013-03-02]

Hi.

I have a problem. Since I installed TWRP I got the "dildo bug" (vibrating ´till the world ends) whenever I go into recovery. I tried flash TWRP again, last version and actual one. Also flashed CWMR and the problem still persists. If I was a girl there would be no problem but right now I can't use this "feature" to do anything usefull. :)

Does someone knows if there is a quick fix?
[LG Optimus 2x] Tranos:
Just in case no1 noticed it halo skin no compatible with 2.4.3.0 makes TWRP hang after flash
[LG Optimus 2x] vs0587:
R: [RECOVERY] [new|old bl] TWRP 2.4.3.0 touch recovery [2013-03-02]

I use holo light and it works fine.....
[LG Optimus 2x] SuRMaJ:
and can be done on the SU660?
[LG Optimus 2x] janzak:
Thank you for the new compilation tonyp, flashed without any problem.
[LG Optimus 2x] podanimesh:
my 3 button combo have stopped working after changing from new to old.. but booting through adb is working fine.. any help..
[LG Optimus 2x] mkchan:
Re: [RECOVERY] [new|old bl] TWRP 2.4.3.0 touch recovery [2013-03-02]

Do i need to remove theme first before flashing new version? Then reboot to recovery..just want to be sure..thanks
[LG Optimus 2x] komedol:
I upgraded from 2.4.1.0 to 2.4.3.0 with the theme Holo 3D on, and after upgraded both the app and the theme works fine.
[LG Optimus 2x] intruder91:
Is this recovery have wipe battery stats????
[LG Optimus 2x] tonyp:
It does not. (Neither do the new CWM versions btw).

Why? It's a hoax. Read here: https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT

If you for some voodoo reason still want to wipe it use a file explorer and navigate to /data/system and delete the batterystats.bin file.
[LG Optimus 2x] BS86:
AW: [RECOVERY] [new|old bl] TWRP 2.4.3.0 touch recovery [2013-03-02]

Ok, I have to confess something....

I am a flashaholic... Just flashed this recovery over pengus77's Cwm, just because there is nothing else to flash...

But it is a very good recovery, let's see how it behaves in the long run ;)
[LG Optimus 2x] aries.1482:
we need install cwm before and flash twrp over? is there any way to standalone install for newbld?

thank you!
[LG Optimus 2x] SREEPRAJAY:
one way is to go to CWM, then flash the file given in the OP....thanks to tonyp

the second way...if you are coming with a stock ICS ROM, just use the AIOT by Spyrosk (thanks)and then root it, flash TWRP,etc.,

Hope this answers your query
[LG Optimus 2x] ImRocker:
Re: [RECOVERY] [new|old bl] TWRP 2.4.3.0 touch recovery [2013-03-02]

You can even change your recovery if you are on another recovery.

Enviado desde mi LG-P990 usando Tapatalk 2
[LG Optimus 2x] SREEPRAJAY:
this is exactly what I wrote in the first line....go to CWM and then flash the file given in OP....

:) ;) :)
[LG Optimus 2x] SREEPRAJAY:
tonyp,

just wanted to report something....not a big issue but awareness.

when I use a theme...I used Torq's Dark theme.each time I flash something(multiple or single), at the end of the flashing process....I have to pull out the battery cause the device freezes.

To complete the story I have deleted the theme, then everything works fine.I have made a few multilple flashes, used wipes and a few more in one go without switch off. no issues

I will also report in the TWRP theme thread....but maybe something can be thought about ;) :)
[LG Optimus 2x] aldyu:
Holo Theme Update

I got some spare time so I managed to port the Holo Theme by TheCoby to our device. The theme from Zasuk has some alignment issues and I waited for some time for it to be updated but is not happening yet.

About this theme:

1. Removed the home, back and the third soft key. They're just redundant for our device.

2. TWRP 2.4.3.0 compatible, Some images are from TheCoby's theme and size 25 font (default one is only 20).

Credits goes to TheCoby, and well for tonyp for pointing out TheCoby's theme. ;)

This is only a dark holo theme but maybe will make a light one depending on the demand and thanks. :p

Feel free to report some issues. :angel: