[RECOVERY] TWRP 2.6.3.0 for Samsung Galaxy S4 Mini LTE (GT-I9195)

sergiosch

Member
Nov 18, 2013
24
2
0
Installed as described in post #1 with no problem, thanks a lot johanneszab. :good:

Made first nandroids with this recovery, everything seems fine.

Just one doubt:

in the process of backup of EFS partition, shows partition size is 4 Mb, but the result efs.ext4.win file is just 30 kb.
Is there any logical explanation? I didn't check the compress checkbox in the options previously to the backup process, I don't know if anyway this recovery automatically compressed the "raw partition" from 4 Mb to 30 Kb created backup... I hope the resulted tiny 30 kb EFS backup file does work in case I need it in future :eek:

Cheers
 

johanneszab

Senior Member
Jun 3, 2010
54
43
0
Just one doubt:

in the process of backup of EFS partition, shows partition size is 4 Mb, but the result efs.ext4.win file is just 30 kb.
Is there any logical explanation? I didn't check the compress checkbox in the options previously to the backup process, I don't know if anyway this recovery automatically compressed the "raw partition" from 4 Mb to 30 Kb created backup... I hope the resulted tiny 30 kb EFS backup file does work in case I need it in future :eek:

Cheers
Thats okay. I wondered about that too, but the TWRP either uses dd to create an exact image of the partition, or uses tar to create an archive. The EFS Partition is only an archive, and there is not much stored in there. The IMEI, some carrier specific things, the gyro calibration data and stuff like that. Mine is also about 30kb small and i could successfully dearchive it:

Code:
[email protected]:/home/xen/tmp# ls -lha
total 92K
drwxrwx--x  10 xen  1001 4,0K Jan  1  2013 .
drwxr-xr-x 176 xen  xen   16K Nov 24 12:56 ..
drwxr-xr-x   2 1001 1001 4,0K Jul 31 21:46 bluetooth
drwxr-xr-x   2 xen  xen  4,0K Jan  1  1970 carrier
drwx------   3 xen  xen  4,0K Jan  1  2013 drm
-rwx------   1 xen  xen   30K Nov 24 08:09 efs.ext4.win
drwxrwxr-x   2 xen  xen  4,0K Jul 31 21:52 FactoryApp
drwxrwxr-x   5 root root 4,0K Jan  1  1970 .files
-rw-------   1 xen  xen    12 Jul 31 21:52 gyro_cal_data
-rw-r--r--   1 root root   16 Jan  1  2013 h2k.dat
drwxrwxr-x   2 1001 1001 4,0K Jul 31 21:46 imei
drwxrwxr-x   2 root root 4,0K Jan  1  2013 log
drwxrwxr-x   2 xen  xen  4,0K Jul 31 21:46 wifi
[email protected]:/home/xen/tmp#
 

labbe-

Senior Member
Jun 4, 2012
535
250
0
Turku
Just a heads up, I was unable to install CM11 with this, had to install CWM to do it.

Retarded as I am, I didn't remember to write down the exact error message that was given, but it was along the lines of failing to set up partitions correctly IIRC.
 

johanneszab

Senior Member
Jun 3, 2010
54
43
0
Just a heads up, I was unable to install CM11 with this, had to install CWM to do it.

Retarded as I am, I didn't remember to write down the exact error message that was given, but it was along the lines of failing to set up partitions correctly IIRC.
Yap, seems broken: http://forum.xda-developers.com/showpost.php?p=48207986&postcount=369

I think i'll do some new builds after Dees_Troy came up with a fix for this. Unfortunately I cannot do any backups under CWM since my data is encrypted and my sdcard runs under NTFS :/.
 
Last edited:
  • Like
Reactions: labbe-

zago84

Senior Member
Jan 17, 2013
62
8
0
Caltagirone (CATANIA)
Hi guys!

The question is: after installing this custom recovery, how can I restore original recovery without flashing original firmware or similar that it don't force me to do a data reset?

Thanks for the good work
 

kamikaze702k

Senior Member
Jun 12, 2013
2,073
775
0
London
twrp or cwm story and issue

Initially when I first got into flashing I had cam, using it, I managed to brick my device, at that time it was an S3 LTE, luckily I somehow fixed it, sold it, then got a S3 i9300, didn't want to make the same mistake using cwm so I used twrp, so much easier and user friendly, then I got a S4 LTE, was dreading the fact I had no option but to use cwm to flash this baby, few days went by I built up courage and used it, I still have my S3 so time to time I switch, I've changed my mind about cwm, it's more functional but also more dangerous, it's not something to play with lol, they're both good recoveries, lately I bought a Samsung 64gb pro micro sd, official real product, using it in my S4, at times it doesn't mount, really annoying, my SanDisk extreme 32gb worked fine! Any solutions on how I can fix this mount problem?
 

johanneszab

Senior Member
Jun 3, 2010
54
43
0
There hasn't been any offiicial changes in the source for 2 months, that why i didn't do any newer builds: https://github.com/TeamWin/Team-Win-Recovery-Project

He could have changed the kernel to a newer version, since TWRP uses the normal android/CM basis, and my build uses the 10.1.2 CM source iirc. So, not sure if that will fix any issues, since the recovery boots i wonder if a kernel change would fix anything.

So, anyone tried the new build and flashed a cm11 nightly, does it support ntfs/fuse?
 

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
0
The version number is the same here in this thread and in your thread. So what is new on your version? :D
In my version you are able to flash Kitkat roms and also I workarounded messed color glitches after screen timeout. I also cleaned a bit the not needed/unimplemented flags.
There hasn't been any offiicial changes in the source for 2 months, that why i didn't do any newer builds: https://github.com/TeamWin/Team-Win-Recovery-Project
He could have changed the kernel to a newer version, since TWRP uses the normal android/CM basis, and my build uses the 10.1.2 CM source iirc. So, not sure if that will fix any issues, since the recovery boots i wonder if a kernel change would fix anything.

So, anyone tried the new build and flashed a cm11 nightly, does it support ntfs/fuse?
Dees_Troy just didn't bumped the number version, but that doesn't mean no changes, the repo on TeamWin github is pretty abandoned, they have moved since now TWRP is the default recovery OmniROM: :)
https://github.com/omnirom/android_bootable_recovery
Enviado desde mi GT-I9195 mediante Tapatalk
 
Last edited:

stitch1987

New member
May 2, 2014
1
0
0
Johannesburg
recovery-twrp

Edit 19.10.2013: Recreated, reuploaded and tested .tar.md5.zip file with odin since i somehow completely ****ed it up (post #12 and so forth). I'm so sorry for all those broken files without testing and thanks for the Info!

Hi there, I just wondering if there have been any updates with regard to TWRP and the S4 Mini,and if so if you could give me link?

Also I only see the attached recovery-twrp-2.6.3.0-serranoltexx.tar.md5.zip op post #1 but I don't see a android-armeabi-universal-root-signed.zip or SuperSU.zip?

Do I use the armeabi and just the regular SuperSU.zip or are there another file I need to upload to the SD?

Thanx.
M
 

butthurtlocker

Senior Member
Oct 29, 2013
636
63
28
Victoria
Can i flash on the S4 mini i257m (Rogers, canada)

Could i flash t his via odin on the i257m? It's canadas S4 mini LTE. Not much support for it, but has same specs as international LTE variant i believe
 

NGbod

Senior Member
Oct 29, 2011
52
15
0
UK
I've been trying to backup my KK 4.4.2 S4 mini i9195 but both twrp-2.7.1.0-20140614 and 6.0.4.8 cwm seem to be failing. The backup is saved to a directory with 2013-01-01 as the directory name. All the files are saved within this directory also with the same date.
When I try and restore, recovery fails with no files found.
I've tried backing up to device and external sd but the result is the same.
Once booted the device time/ date is correct.
 

ghots3427

New member
Nov 19, 2014
1
0
0
thnx

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.

Hi!

I've compiled a TWRP 2.6.3.0 for the Samsung Galaxy S4 Mini LTE (GT-I9195) with crypto support. I've attached a screencapture during an installation of an cyanogenmod update from my encrypted /data partition using goomanager. So i thought, maybe someone can use this because i didn't find any build for the device yet.
I'm not sure if you can use it with encrypted stock samsung roms (I've included some samsung libs, but i couldn't test it), but for cm it should work. And any unencrypted devices..

Should work for the GT-I9190 and GT-I9192 as well, as written on page 4.

Installation as usual (Odin (tar.md5.zip - needs to be unzipped) or Heimdall (.img)):

For Odin:
  • Download the recovery-twrp-2.6.3.0-serranoltexx.tar.md5.zip and unzip it
  • Turn off the phone.
  • Press and hold home, volume down and power. Download screen should appear.
  • Connect USB cable, and press volume up
  • Start Odin, uncheck "F. Reset Time" and "Auto Reboot", and then click AP button.
  • Select extracted "recovery.tar.md5" file and press Start button.
  • A blue transfer bar will appear on the device showing the recovery being transferred. Check the Message Window in Odin for: "All threads completed. (succeeded 1 / failed 0). The transfer has successfully completed.
  • Long press the power botton to turn it off.
  • Hold volume up, home button and power buttons simultaneously to boot into recovery mode.

Sorry, i couldn't post in the Developer Forum and no direct links (< 10 Post for me). And a special thanks to @Dees_Troy for helping me getting the right crypto options.
I hope the image works, first time building a TWRP for me. At least it won't brick your device ;)

_____________
Edit 18.09.2013. (Already Fixed) If the screen locks in the recovery after a few minutes idle (without userinput), the screen gets greyish after the unlock, but the recovery still seems to work properly (see post #4 for image). I've asked in the twrp channel on freenode and tried a fix, that didn't help. :(. So, it seems more cosmetic. I wonder if someone else gets this, because they said in the channel, they've never seen something like that before.

_____________
Edit 19.09.2013: Sourcecode with my modifications here: https://github.com/johanneszab
Its mainly the BoardConfigCommon.mk and recovery.fstab for TWRP and enryption in the msm8930-common repo and the crypto libs in the recovery directory in the serranoltexx repo.

_____________
Edit 20.09.2013: New recovery.img without Screentimeout, so no more messed up screen after screenlock.

_____________
Edit 28.09.2013: Added SELinux and exfat and removed USB-OTG Support. Recovery should be ready for Android 4.3 with this settings. You won't lose SELinux contexts if you should ever make a backup and then restore it. Thanks to @Dees_Troy for the SELinux informations!

_____________
Edit 19.10.2013: Recreated, reuploaded and tested .tar.md5.zip file with odin since i somehow completely ****ed it up (post #12 and so forth). I'm so sorry for all those broken files without testing and thanks for the Info!

Code:
 $ md5sum recovery-twrp-2.6.3.0-serranoltexx.img
9262c28bf81632c66ff1133d6078c8c6  recovery-twrp-2.6.3.0-serranoltexx.img

 $ md5sum recovery-twrp-2.6.3.0-serranoltexx.tar.md5.zip
e5014d5e230a5bb1103771b30dd2a159  recovery-twrp-2.6.3.0-serranoltexx.tar.md5.zip
super use thnx m wıll do
 

JaimeZX

Senior Member
Dec 3, 2011
241
22
0
Awesome. Just got this phone in the last two days, was hoping TWRP existed for it.

Thanks so much! Doing first backup now. Hoping it works. :)