yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Original Android Development] jdstrydom:
I will,but is this t03g not for n7100 ? If it will work as proof of concept in t0lte n7105 I will gladly flash to test.

Edit. Flashed it anyway and will post link to log. F2fs is available now for format, but I was unable to format cache as test.

Link: https://www.dropbox.com/s/9ng9kvd1v77pfdc/recovery.log
[Galaxy Note II Original Android Development] bigbiff:
Sorry thought you said you had n7100. Can you run mkfs.f2fs /dev/block/mmcblk0p12 manually from TWRP in adb shell and let me know what it says.

Also here is a test build for t0lte http://techerrata.com/bigbiff/openrecovery-twrp-2.7.1.1-t0lte.zip
[Galaxy Note II Original Android Development] jdstrydom:
No problem with the confusion.

1) Flashed the twrp build you provided.

2) rebooted to recovery

3) went to advanced and terminal and typed the command.

Message was

/ # mkfs.f2fs /dev/block/mmcblk0p12

I:Actual command is: 'cd "/" && mkfs.f2fs /dev/block/mmcblk0p12 2>&1'

sh: mkfs.f2fs: not found

The same for ext4

/ # mkfs.ext4 /dev/block/mmcblk0p12

I:Actual command is: 'cd "/" && mkfs.ext4 /dev/block/mmcblk0p12 2>&1'

sh: mkfs.ext4: not found

So, I'm either in the wrong folder where I started the terminal mkfs.f2fs from(no, I see there is a cd / in actual command, so that is not the problem), or the relevant mkfs utilities are not available.

edit: I did a find . -print | grep mkfs in the root / directory while in recovery, and the only results were:

./sbin/mkfs.vfat

./sbin/mkfs.ext2

and the only mkfs related program in sbin is make_ext4fs

The new recovery for t0lte does not have the f2fs filesystem option when changing for example /cache or /data filesystem, although the n7100 t03g version I wrongly flashed on t0lte previously had it.

I did the following via adb shell while in recovery, and same result as using terminal in twrp:

jdstrydom@a32266-Latitude-E6520 ~ $ adb shell

~ # mkfs.f2fs /dev/block/mmcblk0p12

/sbin/sh: mkfs.f2fs: not found

~ #
[Galaxy Note II Original Android Development] Allstar1000:
Hey guys I have installed 2.7.1.0 but wenn i try to do a backup of my Rom it says data partition is to big. It is really crazy the backup manager says the data partition is something like 588338483932429 bytes

Some any idea

Gesendet von meinem GT-N7100 mit Tapatalk
[Galaxy Note II Original Android Development] bigbiff:
OK, please try http://techerrata.com/bigbiff/openrecovery-twrp-2.7.1.1-t0lte.zip
[Galaxy Note II Original Android Development] bigbiff:
You can try the new repair function in TWRP on /data. Wipe->Advanced Wipe->Select Data->Repair or Change File System->Repair->Swipe to Repair

Let me know if it works.
[Galaxy Note II Original Android Development] jdstrydom:
OK I did.

Option to format to f2fs available now. Thanks.

Does not format though. Attached is a screen shot of the last few lines in the log, and link to full log is https://www.dropbox.com/s/9ng9kvd1v77pfdc/recovery.log

Edit: running mkfs.f2fs /dev/block/mmcblk0p12 in adb & twrp terminal does not result in error message. No result is displayed. Not formatted.
[Galaxy Note II Original Android Development] bigbiff:
Can you do the manual command and paste the output of dmesg? adb shell "dmesg > /sdcard/dmesg.txt"
[Galaxy Note II Original Android Development] jdstrydom:
Morning,

I think I found the issue. The problem is on my side, and not TWRP's fault.

I modified my cache size on t0lte to be 100MB instead of the default 1GB, and f2fs seems to have a minimal filesystem size which my system do not satisfy.

mkfs.f2fs /dev/block/mmcblk0p12

F2FS-tools: mkfs.f2fs Ver: 1.1.0 (2012-11-29)

Info: sector size = 512

Info: total sectors = 199193 (in 512bytes)

Error: Min volume size supported is 104857600

I wil rather be testing with /data or /sdcard which has a bigger size, and post results / dmesg if there is an error. I doubt there will be an issue though since you provided the latest recovery.

Thank you again for assisting me with this.

Regards
[Galaxy Note II Original Android Development] dekela:
out of topic question, Does Samsung Stock supports f2fs or only AOSP?
[Galaxy Note II Original Android Development] bigbiff:
You can run a custom kernel for TW that has f2fs implemented.
[Galaxy Note II Original Android Development] yogesh324:
Hi [MENTION=2638973]bigbiff[/MENTION] have u looked into the recovery log I posted 2 pages back about usb otg cable not connecting
[Galaxy Note II Original Android Development] bigbiff:
I asked for you to post it as an attachment because I was unable to get dhst to download the file.
[Galaxy Note II Original Android Development] yogesh324:
I did upload it as an attachment should I give u the link for it

Here is the link for the post where I uploaded the log file as an attachment

http://xdaforums.com/showthread.php?p=53230801
[Galaxy Note II Original Android Development] bigbiff:
Sorry I missed the updated post. Looking now.

EDIT

I am not seeing any events on when you plug your OTG device in dmesg. Did you get the output after you plugged it in?
[Galaxy Note II Original Android Development] yogesh324:
No sir I dont see any thing its not detecting otg ... I thought it was cables problem or maybe my pendrives as fault I canged both and still dont get any response and usb otg option in recovery shows 0 mb.... also both usb otg and pendrives are workin with my phone turned on I m usin phoenix rom v18.8
[Galaxy Note II Original Android Development] bigbiff:
So you:

1. boot twrp

2. plugin in drive via otg cable

3. dmesg > /sdcard/dmesg.txt and post the results please
[Galaxy Note II Original Android Development] yogesh324:
K will post this tomorrow I dont have pen drive with me right now.. anyway thanx for help
[Galaxy Note II Original Android Development] coolfire:
Tried 2.7.1.0 for SHV-E250S, couldn't restore any stuff from it. :p
[Galaxy Note II Original Android Development] edo_xda:
unfortunately 2.7.10 cannot decrypt my /data either.

again, I'm not offered to enter my password.

I have to stick to 2.7.0.0 for now
[Galaxy Note II Original Android Development] bigbiff:
Can each of you please provide logs?
[Galaxy Note II Original Android Development] coolfire:
Oops... Apologies, I totally forgot about that, mate: https://paste.tinyw.in/index.php/view/87422747
[Galaxy Note II Original Android Development] djie:
Dear Guys,

What's the different between t03g.zip, t03gduoszn.zip and t03gub.zip. Recently I just flashed the t03gub and now my N7100 can't boot up normally.

At the first page I can't find the information about this.
[Galaxy Note II Original Android Development] bigbiff:
t03g - international 3g

t03gub - i believe was a chinese variant

t03duoszn - dual sim chinese variant

I never made pages other than t03g because they were only a few people using them.
[Galaxy Note II Original Android Development] djie:
I see . . . Thanks. For my trouble, I've re-flash with t03g one yesterday and it's works flawlessly :)
[Galaxy Note II Original Android Development] bigbiff:
Hi can you provide a log with the restore happening please?
[Galaxy Note II Original Android Development] rendler:
Managed to format and restore /data and boot fine. But now cannot access recovery or boot the system since trying to boot into recovery again just keeps restarting continuously every time at the recovery logo.

Update: Managed to get the system to boot again by creating an odin flashable version of Devil kernel's recovery then rebooting system from that. Now just waiting for a fix so can go back to TWRP.

PPS: After doing restore on /system it gets formatted back to ext from f2fs before the restore is started.
[Galaxy Note II Original Android Development] bigbiff:
We only support restoring the original format of the backup for legacy reasons. You will need to reformat f2fs on system then reinstall the rom. 2.7.2 has a fix for the twrp segfault you saw in twrp.
[Galaxy Note II Original Android Development] rendler:
Okay thanks. Also the looping was caused on 2.7.2.0. Can't pull recover.log either as can't seem to find it anywhere after boot.
[Galaxy Note II Original Android Development] bigbiff:
You might need to odin stock firmware first.
[Galaxy Note II Original Android Development] yogesh324:
Hi sorry for the late response as I lost my pen drive bought a new one copied some files to it and here is the dmesg of it

Ps :- also with latest 2.7.2.0 both ext card and usb otg dont work
[Galaxy Note II Original Android Development] bigbiff:
Hi, I do not see the plugin of the device in dmesg. You took this output after you plugged it in?
[Galaxy Note II Original Android Development] yogesh324:
Yes

---------- Post added at 11:05 PM ---------- Previous post was at 11:04 PM ----------

I also checked it after booting up and it was workin normally
[Galaxy Note II Original Android Development] bigbiff:
Please try http://techerrata.com/bigbiff/openrecovery-twrp-2.7.2.0-t03g.zip
[Galaxy Note II Original Android Development] :
Install 2.7.2.0 on my n7105 (t0lte) and after that I can't see ext sdcard in recovery. With 2.7.1.0 everything worked.

thanks
[Galaxy Note II Original Android Development] bigbiff:
Can you upload /tmp/recovery.log please?
[Galaxy Note II Original Android Development] ext2:
Thanks for your quick reply. I already reverted to 2.7.1.0 with Mobile Odin but can install 2.7.2.0 again to test, but can't find /tmp/recovery.log with es file explorer (root). Is there any special procedure to generate that file?

Thanks
[Galaxy Note II Original Android Development] bigbiff:
Go to Advanced then Copy Log to SDcard. It will be under /sdcard in android.
[Galaxy Note II Original Android Development] ext2:
Sorry for the late response.

When tried to save log to ext_sdcard receive the following message:

Updating partition details

Full SELinux support is present

E: unable to mount '/external_sdcad'

Copied recovery log to /external_sdcard.

Then after reboot again to recovery and choose internal storage I got the following log:

Thanks
[Galaxy Note II Original Android Development] AndyBury:
not seeing my ext card

2.7.2.0 is not seeing my ext 64gb card, had to go back to 2.7.0.2:crying:
[Galaxy Note II Original Android Development] :
2.7.2.0 works well. Thank you very much.
[Galaxy Note II Original Android Development] xavivts:
Hello, I have a file that has been generated TWRP folder as it is useful for something. Regards

Enviado desde mi GT-N7100 mediante Tapatalk
[Galaxy Note II Original Android Development] bigbiff:
Please upload recovery.log.
[Galaxy Note II Original Android Development] bigbiff:
That is where TWRP stores it's settings database.
[Galaxy Note II Original Android Development] yogesh324:
Hi @ bigbiff I got usb otg working I was inserting it in wrong order first I used to plug otg with pen drive plugged in.. I solved it by first plugging in otg cable and the plug the pen drive it works after that

As for 2.7.2.0 its not showing ext sd card here is the log

Edit :- sorry uploaded wrong recovery log... will upload correct one in just a bit
[Galaxy Note II Original Android Development] bigbiff:
Can you get the output of cat /proc/filesystems in TWRP?
[Galaxy Note II Original Android Development] yogesh324:
K give me 5 mins

Edit:-

Here is the output

nodevsysfs
nodevrootfs
nodevbdev
nodevproc
nodevcgroup
nodevtmpfs
nodevbinfmt_misc
nodevdebugfs
nodevsockfs
nodevusbfs
nodevpipefs
nodevanon_inodefs
nodevdevpts
ext2
ext3
ext4
nodevramfs
vfat
msdos
nodevecryptfs
nodevfuse
fuseblk
nodevfusectl
f2fs
nodevselinuxfs
[Galaxy Note II Original Android Development] ext2:
Just for the record with my n7105 and TWRP 2.7.1.0 I can't mount usb otg and ADB doesn't work too.

Thanks
[Galaxy Note II Original Android Development] bigbiff:
Did you try 2.7.2.0?
[Galaxy Note II Original Android Development] ext2:
Yes. But like I said here: http://xdaforums.com/showpost.php?p=53436592&postcount=1556

external sdcard doesn't work.

Thanks
[Galaxy Note II Original Android Development] bigbiff:
While in TWRP 2.7.2.0 upload the following output from these commands as attachments:

cat /proc/filesystems > /sdcard/filesystems.txt

cat /proc/partitions > /sdcard/partitions.txt

dmesg > /sdcard/dmesg.txt

Thanks.
[Galaxy Note II Original Android Development] ext2:
Here they are

Thanks
[Galaxy Note II Original Android Development] bigbiff:
Can you try http://techerrata.com/bigbiff/openrecovery-twrp-2.7.1.0-t0lte.zip
[Galaxy Note II Original Android Development] ext2:
Ok! With this version everything seems to work properly (ext sdcard and usb otg).

Thanks
[Galaxy Note II Original Android Development] bigbiff:
Can you see if backup to exfat sdcard works?
[Galaxy Note II Original Android Development] andrew.mackew:
Is this a new release with a fix or the previous version itself? Thanks
[Galaxy Note II Original Android Development] bigbiff:
I will do a new release tonight.
[Galaxy Note II Original Android Development] andrew.mackew:
Thanks! :)
[Galaxy Note II Original Android Development] ext2:
Sorry for the delay. Made a backup right now and no problems. So I think this version is 100% working.

Thanks
[Galaxy Note II Original Android Development] AndyBury:
2.7.2.1 Where?
[Galaxy Note II Original Android Development] vincentshjuan:
It's in the OP, further down where you see a section that says DOWNLOAD. Click on that link and you will get to the download page where you can choose which format you prefer to install by.
[Galaxy Note II Original Android Development] bijoy91:
2.7.2.1 is only available for n7105 not n7100 ..
[Galaxy Note II Original Android Development] bigbiff:
n7100 had the fix already built in place.
[Galaxy Note II Original Android Development] mrlove6:
i know that man !! but as you can see here it is only twrp-2.3.1.1-n7100 when i am looking for the 2.3.1.2

Download - Zip Method:

goo.im/devs/OpenRecovery/n7100/openrecovery-twrp-2.3.1.1-n7100.zip

Mirror: www.techerrata.com/file/twrp2/n7100/openrecovery-twrp-2.3.1.1-n7100.zip

Install using your existing recovery like you would any other zip.

Reboot and select TWRP from the boot menu.
[Galaxy Note II Original Android Development] bigbiff:
Doh, need to update the links.
[Galaxy Note II Original Android Development] saberzaid:
After installing this recovery my booting is slow. And even booting to recovery is slow . Whats wrong?
[Galaxy Note II Original Android Development] bigbiff:
I fixed it in 2.3.1.2. I put 2.3.1.3 on goo.im recently if you want to try it with exfat. Haven't updated OP yet.
[Galaxy Note II Original Android Development] saberzaid:
Yes i did install the 2.3.1.3 but still sane prob
[Galaxy Note II Original Android Development] Nazar78:
Hi bigbiff, thanks alot. I saw the user agent below from my proxy script.

GET /devs/OpenRecovery/n7100/openrecovery-twrp-2.3.1.3-n7100.img HTTP/1.1
User-Agent: Dalvik/1.6.0 (Linux; U; Android 4.1.1; GT-N7100 Build/JRO03C)
Host: goo.im
Connection: Keep-Alive
Accept-Encoding: gzip

Here is the full log: https://dl.dropbox.com/s/oiz4qe6lfoksv4j/tmp.log?dl=1

GooManager never successfully download any of the contents, with or without proxy, on wifi or data.

But I was able to download directly from my phone:
[Galaxy Note II Original Android Development] CRudner:
Wow, what an improvement on the boot times to recovery. Its like 10x faster and the way booting to recovery should be.

Great work bigbiff!

Just one thing I still see is not working, when I downloaded recovery via goomanager it gives the confirmation that it has successfully installed recovery but when I boot to recovery its still the prior version. Had to use Mobile Odin for update.

Thanks again for your work on TWRP.

via XDA Premium HD - GT-N7100 - Omega v6 - RedPill Kernel - TWRP 2.3.1.3
[Galaxy Note II Original Android Development] Reb0rn:
Yeah boot time is blazing compared to before. Great job! Thanks!
[Galaxy Note II Original Android Development] bigbiff:
Would you mind posting a logcat for goo manager?
[Galaxy Note II Original Android Development] CRudner:
No problem, I have attached one.

Sorry if is big, but I have never done a logcat before :p
[Galaxy Note II Original Android Development] dsapac:
When you do backup. It is better to do complete backup of system / efc / .... and put it on ext sdcard. I read about some problems with efc like imei lost and some cache problems that users didnt back it up. Nice work on TWRP. I use custom recovery back from I-9000 till GT-N7000. But when I flash this... realy dev nice work
[Galaxy Note II Original Android Development] CRudner:
Yes. Make sure you have a backup of your efs, it very important in case something goes wrong.

via XDA Premium HD - GT-N7100 - Omega v6 - RedPill Kernel - TWRP 2.3.1.1
[Galaxy Note II Original Android Development] Reb0rn:
May I just be so rude as to ask for a way to actually change or delete old backups from within the recovery?

That would make it 200% complete...
[Galaxy Note II Original Android Development] bigbiff:
You can already do this...

When you select the backup in restore you can push the rename button to rename the backup, or delete button to delete the backup.

You can also you the file manager under the Advanced button.
[Galaxy Note II Original Android Development] CRudner:
Also you can use Rom Janitor which is compatible with TWRP backups. On boot it will erase a backup according to X (age or number if ) and Y (time range or set number) preferences.

I highly recommend it, been using it for a year.

via XDA Premium HD - GT-N7100 - Omega v6.1 - RedPill Kernel - TWRP 2.3.1.3
[Galaxy Note II Original Android Development] dsapac:
Hello again. I am checking if this is OK. I am still on stock rom and stock kernel. I see that TWRP or CWM and kernel arent together. I have drivers installed on Win 7. Because I use before I9000 and GT-N7000. But here are a little different procedure.

I need Odin

I need CWM: TWRP *.tar file for GT-7100

Boot my phone to download mode: press Vol down + Home +Power, And then, press Volume UP button in Warning Page to enter the Download Mode

Connecting my phone to PC and run Odin and wait till device successfully added to com port

Under PDA i load image of *.tar

Only Auto reboot and F.Reset

Click Start it will auto reboot device

Vol UP + Home +Power for TWRP

Full wipe ( data/cache/dalvik/format system )

Install rom

Install kernel

When I install rom and kernel it will automatic root my phone (busybox and supersu binarys and supersu apk)
[Galaxy Note II Original Android Development] CRudner:
Yes, that is the correct process.

You should be fine with that, just make sure you make a backup of your stock rom before wiping. Just in case...

via XDA Premium HD - GT-N7100 - Omega v6 - RedPill Kernel - TWRP 2.3.1.1
[Galaxy Note II Original Android Development] phochiom:
Same here. Goomanager not installing recovery although it says it did. Used install zip from older TWRP to update to the new version 2.3.1.3. Really fast!!

Thanks
[Galaxy Note II Original Android Development] bigbiff:
Grrr. If you can send me a logcat after trying in goo manager I can try to take a look.
[Galaxy Note II Original Android Development] King of Rapture™:
Same results here with the GooManager. Also, cannot download the zip from the direct download, as it doesn't complete. Tried at lease 5 times, and the download gets stuck at 99.99%.

How did you use the older TWRP to update to the new version 2.3.1.3?

Best regards,
[Galaxy Note II Original Android Development] yogesh324:
Hi sir but the 2.7.2.0 version cant mount ext sd card and I m usin n7100
[Galaxy Note II Original Android Development] bigbiff:
OK, I thought it was good to go. Thanks, I will send a test build to you tonight.
[Galaxy Note II Original Android Development] koky72:
+1

On N7100 and can't mount ext SD card

Thanks for the hard work you are doing.
[Galaxy Note II Original Android Development] AndyBury:
+1 too
[Galaxy Note II Original Android Development] bigbiff:
Can you guys try http://techerrata.com/bigbiff/openrecovery-twrp-2.7.2.2-t03g.img.tar
[Galaxy Note II Original Android Development] AndyBury:
Looking Good, I have a ExtSdCard again...

all seems to be working again. Thanks .
[Galaxy Note II Original Android Development] koky72:
Working, thanks for your great efforts.
[Galaxy Note II Original Android Development] yogesh324:
[/COLOR]

thank u sir its working properly now
[Galaxy Note II Original Android Development] examiner:
do you have a flashable zip..cant find on the download site..my phone doesn't detect odin...cant flash the tar file
[Galaxy Note II Original Android Development] bigbiff:
I have uploaded 2.7.2.1 for t03g. Only on techerrata because goo.im has disabled uploads for upgrades.
[Galaxy Note II Original Android Development] Seken:
RE:

i tested and working. Thank you.
[Galaxy Note II Original Android Development] :
Can u plz tell me hw can I keep F2FS while installing a rom. The installation of the rom reverts the system partition to ext4. Tried it wit lots of AOSP based roms...
[Galaxy Note II Original Android Development] jdstrydom:
You are going to have to edit some lines inside the script inside the rom zip.

Easier way is just to install rom, stay in recovery, make backup of /system partition, format /system as f2fs,and restore /system back.

Please note that since /system is mostly ReadOnly, you will not get a noticeable benefit from f2fs. F2fs excells with readwrite like /cache and /data.

My advice is to leave /system as ext4 and do the rest f2fs. Much easier when flashing roms
[Galaxy Note II Original Android Development] rendler:
When restoring /system it will revert back to ext4 since it will also restore the whole file system and not just the individual files.

What I currently do is unpack the ROM, edit META-INF/com/google/android/updater-script by changing all instances of ext4 to f2fs. Then saving and repack ready for flashing.
[Galaxy Note II Original Android Development] :
U mean to say just find and replace ext4 with f2fs in the mentioned file and its good to go without any errors.
[Galaxy Note II Original Android Development] rendler:
Yep.
[Galaxy Note II Original Android Development] :
So we will require f2fs compatible kernel and recovery after that method right.
[Galaxy Note II Original Android Development] rendler:
That's a given. Then you can check if everything went well with :

mount | grep '/data ' | cut -d ' ' -f1-5

mount | grep '/system ' | cut -d ' ' -f1-5

mount | grep '/cache ' | cut -d ' ' -f1-5
[Galaxy Note II Original Android Development] :
I renamed all the instances of ext4 to f2fs bt no go.The zip is not being installed. I guess I have to set my android kitchen again.
[Galaxy Note II Original Android Development] jdstrydom:
No it does work. But I did forget to mention that you have to change twrp settings to do rm -rf instead of full mkfs format for formatting partitions. Sorry about that.
[Galaxy Note II Original Android Development] rendler:
Ah, awesome. Thanks for the heads up.
[Galaxy Note II Original Android Development] :
Its working.Thank u very much.
[Galaxy Note II Original Android Development] ipsuvedi:
Which version is latest and bugfree ...2.7.2.1 or 2.7.2.2 ?

Now it became lil confusing ...somewhere 2.7.2.2 is latest...and somewhere it is said that 2.7.2.1 is bug free

:confused:
[Galaxy Note II Original Android Development] yogesh324:
Download the latest one from techerrat it is stable..

For lte 2.7.2.1

For 3g 2.7.2.2
[Galaxy Note II Original Android Development] bigbiff:
If you backup as f2fs it should restore f2fs. It will restore the original partiton format the backup of the partition is in.
[Galaxy Note II Original Android Development] zaydvath:
thank you for your hard work
[Galaxy Note II Original Android Development] ext2:
After a rom fresh install my internal sdcard (n7105) is named 0 in es file explorer. When restore a backup my internal sdcard is renamed to Legacy (?). This wouldn't be relevant if I didn't had a problem with swiftkey that stops working properly (apparently can't find com.touchtype.swiftkey folder in 0/Android/data folder) and only works after a dirty flash of the rom. Please help.

Thanks
[Galaxy Note II Original Android Development] bigbiff:
TWRP should just restore what was there prior, it doesn't touch /data/media/ though. Did you restore a data backup from a previous version of android to a newer version?