yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 7" Android Development] webdroidmt:
Hi Andi, was just about to post. No strictly TWRP backups, I'm a pretty experienced user and know that backups from those two are not compatible. :) Matter of fact if you look back, I was the one who got TWRP initiated here for the Gtab 2. I originally contacted Dees_Troy about a year ago and subsequently started a thread in which joeinternet started compiling 2.4 versions of TWRP for us. http://xdaforums.com/showthread.php?t=2168845

But, let me get to my point. I did some more testing and the newly compiled 2.6.3.4 from Omni source consistently fails to back up the system/media folder. Which is why it's not restoring it. I tried backing up compressed and with no compression, got the same result.

The good news is that I went back and flashed your TWRP 2.6.3.3 OTG version and it's working perfectly. So, it's definitely something with that 2.6.3.4 build.

I'm happy to have my TWRP back again and thanks for following up. :D

Thanks,

Mike T
[Galaxy Tab 2 7" Android Development] Android-Andi:
i an out of thanks [MENTION=4393788]webdroidmt[/MENTION] :p nice to hear it´s working :)

TWRP 2.6.3.3 got compiled on CM 10.2 source as base, maybe this Problem starts with Android 4.4.

It wasn´t working on the "2.6.3.0-KitKat" TWRP too? right?

If not, i´ll add a bugreport to twrp´s github, i already talked to dees_troy and mentioned this bug - nobody reported it to him before :p
[Galaxy Tab 2 7" Android Development] webdroidmt:
Yeah, also didn't work for me on your special KitKat version. Thing is, now I've got so many versions of your TWRP saved on my sdcard I'm confusing myself, I've never used Flashify as much as I have over the last couple of days. :laugh: So, I'll try the KK version again and report back shortly.

Don't know if this matters but all my backups/restores are done on my ext sdcard (sdcard1), maybe that could be a factor???

Dees_Troy is a good guy but probably super busy with Omni, maybe TWRP is his second child now. LOL As I mentioned in my original post, I have the same issue with TWRP 2.6.3.0 + on my Nook HD+

EDIT: Ok, just tried backup/restore with 2.6.3.0 KitKat TWRP and it didn't work. You can tell it's not going to work, as the completed backup results on the exact same rom backup has a 3mb less difference from TWRP 2.6.3.3. The size of my media folder is approx 3mb. I'll just stick with 2.6.3.3 until further notice.

Thanks,

Mike T
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=4393788]webdroidmt[/MENTION] thanks for testing the whole time!

Bug reported: https://github.com/omnirom/android_bootable_recovery/issues/4
[Galaxy Tab 2 7" Android Development] webdroidmt:
Andi, I believe you are right about the problem being compiled with Omni 4.4 source. The dev that compiled TWRP for my Nook HD+ switched to the Omni 4.4 source for his latest TWRP builds and these are not working, just like on my Gtab 2.

I just did a backup/restore with his earlier TWRP 2.6.3.0 build that was compiled based on 10.2 and it works perfectly. I wonder if there is any relationship in the fact that the Gtab and the Nook are both OMAP devices???

Oh well, at least I have TWRP versions that work on KK for both of these devices. :)

Mike T
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=4393788]webdroidmt[/MENTION]

maybe this will fix it :) https://gerrit.omnirom.org/#/c/5154/
[Galaxy Tab 2 7" Android Development] webdroidmt:
Although I'm no expert, that looks like it should work. Big Biff has done a lot of good work in the past on TWRP, so I'm confident. Thanks for the post. :good:

Mike T
[Galaxy Tab 2 7" Android Development] glange65:
Hello all,

These seems like a good place to ask ( plus seriously tired of searching). Last night I performed my usual monthly nandroid backup and discovered (after wiping the tablet), that I can't restore ANY of my backups, due to an MD5 error.

I don't want to get this off track, but I've already tried every tip, hint, and solution posted and nothing has worked. So...for the third time, on three devices, a CWM recovery has failed.

I was going to try a TWRP recovery, but this thread has made me rethink that. So...questions are:

1. Which is better / more stable of the listed CWM or TWRP?

2. Would anyone have an answer or suggestion as to why my backups aren't working? (All the files are there, very large so I know things got backed up).

3. Why do I do this to myself considering how much time it takes to find and fix the constant stream of issues...(rhetorical)

Thank you OP for a smart thread of info. Feel free to IM any answers you have so this doesn't disrupt the thread.

GalaxyTab 2, 7 inch: GT-P3110

AOSPA 3, Paranoid Android 3.68 - Android 4.2.2,

Blackhawk Next kernel 1.6

Recovery: CWM 6.0.2.7

EDIT 1.28.14

As an FYI, in case anyone has a clue....The backups wouldn't restore with the error message "md5 sums do not match".

I tested the backup files.using an md5 calculator app and compared the results to the nandroid.md5 file. The md5 calculations are an

exact match

for the sums listed in the nandroid.md5 file. In addition, there are no spaces or other illegal characters in the file name, and I never changed the file name. In fact, hadn't done anything to them until trying to restore. So...the error message was in error? If so, then what exactly was the problem?
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=3972731]glange65[/MENTION] you can try to update your CWM or try latest advanced CWM to restore your backup. Maybe it´ll work, but not sure.

You can also try to disable the md5 check.

From time to time there have been some Problems of the backup-process for different recoverys. Latest recoverys are fixed (as far as i know).

-----------------------------------------------------------------------------------------------

TWRP updated to V. 2.6.3.5

includeing a fix for backup (Otherwise we will not backup /system/media etc)
[Galaxy Tab 2 7" Android Development] jomar_uk:
Oooops [MENTION=5153662]Android-Andi[/MENTION]

No android-andi of xda again (p3110 version :)

Shalom and many thanks for your hard work, john
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=4571564]jomar_uk[/MENTION] i think there is no need ;) ... but yeah... i didn´t thought about that :D i won´t repack all recoverys now :p

Edit:

Some people mirror my files if it´s added or not (e.g. in a russian forum) - with permissions or without :p won´t change anything :p
[Galaxy Tab 2 7" Android Development] webdroidmt:
Nice! Got your PMs but even though you already tested, I'll test anyway. :D Btw, I have a p3113 for future reference. Also, does 2.6.3.5 have OTG and will all your future TWRP builds have it?

Thanks again,

Mike T
[Galaxy Tab 2 7" Android Development] Android-Andi:
OTG Support now by default ;) i added a line in the twrp.fstab to enable it :)
[Galaxy Tab 2 7" Android Development] webdroidmt:
Way to go Andi, 2.6.3.5 working as expected. System/media now being backed up correctly.

Thank you,

Mike T
[Galaxy Tab 2 7" Android Development] Android-Andi:
Seems like i packed P3110 recovery.img inside the P3100 ZIP last time :p lol.... sorry for the Problems.

I compiled new CWM 6.0.4.7-Swipe from latest Source:
[Galaxy Tab 2 7" Android Development] fooiskandar:
What this recovery support dualboot next kernel ...

don't forget to HIT THANKS !!!
[Galaxy Tab 2 7" Android Development] Android-Andi:
no dualboot support
[Galaxy Tab 2 7" Android Development] Android-Andi:
Some more updates :)

Edit:

No Dualboot support!
[Galaxy Tab 2 7" Android Development] Android-Andi:
IDK if someone doesn´t know how to do a EFS Backup and if all of you already have it ?

I now read 3rd time of broken EFS because people flashing CWM wich wasn´t build for our device.... device won´t boot with a broken EFS Partition.

Here´s how to Backup EFS: http://xdaforums.com/showpost.php?p=50182886&postcount=2
[Galaxy Tab 2 7" Android Development] antutu:
There's also a function to backup efs partition through twrp, tho have never used it beforehand ;p

However, backing up efs partition when everything (system, kernel, recovery etc) on stock will be great :good:
[Galaxy Tab 2 7" Android Development] Android-Andi:
Time for Updates! :)

Some changes in TWRP Source, also Cherrypicked:

https://gerrit.omnirom.org/5543

https://gerrit.omnirom.org/5544

https://gerrit.omnirom.org/5545

https://gerrit.omnirom.org/5546
[Galaxy Tab 2 7" Android Development] Bhaskara Rao:
You are really indefatigable! Thanks a lot!
[Galaxy Tab 2 7" Android Development] Bhaskara Rao:
Checked Backup and Restore options. Both trouble free.
[Galaxy Tab 2 7" Android Development] Android-Andi:
Odin flashable added too
[Galaxy Tab 2 7" Android Development] hadi_xman:
how to install CWM 6.0.4.7?
[Galaxy Tab 2 7" Android Development] Rotundjere:
Excuse me, but the ( www.file1.info ) is not working on my side.

When I click [download] botton, it only refresh the page.... what should I do ?
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=3315292]Rotundjere[/MENTION] wich file do you need? i can upload somewhere else for you later or attach it here for you.
[Galaxy Tab 2 7" Android Development] Rotundjere:
[MENTION=5153662]Android-Andi[/MENTION]: thanks, I already got the file from Philz touch recovery thread
[Galaxy Tab 2 7" Android Development] Android-Andi:
Great news :) PhilZ Touch now can get compiled from Source :)

P3100

GT-P3100_PhilZ-Touch-Recovery_6.18.7.zip

GT-P3100_PhilZ-Touch-Recovery_6.18.7-blackhawk.zip

P3110

GT-P3110_PhilZ-Touch-Recovery_6.18.7.zip

GT-P3110_PhilZ-Touch-Recovery_6.18.7-blackhawk.zip

Things i need to do after work (will be ready late in the evening):

update OP

upload *.tar.md5

repack the reoverys for Dual-Boot support :)
[Galaxy Tab 2 7" Android Development] alexforsale:
same here, I need the P3100 TWRP, can someone reupload the file somewhere else? www.file1.info also only refreshing the same page
[Galaxy Tab 2 7" Android Development] Android-Andi:
ask you can read in OP, don´t mirror without my permissions. you can ask me to mirror them.

Here´s the TWRP 2.6.3.6 zip: LINK REMOVED
[Galaxy Tab 2 7" Android Development] alexforsale:
thanks, and don't worry I wont mirror it.
[Galaxy Tab 2 7" Android Development] Android-Andi:
uploaded latest PhilZ Touch as Odin flashable *.tar.md5

Updated Download-Section:

New Aroma-Filemanager (27.02.2014)

Added Mirror on my Dev-Host for all latest Recoverys

Remove Direct-Links for Recoverys, now you can also download older recoverys - choose the file you wan´t

this will also safe me a lot of time - updateing the post steals me a lot of time on every update :p
[Galaxy Tab 2 7" Android Development] :
using GT-P3100_PhilZ-Touch-Recovery_6.17.8-blackhawk.zip, got an errors after flashing in recovery:

E: cannot write to /sdcard/clockworkmod/.last_install_path << when finish flashing

E: cannot write to /sdcard/clockworkmod/recovery.version << when reboot

but i don't feel any effects. all flashing is complete :)
[Galaxy Tab 2 7" Android Development] Bhaskara Rao:
When you flash Recovery, it creates a folder 'clockworkmod' and two files last_install_path and recovery_version. In your case these two files were not written in that. IIDK the reason. These files are for information, I suppose.
[Galaxy Tab 2 7" Android Development] Android-Andi:
Re-uploaded :p PhilZ Touch Version 6.18.7 :p i named the zip wrong before :D

if you have already downloaded, no need to download again ;)
[Galaxy Tab 2 7" Android Development] tetakpatak:
[MENTION=5153662]Android-Andi[/MENTION] what do you think, as PhilZ recovery above 6.15.xx supports F2FS we also just need a kernel updated to be able to use benefits of the F2FS now. It is up to 2 times faster than ext4. I hope [MENTION=4021423]ketut.kumajaya[/MENTION] will at least consider this.... blackhawk's NEXT could break the wall. Also latest CWM and TWRP feature F2FS support now.

Devil2 dual-boot kernel for Note 2 (both N7100 and t0lte, incl Verizon) and for the i9300 has been updated in January to support F2FS. DerTeufel1980 has released both kernel and recovery with F2FS support. Quite crazy thing, how linux-hearts of our Android devices start to beat with f2fs :)

The workflow to get it working there is about this:

Whole internal SD card gets formatted to F2FS with the recovery that supports it. Previously, the f2fs kernel must be flashed also, and nandroid backup should be done that way. Then all data from internal SD card must be saved somewhere else, all partitions formatted to f2fs, nandroid backup restored and /data moved back to the internal memory. A crazy fast device with turbo boost in speed and performance will be result.

The drawback is flashing nightlies....not good idea anymore, as the ROMs will re-format parts of internal memory back to ext4 by installing process. The development would probably need to provide two variants of the same ROM: ext4 and F2FS one of each.... What do you think about whole thing?
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=5051515]tetakpatak[/MENTION] as you know, i am not a kernel-dev and that means: How should i do this? :D I am still learning and getting better and better, but i still need to learn much more. it´s impossible for me to add F2FS for us... you know, i talked to [MENTION=4196889]DerTeufel1980[/MENTION] before because we live in the same city, but he´s a really hard busy working developer and spends a lot of time in his works and there´s no time left for our good and old tab 2 :p

i don´t think [MENTION=4021423]ketut.kumajaya[/MENTION] will work on this specially for tab 2 (he don´t own a tab 2 anymore) , maybe he´ll take a look on it for Tab 3 ;) :p

btw. [MENTION=5051515]tetakpatak[/MENTION] maybe i have a surprise for ALL Tab 2 user later, i´ll pm you for Tab 2 10.1 if i got it (don´t know if it works as i it should) :D :D ;)
[Galaxy Tab 2 7" Android Development] Bhaskara Rao:
Eagerly awaiting the surprise
[Galaxy Tab 2 7" Android Development] Android-Andi:
Nothing in / for this Thread.... i am still waiting to test my surprise :D but i still need to wait 1-2 hours :p Stay Tuned on other Threads here in Development-Section :) ;)

Maybe tomorrow morning or tomorrow evening ;)
[Galaxy Tab 2 7" Android Development] tetakpatak:
OK, just PM me :)

I hope [MENTION=4196889]DerTeufel1980[/MENTION] will have now bit more time for checking the kernel repo:

For once, he will ceirtanly be pleased to know that you have managed to compile dual-boot kernel and dual-boot recovery working for all the Tab 2 variants.

For second, his devil2-kernel and recovery works now amazing also as F2FS, so he may be bit less busy (I hope). Back in January, he was working hard on his project and you were also in an early stage. Now it is much more attractive moment to help (if he wants).
[Galaxy Tab 2 7" Android Development] Android-Andi:
For P31XX i only repacked the recovery, same for P51XX.

I didn´t compile NEXT Kernel, p31xx by ketut.kumajaya and p51xx NEXT Kernel only repacked by me :p

But i am working on compileing dual-bootable PhilZ Touch from Source ;) (99% done :D )
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
[MENTION=5051515]tetakpatak[/MENTION], [MENTION=5153662]Android-Andi[/MENTION] Maybe my experience convert rfs to ext4 useful in f2fs migration ;)
[Galaxy Tab 2 7" Android Development] iamashwin:
@Android-Andi

can you please compile blackhawk dual boot capable TWRP too

It would be great to have it

Else tell us how to get it fused into recovery.img of Twrp
[Galaxy Tab 2 7" Android Development] Android-Andi:
i need to dig around it, not sure if it works on twrp too
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
[MENTION=5051515]tetakpatak[/MENTION], [MENTION=5153662]Android-Andi[/MENTION] F2FS quick test :D I managed to build mkfs.f2fs and fsck.f2fs from CM's f2fs-tools. With [MENTION=4196889]DerTeufel1980[/MENTION] f2fs commits + a quick hack in blk_types.h, f2fs formatted /cache mounted without problem :D

EDIT: https://github.com/kumajaya/android_kernel_samsung_smdk4x12/commits/cm-11.0-f2fs
[Galaxy Tab 2 7" Android Development] iSagar7:
You are freakin Awesome maHn..

I think you should get on to some tab 2 community also we miss your work and your rom..

Kudos bro..!! :highfive:
[Galaxy Tab 2 7" Android Development] Android-Andi:
You know that you are crazy?!?
[Galaxy Tab 2 7" Android Development] tetakpatak:
OMG!!!!!!! OMG!!!!!!!!!

Ketut, you are just genious! I can not express my respect in words!!!!!

OK, I will now wait until [MENTION=5153662]Android-Andi[/MENTION] compiles it for my P5110 and can gladly write then a little guide for F2FS users as soon as I've tried all works :D I have it on my Note 2 with devil2 kernel and dual boot recovery....

Only in short: move all data from internal storage on safe place (PC or external SD card), flash F2FS recovery, flash F2FS kernel, create nandroid backups of ROM(s), format all partitions of internal memory to F2FS in recovery mode, restore nandroid backup(s).

ATM, it is great for people who want to stick longer time with their ROMs, and not practical for nightly flashers, as installing ROM on regular way will reformat system and data partitions to ext4. But having an own device in hands with unimaginable speed is great feeling :D

BTW after checking Phil's commits again, I'm not sure it PhilZ fully supports yet F2FS as at least there should be an option to format partitions into F2FS but [MENTION=4666971]Phil3759[/MENTION] is surely capable of adding this (if he hasn't already, as there are right now PhilZ updates happening nearly on daily basis)
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
My latest build failed to boot, again :( This really slow down my work on f2fs adaptation.
[Galaxy Tab 2 7" Android Development] sim_tcr:
Hello Andi,

I am running your CWM 6.0.4.7 Swipe-Edition.

Is there a way we can disable touch/swipe completely?

Thanks,

Simon Mandy
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=5246045]sim_tcr[/MENTION] no. But you can still use the buttons ;)
[Galaxy Tab 2 7" Android Development] sim_tcr:
Thats what i am doing, but some accidental swipes did something unintended.
[Galaxy Tab 2 7" Android Development] Android-Andi:
Sorry, but i am not planning to build without Swipe.
[Galaxy Tab 2 7" Android Development] antutu:
You can always have no touch cwm from jenkins server, since thus recovery always build along with nightlies. That's why Andi didn't have to built cwm no touch. Ensure you grab for the device. Find in http://jenkins.cyanogenmod.com/job/android/ just replace the recovery.img inside the zip file with the recovery from jenkins.
[Galaxy Tab 2 7" Android Development] tetakpatak:
After just bit or practice, you will probably be glad to have a touch recovery instead of one with mechanical controls.
[Galaxy Tab 2 7" Android Development] sim_tcr:
Hello Andi,

I want to try dual booting with blackhawk-next-kernel-2.1.6-p31xx.zip. Can I use CWM 6.0.4.7 Swipe-Edition for recovery?

Thanks,

Simon Mandy
[Galaxy Tab 2 7" Android Development] tetakpatak:
No mate, you need for dual boot PhilZ dual boot recovery as well as the blackhawk tool 0.1

You may find those files in blackhawk's Next kernel thread.
[Galaxy Tab 2 7" Android Development] Android-Andi:
TWRP 2.7.0.0
[Galaxy Tab 2 7" Android Development] webdroidmt:
Andi, you might want to switch the links for the P3110. I know you're good but I didn't think you could make a zipfile that flashes with Odin. ;) :D

Thanks for the new build, out of thanks will catch you later.

Mike T
[Galaxy Tab 2 7" Android Development] iamashwin:
:D he just misplaced the links !

Good have more new builds comming
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=4393788]webdroidmt[/MENTION] i fixed it :p sorry it was ~ 3:00 AM and i was really tired :p :D ....

i´ll now clean my room and buy something to eat, maybe i find some time to see if i can get it dual-boot-supported.... but not sure about that :p else i´ll have some time on sunday.
[Galaxy Tab 2 7" Android Development] Bhaskara Rao:
Dual boot would be boon!
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=5605959]Bhaskara Rao[/MENTION] i know that, but i need to recompile the recovery first to get it smaller... i need to compile it again using a different kernel-config to make it small as i can... after that you need to press the thumbs, because it needs some modification and i am not sure if it will work the same way it works on PhilZ Touch...
[Galaxy Tab 2 7" Android Development] Bhaskara Rao:
[MENTION=5153662]Android-Andi[/MENTION] You are incredible! You can do it faster than the Tab 2 community expects! But do take care of proper rest and food.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
[MENTION=5051515]tetakpatak[/MENTION], [MENTION=5153662]Android-Andi[/MENTION] Finally, my PhilZ Touch repack and NEXT kernel works with ext4 or f2fs formatted /cache :D I will ask [MENTION=4666971]Phil3759[/MENTION] to enable f2fs support for Tab 3 target. Used /cache as playground for now, I will freeing my SD card to convert /data to f2fs.
[Galaxy Tab 2 7" Android Development] Android-Andi:
You are awesome man!
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Believe me, we will switch from ext4 to f2fs smoothly :D
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=4021423]ketut.kumajaya[/MENTION] maybe we can talk in ~ 3 - 5 hours on hangouts if you have time ;) maybe you can give me some instructions :)
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=5605959]Bhaskara Rao[/MENTION] and all other, i tried to get TWRP dual-bootable, but stuck at samsung logo and needed to flash a new recovery using Odin to boot my device :p Tricky :D Maybe [MENTION=4021423]ketut.kumajaya[/MENTION] has any idea on how to make TWRP dual-bootable.

Edit:

Got it booting, but can´t say if i want to boot primary- or secondary-recovery :p lol :D Seems like the aroma binary can´t be executed :p

Edit:

Still no luck... Flashcounter = 29 now :p i don´t want to start the over 30 Party today :D (i mean: idk how to get this dual-bootable :p)
[Galaxy Tab 2 7" Android Development] tetakpatak:
[MENTION=4021423]ketut.kumajaya[/MENTION] hat down, man, you are awsome!!!!! Endless thanks! :)

I'm just curious, what do you say about performance boost with F2FS? Noticable? Or did you not yet format all partitions of the internal SD to F2FS, so it was first of all kernel check?
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
[MENTION=5153662]Android-Andi[/MENTION] I have no idea for now, please upload your TWRP dual boot repack somewhere.

[MENTION=5051515]tetakpatak[/MENTION] No enough free space to convert /data to f2fs for now. Still working on recovery and kernel to make sure both working with ext4 and f2fs.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
[MENTION=5153662]Android-Andi[/MENTION], [MENTION=5051515]tetakpatak[/MENTION] Tomorrow is a family day. I will make my PhilZ Touch repack smarter later but my goal to make NEXT kernel compatible to both ext4 and f2fs filesystem (for /data and /cache for now) just finished :D
[Galaxy Tab 2 7" Android Development] psndna88:
[MENTION=4021423]ketut.kumajaya[/MENTION] i have published f2fs supported kernel, waiting for f2fs supported recovery. . . also hope philz brings f2fs to his recoveries soon
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
[MENTION=5153662]Android-Andi[/MENTION] Please adapt https://github.com/kumajaya/android...mmit/68123ed5ddfb3157f0fbc7e14bc2254d7425d79e to your source and then rebuild PhilZ Touch. I will upload dual boot patch with f2fs support later. Still thinking about the best way to support f2fs formatted /system . Complicated, my recovery and kernel must support both ext4 and f2fs on both 1st and 2nd ROM :D