[RECOVERY][XP] TWRP 2.7.0.0 touch recovery [2014-03-21]

Search This thread

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
Dhaka
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

KL32bPn.png
lsmud9t.png
acYOCr3.png


Introduction:

Team Win Recovery Project or twrp2 for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's a fully touch driven user interface , no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Key Features:

Touchscreen driven with real buttons and drag-to-scroll
XML-based GUI that allows full customization of the layout true theming!
Settings are saved to the sdcard and persist through reboots
Ability to choose which partitions to back up and which to restore
Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
Onscreen keyboard
Decryption of /data
Easy selection of internal/external storage


Installation:

since our device developers are constantly trying to fix bugs, they are always changing something in init.*.rc files for testing. For this reason I can't post a regular boot.img file because it won't work. For now, I've created a script that will take all init.*.rc files from current rom's boot.img and then compile new boot.img with TWRP inside it.

Note : For Rooted & Unlocked Bootloader Only
Note : For 4.4 ROM (should work on older version of android upto 4.1). I don't own XP. So please provide feedback

1) Download the latest zip file.
2) Extract it in a folder and place your current rom's boot.img inside that folder. (it must be named boot.img)
3) Connect your phone with PC. (adb must be working)
4) Open your command line and cd to that folder
5) For linux users, type
Code:
chmod 755 run_me.sh
./run_me.sh

For windows users, type
Code:
run_me.bat

new boot.img file will be created in the current directory named new_boot.img. Power off your phone and flash the boot image.
Code:
fastboot flash boot new_boot.img

Theming:

Information on TWRP 2 Theming - http://teamw.in/project/twrp2themers

To ROM makers

if you include it in your ROM, please give proper credits cause I've spent almost a month trying to port this.Thanks.

Download

recovery_install_XP.zip - 6.43 MB

Source

TWRP source -> https://github.com/omnirom/android_bootable_recovery

Credits

all teamwin members, especially @Dees_Troy for giving me constant advice
@munjeni for his support and answering all my questions :)
@percy_g2 for providing gyroscope fix in touch
 
Last edited:

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
Dhaka
Changelog 21/03/2014
  • booted
  • full touch working
  • adb working
  • usb mass storage working
  • fixed show battery capacity & charging status (+ icon next to percentage)
  • reboot to bootloader/recovery working (from twrp menu)
  • reboot to bootloader/recovery working (from rom)
  • battery led to indicate battery status
  • brightness slider working (under settings=>screen in twrp)
 
Last edited:

kaziupal

Senior Member
Aug 2, 2013
181
38
31
Dhaka
Redmi Note 10 Pro
Well, noob Coder Here's It

booted
full touch working
adb : I dont know how to check
usb mass storage: working super fine
battery percentage is showing... as it is showing in my phone 14%+(guess thatz it)
reboot to bootloader/recovery working (from twrp menu) = working well
reboot to bootloader/recovery working (from rom) =working
battery led to indicate battery status=working
brightness slider working well

Buddy, itz cool to see someone from my country helping here. Thnx for your effort.
 
Last edited:
  • Like
Reactions: AGONTUK

djkk16

Senior Member
Jul 23, 2013
198
39
Pandora
MIUI 4.2.2

booted yes
full touch working yes
adb working ? yes
usb mass storage working ? yes
fixed show battery capacity & charging status (+ icon next to percentage) yes
reboot to bootloader/recovery working (from twrp menu) ? yes
reboot to bootloader/recovery working (from rom) ?
battery led to indicate battery status ? yes
brightness slider working (under settings=>screen in twrp) ? yes
 
  • Like
Reactions: AGONTUK

dastane

Senior Member
Mar 3, 2013
300
98
Algiers
work parfectly in stock rom based ( dark) with nemsis v6.3 as original karnel

i thinks that is better than cmw

thanks a lot
 

WizaJ

Senior Member
Dec 9, 2011
118
29
Nairobi
wizaj.info
Who can make zip for recovery for CM11?

Sent from my Xperia P using xda premium

Not sure it's possible, since the boot.img is compiled a script that runs on the device.
I suppose it would be possible to do it by running the script on an XP with CM11 installed then using the compiled boot.img to create a flashable ZIP.

I'm going to try do this once I get to my computer.
Are you using Percy's CM11?
 
Last edited:

big-A

Senior Member
Apr 15, 2012
75
7
not working

i have an XP with the stock rom .100, the stock kernel and Unlocked Bootloader. I followed the instructions but it failed.
here's a screenshot of cmd and if you see something wrong in it tell me plz.
Thanks for your great work !!
 

Attachments

  • Capture.PNG
    Capture.PNG
    32.3 KB · Views: 791

dastane

Senior Member
Mar 3, 2013
300
98
Algiers
i have an XP with the stock rom .100, the stock kernel and Unlocked Bootloader. I followed the instructions but it failed.
here's a screenshot of cmd and if you see something wrong in it tell me plz.
Thanks for your great work !!

check your folder, you must have a new file: "new_boot.img" and after fastboot it via flashtool

570780fsdfdsfdsf.png
 
Last edited:
  • Like
Reactions: big-A

dastane

Senior Member
Mar 3, 2013
300
98
Algiers
did you copied your curent karnel file in this folder and rename it into " boot.img" as its said in the OP??
 

Top Liked Posts

  • There are no posts matching your filters.
  • 34
    Code:
    #include <std_disclaimer.h>
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    KL32bPn.png
    lsmud9t.png
    acYOCr3.png


    Introduction:

    Team Win Recovery Project or twrp2 for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's a fully touch driven user interface , no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

    Key Features:

    Touchscreen driven with real buttons and drag-to-scroll
    XML-based GUI that allows full customization of the layout true theming!
    Settings are saved to the sdcard and persist through reboots
    Ability to choose which partitions to back up and which to restore
    Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
    Onscreen keyboard
    Decryption of /data
    Easy selection of internal/external storage


    Installation:

    since our device developers are constantly trying to fix bugs, they are always changing something in init.*.rc files for testing. For this reason I can't post a regular boot.img file because it won't work. For now, I've created a script that will take all init.*.rc files from current rom's boot.img and then compile new boot.img with TWRP inside it.

    Note : For Rooted & Unlocked Bootloader Only
    Note : For 4.4 ROM (should work on older version of android upto 4.1). I don't own XP. So please provide feedback

    1) Download the latest zip file.
    2) Extract it in a folder and place your current rom's boot.img inside that folder. (it must be named boot.img)
    3) Connect your phone with PC. (adb must be working)
    4) Open your command line and cd to that folder
    5) For linux users, type
    Code:
    chmod 755 run_me.sh
    ./run_me.sh

    For windows users, type
    Code:
    run_me.bat

    new boot.img file will be created in the current directory named new_boot.img. Power off your phone and flash the boot image.
    Code:
    fastboot flash boot new_boot.img

    Theming:

    Information on TWRP 2 Theming - http://teamw.in/project/twrp2themers

    To ROM makers

    if you include it in your ROM, please give proper credits cause I've spent almost a month trying to port this.Thanks.

    Download

    recovery_install_XP.zip - 6.43 MB

    Source

    TWRP source -> https://github.com/omnirom/android_bootable_recovery

    Credits

    all teamwin members, especially @Dees_Troy for giving me constant advice
    @munjeni for his support and answering all my questions :)
    @percy_g2 for providing gyroscope fix in touch
    8
    Changelog 21/03/2014
    • booted
    • full touch working
    • adb working
    • usb mass storage working
    • fixed show battery capacity & charging status (+ icon next to percentage)
    • reboot to bootloader/recovery working (from twrp menu)
    • reboot to bootloader/recovery working (from rom)
    • battery led to indicate battery status
    • brightness slider working (under settings=>screen in twrp)
    5
    F.A.Q

    1) Are CWM backups compatible with TWRP ?
    Ans: CWM backups are not compatible - please make a fresh backup in TWRP as soon as you have flashed it.
    3
    Solution for stock kernel

    For those who use stock kernel or stock based kernel, use this app http://forum.xda-developers.com/showthread.php?t=1687590 to active insecure adb and the system remount will work
    2
    Not sure it's possible, since the boot.img is compiled a script that runs on the device.
    I suppose it would be possible to do it by running the script on an XP with CM11 installed then using the compiled boot.img to create a flashable ZIP.

    I'm going to try do this once I get to my computer.
    Are you using Percy's CM11?

    Oh, thanks, it's not necessary, I did.

    Sent from my Xperia P using xda premium