FORUMS
Remove All Ads from XDA

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

1,412 posts
Thanks Meter: 2,286
 
By Eskuero, Recognized Developer on 29th December 2013, 03:21 AM
Post Reply Email Thread

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...g_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
The Following 26 Users Say Thank You to Eskuero For This Useful Post: [ View ]
29th December 2013, 01:00 PM |#2  
Senior Member
Thanks Meter: 28
 
More
Can I flash CM11 Rom with this Recovery?
29th December 2013, 01:13 PM |#3  
yannickamet's Avatar
Senior Member
Thanks Meter: 35
 
More
Quote:
Originally Posted by TacoLoco

Can I flash CM11 Rom with this Recovery?

hello

yes you can
29th December 2013, 01:35 PM |#4  
Senior Member
Thanks Meter: 28
 
More
Quote:
Originally Posted by yannickamet

hello

yes you can

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

Quote:

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/show....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..
29th December 2013, 01:39 PM |#5  
yannickamet's Avatar
Senior Member
Thanks Meter: 35
 
More
Quote:
Originally Posted by TacoLoco

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



http://forum.xda-developers.com/show....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..

I tried with the rom and it works bam kitkat
29th December 2013, 01:58 PM |#6  
Senior Member
Thanks Meter: 28
 
More
Quote:
Originally Posted by yannickamet

I tried with the rom and it works bam kitkat

Thanks man, will try to update my encrypted ROM with the newest nightly..
29th December 2013, 02:03 PM |#7  
yannickamet's Avatar
Senior Member
Thanks Meter: 35
 
More
Quote:
Originally Posted by TacoLoco

Thanks man, will try to update my encrypted ROM with the newest nightly..

ok
29th December 2013, 03:44 PM |#8  
Eskuero's Avatar
OP Recognized Developer
Thanks Meter: 2,286
 
More
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
29th December 2013, 05:37 PM |#9  
Senior Member
Flag Dijon, France
Thanks Meter: 102
 
More
Thumbs up
This recovery also works on i9192, partitions are the same as i9195, just updated mine
The Following User Says Thank You to Wildfear For This Useful Post: [ View ] Gift Wildfear Ad-Free
29th December 2013, 05:44 PM |#10  
Senior Member
Flag Bratislava
Thanks Meter: 514
 
Donate to Me
More
Odin says for the file twrp-2.6.3.0-20131229.tar.md5:
Code:
md5 error! Binary is invalid
29th December 2013, 05:55 PM |#11  
Eskuero's Avatar
OP Recognized Developer
Thanks Meter: 2,286
 
More
Try installing over dd command, I'll try to check that later.

Enviado desde mi GT-I9195 mediante Tapatalk
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes