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

Status
Not open for further replies.
Search This thread

Android-Andi

Inactive Recognized Contributor
Mar 3, 2013
10,856
29,295
andi34.github.io
Recovery Downloads

Supported recoveries:
* TWRP
--------------------------------------------------------
* PhilZ-Touch-Recovery
CWM Base v6.0.5.1; Advanced Edition v6.59..x (discontinued)
--------------------------------------------------------
* CWM 6.0.5.1 Swipe-Edition - Update (discontinued)
--------------------------------------------------------


Code:
[B][COLOR="Red"]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![/COLOR][/B]

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!
  1. Backup all important stuff! We need to format the device!
  2. Make sure using latest TWRP
  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-08-03
 
Last edited:

Android-Andi

Inactive Recognized Contributor
Mar 3, 2013
10,856
29,295
andi34.github.io
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 :D But it´s working :)

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


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 :D)

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:

Android-Andi

Inactive Recognized Contributor
Mar 3, 2013
10,856
29,295
andi34.github.io
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-[U][B]10.2[/B][/U]
  • 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-Recovery-Project/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/20130301_android_tablet/android/unpack_repack_recovery_image.html
Complete Installation Guide for Android SDK on Ubuntu: http://askubuntu.com/questions/318246/complete-installation-guide-for-android-sdk-on-ubuntu
How to Install Oracle Java JDK on Ubuntu Linux: http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux



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

Android-Andi

Inactive Recognized Contributor
Mar 3, 2013
10,856
29,295
andi34.github.io
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_kernel_samsung_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-Recovery-Project/tree/twrp2.7[/code]
 
Last edited:

T3ER

Senior Member
Jul 4, 2013
97
7
Yeah link doesn't work. In that page there is nothing where i could start downloading. Nothing i click won't start download not even from any mirrors, yes even from no javascript link.
 

Android-Andi

Inactive Recognized Contributor
Mar 3, 2013
10,856
29,295
andi34.github.io
OP Updated with new Download-Links for Different CWM / CWM Based Recoverys.

Something´s comeing..... :)

Z2qTUjvh




Edit:
Download-Links now Available!
 
Last edited:

mcook1670

Senior Member
Jul 3, 2010
52
3
black screen after flashing recovery

I rooted my galaxy tab 2 10.1 5100 and tried flashing the custom recovery, but it doesn't seem to work. When I hold down the buttons to go into recovery it say booting recovery and the screen goes black and nothing happens. I tried waiting a few mins to let it load and nothing happens. I've tried other recoveries and none of them are working. I tried a factory reset and rerooting and still nothing. I've rooted and installed recovery on several devices and never had issues like this..any ideas?
 

Android-Andi

Inactive Recognized Contributor
Mar 3, 2013
10,856
29,295
andi34.github.io
Wich of the recovery are you talking about?
Have you been on Stock Recovery before?
Flashed the *.tar.md5 as PDA in Odin?

Please write all steps you have done, Step by Step.

Try latest CWM:
uncheck Auto-Reboot in Odin too.
When it finished flashing boot into recovery directly from Downloadmode.
 
Last edited:
  • Like
Reactions: tetakpatak
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 96
    Recovery Downloads

    Supported recoveries:
    * TWRP
    --------------------------------------------------------
    * PhilZ-Touch-Recovery
    CWM Base v6.0.5.1; Advanced Edition v6.59..x (discontinued)
    --------------------------------------------------------
    * CWM 6.0.5.1 Swipe-Edition - Update (discontinued)
    --------------------------------------------------------


    Code:
    [B][COLOR="Red"]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![/COLOR][/B]

    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!
    1. Backup all important stuff! We need to format the device!
    2. Make sure using latest TWRP
    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-08-03
    26
    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 :D But it´s working :)

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


    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 :D)

    On-Screen Navigation:
    • Swipe somewhere on your screen up / down to change selections
    • Swipe to right to enter
    • Swipe left to go back
    15
    I am updateing all recoveries.
    CWM 6.0.5.1 recompiled.
    TWRP 2.8.1.1 also uploaded (2.8.3 not working at right, seems to be broken/buggy since 2.8.2).
    PhilZ Touch later today.

    Send from OnePlus One using Tapatalk
    13
    TWRP 2.7.0.0

    P5100
    GT-P5100_TWRP_2.7.0.0.zip

    Odin Flashable:
    GT-P5100_TWRP_2.7.0.0.tar.md5

    P5110
    GT-P5110_TWRP_2.7.0.0.zip

    Odin Flashable:
    GT-P5110_TWRP_2.7.0.0.tar.md5


    Changes:
    https://gerrit.omnirom.org/#/q/status:merged+project:android_bootable_recovery,n,z
    • Fix "\n\n" string in gui_print(), remove unused gui_print_overwrite()
    • 2.7.0.0 (Merged)
    • Change qcom time error messages to info (Merged)
    • Restore capabilities to run-as binary (Merged)
    • Tweak 240x240 theme (Merged)
    • Fix wordwrap in console eating last char if str.size() == max_line_len (Merged)
    • Add word wrap to console output and fix scrolling in console (Merged)
    • Check crypto footer before offering to decrypt (Merged)
    • Check auto generated backup names for invalid characters (Merged)
    • Allow sideloading from /tmp (Merged)
    • Remove unneeded logging (Merged)
    • Remove some unneeded code (Merged)
    • Add capslock support to keyboard (Merged)
    • Look also for buttons when checking if input device is mouse (Merged)
    • fix slash between directories add fixing contexts of Android directory for apps that store stuff here, fix data/data contexts to be recursive
    • Improve ORS scanning of storage locations (Merged)
    • Cache results of GUIObject::isConditionTrue() (Merged)
    • Properly delete all GUIObjects and pages on theme reload (Merged)

    Cherry-Pick-Marathon to get old update-binary work:
    https://gerrit.omnirom.org/3389
    https://gerrit.omnirom.org/3390
    https://gerrit.omnirom.org/5543
    https://gerrit.omnirom.org/5544
    https://gerrit.omnirom.org/5545
    https://gerrit.omnirom.org/5935
    https://gerrit.omnirom.org/5929