FORUMS

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

The Atlas of XDA

A few weeks ago, we asked you “How Does Your Location Affect Your Life As A Power User?”. In the days that … more

[RECOVERY][GT-P51XX] TWRP | PhilZ Touch | CWM

6,941 posts
Thanks Meter: 17,342
 
By Android-Andi, Recognized Contributor on 29th November 2013, 05:24 PM
Post Reply Subscribe to Thread Email Thread
Recovery Downloads


Latest Builds:
* TWRP: 2.8.4.0 - Updated 01/2015
--------------------------------------------------------
* PhilZ-Touch-Recovery
CWM Base v6.0.5.1; Advanced Edition v6.59.0 - Updated 01/2015
--------------------------------------------------------
* CWM 6.0.5.1 Swipe-Edition - Update 01/2015
--------------------------------------------------------


Code:
I am not responsible for bricked devices, dead SD cards.
I donīt own a P51XX and canīt test it myself.
Use on your own risk!
I compiled all recoverys from Source myself!

I hope you like my work! Donīt forget the Thanks-Button

All latest Recoveryīs can flash Android 4.4 (KitKat) and Android 5 (Lollipop) Roms!



1. Screenshots (later), general information, credits etc. (this post)

2. Information about the Recoveryīs (later)

3. Downloads (TWRP, PhilZ Touch, CWM)

4. General FAQ & Developer FAQ


Encryption - TWRP is a must have!(until 2.8.1.1)
  1. Backup all important stuff! We need to format the device!
  2. Make sure using my TWRP 2.8.1.1
  3. Wipe -> Advanced Wipe:
    • Cache
    • Dalvic
    • System
    • Data
  4. Wipe -> Format Data -> Type yes to confirm
    This is the most important step! It will keep some space for the footer! Without that encryption is not possible!
  5. Flash Rom
  6. Reboot
  7. Set a Pin for Lockscreen
  8. Encrypt your device

If done boot back in TWRP - TWRP will promt you to enter the PIN

If you haven't done Step 4 you'll get this error in logcat:
Code:
E/Cryptfs (  105): Orig filesystem overlaps crypto footer region.  Cannot encrypt in place.
Wipe->Format Data is the only method that fully recreates the file system and obeys the length needed for encryption!


Thanks
@Phil3759 for his PhilZ Touch and Advanced CWM
@Dees_Troy and all the TWRP-Team for this great recovery
@ketut.kumajaya for his "android_kernel_samsung_espresso10" source
@CodyF86 for CM11 tree and his forked "android_kernel_samsung_espresso10" source; but i needed to switch to CM10.2
@gr8nole for helping me make internal SD visibile in TWRP, fix Touch-Orientation etc.
@ CyanogenMod-Team (thanks @codeworkx for supporting our device) for CM10.2 source
@ All testers - Special thanks @tetakpatak !!!
@budies3 for testing and confirm working TWRP 2.6.3.1 on P5110

XDA:DevDB Information
[P51xx] Recoveries: TWRP | PhilZ Touch | CWM , Tool/Utility for the Samsung Galaxy Tab 2

Contributors
Android-Andi

Version Information
Status: Stable

Created 2014-05-20
Last Updated 2015-01-13
Last edited by Android-Andi; 4th May 2014 at 06:18 PM.
The Following 78 Users Say Thank You to Android-Andi For This Useful Post: [ View ]
 
 
29th November 2013, 05:24 PM |#2  
OP Recognized Contributor
Thanks Meter: 17,342
 
More
All latest Recoveryīs can flash KitKat-Roms without getting "Error: 7" like using older recoverys


TWRP

I builded this recovery from source, thanks to all who made this possible!
It wasnīt really easy - my flashcounter now > 20 But itīs working

How to flash a zip (itīs not laggy - itīs only because itīs recorded from screenshots ):



PhilZ-NON-Touch-Recovery (Advanced CWM)
CWM Base; Advanced Edition


Missing Features from PhilZ TOUCH:
  • all gui options, include touch code
  • name the backup folder with current ROM name
  • custom zip install menu (Free Browse Mode + custom startup folder)
  • Create Update.zip from current ROM or from pre-existing backups
  • misc nandroid settings menu (but /preload is included by default and I added option to toggle compression under backup format menu)

All Information about Features etc. in PhilZ Touch Main-Thread

On-Screen Navigation:
  • Swipe somewhere on your screen up / down to change selections
  • Swipe to right to enter
  • Swipe left to go back

How to flash a zip:
Same like CWM - you only have more features.


CWM

How to flash a zip (itīs not laggy - itīs only because itīs recorded from screenshots )


On-Screen Navigation:
  • Swipe somewhere on your screen up / down to change selections
  • Swipe to right to enter
  • Swipe left to go back
Last edited by Android-Andi; 28th February 2014 at 12:13 AM.
The Following 21 Users Say Thank You to Android-Andi For This Useful Post: [ View ]
29th November 2013, 05:25 PM |#3  
OP Recognized Contributor
Thanks Meter: 17,342
 
More
DOWNLOADS


Please donīt mirror my files without my permissions!

Last edited by Android-Andi; 27th December 2014 at 03:06 PM.
The Following 33 Users Say Thank You to Android-Andi For This Useful Post: [ View ]
29th November 2013, 05:25 PM |#4  
OP Recognized Contributor
Thanks Meter: 17,342
 
More
FAQ

GENERAL
1. I found a bug.
You can post all bugs in this Thread! Please tell us your Device and the File / Recovery (including Version number) you are using.
You can use your recovery to safe a recover.log on your device - you can post this log and me or other user will have a look on it.
Please give us detailed information - this meight speed up to fix it

2. I am getting "Error: 7" in recovery, what is wrong?
  • Be sure you flashed a Recovery for your device!
    [For P5100 = P5100 Recovery ; P5110 = P5110 or P511X Recovery ; P5113 = Use P5110 or P511XRecovery(!)]
  • Be sure the file was made for your device!
  • Try the latest Version of Recovery for your device, maybe your recovery is to old!

For KitKat (Android 4.4):
All latest Recovery's posted here now can flash Android 4.4 Roms! You will get "Error: 7" if you use an older reovery!
Minimum: CWM 6.0.4.4 or TWRP 2.6.3.1 or PhilZ NON Touch 6.00.1 (Advanced CWM) - or use any newer Version if available for your device!


DEVELOPER
1. How to compile this recoverys from source?
You need to compile CWM first! It it works you can try building TWRP or Advanced CWM / PhilZ NON Touch recoverys!

2. How to compile cwm from source?
Follow the Guide on how to compile CyanogenMod from Source for P5110 - you need this setup!
(For p5100 replace "p5110" with "p5100")
Small changes to this Guide at the moment:
  • Replace
    Code:
    repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
    with init for CM10.2 source:
    Code:
    repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
  • Follow the Guide until you come to this:mentined
    Code:
    $ brunch p5110
    to build recovery you need to enter this instead "brunch":
    Code:
    make clean && make -j# recoveryimage
    (Replace the # with the core count +1, so if you have a dual core it's -j3 and a quad core becomes -j5, etc.)
  • If it finished compileing (if nothing goes wrong):
    Code:
    cd $OUT
  • You'll have your "recovery.img" inside it
  • You can flash it and see if it works!

3. I compiled a working CWM, how to compile PhilZ NON Touch from source?
Visit PhilZ Main-Thread and read the Developer Informations. You will find it here.

4 I compiled a working CWM and/or PhilZ NON Touch, how to compile TWRP from source?
You will find all informations here: [DEV]How to compile TWRP touch recovery
(You will maybe need to use https://github.com/TeamWin/Team-Win-...t/tree/twrp2.7 as source instead the source from Omnirom)



Usefull links for Devs:
Unpacking and repacking recovery or boot image (LINUX!): http://www.imajeenyus.com/computer/2...ery_image.html
Complete Installation Guide for Android SDK on Ubuntu: http://askubuntu.com/questions/31824...-sdk-on-ubuntu
How to Install Oracle Java JDK on Ubuntu Linux: http://www.wikihow.com/Install-Oracl...n-Ubuntu-Linux



Quote:

More will be added later... i am thinking about it (what to add)

Last edited by Android-Andi; 29th November 2013 at 05:37 PM.
The Following 8 Users Say Thank You to Android-Andi For This Useful Post: [ View ]
29th November 2013, 11:10 PM |#5  
OP Recognized Contributor
Thanks Meter: 17,342
 
More
Changelog:
Code:
28.01.2014
2.6.3.4 --> 2.6.3.5
Backup-Fix:
"Clear the relative directory before passing on to twrpTar with the 
static du object.  Otherwise we will not backup /system/media etc"
e.g. bootanimation not got backuped.
https://gerrit.omnirom.org/#/c/5154/

23.01.2014
2.6.3.3 --> 2.6.3.4
Compiled on Omniīs Android 4.4.2 Source as base
support using old property system
USB Support
(i cherry-picked this commits: 
https://gerrit.omnirom.org/#/c/3389/ and https://gerrit.omnirom.org/#/c/3390/
and put this to the boardconfig 
Code:
BUILD_OLD_SYS_PROPS := true
COMMON_GLOBAL_CFLAGS += -DBUILD_OLD_SYS_PROPS
this makes TWRP compatible with the old update-binary (used in older roms and flahsable zips)) 2.6.3.3: Recovery-Kernel updated from Linux version 3.0.31-CM-g010f848 to 3.0.101-blackhawk Changed Source: https://github.com/kumajaya/android_...ung_espresso10 2.6.3.2 - not released - recovery kernel updated 2.6.3.1: Initial release Source: https://github.com/CyanogenMod -CM10.2 branch Recovery: https://github.com/TeamWin/Team-Win-...t/tree/twrp2.7
Last edited by Android-Andi; 9th March 2014 at 11:30 PM.
The Following 6 Users Say Thank You to Android-Andi For This Useful Post: [ View ]
30th November 2013, 11:06 PM |#6  
OP Recognized Contributor
Thanks Meter: 17,342
 
More
CWM Based Touch-Recovery from Napstar:
CWM Base v6.0.4.5 - Update 21.12.2013

This is a One-Time-Build and i wonīt update it!


!!! SORRY - FILE1 IS DOWN AND I WONīT UPLOAD IT AGAIN !!!

Last edited by Android-Andi; 1st June 2014 at 10:59 PM.
The Following 5 Users Say Thank You to Android-Andi For This Useful Post: [ View ]
6th December 2013, 11:35 AM |#7  
OP Recognized Contributor
Thanks Meter: 17,342
 
More
Hey together! Any feedback would be great!
Any Problems?
The Following 2 Users Say Thank You to Android-Andi For This Useful Post: [ View ]
6th December 2013, 06:11 PM |#8  
Senior Member
Flag Doetinchem, NL
Thanks Meter: 140
 
More
Thumbs up
Quote:
Originally Posted by Android-Andi

Hey together! Any feedback would be great!
Any Problems?

Works fine on my P5110. Installed several roms, even simultaneously with other like tablet-ui patch and kernel.
Also backup and restore works fine.

Thanx for the great work.

Grtz,

John
The Following 2 Users Say Thank You to John_Br For This Useful Post: [ View ]
15th December 2013, 07:00 PM |#9  
nachordez's Avatar
Senior Member
Flag Madrid
Thanks Meter: 946
 
More
Quote:
Originally Posted by Android-Andi

Hey together!

I updated kernelsource. you can test TWRP 2.6.3.3 if you want - itīs not tested by me.

Any feedbacl would be great

Youīll find flashable zips for custom recoveryīs and odin flashable *.tar.md5 here: https://www.file1.info/album/L0zFSb1

Link doesn't work...

from gt-p5110
15th December 2013, 07:37 PM |#10  
Junior Member
Thanks Meter: 8
 
More
Quote:
Originally Posted by nachordez

Link doesn't work...

from gt-p5110

http://www.file1.info/OKRmlyp

found in OP

cheers
The Following 2 Users Say Thank You to gregorovitch For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread