[RECOVERY] TeamWin Recovery 2.7.1.0 for GT-I9195 [2014-06-14]

Search This thread

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
Sin%2520nombre.png

For your information

Team Win Recovery Project 2.7, 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.

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.
 */

This is developed for the LTE version of Samsung Galaxy S4 Mini (GT-I9195), but it may on the other variants.

I'll only support this variant since it's the only one I own, that means I can only test software for it, and on the way that I'll never give support or bugfixes for any other model.

Changelog


2014-06-14
- Merged latest kernel changes by arco.
- Upstream update to TWRP 2.7.1.0 (For more info, check official changelogs: http://teamw.in/project/twrp2).

2014-03-16
- Fixed flashing builds of any android version older than 4.4
- Merged latest kernel changes by arco.
- Upstream update to TWRP 2.7.0.0 (For more info, check official changelogs: http://teamw.in/project/twrp2).

2014-02-20
- Fixed 4.1+ data encryption/decryption support.
- Corrections of the screen timeout behaviour.
- Some upstream fixes and features like:
a) Support for mouse control (not tested here at all).
b) Vibration when touching screen or buttons (can be disabled).
c) And more...

2013-12-29
- First version

Reporting Bugs


If you want to report bugs please read THIS HOWTO first. Please try to provide logs if you see errors (logs and dmesg). If you don't know how to do that check google or ask people here to help you.

- To take logs you can use the option "Copy log to SD" inside recovery "Advanced" menu
- To grab a dmesg (if the recovery is not booting normally), just reboot on android system and provide the output of this command run from the adb shell:
Code:
cat /proc/last_kmsg
Download


You are storing very sensitive information on your phone. You always have to be careful with what you flash and who you trust on. If you don't trust me then don't use my work or compile it from source yourself.

Two files are provided, the .tar one is only flashable over Odin, but the .img one could be flashed using Heimdall and also using a shell command as below after pushing the file to the sdcard renamed to recovery.img (root access on the device is needed).
Make sure you do not make any typos writting this command, because is an easy and fast way of briking your device:
Code:
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p14
You can download the recovery here.

If you are going to host my builds somewhere else, please let me know that on this thread or over PM, so I can add the link here also :)

Sources


The source of the kernel is this one, compiled along android 4.4.2 codebase of OmniROM and using the default gcc 4.7 compiler:
https://github.com/OliverG96/android_kernel_samsung_serranoltexx

The flags used for TWRP settings are the ones below (full device tree might be avalaible soon, WIP on cleaning up):
TW_HAS_DOWNLOAD_MODE := true
TW_NO_REBOOT_BOOTLOADER := true

DEVICE_RESOLUTION := 540x960
RECOVERY_GRAPHICS_USE_LINELENGTH := true
TW_NO_SCREEN_BLANK := true
TW_BRIGHTNESS_PATH := "/sys/devices/platform/mipi_samsung_oled.1281/lcd/panel/backlight"
TW_MAX_BRIGHTNESS := 255

TW_INCLUDE_JB_CRYPTO := true
TW_NO_USB_STORAGE := true
RECOVERY_SDCARD_ON_DATA := true
TW_INTERNAL_STORAGE_PATH := "/data/media/0"
TW_INTERNAL_STORAGE_MOUNT_POINT := "data"
TW_EXTERNAL_STORAGE_PATH := "/external_sd"
TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_sd"

Credits

- Arne Coucheron
- Dees_Troy and bigbiff
 
Last edited:

TacoLoco

Senior Member
Nov 28, 2007
530
34

Are you sure? In other TWRP 2.6.3.0 thread OP says:

UPDATE: Do not flash cm-11 roms with the current stable version (2.6.3.0) of TWRP. It won't work. I will create new builds for the I9195 and the I-9190 after someone this issue.

http://forum.xda-developers.com/showthread.php?t=2449107

Seems to me that TWRP is the source of the error and not the recovery build.. And as this is the same TWRP Version here, I'm not sure..
 

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
The number is the same because officially Dees_Troy, main dev of TWRP didn't changed it recently, but many things changed.
I also made a bit nicer workaround for screen glitches after timeout, screen won't be turned off, but at least will reduce brightness to skip burning and save battery :p

Enviado desde mi GT-I9195 mediante Tapatalk
 

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
Try installing over dd command, I'll try to check that later.

Enviado desde mi GT-I9195 mediante Tapatalk
 

johanneszab

Senior Member
Jun 3, 2010
54
43
Thanks man, will try to update my encrypted ROM with the newest nightly..

Does it work for you? I cannot open my encrypted cm10.1.2 /data partition,it states: "wrong input", even if i tried it 4 times and also tried a reboot. Same partition worked with my TWRP build. Also no fuse support, so not NTFS :(
 

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
Does it work for you? I cannot open my encrypted cm10.1.2 /data partition,it states: "wrong input", even if i tried it 4 times and also tried a reboot. Same partition worked with my TWRP build. Also no fuse support, so not NTFS :(

Provide recovery logs if you find a bug you want fixed, about the NTFS support, my SDCard is formatted as NTFS and works well, please explain your problem better.

Enviado desde mi GT-I9195 mediante Tapatalk
 

johanneszab

Senior Member
Jun 3, 2010
54
43
Provide recovery logs if you find a bug you want fixed, about the NTFS support, my SDCard is formatted as NTFS and works well, please explain your problem better.

Enviado desde mi GT-I9195 mediante Tapatalk

i would have, but i didn't had any accessible storage (no decryption of data, no NTFS mount for SD card) and was short of time. So.. here is the log:
 

Attachments

  • recovery.log.txt
    15.2 KB · Views: 29

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
i would have, but i didn't had any accessible storage (no decryption of data, no NTFS mount for SD card) and was short of time. So.. here is the log:

The prebuilts binaries were added in order to support TouchWiz crypto support, but I'm getting rid of them since forces me to build along ICS crypto and may broke the JB crypto you seems to be using.

Enviado desde mi GT-I9195 mediante Tapatalk
 
Last edited:
  • Like
Reactions: radicspeter

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
So the question is, there's anybody here still with this recoverie installed along a TouchWiz ROM and using encryption of data for it?
If not I'll try to delete it and move forward to JB encryption methods.

Enviado desde mi GT-I9195 mediante Tapatalk
 

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
Hi guys, good work! But how restore samsung recovery without deleting ROM data?

Take the recovery.img from the .tar.md5 file containing full stock rom that you flash over odin and apply it using the dd command I wrote on first post, I didn't tried, but must work.

Enviado desde mi GT-I9195 mediante Tapatalk
 

TacoLoco

Senior Member
Nov 28, 2007
530
34
Hi, i have cm11 Rom which is encrypted.. I flashed twrp to decrypt data and flash Rom update but twrp cannot decrypt data (entered password about ten times).. I think twrp needs update to decrypt kitkat, am i right with this?

Greetings
 

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    Sin%2520nombre.png

    For your information

    Team Win Recovery Project 2.7, 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.

    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.
     */

    This is developed for the LTE version of Samsung Galaxy S4 Mini (GT-I9195), but it may on the other variants.

    I'll only support this variant since it's the only one I own, that means I can only test software for it, and on the way that I'll never give support or bugfixes for any other model.

    Changelog


    2014-06-14
    - Merged latest kernel changes by arco.
    - Upstream update to TWRP 2.7.1.0 (For more info, check official changelogs: http://teamw.in/project/twrp2).

    2014-03-16
    - Fixed flashing builds of any android version older than 4.4
    - Merged latest kernel changes by arco.
    - Upstream update to TWRP 2.7.0.0 (For more info, check official changelogs: http://teamw.in/project/twrp2).

    2014-02-20
    - Fixed 4.1+ data encryption/decryption support.
    - Corrections of the screen timeout behaviour.
    - Some upstream fixes and features like:
    a) Support for mouse control (not tested here at all).
    b) Vibration when touching screen or buttons (can be disabled).
    c) And more...

    2013-12-29
    - First version

    Reporting Bugs


    If you want to report bugs please read THIS HOWTO first. Please try to provide logs if you see errors (logs and dmesg). If you don't know how to do that check google or ask people here to help you.

    - To take logs you can use the option "Copy log to SD" inside recovery "Advanced" menu
    - To grab a dmesg (if the recovery is not booting normally), just reboot on android system and provide the output of this command run from the adb shell:
    Code:
    cat /proc/last_kmsg
    Download


    You are storing very sensitive information on your phone. You always have to be careful with what you flash and who you trust on. If you don't trust me then don't use my work or compile it from source yourself.

    Two files are provided, the .tar one is only flashable over Odin, but the .img one could be flashed using Heimdall and also using a shell command as below after pushing the file to the sdcard renamed to recovery.img (root access on the device is needed).
    Make sure you do not make any typos writting this command, because is an easy and fast way of briking your device:
    Code:
    dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p14
    You can download the recovery here.

    If you are going to host my builds somewhere else, please let me know that on this thread or over PM, so I can add the link here also :)

    Sources


    The source of the kernel is this one, compiled along android 4.4.2 codebase of OmniROM and using the default gcc 4.7 compiler:
    https://github.com/OliverG96/android_kernel_samsung_serranoltexx

    The flags used for TWRP settings are the ones below (full device tree might be avalaible soon, WIP on cleaning up):
    TW_HAS_DOWNLOAD_MODE := true
    TW_NO_REBOOT_BOOTLOADER := true

    DEVICE_RESOLUTION := 540x960
    RECOVERY_GRAPHICS_USE_LINELENGTH := true
    TW_NO_SCREEN_BLANK := true
    TW_BRIGHTNESS_PATH := "/sys/devices/platform/mipi_samsung_oled.1281/lcd/panel/backlight"
    TW_MAX_BRIGHTNESS := 255

    TW_INCLUDE_JB_CRYPTO := true
    TW_NO_USB_STORAGE := true
    RECOVERY_SDCARD_ON_DATA := true
    TW_INTERNAL_STORAGE_PATH := "/data/media/0"
    TW_INTERNAL_STORAGE_MOUNT_POINT := "data"
    TW_EXTERNAL_STORAGE_PATH := "/external_sd"
    TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_sd"

    Credits

    - Arne Coucheron
    - Dees_Troy and bigbiff
    4
    Sorry for so much inactivity lately, but I've been really busy with exams. Anyway now I'm back with a new build :)
    I also have fixed the .md5 Odin file of the older build, but it's recommended to update to latest build asap.

    2014-02-20
    - Fixed 4.1+ data encryption/decryption support.
    - Corrections of the screen timeout behaviour.
    - Some upstream fixes and features like:
    a) Support for mouse control (not tested here at all).
    b) Vibration when touching screen or buttons (can be disabled).
    c) And more...
    3
    Looks like support for using f2fs were introduced on twrp source some time ago. But I'm still totally busy to do anything.
    In one week I'll get some time.

    Enviado desde mi GT-I9195 usando Tapatalk 2
    3
    Nope it isn't, I'm very sorry, I said I was going to update it, but never done. I'll do it asap :(

    Enviado desde mi GT-I9195 usando Tapatalk 2
    2
    Odin flash not working: twrp-2.6.3.0-20131229.tar.md5 is invalid

    Here is corrected MD5 file for ODIN, please unzip before flashing:
    View attachment twrp-2.6.3.0-20131229.tar.zip