yashsingh1/xdaforums huggingface dataset:
[Galaxy Note Pro 12.2 Original Android Development] diehengardt:
Hi,

same issue with me.

I thought at first this had something with unlocking when checking at which step was the backup, so I very often moved my fingers on the screen to avoid going in lockscreen mode... but then again the same message in red:

E:recv error on uevent.

so is it safe to still use it?
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
It's a benign error, we should move that to LOGINFO.
[Galaxy Note Pro 12.2 Original Android Development] diehengardt:
ok thanks for replying.

I've tried to flash a modified lolippop stock rom and all was fine.
[Galaxy Note Pro 12.2 Original Android Development] yuco91:
Hi guys.

I've a p905 device. I tried to install the latest verision of twrp from the official website .. My device has no root , so I try the Odin method (no root required) . The flash is ok, but there is no TWRP ! I display the stock recovery mode after reboot ..

Any suggestion?
[Galaxy Note Pro 12.2 Original Android Development] chooks06:
Been a long time for me.. But it's something like don't check auto reboot in Odin (if it does, quickly hit the vol + and home (bixby) button to boot to recover once you feel the vibe.

Otherwise, after successful flashing of TWRP, power up with phone disconnected from PC using home, vol + and power button. Once Samsung splash screen comes on, release power button but hold on to the other two till you get into recovery (TWRP).

I'm not responsible if phone bricks by you following my input.. But I hope it helps..

BTW - 905 is Note 4? Cant remember all their numbers references..OH CRAP! it's a tablet?

Edit - it's a Tab Note Pro 12.2? No wonder it's sounded familiar. Had one but sold before I could do anything.

So like I said, not responsible for bricks...
[Galaxy Note Pro 12.2 Original Android Development] bl我爱我家:
Thank you！
[Galaxy Note Pro 12.2 Original Android Development] MaxMarkus:
Hi everyone!

I installed latest TWRP on my Note Pro LTE (SM-P905) several times now. Via apk or Google Play makes no difference: I'm stuck in downloading (viennaltxx) and then nothing happens. Not after new start of TRWP, reboot or whatever. TRWP screen is empty and only download button in lower edge is there. I also tried to put the image in root directory of phone, then SD card.

So I don't even know what to expect after download of img file. Doesn't look like on page 1 here (with a set of buttons on screen for install, wipe etc.)

Any suggestions?

Greetz, M.
[Galaxy Note Pro 12.2 Original Android Development] bemanet:
please try this TWRP: https://xdaforums.com/t/recovery-p905-unofficial-twrp-3-2-2-0.3684802/

It works on my P905.
[Galaxy Note Pro 12.2 Original Android Development] hernexto:
3.4 is announced for viennaltexx on this page, but points to official web... and it is not there:

Download latest TWRP 3.4+ for your Android device

TWRP officials finally released the latest version which comes which a drastic changelog. The latest TWRP 3.4 is out for

digistatement.com

Samsung Galaxy Note Pro 12.2 Qualcomm LTE SM-P905 (viennaltexx)
[Galaxy Note Pro 12.2 Original Android Development] rtyuakatsuki:
How to install this recovery in qualcomm ?

Any instruction?
[Galaxy Note Pro 12.2 Original Android Development] Mike02z:
When I run that command from my PC while in TWRP via adb shell I get the following error:

"The system cannot find the path specified"

adb sees the device and sees it is in recovery so not sure why it is not working via adb shell.

If I run it from a terminal command in TWRP. Here is the output.
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Another test build : http://techerrata.com/bigbiff/openrecovery-twrp-2.7.0.1-v1awifi.zip

Please try getenforce in twrp and let me know.
[Galaxy Note Pro 12.2 Original Android Development] Mike02z:
Flashed the file, went into TWRP and ran getenforce while in TWRP. Still reports "Enforcing" and won't backup to external SD.
[Galaxy Note Pro 12.2 Original Android Development] tatuk:
Installed TWRP 2.7.0.1, it works like a charm, thanks to bigbiff and the team. It doesn't recognize exFAT, it's understandable, I've read the explanation on the team site.

Let's wait until some developers ignore M$ copyrights crap :)
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
It has exfat support, just trying to work on getting selinux enforcing turned off.

Just to make sure, can someone use adb shell "setenforce permissive" and try a backup to exfat sdcard?
[Galaxy Note Pro 12.2 Original Android Development] Mike02z:
I ran setenforce permissive in TWRP but it still gives errno=13 unable to create folder.
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Did you verify with getenforce that it was set to permissive?
[Galaxy Note Pro 12.2 Original Android Development] Mike02z:
Nope. Still set to Enforcing...
[Galaxy Note Pro 12.2 Original Android Development] Duly.noted:
Hmmm using this I wonder if it is possible to unroot and then reroot relatively quickly
[Galaxy Note Pro 12.2 Original Android Development] esgie:
Well, in P905 i made a repacked kernel (or a serie of repacked kernels...) with a lot of changes (well-known, less well-known, and my own as an experiment) which target was to make goddamn selinux state to permissive.

No success.

Is it possible that sammy forced the enforcing state withing kernel zImage itself?
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
You can restore your nandroid of stock rom and then flash stock recovery with odin.
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
It seems no matter what [MENTION=4475888]Mike02z[/MENTION] cannot get it set in the kernel I compiled from samsung sources. I even tried to set the boot options in the kernel to set permissive to nothing. Modifying sysfs results in enforcing too. Sometime today I hope to pull out SELINUX and see if that helps while retaining security labels.
[Galaxy Note Pro 12.2 Original Android Development] Duly.noted:
What im wanting to do it use su to unroot and clean up so screen mirroring will work then immediately be able to reroot without going to a computer. I know many versions of twrp support the ability to root a firmware directly from twrp.
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
Do you plan on making TWRP compatible to the LTE version? I can help if you need a tester or anything else like dumps, logs etc.
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
What is the model number?
[Galaxy Note Pro 12.2 Original Android Development] Spere:
For international model: SM-P905
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Yes, it's on my todo list.
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
Awesome, good news. Thanks!
[Galaxy Note Pro 12.2 Original Android Development] rgolnazarian:
I'm having a really hard time installing this...where can I find instructions for smp-900?
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Install USB drivers from samsung

Download Odin 3.07

Flash tar file in PDA/AP slot
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Can you get me the output of

ls -lR /dev/block > /sdcard/block.txt

on your sm-p905
[Galaxy Note Pro 12.2 Original Android Development] Do the Android:
I'm having hard time installing too.

I'm trying to install by using Odin but whenever I download -..tar file, it extracts to recovery.img

Odin can't recognize -img file.

Can I just change file to .tar extention or Should I need to wait til someone upload .tar file?
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
http://pastie.org/9096867

Gesendet von meinem SM-P905 mit Tapatalk
[Galaxy Note Pro 12.2 Original Android Development] wmarcin:
For all you having trouble, if you're rooted, try using Recovery Tools (free in Play Store) - it worked for me, flashed without PC, backed up existing recovery first.

Edited.
[Galaxy Note Pro 12.2 Original Android Development] esgie:
For p905 see post #45, i use it on my own as a temporary solution for a moment

Wysłane z mojego GT-N8000 przy użyciu Tapatalka
[Galaxy Note Pro 12.2 Original Android Development] makbil:
Recovery Tools requires root, so kind of defeats the purpose if you're just starting out from a full stock device, same situation with mobile odin. The 3 methods listed in the op seem to be the only way to go.
[Galaxy Note Pro 12.2 Original Android Development] wmarcin:
I assumed you're already rooted, if you're installing custom recovery, esp. since root was available much earlier than TWRP for SM-900. I guess you could have TRWP without root. In that case, you're right: Recovery Tools will be pretty useless.

... Moto X VZW DE ...
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Make sure you save as and not open the file with the browser. Once TWRP is installed, download SuperSu zip from chainfire and flash it in TWRP.
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Can you give http://techerrata.com/bigbiff/openrecovery-twrp-2.7.0.0-viennaltexx.img.tar a try please?
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
Stuck on this screen (blurry, in case you can't read it: Recovery booting.... Recovery is not seandroid enforcing. Set warranty bit: recovery)
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Flash stock recovery in odin. I need to figure out why mine isn't booting. Are you familiar with debugging?
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
Not yet, but if you can recommend me a howto I will be glad to learn. :)
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
First download the stock firmware from sammobile and flash it to get back to a stock build. Then find a guide on how to install adb. Let me know when you are ready.
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
Is there any way I can flash the stock recovery only and not wipe everything?
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Is there a cf root for your device?
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
Yes there is.
[Galaxy Note Pro 12.2 Original Android Development] Do the Android:
Thank you for your response.

I finally figured it out what I was doing wrong.

I was thinking ahead of myself.

You see, whenever I download .tar file (so I can use Odin to flash), Downloaded file has an .img extension. .tar was not showing.

Since it's .img I automatically thought it was compressed file so I try to uncompress and it still says .img when I extracted.

I wasn't supposed to extract the file.

Anyway. I flashed it fine and now I have TWRP on my SNP.

Thanks again.
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
I would just flash that in Download mode then. That will restore stock recovery for you. Let me know when you get stock recovery working again.
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
Stock recovery working, adb tools ready. What's next? :victory:
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
OK, keep cf autoroot to flash back to stock when you flash TWRP again.

Install ADB

Flash TWRP in Odin.

Try to boot TWRP: home + vol up + power

Let it fail

Boot into Download: home + vol up + power

Flash cf autoroot

boot into android

adb shell

cat /proc/last_kmsg > /sdcard/last_kmsg.txt

Upload last_kmsg.txt as an attachment
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
cat /proc/last_kmsg > /sdcard/last_kmsg.txt

/system/bin/sh: cat: /proc/last_kmsg: No such file or directory

There is no last_kmsg, how do I know when the TWRP boot attempt fails? It just sits there at the screenshot I posted before. I waited about 3 minutes, too impatient?
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
What steps did you do in between that screenshot and trying to get last_kmsg?
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
Waited about 3 minutes for the device to boot into TWRP

home + vol down + power to boot into download mode

flashed cf autoroot

booted into android

installed supersu from the playstore

activated usb debugging

issued the adb commands.
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Sounds like the kernel isn't booting, just to verify, state your device again? viennaltexx right?
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
Correct, this is also the name of the cf autoroot tar (or SM-P905).
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Can you get me the output of /proc/partitions please?
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
Here you go: http://pastie.org/9115806
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Were you able to get the last_kmsg?
[Galaxy Note Pro 12.2 Original Android Development] spelaben:
I just tried to grab the log again. Unfortunately, after flashing TWRP the only thing I see is still:

"Recovery Booting....

Recovery is not seandroid enforcing

set warranty bit: Recovery﻿"

The only way to boot into Android after that is to flash CF-Auto-Root-viennalte-viennaltexx-smp905.tar and there is no last kernel log...
[Galaxy Note Pro 12.2 Original Android Development] rgolnazarian:
After wiping dalvik/cache, I keep getting an error message E: unable to mount /cache..I tried remounting it, wiping data, restoring backups, nothing seems to work. I'm stuck in a bootloop at the Samsung screen. I can still reboot in recovery, but I can't get keys to recognize my device...
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Are you using 2.7.0.2? You might need to try odining stock to get out of the issue with cache.
[Galaxy Note Pro 12.2 Original Android Development] rgolnazarian:
Yup, thanks, that's what I ended up doing flashing back to stock firmware, but now I can't reroot it lol it gets stuck at cache.img
[Galaxy Note Pro 12.2 Original Android Development] hendav:
Next time after that happens, just flash the stock recovery via Odin (I found I could still boot into download mode) and it will get you out the boot loop. This happened to me when wiping cash on the latest version also.
[Galaxy Note Pro 12.2 Original Android Development] Mike02z:
Remember, wiping cache on the P900 can take 3-5 minutes. Bigbiff can explain why (I think it's in this thread somewhere). You may think it is stuck when it really isn't.
[Galaxy Note Pro 12.2 Original Android Development] hendav:
Yes but in this case it is saying that it is failing to mount the cache in recovery.
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
It's taking a while to do the secure cache erase. If this fails it seems to have issues. Odining stock recovery fixes it usually.
[Galaxy Note Pro 12.2 Original Android Development] icem237:
For me flashing twrp first then rooting works like a charm. Then in twrp need to enable the -rf option and that will allow clearing the cache for the time being.
[Galaxy Note Pro 12.2 Original Android Development] hendav:
What's the rf option?
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Sorry I meant rm -rf option. This makes it so that it won't format partitions when wiping which can cause issues in some cases it seems. If you have an issue with cache, then odin stock image onto the tablet. When you flash TWRP back select this option so TWRP won't format your partitions.
[Galaxy Note Pro 12.2 Original Android Development] esgie:
Hi, can u explain what was the reason of non working external exfat sd on P900 and how did you fix it? Was it caused by enforcing selinux or was there any other reason?

Btw did u check if it is working on fat32(vfat) externsl sds? I bet it does.
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
If selinux is enforcing it won't allow you to backup to the external sdcard. I had to turn it off in the kernel command line.
[Galaxy Note Pro 12.2 Original Android Development] esgie:
Hm.

1) FAT32 cards seem to work ok with custom recovery (see pt. 2) on P905's even if enforcing... enforcing causes lack of permissions only to exFat cards (and probably ext4 ones, didn't check that...)

2) As probably not many of you noticed, I've posted custom TWRP for P905 which IS WORKING and IS USABLE. Let me remind, it's not exactly my job, Ive made it by combining:

a. repacking stock (pre-compiled but working!) kernel zImage with...

b. ...TWRP's ramdisk...

c. ...with some device-specific changes.

I am using it since three weeks, backing up and restoring works great, I can go further with exploring the device without a worry, that I'll have to start from ODIN stock again and again after any failure... Cache wiping seem to work too. The only issue is that goddamn enforcing thing, but I have avoided the problem by performing backups to different, FAT32 formatted external card (16GB sd even from a trusted company seem to be extremely cheap nowadays...) than I use everyday... just a matter of swapping the cards, which seems to be enough for a moment until someone smarter succeed to compile the regular working version... Backup, even 8gb with compression, is being performed very quickly (and correctly!) as N12.2 has great speed of intrernal mem... Zips also install correctly etc.

Reminding, here''s link for "latest" version of "homemade" TWRP 2.7 for P905 working with FAT32 externals:

http://www30.zippyshare.com/v/98456819/file.html

You can flash it if you are rooted by Chainfire's method, by placing twrp.img in the /sdcard folder and have busybox installed (if you can't, use one of the GUI apps from GPlay...), by turning on Terminal Emulator app and typing:

su -c busybox dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p15

P905 only! And don't mistake the last number as you'll flash image to wrong partition which may and surely will result in a brick, sometimes: unrecoverable with Odin...

I haven't ever prepared odin tar's in my life, so if someone can do it instead to ease up the process it would be nice.

3) Maybe there's a workaround which may be used in ie. P905 (which kernel, as far as I understand, don't want to compile in a working way until now, right) to make external card writable ? Example: as of regular android, external card write access can be enabled for everyone by modding /system/etc/permissions/platform.xml - I've made it and it works, at least from within the system. However, I do not know if that file is /system/etc/permissions/platform.xml (or any other describing the permissions) is android specific and it won't work/won't be even loaded or seen under revcovery, or is it a part of SELinux/UNIX/whatever and it will be respected... How do you think?
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
I can't remember if anyone tested this p905 image: http://techerrata.com/bigbiff/openrecovery-twrp-2.7.0.0-viennaltexx.img.tar
[Galaxy Note Pro 12.2 Original Android Development] esgie:
Yes, it was said it stuck at samsung boot screen (and i do confirm that), probably due to broken sammy's sources.
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Yeah, that seems to be the same thing with picassoltexx. Tonight I am just going to do picassoltexx and viennaltexx with prebuilt kernel.
[Galaxy Note Pro 12.2 Original Android Development] esgie:
Using both stock boot zImage and stock recovery zImage cant get permissive mode, no exfat support.

I've tried a lot of both ramfs and even cmdline options. It seems that those kernels have been built with config_always_enforcing....

Guess only way to hack it is to:

- wait for better sources and recompile... or

- change kernel boolean flag listed in /proc/kallsyms, probably selinux_enforcing, by writing raw zero to kernel memory space, but we need a useful kernel exploit to do that...

Hope you find out some easier way...

Wysłane z mojego SM-P905 przy użyciu Tapatalka
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
I uploaded a stock built picassoltexx image. Can you test it from goo?
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Can someone test SM-P905: http://techerrata.com/bigbiff/openrecovery-twrp-2.7.0.0-viennaltexx.img.tar
[Galaxy Note Pro 12.2 Original Android Development] ColBill:
I have a P905 and am willing to test the file, however I'd like a recommendation on how best to load and test the file for you.

I have not been able to get mobile odin to work but would like to validate which version of odin might result in the best success. I had success with version 3.07 to root the phone and i'm currently on baseband version p905xxuana7 and kernel version 3.4.0-634464. SE for android status is enforcing; SEPF_SM_P905_4.4.2_0009. security software version is mdf v 1.0 release 2.

I would guess my current choices are odin 3.07 or 3.09 with a wipe of both caches? Thanks for all your efforts and looking forward to having a device with TWRP working.:fingers-crossed:
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
I recommend using odin 3.09 to flash it. You don't need to wipe caches to install TWRP.
[Galaxy Note Pro 12.2 Original Android Development] ColBill:
Flashed using Odin 3.09 through AP button in Odin. Boots to recovery but only on left-half of screen - can see the first 6 buttons down to setting but unable to get to keyboard. pressing each of the buttons (function keys) causes some function to be invoked but can only see half screen and icons are very large. Only way to get out of recovery was to go back to download and then cancel process. Device then boots to home screen. only issue I've noticed so far is lost screen saver. Suggestions?
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Can you link the file you flashed on your p905?
[Galaxy Note Pro 12.2 Original Android Development] esgie:
He probably ran picasaltexx version youve posted few posts before, as there is not much to choose - except not-working at all genuine viennaltexx build - around ;)

I have to add that I had the same issue when I repacked ramdisk from your non-working TWRP for P905 (the one which was causing bootloop by default, coz of buggy sources) with P905s stock kernel zImage - UI (ui was rotated 90 deg so options weren't reachable, then).

Seems you gotta prepare a new image, but with UI settings same as for P900 (which are at least working well, when combined with P905s props and stock kernel...).
[Galaxy Note Pro 12.2 Original Android Development] ColBill:
I will try with a little help. I have found a app called link to file. Should I use that app? I follow instructions pretty well so if you point me in the right direction I'll be happy to try. I've only had this device for about 3 weeks but have some experience with P6800 tabs. I'm sure you have plenty to do and i know to do the research myself but kind of need a jump start for the concept on where to link the file. Regardless - thanks for the response and your patience. :confused:
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
OK, I want to work on getting p905 working perfect. PM if you can test. This one has stock kernel http://techerrata.com/bigbiff/openrecovery-twrp-2.7.0.0-viennaltexx.img.tar

If this one boots to TWRP main screen let me know. Also if the gui is rotated let me know. Thanks!
[Galaxy Note Pro 12.2 Original Android Development] ColBill:
I know you did not ask me but I flashed the new file Odin 3.09 through AP button in Odin. After loading need to invoke recovery and again - It still shows only the first six actions and is on the left side of the screen. I believe if I could scroll the rest of the recovery choices would be available. the orientation is vertical on the horizontal display and i can not get TWRP to rotate. Only way to get back is go go back to download and abort. I hope this helps........
[Galaxy Note Pro 12.2 Original Android Development] bigbiff:
Thanks, please test http://techerrata.com/bigbiff/openrecovery-twrp-2.7.0.0-viennaltexx.img.tar