yashsingh1/xdaforums huggingface dataset:
[Nexus 10 Original Android Development] RealPariah:
Yes the internal storage is ALL storage inside said device whether it is /system /data or pretty much anything else [I did note the partitions as they sectioned off the different parts being used as flashes happened since day 1 we have established Data and Internal storage are the same.

Even given that you can use rm to remove only files [like how the dalvick cache format is actually really only removing files existing on a partition and not a whole partition so to speak], so even with data and internal storage sharing the same space you can still create tools/utilities that can selectively wipe what is in the /Data directory whether it is actually a whole different partition OR just a directory within an existing partition without taking out the information stored in the /SDCard directory.

If you need an example see CWM recovery if I go to Mounts and storage and ask it to wipe /data it does wipe all of /data and leaves my SDCard Directory alone. Same with Factory Reset anytime I used it in CWM it removed /system and /data and left /mnt/sdcard directory alone is all I was driving at.

So using the first link you provided and the explanation there you could set a script to run through and delete everything in /data while skipping /data/media [whether you use sed for the dir name itself or use a particular file that is found there on every device [if there is one somewhere] it is very possible to wipe what is found in /data while not touching the contents of /data/media. Of course this is not a FORMAT which is different, but you should RARELY RARELY need to format anything with a journalised FS like EXT 3 + so we are only talking wiping here or the full removal of data found not the actual reformat of a partition but since I see TWRP using rm it doesn't appear to be doing a full partition removal and re-create scheme as-is.

---------- Post added at 01:20 PM ---------- Previous post was at 01:13 PM ----------

Right, but if the function were to skip just the directory housing the what is labeled as SDCard contents you would never need a computer. Besides nothing on /sdcard is going to interfere with any ROM installs it is /system /data and both cache and dalvick cache that all need to go for a clean install.

and before you say well some apps may back settings up to sdcard this is very true, yet if the app is not in data on boot the settings are not loaded hence cause no issues, and thus no real need to bother with them for a clean install.

I also remember last time [I believe about a week ago] I ran the Darkside Superwipe even via TWRP it went through formatted system and data and left my "sdcard" contents alone [not only that it also ran a nice disk alignment for me as well] so that may be another resource to check if interested in not formatting the contents of "sdcard" when you want to do a clean install.

Besides since I am always on the move and got my tablet to replace most of the desktop or laptop functionality [lighter, easier, and nicer to carry/use] I hate to then force myself to be tethered to it when that is not necessary.
[Nexus 10 Original Android Development] alias_neo:
I had issues with the terminology, but as Dees suggested, I read, and found there is an option to reset without wiping your media dir.

I have to agree with you though that the terminology is a little confusing. That can be solved by theming it yourself though with whatever descriptions and names you want for the various wipe options.
[Nexus 10 Original Android Development] chugger93:
I have cwm right now but wanna try this. Can I just run the fast boot command and flash this over cwm? Reboot and I should be golden?
[Nexus 10 Original Android Development] Dees_Troy:
Yes
[Nexus 10 Original Android Development] Evostance:
Is it possible to save backups to USB from within TWRP?

I'm not sure if all the OTG stuff is accessible at this stage?
[Nexus 10 Original Android Development] Dees_Troy:
USB OTG worked for me. Best way to do it is to back up directly to the USB stick. Just select external on the backup screen before running the backup.
[Nexus 10 Original Android Development] yumcax:
USB OTG is working great for me as well, I have all my backups and flashable .zips on a FAT32 USB drive.
[Nexus 10 Original Android Development] cal3thousand:
Maybe people should just understand what wiping /data means.

if internal storage is a subsection of /data, wiping /data means it's all gone.

At least there is an option in this recovery. Other recoveries won't even give you the "factory reset" option that leaves your "internal storage" portion of the /data partition alone.
[Nexus 10 Original Android Development] rlrbjr:
I just tried to backup directly to an otg connected 64gb fat32 USB stick. After about 30 minutes of work making very slow progress I gave up. It's much faster to backup to internal memory and then copy the backup to my USB stick.

Anyone have any idea why a direct backup is so slow?
[Nexus 10 Original Android Development] yumcax:
R/W speed of the internal memory on the Nexus 10 is quite fast, whereas your USB stick is probably a lot slower. Combine that with the 4GB max filesize of FAT32, and everything gets a lot slower. I get about 5MB write on my USB stick, so yeah it takes quite a while.
[Nexus 10 Original Android Development] Dees_Troy:
Write speeds on the nexus 10 internal storage are very fast at about 30MB/second. USB sticks aren't created equal. The performance can vary a lot & often you get what you pay for.
[Nexus 10 Original Android Development] lilazndude:
Decrypting?

I just tried backing up my encrypted Nexus 10 and I'm not able to. I suspect it's not decrypting? :confused:

I tried renaming an apk in /data/app and it's not allowing me to. It's also giving me errors such as E :Unable to mount '/usb-otg' when I'm attempting that.
[Nexus 10 Original Android Development] ricco333:
For a full wipe check boxes 1,2,3,4 the last box leave unchecked.

Erik
[Nexus 10 Original Android Development] fifthelement:
Has 2.8.3 removed f2fs support ? Seems it is not there anymore.
[Nexus 10 Original Android Development] _DarkKnight_:
TWRP 2.8.4.0 recovery flashable zip :highfive:
[Nexus 10 Original Android Development] tvBilly:
Looks like 2.8.4.0 shows the battery level and the (correct) time.

It still takes many minutes to format the cache (but only on my N10, not my N5). :(

As before, you can change the setting to rm -rf instead of format, if you don't want to wait.

Edit: Oh, and I forgot, no more need for .zip versions of image files. This version of TWRP supports installing .img files. :)
[Nexus 10 Original Android Development] Khaon:
Hello can somebody tell me if this version includes f2fs support.

Sent from my Xiaomi MI2s
[Nexus 10 Original Android Development] lepa71:
Last time I checked, it does not.
[Nexus 10 Original Android Development] DanderMan:
After updating to 2.8.4.0, TWRP isn't asking me for the encryption password anymore
[Nexus 10 Original Android Development] jblaylock:
Any custom themes for TWRP for the N10?
[Nexus 10 Original Android Development] MJPollard:
If you find any good ones, let me know, willya? I've been looking high and low for ones for mine, and it seems there are almost no custom TWRP themes for landscape mode out there. :(
[Nexus 10 Original Android Development] trickster2369:
You could try these :

http://xdaforums.com/showthread.php?t=2511282

Sent from my SinLess Shamu
[Nexus 10 Original Android Development] MJPollard:
Those do look nice. Unfortunately, they're all for portrait mode (phones), not landscape mode (tablets). Appreciate it, though!
[Nexus 10 Original Android Development] VivaErBetis:
New version 2.8.5.0 here:

http://techerrata.com/browse/twrp2/manta

What's new in 2.8.5.0:

- Scale the GUI - TWRP can read the theme's resolution and scale it up or down to fit the theme to your screen's resolution

- Improve thread handling and move input handling into the main rendering thread to improve stability

- Make MTP work even if unplugged and plugged back in

Unify scrollable list code and make kinetic scrolling feel more natural

- Fix handling of mapped zip files for OTA updates (CM12 updater)

- USB keyboards should now work on all devices that support USB host mode via a USB OTG cable

- Other small fixes and improvements
[Nexus 10 Original Android Development] tobitege:
Waiting for 2.8.5.1. [MENTION=912474]Dees_Troy[/MENTION]: if you need a tester for Bacon, Manta or G3 (D855) I'd be happy to help.
[Nexus 10 Original Android Development] jojo30:
Any luck for a zip file??
[Nexus 10 Original Android Development] damngood98:
look up "flashify" in the playstore if you're uncomfortable with fastboot
[Nexus 10 Original Android Development] drewski_1:
you can take an older zip posted in this thread and replace the image file with the current one. just change the img file name to match what was in the Zip to begin with.

or TWRP now supports flashing image files, if you have 2.8.4.0 already installed
[Nexus 10 Original Android Development] Paulenski:
Cmupdater is still having trouble installing automatically. It stalls with

"E: zip is corrupt

E: error installing file..."

I flashed the img twice to 2.8.5.0, but its continued to give the same error. Anyone else experiencing this? I saw the changelog mention a correction with this error.
[Nexus 10 Original Android Development] damngood98:
I'd recommend fastboot or flashify but I think there's even a flashable zip in this thread if you search
[Nexus 10 Original Android Development] aheeejd:
Link in op is dead, & also, wtf, the twrp app in play store doesn't support this device. I see 27 nexus 7's, the 9, hammerhead, but no manta. What a joke
[Nexus 10 Original Android Development] damngood98:
not sure what link you were using but the one that takes you to their home website leads you directly to this. or if you're interested, i've got one with a custom splash screen on it here

never used the app though. but i've seen users across several devices complain about issues. try flashify or just use fastboot
[Nexus 10 Original Android Development] aheeejd:
No, I know, the site must have been down or I had WiFi issues cause the only reason I got the app was cause I couldn't get img file from site. I went to work, tried when I got home & all was good. I don't usually spout off like that but 2 teenage step daughters fired me up over shower lol. Anyway thanks sir, I'll check out the links you provided.
[Nexus 10 Original Android Development] mastahdeano:
Weird Wipe problem

Last night I flashed DU L and it worked, and its cool, but I don't know how or why it worked because nothing went smoothly. I think it might have been a TWRP issue or an issue with my device in general.

I was running a 4.4.2 (NOT DU). My root had disappeared so I used the SkipSoft Toolkit to re-root it, after solving adb driver difficulties on my new laptop. I had Clockwork, but I I flashed the new TWRP via SkipSoft, and the new SU when I rooted.

When I went to WIPE, I got an error message, such as /cache directory not found, mkdir data something something and it stalled, and I had to hard boot. At this point It didn't boot back into my old ROM, so I was soft bricked. I tried to WIPE again and it stalled again. Tried it again, but this time selected everything but internal storage. There were still errors but it ended up saying successful. I know I was supposed to do a complete wipe for this but I didn't know how to make it work and i was starting to get nervous so I flashed DU L, and it booted up.

What amazed me was ALL MY APPS were still there? HOW?! I couldn't believe it, it's nice but I know something is wrong with my device. I was shocked that it booted up at all, I thought for sure I would have to RUU or something.

I would pull a log, but I don't know how. Input?

Thanks
[Nexus 10 Original Android Development] VivaErBetis:
New version 2.8.6.0 published here:

http://dl.twrp.me/manta/

CHANGELOG for 2.8.6.0:

-Fix daylight savings time rules for USA and Europe (_that)

-Allow mulitple overlays for popup boxes (Dees_Troy)

-Add pattern style password entry for decrypt (Tassadar)

-Keyboard improvements (_that)

-Update AOSP base to 5.1 (Dees_Troy)

-Reduce theme count to 5 and rely on scaling (Dees_Troy)

-Various scaling improvements (Dees_Troy)

-Improved handling of resources in the GUI (_that)

-Make scroll bar size proportional to list size (_that)

-Allow scoll lists to render without a header (_that)

-Make console scroll per pixel with kinetic scrolling (_that)

-Support styles in XML to reduce XML size and improve consistentcy (Dees_Troy)

-Various other fixes and improvements (mdmower, bigbiff, codelover, etc)
[Nexus 10 Original Android Development] tvBilly:
There are bunch of bugs reported in the Nexus 5 version of 2.8.6.0 (check out the twrp thread in the N5 forum here).

Might want to wait for 2.8.6.1 in case the same bugs exist in the N10 version, or at least check out the N5 twrp thread so you know what to look out for...
[Nexus 10 Original Android Development] sfobrien:
Been running it all day, no issues as of yet.
[Nexus 10 Original Android Development] adomol:
This version of twrp for N10 is fine... it is not suffering from the issues of the N5 twrp release. You are good to go if you want to flash it.
[Nexus 10 Original Android Development] gbeardmore:
Broken Link to 2.8.6.0

This link from the TWRP Web Site doesn't seem to work:

http://dl.twrp.me/manta/twrp-2.8.6.0-manta.img

After multiple clicks, it will finally show a file to DL, but the file is only about 5k in size.

FWIW
[Nexus 10 Original Android Development] tathagatab:
Worked perfectly for me first time. Maybe it's a network issue on your end?
[Nexus 10 Original Android Development] damngood98:
are you downloading the md5 by chance? i downloaded it just to comfirm, no problems

https://www.dropbox.com/sh/h9fk9c3snir2epr/AABrOG8j7vW_UKqmwaTlSM8ba?dl=0
[Nexus 10 Original Android Development] gbeardmore:
Well, I could not successfully DL the image file with either of my Android devices. (Nexus 10 and LG G2) They both aborted the DL every time, after about 5.09k. But, I was able to DL it just fine on my Windows PC.

I have no issue DL'ing any other file on either Android device, and that includes 1+ Gb ROMs. Go figure...
[Nexus 10 Original Android Development] DanderMan:
[MENTION=912474]Dees_Troy[/MENTION]: Unfortunately Encrtyption still doesn't work with 2.8.6.0 (last working version is 2.8.3.0)
[Nexus 10 Original Android Development] sgtslaughter64:
I am running the latest HTC one M8 TWRP and the program won't recognize my external SD card. Any ideas?
[Nexus 10 Original Android Development] drewski_1:
How is the card formatted?

Also, this is the N10 twrp thread [emoji6]

Sent from my Moto X
[Nexus 10 Original Android Development] netboy3:
Updated Device Tree

Anyone knows where to get an updated device tree to build the latest TWRP for manta? The one on Github is a JB branch and hasn't been updated for years.
[Nexus 10 Original Android Development] alteredlikeness:
Use aosp or cm device tree, and update for twrp.

https://android.googlesource.com/device/samsung/manta/+/lollipop-mr1-release

https://github.com/CyanogenMod/android_device_samsung_manta/tree/cm-12.1
[Nexus 10 Original Android Development] netboy3:
alteredlikeness thanks for the info. Unfortunately TWRP has many changes over the AOSP/CM one that are specific to TWRP. I was hoping either @Dees_Troy or any other maintainer would be able to simply update github with the currently used tree (as most other devices are) and save me the effort of re-inventing the wheel.
[Nexus 10 Original Android Development] hanspampel:
New TWRP 2.8.7.0 is online. No changelog atm. My flashable zip attached. I know its not neccessary.;)
[Nexus 10 Original Android Development] beekay201:
Hey,

With 2.8.7.0, will resize2fs in TWRP be able to take care of the issue with /system partition, i.e. resizing your /system partition size to match the size of the block device?
[Nexus 10 Original Android Development] glockman4519:
You are awesome. This is greatly appreciated.

"Chance Favors the Prepared"
[Nexus 10 Original Android Development] Khaon:
You can use omnirom's device tree for this:good:
[Nexus 10 Original Android Development] glockman4519:
Maybe I am doing something wrong or have my settings wrong but I can not use the updated (2.8.7.0) TWRP recovery. It keeps saying that it can't mount data partition or that it can't mount system partition. I tried a factory re-set and the only partition it could mount and then wipe was cache and failed on data wipe. I tried to manually mount system and data and it will not even let me do it manually. So I tried to copy log and it failed on that as well.

I will keep trying to figure this out on my own but any helpful input would be greatly appreciated.

I got a recovery log by plugging in my USB OTG dongle and copying the log over to it via TWRP recovery. I am going to go back to 2.8.6.0 for now. Here is a Google drive link to the recovery log that I got and I hope it helps to figure out what I'm doing wrong.

https://drive.google.com/file/d/0ByTpk6hgHRa5LXBNRmtFMmsxUVk/edit?usp=docslist_api

"Chance Favors the Prepared"
[Nexus 10 Original Android Development] drewski_1:
are you formatted F2FS?

i had some similar errors and they went away after i replaced this "stock" TWRP with Khaon's 2.8.7.0 modified TWRP.

download link is in this thread

http://xdaforums.com/showthread.php?t=2778248
[Nexus 10 Original Android Development] glockman4519:
Worked like a charm. Thank you for the information. I never changed the format of any of my partitions though and never do. But it worked and I really appreciate it.

"Chance Favors the Prepared"
[Nexus 10 Original Android Development] drewski_1:
cool. glad it worked out!
[Nexus 10 Original Android Development] Khaon:
Seems from the log you shared that your /data partition was formated with f2fs.

Currently the kernel used by the twrp build bot doesn't come with f2fs drivers, therefore that's why official twrp doesn't recognize and can't handle f2fs partitons .

Envoyé de mon Nexus 10 en utilisant Tapatalk
[Nexus 10 Original Android Development] glockman4519:
After digging a bit deeper, which I should have done to begin with, I found that my data partition was indeed formatted f2fs instead of what I thought it was, which was ext4. So I have formatted my data partition back to ext4 but I'm going to keep the modified recovery for now just in case I decided that I may want to format back. To be honest, I really didn't notice a big difference in the performance upon switching.

Thank you to "drewski_1 and Khaon" who enlightened me for all the help.

"Chance Favors the Prepared"
[Nexus 10 Original Android Development] case-sensitive:
I got my hand on a N10 that is still running stock 4.3 (!), rooted and with TWRP 2.4.1.0 installed. What is the safest way to upgrade to the latest TWRP? THANKS!
[Nexus 10 Original Android Development] jojo30:
You should find the latest zip version of twrp, I don't recall if 2.4.1.0 support img file

Στάλθηκε από το Nexus 10 μου χρησιμοποιώντας Tapatalk
[Nexus 10 Original Android Development] Izeltokatl:
Just flashed the latest 3.0.0.0 TWRP works great so far, did a system wipe, flashed a new rom and Gapps. Nice UI.
[Nexus 10 Original Android Development] :
Sounds good.

How long did it take to wipe your system partition?
[Nexus 10 Original Android Development] donslade:
I tried it but had issues so I went back to the previous version I had installed.

TWRP 3.0.0-0 would not retain settings - time zone, screen time out, etc. - would not recognize /data (it is F2FS format so maybe that is it), would not recognize OTG storage so I could not back up or see previous backups on my OTG flash sdrive.

I does look very nice and I hope we get a working version since I prefer it over other recoveries.
[Nexus 10 Original Android Development] Izeltokatl:
I was able to flash rom and boot up just fine in roughly the same time as on 2.xxxx version.
[Nexus 10 Original Android Development] drewski_1:
The official version for Manta does not support F2FS. You should try the Unofficial version from Khaon (it sounds like you have an older version from him, if you're running F2FS on /data)
[Nexus 10 Original Android Development] donslade:
Correct, I have his unofficial TWRP 2.8.7.0. Waiting on his version of 3.0.0.0

And I just downloaded his 3.0.0.0 so I'll be testing it later today.

UPDATE: Installed and working great. All features work as expected including support for F2FS. And the blue theme is very nice, same as on my Moto X 2014. I installed the Khaon's unofficial 3.0.0.0 image file via the install feature in his unofficial 2.8.7.0.
[Nexus 10 Original Android Development] MJPollard:
Installed 3.0.0 on mine. Nice UI refresh (very similar to the beta theme @z31s1g put out a while back), especially since there are virtually no third-party landscape mode themes out there (that aren't based around a video game or other such thing). But that orange... can't say I'm a fan. Reminds me too much of Gingerbread. ;) I'd rather have Holo Blue, myself.
[Nexus 10 Original Android Development] aheeejd:
Well, I flashed IMG using flashify, which have used before & it just boots to bootloader, hit start, & back to bootloader, hit recovery, back to bootloader, if I hit power off it seems to go off, then I hit power button & back to bootloader. I was running AICP 6.0.1 prior, any ideas

Bummed, flashify worked fine on my ls990. Guess I should have waited for a zip.

Oh & I'm not formatted to that f2 whatever it is, just regular
[Nexus 10 Original Android Development] donslade:
The same thing happened to me after I used Flashify last time to update TWRP. Had to reinstall the ROM since I then had a wiped tablet. Sorry to bear the bad news.

My solution was to never use Flashify. I had a similar bad experience with the TWRP app on another device so I don't use it either.

To update from TWRP 2.8.7.0 to 3.0.0.0 this time I used the img install feature in TWRP. Worked like a charm.
[Nexus 10 Original Android Development] aheeejd:
Ok thank you sir, so I have to use PC & just adb shell everything to tablet that way yeah? I've used flashify on my lg g3 several times & no issues, along with lots of people saying the same in threads. Oh well, never make that mistake again, wish I knew about the IMG feature already in twrp. Live & learn.....
[Nexus 10 Original Android Development] donslade:
Not saying that Flashify won't work for you. Just saying that my experience with it was not as good as others had. I chose to use a different method.
[Nexus 10 Original Android Development] :
Update: https://dl.twrp.me/manta/twrp-3.0.0-1-manta.img.html

Gesendet von meinem Nexus 10 mit Tapatalk
[Nexus 10 Original Android Development] donslade:
Thank you for the updated file. What is new in this version?
[Nexus 10 Original Android Development] aheeejd:
Oops
[Nexus 10 Original Android Development] aheeejd:
I think I really lucked out, I used Wugs toolkit, plugged in device, set up, clicked root, & recovery, it flashed twrp, & it said it was going to temporarily boot twrp, so it did, & device sat there, I looked around & noticed all my files still there, & went for it, I unplugged device from PC, wiped using twrp (new) & flashed aicp & gapps & booted right up. Back in business with latest twrp & getting ready to flash latest aicp, thanks twrp team
[Nexus 10 Original Android Development] ceramista01:
Flashed twrp 3.0.0 with flashify. No problems whatsoever.
[Nexus 10 Original Android Development] Foxweed:
Nexus 10 running Mantaray LMY49G

TWRP version 3.0.0-1-manta

Quick question... is TWRP meant to automatically create a /supersu folder in my root directory?
[Nexus 10 Original Android Development] drewski_1:
i don't have a /supersu folder on my devices with TWRP 3.0.0-X

i do have a /su folder in device root directory that was created by SuperSU for Systemless Root. is that what you're seeing?