yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy Note II] mattnmag:
bigbiff,

Thank you for all the work you do with TWRP. I really prefer the UI in TWRP and would like to help however I can with getting TWRP working properly with Verizon TW 4.4.2 based ROM’s.

I’ve tried to pull a logcat while running a stock rooted 4.4.2 ROM with TWRP 2.7.2.0, but wasn’t able to get the logcat to run in my Window’s command terminal due to a permission error. Here’s the error I’m getting:

“C:\Android\android-sdk\platform-tools>adb logcat

- exec '/system/bin/sh' failed: Permission denied (13) –“

I tried commands "adb remount" and "adb root," but adb just freezes and becomes unresponsive. One time, I did get this error when doing adb root:

“C:\Android\android-sdk\platform-tools>adb root

adbd cannot run as root in production builds”

I was able to run the apps “Catlog” and “LogCat Extreme” on the phone, but they wouldn’t let me save the logs or send as a text/email because they both said they couldn’t access the sd card due to a permission error. I tried an app called Folder Mount to see if that would fix things (due to seeing this in some other posts as a solution), but I couldn’t get it to fix the permission issue and I eventually ran out of time and had to restore my TWRP backup and get some sleep :).

I’m sure that the phone is able to communicate with the computer through adb on 4.4.2 because I ran a couple other commands, (reboot, devices, etc…, and they all worked normally). And while my phone is on a 4.1.2 based ROM with TWRP 2.6.3.1, I'm able to run all adb commands and the logcat works normally.

I wish I had more time to work on this and will try again when I get some time. I’m hoping that others reading this thread can find some time to try too. If you have any suggestions for me that might help at my next attempt, I’d appreciate your feedback. Thanks.

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

(Also…. I don’t know if you need or want these details… but here are the steps I took both times that I’ve flashed rooted stock 4.4.2 and tried to get the logcat:

--I was initially on 4.1.2 based JellyBean’s ROM after rooting/unlocked with Casual.

--I ODIN’d TWRP 2.7.2.0 and ODIN’d the modified MJ9 firmware to prepare for flashing rooted 4.4.2

--Then followed the instructions on lacoursiere18’s stock rooted 4.4.2 thread (http://xdaforums.com/showthread.php?t=2765021), and flashed his debloated/deodexed build vrufnd7_debloat_build3 & the zip for UPDATE-SuperSU-v1.94.

**(Prior to flashing the ROM in TWRP, I did a factory reset. After the initial flash of the ROM, I encountered a problem with the phone getting stuck on boot at the red Verizon logo, so I had to pull battery, reboot into recovery, then wipe Dalvik cache, cache, system, data, and internal storage. I then reflashed the ROM & SU in TWRP and the phone finally booted up properly. After booting, I was able to get SuperSU to grant root permissions. I used a root checker app and it confirmed Terminal Rooted and Busybox was installed. I did have trouble getting Titanium Backup to work properly, but this may be due to the SD card/permission issue).

Thanks! :)
[Verizon Samsung Galaxy Note II] bigbiff:
You can do this as well after the issue with supersu/superuser:

adb shell
logcat -d > /sdcard/logcat.txt
exit
[Verizon Samsung Galaxy Note II] KyleKutta:
I'm not sure anyone else has this problem and I've searcher for it, but just don't know how to word it really. Pretty much whenever I'm in recovery (2.7.2.1 or any other version) and try to perform an action i.e. wipe cache and Dalvik cache or any other suchaction it will do it but will also reboot back into recovery. Its done this before and can remember what i did to get it back working correctly, so can someone help me out?
[Verizon Samsung Galaxy Note II] bigbiff:
Can you perform the action, then use adb to pull /tmp/recovery.log and paste it as an attachment here?
[Verizon Samsung Galaxy Note II] KyleKutta:
here's a dropbox link that I move the file to https://www.dropbox.com/s/zvywxb3x4zdaejx/last_log.text It wouldn't let me attach it or I'm doing something wrong? oh yea, i got it from root/cache/recovery is that right?
[Verizon Samsung Galaxy Note II] bigbiff:
If you are on 2.7.x please try using the wipe menu to repair the data partition. It is corrupted and crashing TWRP.
[Verizon Samsung Galaxy Note II] KyleKutta:
Yes sir. That was it! Thanks a lot.
[Verizon Samsung Galaxy Note II] S0UTHPAWK1LLA:
I had to go back to 2.6.3.2 because of the same issue. I was messing around going back to 4.4.2 and started having serious TWRP issues like the guy above. Any command, it just sticks and flashes the twrp screen and I am back to the main twrp screen. Tried odining the recovery back and nothing. Repairing data doesn't work. Couldn't restore backups or install zips. Managed to get A26 to flash. Loaded older twrp and restored my backup. Now..I am feeling trapped on 4.3.
[Verizon Samsung Galaxy Note II] bigbiff:
Anytime you need me to debug something, I need you to upload /tmp/recovery.log of the actions being performed. Thanks.
[Verizon Samsung Galaxy Note II] S0UTHPAWK1LLA:
Understood. Will go back to 2.7+ this evening and attempt to retrieve the log.
[Verizon Samsung Galaxy Note II] S0UTHPAWK1LLA:
Here it is... Man, I realize now that the recovery system is the center of my friggin rooted existence. No recovery = trapped. Had to Zip it because of the 512KB limit XDA has on text files.....
[Verizon Samsung Galaxy Note II] bigbiff:
Looks like your data is corrupted. In 2.7 you can try repairing data under format->repair. If this doesn't work you may need to format the partition.

Why are you doing fix permissions?
[Verizon Samsung Galaxy Note II] S0UTHPAWK1LLA:
I was trying to do anything. TWRP is dead for me. It won't repair. Format the partition? Sigh...OK..

UPDATE - Crap..tried formatting. got " E:error opening ' /data/tombstones///////////////" and 'E:error: Too many open files'

Got it... Whew... Thanks Biff
[Verizon Samsung Galaxy Note II] dhouston10:
Did you select the "format data" button, where it wipes interal storage completely? That's the one I had to use for the same problem
[Verizon Samsung Galaxy Note II] S0UTHPAWK1LLA:
Yeah..the first time I tried the advanced wipe, second try I just typed in YES and it did it's thing
[Verizon Samsung Galaxy Note II] 3|Saint|5:
Just a heads up that TWRP 2.8.0.0 is available HERE.
[Verizon Samsung Galaxy Note II] S0UTHPAWK1LLA:
Is there a 2.8.0.1? I thought I read somewhere 2.8.0.0 had a graphical glitch..
[Verizon Samsung Galaxy Note II] bigbiff:
Not for all devices. I got the fix compiled in before I did any releases except hltetmo.
[Verizon Samsung Galaxy Note II] chopt51:
Thank you for all your hard work.

Sent from my Samsung Galaxy Note ll
[Verizon Samsung Galaxy Note II] michigan66:
[MENTION=2638973]bigbiff[/MENTION]. I am getting "too many open files" error messages when performing backups. I tried 2.8 and 2.7.0.1. Same error with both. The log is from 2.8.

https://www.dropbox.com/s/nm5593p10w47mhm/recovery.log?dl=0

Let me know if you need anything else.

Thanks
[Verizon Samsung Galaxy Note II] bigbiff:
Try clearing data for the contacts app.
[Verizon Samsung Galaxy Note II] michigan66:
Thank you sir. Worked perfect.
[Verizon Samsung Galaxy Note II] DCVR 614:
For some reason every time I try to factory reset it crashes then reboots back into recovery. After that I rebooted back into the system, I set up my phone and it says "Setup wizard has stopped" and I can't do anything. What could be the issue?
[Verizon Samsung Galaxy Note II] bigbiff:
After the crash happens use adb to pull /tmp/recovery.log and paste it here.
[Verizon Samsung Galaxy Note II] DCVR 614:
Im sorry I forgot to update this thread. I switched to Philz and everything worked.
[Verizon Samsung Galaxy Note II] bigbiff:
Unfortunately that won't help fix your issue with TWRP.
[Verizon Samsung Galaxy Note II] DCVR 614:
Your right cause now I ran into the same issue with Philz. Going to try and flash back and do what you asked.

---------- Post added at 01:54 PM ---------- Previous post was at 01:42 PM ----------

Update#2 Just tried to copy log to SD card and it crash and rebooted the recovery.

---------- Post added at 02:00 PM ---------- Previous post was at 01:54 PM ----------

https://paste.tinyw.in/index.php/view/7333701
[Verizon Samsung Galaxy Note II] bigbiff:
You need to pull the log after the crash.
[Verizon Samsung Galaxy Note II] DCVR 614:
That was the only log on my SD card. I went to Advanced and copy log to SD card when TWRP loaded but it keeps crashing when I try to do any swipe to confirm.
[Verizon Samsung Galaxy Note II] bigbiff:
You need to setup adb from the android sdk and pull it while still in twrp after the crash:

adb pull /tmp/recovery.log
[Verizon Samsung Galaxy Note II] DCVR 614:
Ok, I will do that right now
[Verizon Samsung Galaxy Note II] DCVR 614:
Sorry, I haven't got back to you yet. I have been searching on a fix to get adb to work. Either it says offline when I type in adb devices or it will say listed devices but doesn't show my phone. So, once I figure that out I will get that log to you asap.
[Verizon Samsung Galaxy Note II] Abzal:
Explain, please

May i install this TWRP on the i605 v 4.4.2 I605VRUFND7, for install custom ROM?
[Verizon Samsung Galaxy Note II] BluGuy:
No. You have to have an unlocked bootloader to load a custom recovery. There hasn't been an unlock method for 4.3 and up.
[Verizon Samsung Galaxy Note II] chopt51:
I had no idea the theme I set up would make it through an update. Months ago I used the whole guide using Android Image Kitchen to theme how i like. Today I just used the TWRP app from the play store and did a quick update to the newest and the theme survived. Pretty crazy I figured it would return to the stock TWRP curtain and theme colors. Nope.

Thanks for the update.
[Verizon Samsung Galaxy Note II] vipsy6:
Can I downgrade it to lower version ? if yes, kindly advise how ?
[Verizon Samsung Galaxy Note II] ztotherad:
no sir, the bootloader after 4.3 is not unlockable, so all you can use is Safe Strap if that is working correctly to install just TW roms.
[Verizon Samsung Galaxy Note II] vipsy6:
Thanks for such a good suggestion. Can I flash Custom TW ROM ?

No way to downgrade :confused:
[Verizon Samsung Galaxy Note II] DreamFX:
Easy answer no you can't yourself. You can send your phone away and pay like a 70 or so fee and they can downgrade it.
[Verizon Samsung Galaxy Note II] apophis9283:
They use a jtag method to downgrade. I paid the 70ish bucks to downgrade mine
[Verizon Samsung Galaxy Note II] glockman4519:
I too sent my phone to Mobile Tech Video for their downgrade and bootloader unlock . I am still very satisfied with their service. It works.
[Verizon Samsung Galaxy Note II] QBall45:
I spy a bad upload on the 2.8.3 version. I have tried several browsers & even had another note2 user try to download. Keep getting mismatched md5's. Hope we can see a corrected upload on the site.

i605 running LiquidSmooth
[Verizon Samsung Galaxy Note II] manbat:
Downloaded fine for me....md5 matched. I have not flashed yet....I always decompile and theme the splash first.
[Verizon Samsung Galaxy Note II] QBall45:
Would you be willing to share?

i605 running LiquidSmooth
[Verizon Samsung Galaxy Note II] chopt51:
Yeah. Let's see how you themed it.
[Verizon Samsung Galaxy Note II] manbat:
My TWRP Splash...the rest I theme with a ui.zip in the TWRP/theme folder.

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / StarKissed / TWRP 2.8.1.1 trltevzw
[Verizon Samsung Galaxy Note II] warriorpluto:
why is it so hard to get a working link of the latest twrp? i tried the goo link and its not there and the tacahara or whatever link and its down. can anyone upload 2.8.3.0 please
[Verizon Samsung Galaxy Note II] coolpoete:
Just tested this, should work just fine

http://www.techerrata.com/file/twrp2/t0ltevzw/openrecovery-twrp-2.8.3.0-t0ltevzw.zip
[Verizon Samsung Galaxy Note II] glockman4519:
https://www.dropbox.com/s/klwa0eiw0dmghd8/openrecovery-twrp-2.8.3.0-t0ltevzw.zip?dl=0

You can try this until the link is back up. When you download the file is going to read dwdDXRuaXFXO9NvU4b6jTCayh2jwJYTwqQNPODUE7U68ByNI4PNWyZ3IKxxpJJhC and not what the file is called and I'm not sure why but it works.

"Chance Favors the Prepared"
[Verizon Samsung Galaxy Note II] DCVR 614:
Sorry, im ultra late on getting back to you.

Been a hell of a year. I did a ADB pull after the crash and here is what I got

https://paste.tinyw.in/index.php/view/89337990
[Verizon Samsung Galaxy Note II] bigbiff:
You need to format data (you will lose all files on internal sd).
[Verizon Samsung Galaxy Note II] DCVR 614:
Okay I will do that and report back.
[Verizon Samsung Galaxy Note II] DCVR 614:
Alright, just home and tried wiping data and it still did the same thing (Froze right after swiping). Once it crashed I did a pull and I restarted the phone got stuck in a bootloop. I did a battery pull. Phone loaded up fine. But, here is the https://paste.tinyw.in/index.php/view/14598302
[Verizon Samsung Galaxy Note II] bigbiff:
You need to go to Wipe, press Format Data, and type yes to format the data partition.
[Verizon Samsung Galaxy Note II] DCVR 614:
Okay, will do that right now

Update #2 Now it says unable to mount data.
[Verizon Samsung Galaxy Note II] bigbiff:
Did you reboot recovery?
[Verizon Samsung Galaxy Note II] DCVR 614:
Yes, I did 3 times already

It says unable to mount /data

Unable to mount internal storage

unable to mount data/media during GUI startup

---------- Post added at 05:14 PM ---------- Previous post was at 05:00 PM ----------

Should I flash the recovery again?
[Verizon Samsung Galaxy Note II] Wickedares:
so glad to have twrp

im so happy i dont have to press volume buttons again. and have twrp back. excellent work!
[Verizon Samsung Galaxy Note II] bigbiff:
No you could always flash aosp roms. This means that when aosp updates recovery we can easily integrate new source.
[Verizon Samsung Galaxy Note II] Wickedares:
i was just trying to flash the cm10 alpha from vzw note 2 development and it was giving me a error saying it couldnt find the md5 sum of the rom. this is using the most recent version of twrp. i tried redownloading the file also same issue
[Verizon Samsung Galaxy Note II] RaptorMD:
Hmmm, well I went here http://teamw.in/project/twrp2/133 and that page would be the Verizon GN2 so if its not working then I am confused.
[Verizon Samsung Galaxy Note II] MunkinDrunky:
I was too. I had tried goo and the zip method and they didn't work for installing just the other day. Ill have to see how updating goes.

Nope worked fine this time. Im glad. Whatever I experienced before must have been a fluke.
[Verizon Samsung Galaxy Note II] bigbiff:
Turn off md5 checking when you flash the zip. Otherwise twrp expects to see an md5 of thefile in the same directory.
[Verizon Samsung Galaxy Note II] Wickedares:
I had to do some digging to find their .zip fir this device specifically. It is out there and its off a site like goo.im here is the link just download the latest version of the zip

www.techerrata.com/browse/twrp2/t0ltevzw
[Verizon Samsung Galaxy Note II] Wickedares:
That fixed it, Thanks!
[Verizon Samsung Galaxy Note II] bigbiff:
They are the same files.
[Verizon Samsung Galaxy Note II] Wickedares:
i see now that im on a desktop. i guess i got a little confused with the note2 browser.
[Verizon Samsung Galaxy Note II] RaptorMD:
Which one worked the second time around? Goo Manager or updating via Zip Files?

---------- Post added at 11:59 AM ---------- Previous post was at 11:58 AM ----------

Thank you. As usual great site with help everywhere.
[Verizon Samsung Galaxy Note II] thedanks:
so... how common is it for a backup from twrp to restore and not get past the Galaxy Note II logo? not happy...
[Verizon Samsung Galaxy Note II] bigbiff:
What did you restore?

If you try again, before rebooting paste the contents of /tmp/recovery.log.
[Verizon Samsung Galaxy Note II] thedanks:
welp, now that my only choice was to restore the data in titanium backup... it didn't even restore all my apps. luckily i had a backup of my apps in titanium from the other day. It missed like 15.
[Verizon Samsung Galaxy Note II] bigbiff:
Restoring System...
I:Restore command: 'cd /system && tar -xf '/external_sdcard/TWRP/BACKUPS/42f7fd1aa7759f31/beans3/system.ext4.win''
tar: short read
[System done (31 seconds)]

According to tar documentation I read that means that the tar was corrupted and returned the wrong number of bytes for a header.

But the good news is your /data partition restored fine. So you could install the rom again, and just restore data and boot to get back up and running.

I would format your external sdcard again to make sure that if there are any bad blocks they are marked bad.
[Verizon Samsung Galaxy Note II] thedanks:
interesting. i think that was the only combination i didn't try :) it seems like that may work. i already pretty much redid all my mods already and everything. maybe since i don't feel like formatting my sd card i will be able to test it out if it happens again :p
[Verizon Samsung Galaxy Note II] MunkinDrunky:
The zip update worked. I did update twrp from in twrp. Note: I once tried installing twrp recovery from cwm that didn't work. I had to get twrp back by odin.
[Verizon Samsung Galaxy Note II] abe_cedar:
Worked for me too.

Flashed zip from twrp.
[Verizon Samsung Galaxy Note II] bigbiff:
If you have a problem with goo manager, please provide a logcat.

Goo manager has issues sometimes.
[Verizon Samsung Galaxy Note II] bigbiff:
Please upload /tmp/recovery.log to debug this issue.
[Verizon Samsung Galaxy Note II] DCVR 614:
https://paste.tinyw.in/index.php/view/11380013
[Verizon Samsung Galaxy Note II] DCVR 614:
Nevermind. I formated data again and rebooted and everything is working fine now. Thank you for your help!!
[Verizon Samsung Galaxy Note II] ztotherad:
okay, is it just me or something? everytime I attempt to flash the twrp 2.8.5.0 recovery via recovery or mobile odin it keeps taking me to the stock recovery image.. so I have to flash twrp 2.8.4.0 to get back twrp recovery on my phone.
[Verizon Samsung Galaxy Note II] bigbiff:
Please do me a favor and get the following

cat /proc/partitions
[Verizon Samsung Galaxy Note II] ztotherad:
okay, done the command you want.

here it is.

root@t0ltevzw:/ # cat /proc/partitions
major minor #blocks name

179 0 15388672 mmcblk0
179 1 4096 mmcblk0p1
179 2 4096 mmcblk0p2
179 3 20480 mmcblk0p3
179 4 4096 mmcblk0p4
179 5 4096 mmcblk0p5
179 6 4096 mmcblk0p6
179 7 8192 mmcblk0p7
179 8 8192 mmcblk0p8
179 9 8192 mmcblk0p9
179 10 90112 mmcblk0p10
179 11 262144 mmcblk0p11
179 12 1572864 mmcblk0p12
179 13 2359296 mmcblk0p13
179 14 20480 mmcblk0p14
179 15 8192 mmcblk0p15
259 0 11001856 mmcblk0p16
253 0 512000 zram0
179 16 31166976 mmcblk1
179 17 31165952 mmcblk1p1
[Verizon Samsung Galaxy Note II] bigbiff:
Thanks, please test http://techerrata.com/bigbiff/openrecovery-twrp-2.8.5.0-t0ltevzw.img.tar
[Verizon Samsung Galaxy Note II] ztotherad:
yup flashed correctly and running beautifully. thanks sir!
[Verizon Samsung Galaxy Note II] bigbiff:
Pushed to techerrata.com.
[Verizon Samsung Galaxy Note II] glockman4519:
Nice work. It is definitely fixed now. Flashed .img with Flashify and this time all went smoothly.

Thank you Bigbiff.

"Chance Favors the Prepared"
[Verizon Samsung Galaxy Note II] Dr. Droidberg:
Does anyone know if this build properly flashes AllianceRom Build 30? I absolutely HATE the UI of Philz Recovery but I know older versions of TWRP didn't play well with it.
[Verizon Samsung Galaxy Note II] glockman4519:
I was flashing build 30 with TWRP 2.8.4.0. I didn't have the issues that everyone else was having. I don't see why build 2.8.5.0 would be any different. I would try for you but I'm out of town right now and didn't bring my SD card with "wip rom" on it so after I checked for you, I could flash back to the rom I'm on now. I'm one of those that have to flash "wip rom" when coming from touch wiz and going to an AOSP rom and right now I'm running PacMan lollipop.

"Chance Favors the Prepared"
[Verizon Samsung Galaxy Note II] viper31573:
im lost here and not sure what i did wrong. i tried to install the latest vetsion of TWRP(i was on philz). i used the android app. when it rebooted into recovery it says android recovery and not twrp. it also wont let me go back to philz

---------- Post added at 02:00 PM ---------- Previous post was at 01:48 PM ----------

fixed. apparently there is just a problem with that version. installed the version just prior to the newest and it installed with no problem
[Verizon Samsung Galaxy Note II] QBall45:
2.8.5 has what I'll call a major bug. After restoring a fresh backup it boots to the splash screen and then takes me back to recovery. Ended up going back to the previous version 2.8.4 I think.
[Verizon Samsung Galaxy Note II] bigbiff:
logs?
[Verizon Samsung Galaxy Note II] QBall45:
Unfortunately I didn't think to grab logs. Logs aren't auto generated are they? I do know that I'm not alone. The LiquidSmooth note2 dev had the same experience yesterday.
[Verizon Samsung Galaxy Note II] bigbiff:
No debugging can be done without logs and knowledge as I don't have your phone.

They are generated under /tmp/recovery.log, see my signature.
[Verizon Samsung Galaxy Note II] glockman4519:
I just did 2 backups and then restored those backups using 2850 and both times the restored rom booted up just fine. One was an Alliance rom backup and the other was Pacman unofficial lollipop. It send to be working fine on this phone.

That's not to say it isn't having issues on other phones. Just that it is working here.

"Chance Favors the Prepared"
[Verizon Samsung Galaxy Note II] ztotherad:
same here, I've been running 2.8.5.0 for a while now
[Verizon Samsung Galaxy Note II] xan3x:
Does this TWRP work on a 4.4.2 ghetto rooted ?
[Verizon Samsung Galaxy Note II] ztotherad:
nope, if you're using an i605 Verizon Wireless Note 2 that is on 4.4.2 (stock came this way) then you my dear friend unfortunately have a locked bootloader and can't do much regarding flashing your phone. Sorry to be the bearer of bad news.
[Verizon Samsung Galaxy Note II] glockman4519:
I'm afraid "ztotherad" is correct. If you just purchased this phone and and it came with 4.4.2 on keeping it and want to flash custom roms via unlocked bootloader and custom recovery, there is a way but it is going to cost you about $75.00 and you will have to ship your phone to them. If that is something you would be interested in Google "Mobile Tech Videos" They will be able to help you.

"Chance Favors the Prepared"
[Verizon Samsung Galaxy Note II] xan3x:
Even if I am rooted? My other option is that i have my old note 2 with a smashed lcd that is on mj9 rooted. but the lcd and glass is like $150
[Verizon Samsung Galaxy Note II] manbat:
You can use Safestrap...which is a "modified" TWRP...

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / Custom Kernel-ed/ TWRP 2.8.5.0.trltevzw
[Verizon Samsung Galaxy Note II] glockman4519:
Safestrap dose work very well too. You just have to remember that the only roms that you can flash to Safestrap have to be touchwiz based and have the stock kernel. Also, as far as I know, rom slots are still not working so you need to flash the custom rom on the "stock rom" slot.

Good luck.

"Chance Favors the Prepared"
[Verizon Samsung Galaxy Note II] viper31573:
Can someone help me get back to twrp? Can't remember the last version I was able to flash. When I download the zip it downloads as an html and not a zip. I'm currently using philz but want to come back. Do b I need to flash a really old version before the new version? My phone is rooted with unlocked bootloader.

---------- Post added at 07:41 PM ---------- Previous post was at 07:31 PM ----------

apparently now its on my device. i tried using the app install method. it got to the point of asking me to verify partition. i then clicked yes and it told me install was unsuccessful and asked if i wanted to reboot to recovery. when i clicked yes it booted into current twrp. so i guess all is ok
[Verizon Samsung Galaxy Note II] timmyd463229:
What do I gain from flashing this twrp over keeping the original one I got from unlocking my phone