[RECOVERIES][P31xx] 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
But I don't have access to a PC for a while (at least a week)


Thanks, I had tried twrp manager but it crashed miserably.. I'll now try ROM manager..and yes it's. Cyanogen recovery not cwm
You can use terminal as root too and use dd
https://github.com/andi34/samsung_galaxy_tab2_secrets/blob/master/Install-Recovery-By-Hand.txt

You can extract the recovery.img from twrp.zip
Make sure using right path ;) else you could brick your tab.

Gesendet von meinem LG-H815 mit Tapatalk
 

putr4s

Senior Member
Oct 14, 2013
405
186
@Android-Andi Great job with the new espresso common recovery, it no longer takes forever to install ROMs. The p3100 closed source sensor blobs now fails to flash, but I suppose it's included in "Roms compiled before 22.03.2016".
 

Android-Andi

Inactive Recognized Contributor
Mar 3, 2013
10,856
29,295
andi34.github.io
@Android-Andi Great job with the new espresso common recovery, it no longer takes forever to install ROMs. The p3100 closed source sensor blobs now fails to flash, but I suppose it's included in "Roms compiled before 22.03.2016".
Yes. Will reupload the sensor zip later today.

Gesendet von meinem LG-H815 mit Tapatalk
 

bikrame

Senior Member
Jun 10, 2010
2,148
527
New York City
Hey guys , i have Philz recovery now and I want to install TWRP , i downloaded zip file from Andys page. should i just flash it via Plizs ? thanks in advance.
 

Gideon.Salim

Member
Feb 18, 2014
19
3
Problem flashing TWRP from CWM 6.0.5.1


So, I tried to flash TWRP using CWM, at first time, it can boot into TWRP Recovery. At first screen, I allow for modification. All things work properly, I can flash AOSP ROM and go to home screen. I went back to recovery to flash AOSP ROM for second time (I was trying to get GApps works). On the third attempt to go to recovery mode, I got stock recovery with this error message:
Supported API: 3
E:Cannot load volume /misc!

Anybody know what that means?

I need to go back to old CWM 6.0.5.1, is it possible?

Any suggestion is really appreciated :)
 

Android-Andi

Inactive Recognized Contributor
Mar 3, 2013
10,856
29,295
andi34.github.io
Looks like @Ziyan hasn't disabled recovery flash on AOSP, you are on AOSP recovery atm :p haven't used it myself, so idk if you can flash twrp or cwm from it - try it :) else you'll have to use Odin or Heimdall.

You should delete /system/bin/install-recovery.sh after flashing AOSP to not get AOSP recovery installed on booting the rom (use adb shell or filemanager in TWRP).

~ All my work, news etc. on http://andi34.github.io ~
 

Gideon.Salim

Member
Feb 18, 2014
19
3
Looks like @Ziyan hasn't disabled recovery flash on AOSP, you are on AOSP recovery atm :p haven't used it myself, so idk if you can flash twrp or cwm from it - try it :) else you'll have to use Odin or Heimdall.

You should delete /system/bin/install-recovery.sh after flashing AOSP to not get AOSP recovery installed on booting the rom (use adb shell or filemanager in TWRP).

~ All my work, news etc. on http://andi34.github.io ~

@Android-Andi, thanks for prompt reply! You're helpful person :D

Yes, I think I'm in AOSP Recovery, there is some label mentioned 'Ziyan' in it :)

Currently I'm charging my tabs. I can't "update from SD card" in AOSP recovery, it complain can't find volume. I will try using Odin to flash old CWM and recover SlimLP ROM since I can't get GApps works on latest AOSP.

I will report on AOSP thread later.
 
  • Like
Reactions: Android-Andi

Gideon.Salim

Member
Feb 18, 2014
19
3
@Android-Andi, thanks for prompt reply! You're helpful person :D

Yes, I think I'm in AOSP Recovery, there is some label mentioned 'Ziyan' in it :)

Currently I'm charging my tabs. I can't "update from SD card" in AOSP recovery, it complain can't find volume. I will try using Odin to flash old CWM and recover SlimLP ROM since I can't get GApps works on latest AOSP.

I will report on AOSP thread later.

Thanks @Android-Andi, now I'm running on AOSP ROM and TWRP for the recovery.
 
  • Like
Reactions: Android-Andi
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 104
    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 (discontinued)
    --------------------------------------------------------


    Hey together!

    You´ll find different Recoverys for P3100 and P3110/P3113 in this Thread :)

    All latest Recovery´s can flash Android 4.4 (KitKat) Roms!

    Enjoy!



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

    2. Information about the Recovery´s

    3. Downloads

    4. General FAQ & Developer FAQ & Recovery Changelog


    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!

    TWRP
    Thanks
    @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: @antutu @philidor @zaid.oj @zeetherocker


    PhilZ-Touch-Recovery (Advanced CWM)
    Thanks @Phil3759 for his Advanced CWM
    Main-Thread for PhilZ Touch Recovery: http://xdaforums.com/showthread.php?t=2201860


    ClockworkMod Recovery (CWM) Swipe-Edition
    Thanks
    @ketut.kumajaya for his "android_kernel_samsung_espresso10" source
    @CodyF86 for CM11 tree and his forked "android_kernel_samsung_espresso10" source
    @ CyanogenMod-Team (thanks @codeworkx for supporting our device) for CM10.2 source

    XDA:DevDB Information
    [P31xx] 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
    47
    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
    25
    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 P3100 = P3100 Recovery ; P3110 = P3110 Recovery ; P3113 = Use P3110 Recovery(!)]
    • 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!

    3. Why there is no Portrait Recovery?
    ketut.kumajaya:
    "(...) Samsung used the easiest way to rotate a landscape framebuffer device as a portrait device: rotate the touchscreen driver and then leave the surfaceflinger to rotate Android graphics. A framebuffer application (recovery, AROMA) still detect the framebuffer orientation as landscape. Back rotate the touchscreen orientation is much easier than rotate the framebuffer and LCD driver."


    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 P3110 - you need this setup!
    (For p3100 replace "p3110" with "p3100")
    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 p3110
      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



    Recovery-Changelog

    Changelog TWRP:
    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"
    
    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
    
    01.12.2013
    2.6.3.2 --> 2.6.3.3: 
    Recovery Kernel updated from 3.0.96-Espresso10++ to 3.0.101-blackhawk
    
    Fixed Bug(s):
    Wrong touch orientation in AromaFM (only P311X)
    
    Source changes:
    using now https://github.com/kumajaya/android_kernel_samsung_espresso10
    -------------------------
    30.11.2013
    2.6.3.1 --> 2.6.3.2: 
    Recovery Kernel updated from 3.0.31-CM-g010f848 to 3.0.96-Espresso10++
    
    Source changes:
    using now https://github.com/codyf86/android_kernel_samsung_espresso10/tree/cm-10.2
    -------------------------
    28.11.2013
    2.6.3.1: Initial release
    
    Base Source:
    https://github.com/CyanogenMod -CM10.2 branch
    Recovery: https://github.com/TeamWin/Team-Win-Recovery-Project/tree/twrp2.7

    Changelog CWM Based Touch-Recovery from @Napstar
    CWM Base v6.0.4.5

    Code:
    20.12.2013
    Fix UI
    ---------------------
    Initial Release 02.12.2013
    
    Base Source:
    https://github.com/CyanogenMod -CM10.2 branch
    https://github.com/kumajaya/android_kernel_samsung_espresso10
    https://github.com/Napstar-xda/android_bootable_recovery

    Changelog PhilZ NON Touch Recovery / Advanced CWM:
    Code:
    24.01.2014
    6.09.3 --> 6.10.6
    inkl. Swipe Feature: 
    CWM Base v6.0.4.7; 
    Advanced Edition v6.10.6
    
    (...)
    
    10.12.2013
    6.01.5 --> 6.02.1:
    [COLOR="Red"]branch cm-10.2 dies here! (for Advanced CWM and PhilZ Touch)[/COLOR]
    -------------------------
    09.12.2013
    6.00.5 --> 6.01.5:
    Recovery Kernel updated to 3.0.101-blackhawk
    Added Swipe-Feature
    
    Source changes:
    https://github.com/kumajaya/android_kernel_samsung_espresso10
    -------------------------
    6.00.1: Initial release
    
    Base Source:
    https://github.com/CyanogenMod -CM10.2 branch
    Recovery: https://github.com/PhilZ-cwm6/philz_touch_cwm6


    Changelog CWM / CWM-Swipe-Edition:
    24.01.2014
    6.0.4.7-Swipe Edition
    (...)
    Base Source:
    https://github.com/Hellybean/android_bootable_recovery

    Code:
    03.12.2013
    6.0.4.5-Swipe Edition
    Base Source:
    https://github.com/CyanogenMod -CM10.2 branch
    -------------------------
    6.0.4.5: taken from jenkins server (nightly 28.11.2013)