[RECOVERY][XGO] 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 (may work on older version of android. I don't own Xperia Go so didn't test it. 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

latest zip => recovery_install_20140321.zip - 6.39 MB
latest ramdisk => View attachment initrd.gz

Source

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

device tree -> https://github.com/Agontuk/android_device_sony_lotus

Credits

all teamwin members, especially @Dees_Troy for giving me constant advice
@munjeni for his support and answering all my questions :)
 

Attachments

  • recovery_install.zip
    4.5 MB · Views: 4,454
Last edited:

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
Dhaka
Changelog 15/03/2014
  • booting :)
  • full touch working
  • adb working
  • usb mass storage not working
  • fix path for battery percentage and charging status

Changelog 21/03/2014
  • reboot to recovery/bootloader from twrp fixed
  • reboot to recovery/bootloader from rom fixed
  • mount usb mass storage should work now
  • added battery led (not working)

Changelog 24/03/2014
  • all should work fine now except external storage mounting
 
Last edited:

wan5xp

Senior Member
Jun 9, 2013
217
331
Changelog 15/03/2014

depends upon your testing. please provide feedback for
1) booting ?
2) adb working ?
3) usb mass storage working ?
4) touch working ?
5) reboot to recovery working ?
6) battery percentage and charging status show correctly ?
7) can you mount all partitions perfectly ?

1) booting ok
2) adb working nope
3) usb mass storage working nope
4) touch working ok
5) reboot to recovery working nope
6) battery percentage and charging status show correctly ok
7) can you mount all partitions perfectly ok
 
  • Like
Reactions: AGONTUK

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
Dhaka
Are there any bugs in this recovery? I can test this recovery for the XGO if you'd like :)
it'll be very much appreciated. I don't have XGO, so someone needs to test & report.

1) booting ok
2) adb working nope
3) usb mass storage working nope
4) touch working ok
5) reboot to recovery working nope
6) battery percentage and charging status show correctly ok
7) can you mount all partitions perfectly ok
are u using windows or linux ? If windows, is there any indication that the device is connected like "usb device not recognised"? Please check device manager and see if there's an device with yellow icon.
 

wan5xp

Senior Member
Jun 9, 2013
217
331
it'll be very much appreciated. I don't have XGO, so someone needs to test & report.


are u using windows or linux ? If windows, is there any indication that the device is connected like "usb device not recognised"? Please check device manager and see if there's an device with yellow icon.

On testing, i use ubuntu. Adb only show ?????? No permission. Usb mass storage not detected. Mass storage does work in cwm.
 

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
Dhaka
On testing, i use ubuntu. Adb only show ?????? No permission. Usb mass storage not detected. Mass storage does work in cwm.
try this
Code:
sudo adb kill-server
sudo adb start-server
sudo adb devices
NOTE: You may have to change the path to adb since you are using Superuser to start the server, it may not be in your .bashrc. It's not TWRP's problem, AFAIK.
 
  • Like
Reactions: Gruftler

wan5xp

Senior Member
Jun 9, 2013
217
331

cat /sys/devices/platform/musb-ux500.0/musb-hdrc/gadget/lun0/file - this give no output

cat /proc/cmdline
In booted system
Code:
startup=0x4 warmboot=0x77665501 ta_info=9,4,256 androidboot.bootloader=s1 androidboot.serialno=CB5A1L0FSB cachepolicy=writealloc noinitrd init=init board_id=1 logo.nologo root=/dev/ram0 rw rootwait console=null androidboot.console=null androidboot.hardware=st-ericsson mem=96M@0 mem_mtrace=15M@96M mem_mshared=1M@111M mem_modem=16M@112M mem=32M@128M mem_issw=1M@160M hwmem=71M@161M mem=280M@232M mpcore_wdt.mpcore_margin=359 end lpj=24019 audit=1  semcandroidboot.babe1324=43423541314c30465342

In recovery
Code:
startup=0x4 warmboot=0x0 ta_info=9,4,256 androidboot.bootloader=s1 androidboot.serialno=CB5A1L0FSB cachepolicy=writealloc noinitrd init=init board_id=1 logo.nologo root=/dev/ram0 rw rootwait console=null androidboot.console=null androidboot.hardware=st-ericsson mem=96M@0 mem_mtrace=15M@96M mem_mshared=1M@111M mem_modem=16M@112M mem=32M@128M mem_issw=1M@160M hwmem=71M@161M mem=280M@232M mpcore_wdt.mpcore_margin=359 end lpj=24019 audit=1  semcandroidboot.babe1324=43423541314c30465342
 

Attachments

  • recovery.log.txt
    10.5 KB · Views: 25
  • Like
Reactions: AGONTUK

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    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 (may work on older version of android. I don't own Xperia Go so didn't test it. 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

    latest zip => recovery_install_20140321.zip - 6.39 MB
    latest ramdisk => View attachment initrd.gz

    Source

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

    device tree -> https://github.com/Agontuk/android_device_sony_lotus

    Credits

    all teamwin members, especially @Dees_Troy for giving me constant advice
    @munjeni for his support and answering all my questions :)
    6
    New Version Released

    Changelog
    • all should work fine now except external storage mounting

    Download the latest ramdisk and zip.
    3
    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.
    2
    Changelog 15/03/2014
    • booting :)
    • full touch working
    • adb working
    • usb mass storage not working
    • fix path for battery percentage and charging status

    Changelog 21/03/2014
    • reboot to recovery/bootloader from twrp fixed
    • reboot to recovery/bootloader from rom fixed
    • mount usb mass storage should work now
    • added battery led (not working)

    Changelog 24/03/2014
    • all should work fine now except external storage mounting
    2
    Adb does work. Do you need me to get anything from adb?
    Check this http://xdaforums.com/showpost.php?p=51138429&postcount=9 to provide log. Also recovery.log too