yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Original Android Development] dononeil:
I have a phone that I encrypted that I want to permanently decrypt and re-flash with a totally different ROM.... I've done a bunch of google searching and it seems as though I need to format the /data partition. However with 2.8.6 I don't see anywhere to actually format /data and clear the encryption. Wiping data, even the advanced function, doesn't work... I tried changing the file system format back and forth with no luck. I tried restoring a factory image (through Odin, it's a Samsung phone) but that didn't help either.

I don't care about data on the phone since I'm going to re-flash it anyway with a totally new ROM. The phone currently has CM11 on it (where the encryption was enabled).

Can anyone point me to where the option to re-format /data is without encryption in TWRP (I have no issues getting into TWRP and it recognizes my PIN for encryption) or if that's not the trick, a guide on how to remove encryption from a CM11 flashed phone?
[Galaxy Note II Original Android Development] bigbiff:
Under the Wipe page, there is a Format Data button. Press that and it will ask you type yes before continuing. This formats the data partition and should remove encryption.
[Galaxy Note II Original Android Development] dononeil:
On my device there is no 'Format Data' button on the wipe page, only an 'Advanced Wipe'.

This device was encrypted with CM11, which I believe does full device encryption. I get prompted for the PIN before I even get into TWRP, so maybe TWRP doesn't think it's encrypted?
[Galaxy Note II Original Android Development] jlmancuso:
Data wipe is under advanced wipe options
[Galaxy Note II Original Android Development] dononeil:
Tried that wipe... didn't help. Ultimately I ended up using KIES to re-flash the phone back to stock rather than ODIN. It removed the encryption and then I was able to re-flash the recover and my new ROM.
[Galaxy Note II Original Android Development] zabumba:
I'm using latest twrp (2.8.6.0) on my n7105. Did a backup without problems but when I restore the backup solid explorer can't "see" internal memory (ext_sd is ok) and windows explorer can't write to both internal and external memory.

I think is a permissions problem (fix permissions in twrp doesn't solve) but I don't know how to solve it.

Can anyone help please?

Thanks
[Galaxy Note II Original Android Development] bigbiff:
Please try this in Android terminal as root:

restorecon -Rv /data

Then reboot and see if it works.
[Galaxy Note II Original Android Development] zabumba:
A lot of things happen meanwhile...install omnirom and then reinstall my backup but this time without previously format system and data, only hit restore choose the backup and go. In the end of the restore just wipe cache and dalvik and this time all was restored without problems. The only thing that I did different was not format system+data+cache before hit restore so it must be something related with that.

Anyway, thanks for your help.
[Galaxy Note II Original Android Development] cyberboob:
Just reporting this on here, because I'm pretty sure that TWRP is corrupting efs or something. (Note 2 GT-N7100)

Every time I root phone (latest stock 4.4.2 NL1) and install TWRP 2.8.6.0 ... lose baseband, imei ...

trying to restore efs, modem, etc from backup made of ROM in TWRP recovery doesn't work.

Only way to fix is to reinstall stock rom.

I have tested and tried this a few times ....and always same results.

Tried with another custom recovery, didn't give the same problem.

So hopefully this info helps.
[Galaxy Note II Original Android Development] bigbiff:
Are you using t03g variant? I need to see if it's too big. Can you get me cat /proc/partitions again and ls -lR /dev/block so I can check?
[Galaxy Note II Original Android Development] cyberboob:
Yes, I'm using t03g variant. Can't use adb at work (and I'd have to use stock recovery again... which means have to reflash stock over my newly rooted custom? Not sure how to bypass custom recovery another way)...

maybe when I get home... but for now I can give the 2 log files I found from couple of flashes I did before that are still on phone (see if those help you).
[Galaxy Note II Original Android Development] bigbiff:
You should be flashing http://dl.twrp.me/t03g/twrp-2.8.6.0-t03g.img.tar for n7100 to t03gub.
[Galaxy Note II Original Android Development] cyberboob:
Is it not this one??

**I see, hmmmm so what's the difference between the twrp-2.8.6.0-t03g and twrp-2.8.6.0-t03gub version?

I've been doing this for a while... always thought the device page leads me to latest version for device on top. (or I'm getting sloppy)
[Galaxy Note II Original Android Development] scrin378:
No,it is not that...
[Galaxy Note II Original Android Development] bigbiff:
GUB is a different country, small variant of users. I need to fix it anyways but don't install it.
[Galaxy Note II Original Android Development] Lukapetr:
Links to download(from primary page) twrp for me don't work any more ......don't know why, when I click on one of the twrp versions it just download a html file....Please fix it

EDIT: With Chrome browser I have successfully downloaded the recovery ...
[Galaxy Note II Original Android Development] bigbiff:
You need to make sure your browser has referrers enabled.
[Galaxy Note II Original Android Development] Lukapetr:
Yes [emoji1] I successfully flashed the latest twrp. ..The correct version. ..Running just fine and obviously no IMEI lost .
[Galaxy Note II Original Android Development] emandt:
I used TWRP 2.8.6.0 to format to F2FS and the ROM was installed as expected.

ALl was working well.

Then I choosed to enter TWRP again to do a full backup but I'm stuck in a LOOP between "Samsung N7100" white words and the blu TWRP's splashscreen...then it reboots and return in the same situation.

I think TWRP could not read from F2FS partitions....
[Galaxy Note II Original Android Development] bigbiff:
Do you see the curtain over and over, or it keeps going back to the Samsung screen?
[Galaxy Note II Original Android Development] emandt:
It completly reboots and I see Samsung screen (not the animated LOGO, I mean the white words saying "Samsung GT-N7100") like just turned on, then the blue curtains and then again "Samsung GT-N7100" words, and then again curtains, etc...etc...

Used Odin to reflash TWRP: nothing changed...loop persist.

The only way I found to recover is flashing CF-AutoRoot which clears the command/flag that force to reboot to Recovery (is there a flashable file which I can use with Odin to STOP to boot to Recovery??)

When CF-AutoRoot has been flashed the ROM started normally.

Reflashing TWRP return in the starting condition: LOOP.

Now I'm trying again to format to F2FS and reinstall the ROM, the I'll try TWRP again.

UPDATE

: tried again and the problem persist.

Now this is my situation:

- Device: Note 2 GT-N7100

- Kernel: AGNi Kernel 4.4.0

- ROM: ResurrectionRemix 5.4.3 (Android 5.1.1)

- TWRP 2.8.6.0

- CACHE partition: F2FS

- DATAUSER partition: F2FS

- SYSTEM and all other partitions remained unchanged: EXT4

- Android 5.1.1 is working well and super fast/smooth

- I'm unable to enter TWRP due to its auto-reboot I explained before
[Galaxy Note II Original Android Development] bigbiff:
Can you provide /proc/last_kmsg?
[Galaxy Note II Original Android Development] emandt:
Of course: http://www.emandt.net/Android/SPenCommand/Testing/last_kmsg_30042015
[Galaxy Note II Original Android Development] bigbiff:
I think that log is just from normal android booting. You need to make sure you perform your operations, without pulling the battery, then using the keycombo to boot download mode, cancel boot into download and go into android. Then try pulling last_kmsg.
[Galaxy Note II Original Android Development] emandt:
Is the file reset at each boot?

However I don't have understood the passes you write.

If I'm stucked in a loop between Samsung's text and TWRP curtains, I'm not able to get the file.

And if the file is reset at each boot, how can I can get the RIGHT file AFTER I entered Android (so it is already reset by the right boot)?
[Galaxy Note II Original Android Development] bigbiff:
You need to follow the steps exactly, last_kmsg is placed in RAM, and if you pull power it will be lost. The kernel writes it to /proc/last_kmsg as an interface to the memory location.
[Galaxy Note II Original Android Development] emandt:
I never pull battery.

Last time I pulled battery was many months ago.

I reboot holding down power button, but not pulling the battery.

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

Can I safety delete this file and try the procedure or should I leave Android clears it?
[Galaxy Note II Original Android Development] bigbiff:
It's not a file on EMMC, it's a file interface to memory.
[Galaxy Note II Original Android Development] emandt:
Ok.

Now:

- I rebooted my Note 2 holding down UP VOLUME and HOME buttons

- TWRP curtains has been appeared

- self reboot performed

- ROM started as normal

This is the file: http://www.emandt.net/Android/SPenCommand/Testing/last_kmsg_30042015_2
[Galaxy Note II Original Android Development] bigbiff:
F2FS is panicking because of data errors. I will see if there are any updates I can apply to the f2fs code in the TWRP kernel.
[Galaxy Note II Original Android Development] emandt:
TWRP 2860 cannot format my "/data" partition from Wipe panel. I used TWRP Terminal commands like "mkfs.f2fs /dev/block/platform/.../USERDATA" to format this partition. CACHE partition, instead, was formatted well from TWRP Wipe panel.

However I think it should be an F2FS update because TWRP's F2FS version is aged "2012"....
[Galaxy Note II Original Android Development] zabumba:
Again today I had to restore a backup of a Samsung stock rooted kitkat rom after install Cyanogenmod 12.1 and the same thing happen (lost access to internal memory). After following your instructions everything is back to normal.

Can you explain why is this happening?

Thanks
[Galaxy Note II Original Android Development] bigbiff:
Did you restore data from the Samsung stock rom?
[Galaxy Note II Original Android Development] zabumba:
Yes. Restored System, Boot, and Data.

Thanks
[Galaxy Note II Original Android Development] bigbiff:
Do you have recovery.log of the backup and restore? The backup log is in the backup folder, but the recovery.log for the restore will only be in RAMDISK booted under TWRP in /tmp/recovery.log.
[Galaxy Note II Original Android Development] zabumba:
Unfortunately after that I installed a stock Samsung rom with Odin so lost recovery and the logs. I don't use this phone as my daily driver so I use it for my experiences. That explains the huge amount of roms I've installed lately.

Thanks
[Galaxy Note II Original Android Development] sudeepm:
hi all.. i tried installing latest TWRP on my Note 2 thru the TWRP manager, however, after the install attempt, i got the message saying install unsuccessful, do you want to reboot to recovery.. i clicked yes.. and now my fone is stuck on a "Downloading" screen. no other button combination is working!! pls help.. have i bricked the device? :( :(

i was on CWM recovery earlier, with custom ROM CM12.1 installed.
[Galaxy Note II Original Android Development] scrin378:
Which version did you flash..you need t03g...not t03gub or something else...now try flash image TWRP with odin...
[Galaxy Note II Original Android Development] sudeepm:
Thanks a ton. Yes I selected t03g only however got stuck. The Odin flash method worked!

Thanks again.. :thumbup:
[Galaxy Note II Original Android Development] satish0101:
Not able to flash TWRP

Hi all,

I'm trying to flash latest TWRP (twrp-2.8.6.0-t03g.img.tar) on my friend's Galaxy Note II N7100 via Odin. But every time I press Flash button, I'm getting this and I'm still seeing stock recovery.

<ID:0/004> Added!!

<ID:0/004> Odin v.3 engine (ID:4)..

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Get PIT for mapping..

<ID:0/004> Firmware update start..

<ID:0/004> recovery.img

<ID:0/004> NAND Write Start!!

<ID:0/004> RQT_CLOSE !!

<ID:0/004> RES OK !!

<ID:0/004> Removed!!

I don't know what's the problem here! Please help me out!
[Galaxy Note II Original Android Development] keenblade:
Are you sure you are using the right buttons to reboot into recovery (vol up+power+home)? Specially the volume up button. If you use volume up you get twrp, if you use volume down you get stock recovery.
[Galaxy Note II Original Android Development] bigbiff:
Make sure to deslect auto-reboot and boot TWRP instead of the ROM.
[Galaxy Note II Original Android Development] F@HIM:
Go to system > etc and delete install-recovery.sh

Now again flash twrp through Odin and see whether it works or not
[Galaxy Note II Original Android Development] Adi1995:
is latest Twrp version stable now? i m on v2.7.2.1 running ressurection remix rom and sometimes DN4 rom last i had updated twrp i was not able to flash rr update kept giving zip error so had to go back to 2.72.1
[Galaxy Note II Original Android Development] scrin378:
Yes,its stable...just flash t03g version...not gub or something else
[Galaxy Note II Original Android Development] GonDr:
I have stock rom build N7100XXUFNL1 and i can't flash twrp via odin, when i try, flash successfully but stock recovry is still there

i think i have a locked bootloader

can any one help me please ?

what must i do ?
[Galaxy Note II Original Android Development] F@HIM:
http://xdaforums.com/showthread.php?p=60763967

Also if u have rooted your phn then dwnld flashify app from playstore load boot.img in it and flash it
[Galaxy Note II Original Android Development] 8thphloor:
uncheck autoreboot in odin and manually reboot into recovery...latest sammy fws overwrite recovery at boot
[Galaxy Note II Original Android Development] MJiindal:
Hello

I am currently on TWRP 2.8.3 and would like to update to the latest version so that I can flash the [ROM][5.1.1][LOLLIPOP][n7100]RESURRECTION REMIX 5.4.5[CM12.1 Rom on my Galaxy Note II- GT N7100 handset. For this purpose I downloaded and tried to flash directly from recovery the 'twrp-2.8.6.0-t03gub.zip' version of this recovery but for some odd reasons it produced errors and failed to install. Please can someone let me know what went wrong and why I couldn't upgrade to the latest version of this recovery and also help with the troubleshooting.

I shall be grateful for the kind favor.

Thanks
[Galaxy Note II Original Android Development] scrin378:
You have wrong version...you need t03g version not gub or something else...
[Galaxy Note II Original Android Development] MJiindal:
Oh I see . Seems you are pointing to this version of recovery? Pls confirm. Thanks
[Galaxy Note II Original Android Development] zephyrus17:
Yes, that's it.
[Galaxy Note II Original Android Development] MJiindal:
Alright Great :)

Thank You:good:
[Galaxy Note II Original Android Development] darkkey:
Hi,

I have a very odd problem. I was using DN4 and wanted to flash to other ROM. I flashed TWRP to 2.8.6.0 and after rebooting, the phone did not detect my sim card. I tried clean method by flashing Stock ROM via Odin and then root and then TWRP2.8.6.0 but my stock ROM does not detect my sim card as well. I tried using my previous version 2.5.0.1 and it didn't had the problem and installed well but I have a new problem now. It doesn't show internal in the Advanced Wipe and when I try flashing any ROMs, it shows Failed. Please help
[Galaxy Note II Original Android Development] bigbiff:
Which image did you install? Make sure it's t03g. If it wasn't download t03g, install Stock ROM via Odin, then flash the t03g tar in Odin.
[Galaxy Note II Original Android Development] 8thphloor:
Really i cannot understand why a lot of people still flash t03gub instead of t03g...

..i'm a mod of an android forum and everyday someone has issues due to wrong flash..

GUYS OUR GTN7100 NOTE II INTERNATIONAL'S CODENAME IS T03G...SO YOU MUST DOWNLOAD THE T03G FILE!!! (ZIP OR TAR)
[Galaxy Note II Original Android Development] kamal0287:
Best and easy recovery ever seen
[Galaxy Note II Original Android Development] scrin378:
2.8.7.0 online :)
[Galaxy Note II Original Android Development] Vuska:
Hi.. can someone tell me what to do if I come from Phil Touch 5.15.

Can I just flash to 2.8.4.0 then 2.8.7.0 ?

Or just to 2.8.70 ?

Or I must do this via odin ?
[Galaxy Note II Original Android Development] an0n981:
As long as you download the zip version you can flash in recover then reboot recovery and you are in TWRP
[Galaxy Note II Original Android Development] Vuska:
No need to 2.8.4.0 first? Because I see the warning in download page that i had to flash 2.8.4 before 2.8.7.0

Sorry.. if I'm wrong..
[Galaxy Note II Original Android Development] an0n981:
I wouldn't know why. But maybe someone else has more insight
[Galaxy Note II Original Android Development] scrin378:
You dont need 2.8.4.0.. that version and above has option to flash image directly..instead .zip you can choose .img...but you can flash zip with every recovery version you like...
[Galaxy Note II Original Android Development] galaxys s:
link twrp 2.8.7.0 download please
[Galaxy Note II Original Android Development] Lit:
I'm not against splited files. I see that Recovery to make backup too long and (i think) write flash 2 times: at first make image 250sec, then split image +250sec.

Why not use for example tar -c dd if=/dev/block/mmcblk0p13 count=2097152 for first 1GB then tar -c dd if=/dev/block/mmcblk0p13 count=2097152 skip=2097152 for second 1GB file?
[Galaxy Note II Original Android Development] bigbiff:
We use tar to backup at the file level. If we backed up at the block level, we wouldn't be able to recreate the filesystem.
[Galaxy Note II Original Android Development] yahyoh:
WOW i came back to thank all the team behind TeamWin recovery

yesterday i made nandroid on old nokia 8 GB memory and it took about 13 minute to backup every thing ( i think on class 10 sd it will be half the time ) on CWM nandroid on the same sd took about 20 minute , and restoring sooooooo fast took about 5 minute :D

best recovery ever :good: :cool:

( i was testing cm10.1 :cowboy: )
[Galaxy Note II Original Android Development] jitin02:
I just flashed the latest version 2.3.2.3 , via odin and also tried via CWM But when i reboot to recovery it only shows TeamWinRecovery image and simply reboots dont enters recvry.

Read all but didnt found solution.

Help pls.
[Galaxy Note II Original Android Development] yahyoh:
did u installed the latest one from here ? http://goo.im/devs/OpenRecovery/n7100

cuz its working here without any problem with odin or zip over CWM :cowboy:
[Galaxy Note II Original Android Development] Linuxx84:
This recovery increases the counter?
[Galaxy Note II Original Android Development] yahyoh:
who care :laugh:

when u need to reset the counter just use triangle away :p ( if u need to back to 100% stock )
[Galaxy Note II Original Android Development] bigbiff:
Any time the bootloader detects a kernel or recovery without a proper signature it increases the counter by 1.
[Galaxy Note II Original Android Development] bigbiff:
When stuff like this happens it makes me wonder if people are borking there recovery partition size somehow.

What have you done to your phone so far?
[Galaxy Note II Original Android Development] jitin02:
Yes I tried from here only :(

Btw to enter the recovery it its the same way like stock. ( release the buttons as soon as u see the recovery screen/image?

And I tried v2.3.2.3 & v2.3.1.0

Sent from my GT-N7100 while flowing my fingers here n there

---------- Post added at 07:36 AM ---------- Previous post was at 07:28 AM ----------

What do you mean? Can you xplain pls

So far, I am on Stock LJ3 rom with stock kernel. rooted (with cf-auto root) . thats it ............... was just thinking of getting twrp on board ...for that i just used .tar one with odin (only auto reboot ticked), suing PDA button

N simple install like to do on CWM Select and flash

Still don't work. I strange thing is CWM is working fine.

I would really appreciate if someone helps me with this I really want to use this one

(i am not a noob have done things on well streak n xperia u n dell venue) this happens to me first tym. Eng also I have tried downloading recovery multiple times but didn't helped
[Galaxy Note II Original Android Development] yahyoh:
no u should release ur fingers after about 2 seconds when u see the bootloader screen or try to install goo manager it have option to reboot into recovery
[Galaxy Note II Original Android Development] william1974:
same here...

i have to pc odin and flash cwm recovery from chenglu inorder to boot normally.
[Galaxy Note II Original Android Development] bigbiff:
Can you paste the link to the recovery you used?
[Galaxy Note II Original Android Development] jitin02:
No Luck with me

Man really want this recovery :(
[Galaxy Note II Original Android Development] yahyoh:
can u flash full stock with odin then try to flash TWRP if didn't work then maybe u have to try to flash rom with pit file to get fully stock partitions size :rolleyes:

cuz maybe something bugging the recovery size as bigbiff said before

and what CWM version u was on ?
[Galaxy Note II Original Android Development] mazubo:
Hi everyone,

I had trouble finding this info, maybe someone here can help.

When backing up via twrp, i notice the backup file is HUGE (that's what she said). Close to 5gb!! Is there any way to compress this without any issues?

If it means anything, I'm using Wanam Lite 2.1 rom, with RedPill. 10 kernel.

Thanks kindly,

from my note 2 you.
[Galaxy Note II Original Android Development] bigbiff:
What partitions are you backing up?
[Galaxy Note II Original Android Development] jitin02:
You mean should I flash the stock Rom again?
[Galaxy Note II Original Android Development] mazubo:
Hi there,

Everything that is originally ticked is what I've been backing up. Is there not a reason to back up everything?

Not that i want to, i was under the impression that was required

from my note 2 you.
[Galaxy Note II Original Android Development] jitin02:
Flashed the whole rom using PC version of Odin and after that did factory reset and cleared cache.

then tried flash the recovery but still it shows the twrp image and reboots....................................................................But CWM is not acting like this ....its fine :strange:

pls help......... what else i shud do...................................
[Galaxy Note II Original Android Development] DarrenNewsgroup:
Build 2.8.7.0 download link https://dl.twrp.me/t03g/twrp-2.8.7.0-t03g.zip

TWRP downloads are at https://dl.twrp.me/t03g/

Notice that N7100 is known as t03g

Hope that helps
[Galaxy Note II Original Android Development] keenblade:
After I upgraded to TWRP 2.8.7.0, I see this red colored error message at the top of the twrp log window, if I wipe cache or install something:

E:/sbin/runatboot.sh process ended with ERROR=1

Everthing works fine. Just reporting, it may mean someting :)

Some other users have the same errror message, too.
[Galaxy Note II Original Android Development] bigbiff:
You can ignore the error.
[Galaxy Note II Original Android Development] devilrulz4ever:
I get the same error, but everything works perfectly. No issues.

Tapatalk'd from my Note 2 running Resurrection Remix
[Galaxy Note II Original Android Development] scrin378:
Same here
[Galaxy Note II Original Android Development] Bright.Light:
Repartitioning?

Is it tru that this recovery doesn't have “parted” binary required for repartitioning

as told here: http://xdaforums.com/galaxy-note-2/help/qa-1-9-gb-extra-user-data-n7100-t3118683

If so, we couldn't use TWRP for reparitioning, right?
[Galaxy Note II Original Android Development] bigbiff:
I am not including parted due to the size. You can always push a static binary to /sbin and chmod 755 the file and run it in adb.
[Galaxy Note II Original Android Development] ferryaryan:
I can't download, it's always back to the same page when I click the link. Anyone can help?
[Galaxy Note II Original Android Development] scrin378:
Download is working fine...try with another browser
[Galaxy Note II Original Android Development] bigbiff:
Make sure you haven't disabled referrers.