yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Original Android Development] bigbiff:
Can you post /tmp/recovery.log for debugging?
[Galaxy Note II Original Android Development] George_Orever:
Thanks [MENTION=2638973]bigbiff[/MENTION].

log here: http://tinyw.in/3piT
[Galaxy Note II Original Android Development] bigbiff:
Looks like it's not finding the device. Can you get the ouput of dmesg after you plug it in?
[Galaxy Note II Original Android Development] George_Orever:
Thanks. sorry for ask, how can get output dmesg.
[Galaxy Note II Original Android Development] bigbiff:
In TWRP, use adb shell dmesg > /sdcard/dmesg.txt and paste it here.
[Galaxy Note II Original Android Development] George_Orever:
Thanks [MENTION=2638973]bigbiff[/MENTION]. Appreciated.
[Galaxy Note II Original Android Development] George_Orever:
Here is dmesg: View attachment dmesg.txt

BTW, script doesn't work without double-quote, like this: adb shell "dmesg > /sdcard/dmesg.txt"

Regards.
[Galaxy Note II Original Android Development] bigbiff:
You captured this in TWRP after inserting the device via OTG?
[Galaxy Note II Original Android Development] George_Orever:
Yes of course. first pluged usb-otg in device and tried to mount otg, then pluged device with pc and executing adb command. there something wrong. is there specific instructions cab follow.

Thanks.
[Galaxy Note II Original Android Development] bigbiff:
Is the light on the OTG adapter coming on? There is no detection of the usb device in dmesg.
[Galaxy Note II Original Android Development] George_Orever:
light on the OTG adapter. what you mean about that?. I bluged flash drive in device with OTG cable.

Please Sir, can you give me info/link about your OTG cable. my be my OTG cable not compatible with TWRP.

Thanks.
[Galaxy Note II Original Android Development] bigbiff:
Where did you get the OTG cable? I meant the light on the flash drive, sorry. I wanted to make sure it was getting power.
[Galaxy Note II Original Android Development] George_Orever:
oh, sorry for misunderstanding. OTG already working in android (4.4.2). but i guess TWRP can't recognized it. I bought the cable form mobile market.
[Galaxy Note II Original Android Development] bigbiff:
Hmm, I will verify I didn't turn off OTG in the kernel compile.

EDIT:

Looks like it was disabled in my config. Can you try http://techerrata.com/bigbiff/openrecovery-twrp-2.7.0.0-t03g.img.tar
[Galaxy Note II Original Android Development] George_Orever:
Thanks [MENTION=2638973]bigbiff[/MENTION]. I will try and reply. You are the man.
[Galaxy Note II Original Android Development] brian.houaiss:
May I use this recovery for t0lte?

Thanks bigbiff! :)
[Galaxy Note II Original Android Development] bigbiff:
If you need OTG, I can compile a new version of t0lte, but I am still waiting for confirmation that it works.

This has a different default.prop then t0lte.
[Galaxy Note II Original Android Development] brian.houaiss:
Cool, looking forward for that.

Oh, any chance to have UMS for our devices? I realized that my I9300 already have it and it's pretty handy.

Thank you very much bigbiff, you rock! ;)
[Galaxy Note II Original Android Development] bigbiff:
I don't plan on it because it only works with vfat external sdcards.
[Galaxy Note II Original Android Development] bigbiff:
Any luck?
[Galaxy Note II Original Android Development] George_Orever:
[MENTION=2638973]bigbiff[/MENTION], I just figure something don't know if it's related with TWRP or OTG cable/flash drive.

Flashed above one, but mount didn't work.

So, I left cable in device/phone, unpluged flash drive from cable and pluged in again. Now TWRP can recognize flash drive, OTG checkbox in mount menu now checke and now working very well :fingers-crossed::fingers-crossed:.

P.S. 1: msg. (unable to mount usb-otg) still exist if OTG working.

P.S. 2: After confirmed OTG is mount/working great. I will try to flash v2.7 old one that you released since 2/3 weeks, and see if OTG working.

I hope that help's. Sorry for pasting late, I have bad Internet connection.

Thanks :). Regards.
[Galaxy Note II Original Android Development] bigbiff:
The old one won't work because I didn't have OTG enabled in the smdk4412 kernel. I will go ahead and release this version for OTG fix. Thanks for testing.
[Galaxy Note II Original Android Development] George_Orever:
Your welcome. and pleasego to next step and give TWRP ability to format portions as f2fs. That's will makes TWRP the best recovery in world. Thanks man [emoji3].
[Galaxy Note II Original Android Development] bigbiff:
The kernel supports f2fs, but you need to use other means to format the partitions.
[Galaxy Note II Original Android Development] George_Orever:
Yes sir, I know that. Devil CWM or ADB (According to you :)) can handle this issue.

The kernel supports f2fs, it's my first time know f2fs filesystem been implemented in stock 4.4.2 kernel.

Thanks.
[Galaxy Note II Original Android Development] yogesh324:
hi the latest recovery cant mount external sd card...

i have ex fat formatted 64gb sd card

version 2.7.0.0 mounts it but doesnt support usb otg

and version 2.7.0.2 supports otg but cant mount ext sd card
[Galaxy Note II Original Android Development] bigbiff:
Sorry I reuploaded 2.7.0.2 with the fix for exfat.
[Galaxy Note II Original Android Development] bahtsiz_bedevi:
I have the same problem. [MENTION=2638973]bigbiff[/MENTION] log is attached
[Galaxy Note II Original Android Development] bigbiff:
Can you try the reuploaded version and let me know if it works? Thanks.
[Galaxy Note II Original Android Development] bahtsiz_bedevi:
Where is the reuploaded version, the one on twrp website is still the old one.

---------- Post added at 03:27 PM ---------- Previous post was at 03:23 PM ----------

Or I already tried the reuploaded version and it didn't work

file upload time is "2014-04-05 4:05:10 PDT"
[Galaxy Note II Original Android Development] brian.houaiss:
[MENTION=2638973]bigbiff[/MENTION]

Thank you very much for keep this recovery always up! :) You rock! :D And sure, thanks for this update :cool:
[Galaxy Note II Original Android Development] ph03n!x:
[MENTION=2638973]bigbiff[/MENTION], does 2.7.0.2 also fix the full format of /data issue - where F2fs partition gets reformatted to EXT4?

(It's no big a deal, I manage with ADB if and when I have to do that... just checking)
[Galaxy Note II Original Android Development] bigbiff:
Not yet, I still need to do some testing myself. I don't use f2fs on any of my devices.
[Galaxy Note II Original Android Development] brian.houaiss:
Sounds good, cuz I'm thinking to adopt F2FS as my official fs. I was testing in my A500 and it's really fast!
[Galaxy Note II Original Android Development] bigbiff:
Downloading bricked hammerhead kernel source so I can test it out on my hammerhead. I use it mainly for testing TWRP.
[Galaxy Note II Original Android Development] yogesh324:
hi [MENTION=2638973]bigbiff[/MENTION] thanks for uploading the new version but it still cant mount ext sd card
[Galaxy Note II Original Android Development] bigbiff:
I had to re-upload again after someone was helping me test. Can you re-download and try again?
[Galaxy Note II Original Android Development] yogesh324:
I m downloading it right now will report after checking

edit: hi sir now the sd card gets detected but otg cant detect my pen drive
[Galaxy Note II Original Android Development] eddyctweets:
Hi guys im on 2.7.0.0 and running omnirom nightlys on my n7100 I seem to keep getting a failed when I try to update I tried the latest twrp zip also says failed so I updated to 2.7.0.2 via mobile Odin and still no luck. I've tried a few different nightlys and they all have the same thing something about zip authentication failed so I went back to a nandroid and even that won't let me flash any nightlys/updates

Sent from my OMNI N8010
[Galaxy Note II Original Android Development] bigbiff:
Can you post recovery.log?
[Galaxy Note II Original Android Development] eddyctweets:
Problem now solved by reinstalling 2.7.0.2 twrp via odin3 on my laptop in download mode ??

Sent from my OMNI N8010
[Galaxy Note II Original Android Development] bigbiff:
It's failing zip signature verification, which means the download is bad.
[Galaxy Note II Original Android Development] eddyctweets:
It seems to show that but it installed the same file OK once I'd reinstalled twrp and I then had no problem updating to today's nightly. Is it possible an omni update did something to the recovery that messed it up ???
[Galaxy Note II Original Android Development] bigbiff:
Omni wont touch recovery on install. Not sure why it flashed after reinstalling recovery. You didn't try re-downloading the zip?
[Galaxy Note II Original Android Development] eddyctweets:
Nope just used the same file but I'm getting the same thing now on my wife's n5100 so it may be an omnirom problem
[Galaxy Note II Original Android Development] rob_z11:
Can we use this for att/note2? I am on 2.7.0.1 from att forum, and everything works, but would like to use f2fs for system as other partition are f2fs. Other thing about 2.7.0.1 won't save settings for no haptic response.
[Galaxy Note II Original Android Development] bigbiff:
Did you download a test build or try the official 2.7.0.1 build?
[Galaxy Note II Original Android Development] eddyctweets:
I was looking through omnirom changelogs and they show some sort of file changes being done to recovery in and around 5/4 on my n7100.
[Galaxy Note II Original Android Development] rob_z11:
Yes, I have not tried to format the system using the recovery, but may give it a shot. Thanks.
[Galaxy Note II Original Android Development] Ne0x86:
How i can format in f2fs?

Thx

Enviado desde mi Samsung Galaxy Note II
[Galaxy Note II Original Android Development] bigbiff:
You will need to use devil's recovery or mkfs.f2fs on the command line.
[Galaxy Note II Original Android Development] Simone:
How do you guys return to EXT4 when coming from F2FS?
[Galaxy Note II Original Android Development] aBg_rOnGak:
I don't know if there's correct/better way(s) or not, but whst i did was:

1. Make nandroid backup

2. Install Devil recovery and reboot to it

3. Format the partitions to ext4

4. Reinstall twrp and reboot to it

5. Restore nandroid backup and reboot
[Galaxy Note II Original Android Development] simo.scorpion:
Someone have problem with cmupdater ? I try to update cm11 from cmupdater but when reboot into recovery mode nothing happen. I'm on last twrp

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note II Original Android Development] Arafeh94:
can i use this recovery if im on android 4.3 and an mk9 build number without losing my iemi or wifi ?
[Galaxy Note II Original Android Development] DirtyHarrx:
Yes.

Gesendet von meinem Galaxy Note II mit Tapatalk
[Galaxy Note II Original Android Development] edo_xda:
2.7.0.2 can't mount encrypted /data

Looks like 2.7.0.2 has broken mounting an encrypted data partition. It no longer requests the password.

As I reverted to 2.7.0.0 then it works.
[Galaxy Note II Original Android Development] bigbiff:
I haven't changed the build flags. Can you please post /tmp/recovery.log?
[Galaxy Note II Original Android Development] edo_xda:
Hi bigbiff,

here are the recovery logs for both 2.7.0.0 (decryption working) and 2.7.0.2 (password not asked - data not mounted)

cheers
[Galaxy Note II Original Android Development] bigbiff:
How did you encrypt /data in CM or TW?
[Galaxy Note II Original Android Development] edo_xda:
in CM11 settings
[Galaxy Note II Original Android Development] graco2213:
After "fix permissions" I havent got ANY permissions, even browser cant download files, dropbox cant download files, Gmail cant.. Well apps havent got any permissions, After "fix permissions" in this recovery, same with Titanium Backup, I cant backup because tb cant create backup file, After restore I Got fc. Tried to "fix permissions" 10 Times, I formatted whole internal partition and There are still problems with restoring, help!!

Wysłane z mojego GT-N7100 przy użyciu Tapatalka
[Galaxy Note II Original Android Development] graco2213:
Any help..? Im stuck on one rom

Wysłane z mojego GT-N7100 przy użyciu Tapatalka
[Galaxy Note II Original Android Development] bigbiff:
Do you mean restoring from tibu?
[Galaxy Note II Original Android Development] frankieGom:
My Note 2 is encrypted per Corporate policy, and when I moved to a 4.3 ROM I found that the Wanam Xposed module allowed me to bypass the need for a pin code password to unlock the phone. A side effect was that when I reconfigured the mail to my corporate Exchange server, it did not force me to encrypt internal storage, removing the need for entering the pin at boot time (and making the boot blazingly fast again in the process :D). It did not remove the need to encrypt the external storage, however, whoch forced me to leave pin code unlock on.

Long story short, my external SD card is encrypted using the unlock screen min code and Internal storage is not, and when I boot to recovery, TWRP (seen with 2.6.3.0, I haven't tried with 2.7.0.2 yet) does not ask for the lock code and cannot read any file on external storage (especially my backups!).

I suppose TWRP should be able to detect that either internal storage, external storage, or both are encrypted and ask for the password and devrypt as needed. Or am I missing something?
[Galaxy Note II Original Android Development] bigbiff:
Currently we only support decrypting the /data partition. We would need someone to implement decrypting external storage.
[Galaxy Note II Original Android Development] frankieGom:
Is this a fact? I could swear I didn't have the issue when both internal and external storage were encrypted and would routinely backup to external until restore started failing when TWRP stopped asking for password at boot...

I guess I will need to revert to 4.1.2 and test once I find some time.

Thanks
[Galaxy Note II Original Android Development] bigbiff:
I thought we only supported the /data partition. I guess I should look through the code and verify. Maybe I am unaware since I don't use encryption.

Can you post /tmp/recovery.log after the failed attempt to write to external sd?
[Galaxy Note II Original Android Development] frankieGom:
I don't think there's any issue writing to external as, if I understand correctly, TouchWiz will encrypt new files upon reboot, but once this has happened TWRP needs to be able to decrypt to restore a backup.

As a test, I made a fresh backup of cache & recovery, then restored it in the same session to confirm the files can be read by TWRP (i.e they are not encrypted at this point), and rebooted into recovery to check the partition was not messed up.

Then I rebooted into TW and waited until external sdcard encryption was complete (this happens on every songle reboot, by the way, not just when there are new files, and can take a few minutes when there are big files to encrypt) before rebooting into recovery again.

The restore fails as expected: recovery.log

Thanks
[Galaxy Note II Original Android Development] bigbiff:
It looks like you only selected recovery and cache and there are no errors in the log?
[Galaxy Note II Original Android Development] frankieGom:
I did only backup cache and recovery, on purpose as it would be a disaster if I crapped out my phone now so I did not take any chances. Since the point is to show how TWRP behaves on partitions updates to external SD on an encrypted device, once they are encrypted, it does not really matter what partition I backup, right?

Restoring that backup (of recovery and cache only) succeeds if done right after the backup in the same TWRP session (no reboot to TW, no encrypting of the files), but fails once encrypted, however (TWRP displayed failed in red), meaning the files have changed in a way (encryption) that makes the restore fail.

You say there are no errors in the log? I saw something about an incorrect size towards the end...

Anyway, that does not make us progress. If TWRP does not support encryption on external SD then I'll have to update my backup/restore process to avoid ending up with no recent usable backup on board or wait for someone to implement it (I haven't done any serious coding but perl and shell scripts in 20 years unfortunately, call me a script daddy if you will ;)).

If you could just check whether some code is in there to decode external as well, SD that would be nice. I for my part will plan to revert to full encryption (internal and external) on the 7105 to cross check that restoring backups from encrypted external SD works when TWRP knows the password.

And now I'm thinking that maybe, if the code is there, all that's needed is to initialize the password so decryprion works?

thanks for your time!
[Galaxy Note II Original Android Development] bigbiff:
I remember now, I was supporting this under Jellybean Touchwiz roms. However I was wondering if you are running this in jellybean.
[Galaxy Note II Original Android Development] frankieGom:
Yes, this phone is running a ROM derived from the 4.3 based stock ROM, i.e Jellybean Touchwiz (version JSS15J.N7105XXUENC3).

So, if TWRP should be able to decode the files from external SD, is it possible to detect crypted external media, and ask for the pass if it was not needed at boot time? Or have an option somewhere allowing to enter it in case it is needed?

And, do you mean the support is completely different in KK? That what was there before would not work anymore?
[Galaxy Note II Original Android Development] bigbiff:
it doesn't look like it's asking for the password in the log you provided. You encrypted the internal data partition as well as the external sdcard right?
[Galaxy Note II Original Android Development] frankieGom:
No, that's the whole point!

By a bizarre quirk of using Wanam Xposed to bypass Exchange screen lock protection, I ended up with internal storage non encrypted and external storage encrypted (see my original post from yesterday if you need more detail on how this happened). Therefore TWRP, just like Android, does not ask for password at boot time.

I'm perfectly OK with this because it makes the boot fast again (it is dead slow when internal is encrypted), except for this issue with TWRP.

And since, apart from Exchange security policies, it is also possible for a user to decide to have external storage alone encrypted, TWRP should be able to handle the case gracefully anyway, i.e detect that external storage is encrypted and request a password if it did not get one at boot time.

I have to think a third case must be handled, because it is also possible for a user to decide to have internal storage alone encrypted, and then external not being encrypted TWRP should not attempt to decrypt the data when reading from external.

Am I being clear at least?

Testing all cases will be a *****, though (I have a second device that I could use, but I've moved it to KK already and I don't know that I'll have all the time needed...).
[Galaxy Note II Original Android Development] Conan179:
i have problem with 2.7.0.0 and 2.7.0.2

i becom no acces to my exfat fort. sdkart. a 32gb and a 64gb both sandisk and both exfat.

it tihs normal?
[Galaxy Note II Original Android Development] edo_xda:
Any clues on what was going on ?

I should add that I only have the internal SD encrypted - encryption performed in cm11 - the external SD is not.
[Galaxy Note II Original Android Development] bigbiff:
Hi, can you upload /tmp/recovery.log please?
[Galaxy Note II Original Android Development] bigbiff:
I cannot figure it out, I haven't changed the encryption settings.
[Galaxy Note II Original Android Development] bigbiff:
Is your sdcard partitioned with the exfat as a primary partition?
[Galaxy Note II Original Android Development] Conan179:
yes and is the only partition.

with ther version 2.6.3.7 its working perfekt.
[Galaxy Note II Original Android Development] bigbiff:
Can you post the results of dmesg from TWRP?
[Galaxy Note II Original Android Development] Conan179:
what soll i do? ony start?
[Galaxy Note II Original Android Development] bigbiff:
Let TWRP boot, and do adb shell "dmesg > /sdcard/dmesg.txt" and post the file here as an attachment.
[Galaxy Note II Original Android Development] Conan179:
here is the file.
[Galaxy Note II Original Android Development] bigbiff:
Can you try /sbin/exfat-fuse -o big_writes,max_read=131072,max_write=131072 /dev/block/mmcblk1p1 /external_sdcard in adb shell? Please paste any output from the command.
[Galaxy Note II Original Android Development] ichiyamato:
hi team..i cant install this to my note 2..using android recovery(default) ..is it right that way to install twrp?
[Galaxy Note II Original Android Development] Conan179:
[MENTION=2638973]bigbiff[/MENTION]:
[Galaxy Note II Original Android Development] bigbiff:
Stock recovery will only install updates signed by Samsung. You will need to use odin or dd to install TWRP.
[Galaxy Note II Original Android Development] ichiyamato:
ah i see. tnx anyway :)
[Galaxy Note II Original Android Development] Irwenzhao:
I can't restore backups made from SD card. Restore take about 200 seconds, which is normal. But after booting up my data aren't there. Any idea?
[Galaxy Note II Original Android Development] bigbiff:
Make sure you are selecting data. Can you upload /tmp/recovery.log after you perform the restore?
[Galaxy Note II Original Android Development] Artvision:
Excellent Job, flash the new TWRP F2FS recovery now. I make a backup with new TWRP for my N7100 with devil kernel, and format data/cache/system partition with f2fs format , then try to restore my backup. I found cache/data can be restored to f2fs format, but the system partition is still ext4 format. I noticed that TWRP still format the system partition to Ext4 before restored the "system" backup back.
[Galaxy Note II Original Android Development] Irwenzhao:
I selected data. I'll get the recovery log as soon as I get a nandroid backup (to my internal storage) up and ready.

N7105 rocking AOSB with AGNi kernel,

Sent from a small country named Singapore.

Click "Thanks" if I was of any help!
[Galaxy Note II Original Android Development] yogesh324:
[MENTION=2638973]bigbiff[/MENTION] usb otg is not working in latest 2.7.1.0 version I ll upload the recovery log with dmesg command in a bit

Here is the link http://d-h.st/eM1
[Galaxy Note II Original Android Development] bigbiff:
Can you post recovery.log after the restore?
[Galaxy Note II Original Android Development] bigbiff:
I am having trouble getting it to download. Please attach it to your post.
[Galaxy Note II Original Android Development] George_Orever:
Hello [MENTION=2638973]bigbiff[/MENTION], thank you for awesome update. TWRP now have all functions in one recovery. Thanks also for adding f2fs format support.

BTW, what's the advantage for repair function.

Thanks again [emoji3].

---------- Post added at 09:28 PM ---------- Previous post was at 09:26 PM ----------

USB OTG working great in new TWRP 2.7.1.0
[Galaxy Note II Original Android Development] jdstrydom:
I might be missing the plot somewhere, but on t0lte f2fs format goodness is not available for twrp 2.7.1.0. Can format to ext2/3/4 & fat. Formatted my f2fs partitions to ext4 in the meantime.

Is it only implemented for t03g and derivatives at this stage?

Thanks
[Galaxy Note II Original Android Development] bigbiff:
Repair will run fsck on your partition and fix errors if you are having issues.
[Galaxy Note II Original Android Development] bigbiff:
I will look into it. I thought I had f2fs in the kernel.
[Galaxy Note II Original Android Development] bigga29:
When I try to install the new recovery I get Bootloop with the Zip thru recovery and Tar with odin 3.09 version I had to install the previous recovery 2.7.0.2 all good with this one.
[Galaxy Note II Original Android Development] Kanczyn25:
What is the difference of these three versions of the recovery? :

openrecovery-twrp-2.7.1.0-t03g.zip

openrecovery-twrp-2.7.1.0-t03gduoszn.zip

openrecovery-twrp-2.7.1.0-t03gub.zip

And if all of them are definitely on n7100?
[Galaxy Note II Original Android Development] bigbiff:
I will look into it. I thought I had f2fs in the kernel.

Can you test http://techerrata.com/bigbiff/openrecovery-twrp-2.7.1.1-t03g.zip for f2fs please.