yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] start_developing:
I've got a problem when restoring a backup made with TWRP. (backup and restore from the same TWRP version - 7.1.0) The restore process went fine but while booting up the system I can see a lot messages like these in "adb logcat":

(...)
E/logwrapper( 1243): executing /system/bin/ip6tables failed: Permission denied
I/ip6tables( 1191): executing /system/bin/ip6tables failed: Permission denied
I/ip6tables( 1191): ip6tables terminated by exit(255)
E/Netd ( 1191): exec() res=0, status=65280 for /system/bin/ip6tables -t filter -N bw_FORWARD
E/logwrapper( 1244): executing /system/bin/iptables failed: Permission denied
I/iptables( 1191): executing /system/bin/iptables failed: Permission denied
I/iptables( 1191): iptables terminated by exit(255)
E/Netd ( 1191): exec() res=0, status=65280 for /system/bin/iptables -t filter -A FORWARD -j bw_FORWARD
I/ip6tables( 1191): executing /system/bin/ip6tables failed: Permission denied
E/logwrapper( 1245): executing /system/bin/ip6tables failed: Permission denied
I/ip6tables( 1191): ip6tables terminated by exit(255)
E/Netd ( 1191): exec() res=0, status=65280 for /system/bin/ip6tables -t filter -A FORWARD -j bw_FORWARD
E/logwrapper( 1246): executing /system/bin/iptables failed: Permission denied
E/logwrapper( 1247): executing /system/bin/ip6tables failed: Permission denied
(...)

It seems that the permissions are corrupted. I have tried to use the fix permissions option in TWRP but it still fails. The bootup takes forever. I have looked at the file permissions they look like these:

-rwxr-xr-x root shell 187360 2014-10-12 14:03 ip6tables
-rwxr-xr-x root shell 196248 2014-10-12 14:03 iptables

For me they seem to be ok since everyone should be able to execute the scripts. But the problem still remains. :(

What could I do to fix the problem?
[ONE Original Android Development] Villelj:
Hi, im still using version 2.7.1.0 and thinkig to update newst one... So can i just install new recovery normal way and then install this zip file that fill fix this random boot loop probelm?

Edit: installed newest version of recovery, do i need flash this zip till to fix boot loop problem?
[ONE Original Android Development] Vonnegut:
If the bootloop is due to the corruption of the persist partition, that zip will solve your problem.

If not, that zip won't change anythyng
[ONE Original Android Development] Villelj:
Okay thank you, so no worries if I try flash it. Only good thing can happen
[ONE Original Android Development] elrey311:
Do you flash it even if you don't have the problem?
[ONE Original Android Development] PaoloMix09:
I did. Lol
[ONE Original Android Development] elrey311:
Does it prevent the bootloop problem or does it just repair it after you have the bootloop problem. I am just wondering if I need to flash it to prevent this from happening.
[ONE Original Android Development] Vonnegut:
Oh c'mon, that's not a vaccine.

The problem has been fixed. If you're using a custom ROM and you have updated it in the last couple of days, you've been already immunizated.

http://xdaforums.com/showpost.php?p=56086489&postcount=787
[ONE Original Android Development] PaoloMix09:
Had my device almost a month and have never been in a bootloop or had any problems with it. Been running Vanir + franco for the most part and I am just fine.
[ONE Original Android Development] elrey311:
I am running 38R with franco and everything has been fine. I am just trying to keep up with the things and stay involved.
[ONE Original Android Development] Vonnegut:
I'm quite sure that Franco added the commit in the R27.

You can take a breath now :p

Moreover that was nothing to worry about. That was a bummer for sure, but not one that could cause anything more than a scare.
[ONE Original Android Development] elrey311:
I am running the R27. I want to say thanks for your helpful posts. Thank You.
[ONE Original Android Development] Vonnegut:
Thank you.

Anyway, in case anybody wants to check if they've been immunizated , there's an easy way to do so (root needed tho).

Open your favorite file manager and go the the root. There you'll find a file named fstab.bacon.

Open it with a text editor and verify if there's a check at the end of the following line:

/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 nosuid,nodev,barrier=1,data=ordered,nodelalloc,nomblk_io_submit,errors=panic wait,[B][COLOR="Red"]check[/COLOR][/B]

That's all.

From now on the system will check the filesystem's integrity of the persist partition on every boot.
[ONE Original Android Development] otisman:
Hey Vonnegut I'm on r27 and I don't have the check at the end could I just add one there
[ONE Original Android Development] Vonnegut:
I know, i already pointed that out to Franco

http://xdaforums.com/showpost.php?p=56127815&postcount=5694
[ONE Original Android Development] Notor1ouS-:
finally some1 who provides info :P
[ONE Original Android Development] Vonnegut:
Franco will add the commit with the r28 release.
[ONE Original Android Development] shaker2k:
Before we flash it should we take out the edit where we added "check"?
[ONE Original Android Development] Vonnegut:
We can't do that from userspace.

All those file you see in the root are just a reflection of what has been defined in the ramdisk.

We don't have the necessary permissions to fix them.

We can (sometime) change some setting on the fly but they will be totally forgotten after a reboot.

Let's say we can add that check argument in the fstab.bacon, well, In this very specific case, it makes no sense to add a check that must be done during the boot..after the boot...knowing that when we will reboot it will be forgotten.

I hope i made myself clear :)

We have to wait for developers to change the ramdisk. Some of them have already done that.
[ONE Original Android Development] eshoxx1982:
Hi there,

just some qustions.

Can I flash older 2.7.1.0 backups with this never version?

And: can I just flash with fastboot the new version of TWRP over the existing recovery?

Thx!
[ONE Original Android Development] knuspertante:
1. yes

2. yes
[ONE Original Android Development] eshoxx1982:
Thanks!

Vielen Dank :)

Where did you download it?

Following the link in 1.post?
[ONE Original Android Development] :
Where can i download last update on .zip?
[ONE Original Android Development] knuspertante:
Yes you can download it from there.
[ONE Original Android Development] playya:
have you looked through this thread? Have you clicked on the paperclip next to the thread title?
[ONE Original Android Development] :
Im on tapatalk i'll check later. Thx
[ONE Original Android Development] Coug76:
You can hit the menu button in tapatalk, tap the web view option and get to downloads tab from there.
[ONE Original Android Development] fireforhire:
So is the efs partition restoration fixed in the newest version?
[ONE Original Android Development] playya:
Again have you read the thread or at least the last 6 pages or so? There is no perfect answer for you. There are means within this thread and unofficial to protect yourself I advise you use them.

Sent from my 1+ Son!
[ONE Original Android Development] fireforhire:
Thanks for mini modding and giving a useless answer. I didn't ask about the unofficial release, I was asking about the recovery available in this thread. Either it works, or it doesn't.

Also show me the thread for the unofficial twrp... I'll wait.
[ONE Original Android Development] playya:
Hahaha if you actually took what I said as an answer and read thus thread and the unofficial one you will see talk about the recovery the definite ways to backup your partitions and what has been working g for people.

Its OK I understand mist don't want to read and do a little searching. Also at the end I did let you know its not as simple as a yea or no. Some have been successful and some have had issues. Hence the reason you are asking in the first place.

Basically use the recovery with caution but its not too say its strictly the recoveries fault.

Sent from my 1+ Son!
[ONE Original Android Development] pa.pn2:
delete
[ONE Original Android Development] ashok:
Successfully installed latest version. but unable to boot to recovery after installing
[ONE Original Android Development] RBwai:
Successfully installed and works fine for now. MTP mount works fine, battery charging works fine, installing zip files work fine, backup work fine, restoring work fine. for now everything looks perfect.

Give thanks to developers!
[ONE Original Android Development] ashok:
Which method u used to install. TWRP app method or fastboot method?
[ONE Original Android Development] RBwai:
Fastboot method works.
[ONE Original Android Development] Natakranta:
I downloaded official 2810 for bacon twice and get the same md5:

b8417e05a44e857a8eb21865d2095e93

Here they show different:

b153f7fe96862ac2d455cecfcd1c8643

Could somebody please confirm?

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Original Android Development] :
From which place have you downloaded your "first" version???

At techerrata.com I've got the b153f7fe96862ac2d455cecfcd1c8643 md5, this version is up and running at my 1+¹ :)
[ONE Original Android Development] Natakranta:
From techerrata, link in my earlier post. Twice the same wrong md5.

I downloaded now and has correct md5. Thanks!

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Original Android Development] Vonnegut:
Too much flashing can cause hallucinations. Usually in the terminal stage, people start believing that there's a plot by the community to trick them.

P.S. to FJ: Upload the fake SlimROM...NOW
[ONE Original Android Development] Natakranta:
I knew I smell conspiracy!

Both error downloads were with Dolphin

Correct one after flashing latest SlimSaber was with AOSP Browser (yes, some still use Browser).

Edit

MTP now finally works in recovery!

Guys, don't forget to update your TWRP materialised theme to 2.8.1.X version 8)

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Original Android Development] Ok_Kaleidoscope5109:
Yes, Techerrata.com will say b153f7fe96862ac2d455cecfcd1c8643 .

I downloaded twice from Dolphin and I got "b8417e05a44e857a8eb21865d2095e93" as well. So I'm not the only one. The way I got it to work finally was to download on my windows Desktop, and the MD5 will match properly, and then copy it over to my device. Maybe its a Dolphin thing?

Question for [MENTION=5180758]Natakranta[/MENTION], what browser are you using?
[ONE Original Android Development] Tr4il:
I just tried to update my TWRP with the playstore app, but if I try to reboot or boot into it, my phone is stuck on the oneplus logo. Any help? Or is just reflashing it via fastboot the best solution?

Sent from Bacon
[ONE Original Android Development] Jameswgm:
Same, tried twice now the TWRP updater app is not working properly, going to flash via fastboot now.
[ONE Original Android Development] Tr4il:
Flashing the .img via fastboot fixes the issue. It's working now.
[ONE Original Android Development] reaper000:
Is there any reason why no one's posted a flashable zip for 2.8.1.0?

If there is a reason, let me know and I'll delete this post. Until then, here's one:
[ONE Original Android Development] furrycurry:
Or just use flashify from Google play to flash official .img recovery file straight from twrp. It's free and has never failed me.
[ONE Original Android Development] psxsnake:
someone tried this "makeup" of TWRP on 1+1?

http://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
[ONE Original Android Development] Rycon33:
^^ you mean like this
[ONE Original Android Development] psxsnake:
yes :)

but not work to me, which resolution you get?
[ONE Original Android Development] Natakranta:
You need 1080 res theme for your TWRP version:

2.8.0.X theme for TWRP 2.8.0.1

or

2.8.1.X theme for TWRP 2.8.1.0 - recommended

Rename the theme zip to

ui.zip

And copy/paste to

/TWRP/theme

If there's no /theme folder inside /TWRP folder you need to create it.

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Original Android Development] HaTrED_:
[MENTION=912474]Dees_Troy[/MENTION]

Latest version doesn't work with online nandroid backup! It doesn't restore data partition correctly... Any of you guys had this problem?
[ONE Original Android Development] psxsnake:
i did exactly what you explain (2.8.1)... fu*k and don't work

edit:

i re-download the package and now work...

anyway thanks
[ONE Original Android Development] real_sl4cker:
I have this issue with every recovery(Philz, official and unofficial TWRP) on the OPO and only use the backup feature when booted into recovery. Maybe a issue of the online nandroid script.
[ONE Original Android Development] HaTrED_:
It was working fine on previous version - official 2.8.0.1 (!) :(
[ONE Original Android Development] mrsim:
just flashed 2.8.1.0 via the instructions in the OP with twrp manager and am stuck on boot logo every time i try to boot into recovery

can anybody please advise....CM11s stock r38 AK kernel v71gold

my device boots into system ok just not recovery
[ONE Original Android Development] Vonnegut:
That could be because of a corrupted download.

Download it again http://techerrata.com/file/twrp2/bacon/openrecovery-twrp-2.8.1.0-bacon.img and flash it again.
[ONE Original Android Development] mrsim:
can i flash this directly through twrp or using a different method

and thank you for your advice
[ONE Original Android Development] reaper000:
If your recovery partition is itself corrupted, you can't use it to flash anything, right? You're left with having to replace the corrupted recovery partition, by one of two methods:

1. Install flashify and download the recovery .img file. Use flashify to flash the downloaded file.

2. Download the recovery .img file to your computer, connect your phone, and fastboot flash the downloaded file with ADB.

If you don't know the exact steps of what I'm talking about, I encourage you to read about this in various threads in the Q&A and/or General forums. That's what I did!

Good luck!
[ONE Original Android Development] playya:
Or guys simply download the .img file and if you have a recovery zip file from a previous version of TWRP for OP like 2.7 - 2.8 you can simply replace the old recovery file with the new one. Please remember to rename the updated .img file to the same thing as the one in the zip (recovery.img). Thats it guys then flash it.

No magic peas needed. :p
[ONE Original Android Development] Tunasty:
Why do I get this error every time I go in recovery?

-Tunasty
[ONE Original Android Development] wcn:
Persist.img corrupted and your current kernel does not check the integrity of the persist.img like other partition.

https://github.com/CyanogenMod/andr...mmit/e7d388fcb097d21fa923fa2df12246e7433c1a02

There should be a "check" and the end the line in fstab.bacon

/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 nosuid,nodev,barrier=1,data=ordered,nodelalloc,nomblk_io_submit,errors=panic wait,check

While in TWRP, run the below on your computer:

adb shell

make_ext4fs /dev/block/mmcblk0p15

Or flash persist.img in TWRP. Get it here

More infos here and here

Edit: Thanks [MENTION=5427631]Vonnegut[/MENTION] pointed 2 post below, it is not about corrupted persist.img but those files inside it (mount issue). Nevertheless the above infos are still applicable to other members with bootloop/persist.img corruption.
[ONE Original Android Development] flupke02:
Had exactly the same problem, I guess updating twrp through twrp manager is not a good idea... Downloading the file again and flashing it with Flashify did the trick though! I am very relieved, thanks a lot! :good::)
[ONE Original Android Development] Vonnegut:
Check if the data is flagged in the "mount" setting.

Is that the official 2.8.0.1 TRWP?

---------- Post added at 03:47 PM ---------- Previous post was at 03:44 PM ----------

No Sir, that has nothing to do with the persist partition. That's related to the persist files inside the data/property folder (check the screenshot)
[ONE Original Android Development] Tunasty:
Yes official twrp. Under mount settings, Data and Cache were checked. Is that what you are looking for?

-Tunasty
[ONE Original Android Development] Vonnegut:
Yeah.

Did you get that message after a wipe?
[ONE Original Android Development] Tunasty:
Yes after wipe and installation

-Tunasty
[ONE Original Android Development] Vonnegut:
I see. Maybe (for some reason) the script you flashed mounted (and then unmounted) the USERDATA.

Anyway that's not an error to worry about.

Why don't you flash the latest 2.8.1.0? http://techerrata.com/file/twrp2/bacon/openrecovery-twrp-2.8.1.0-bacon.img
[ONE Original Android Development] TecQuality:
hello folks, i've a weird issue, i'm onto 38R right now, and successfully flashed the 2.8.1 (i've upgraded from 33R with it), now i'm trying to reboot into twrp, but nothing the phone reboots into its own recovery (by cyanogen), so i tried to reflash the twrp, but nothing to do i can't boot into this recovery ... always the cyano ... what's up? :/
[ONE Original Android Development] dmarden:
There is an option in CM11S settings somewhere about updating recovery, make sure it is disabled.
[ONE Original Android Development] TecQuality:
Thanks, I'll try [emoji56]

Sent from my One
[ONE Original Android Development] monkey29992:
I always get this message in red when I flash a new kernel with TWRP

I've uninstalled Dashclock Notifier and all the plugins but this still occurs. My backup always fails as well, which I'm not sure whether it's related to this error. Any help? Thanks!
[ONE Original Android Development] sephk:
Some inodes are corrupt. You need to run efsck through fastboot I think . Google it to learn more
[ONE Original Android Development] Vonnegut:
Can't be that IMHO. Take a look at the fstab.bacon: you'll see that the USERDATA has a check argument.

That means that efsck check is performed after each and every boot...so the filesystem of the DATA must be flawless.
[ONE Original Android Development] sephk:
I had this problem, so I am guiding based on experience. Here is the guide I had followed http://xdaforums.com/google-nexus-5/general/howto-repairing-corrupted-data-partition-t2577447
[ONE Original Android Development] Vonnegut:
I see but that's a quite different error from being unable to STAT some files:

If a partition can't be mounted, i agree that it's most likely corrupted..but we are talking about a very different error here.
[ONE Original Android Development] monkey29992:
So what should I do? Would a factory reset work? Although I would want to find other solutions first before doing a factory reset...
[ONE Original Android Development] Mbennett156:
2.8.1 doesn't work at all for me, won't even let me boot to recovery. When I try it just gets stuck on the oneplus logo
[ONE Original Android Development] gianton:
No such issue here. How did you flash it?
[ONE Original Android Development] Mbennett156:
Through the app, tried both the automatic way and the "install recovery from IMG file" way

In both instances I can longer boot to recovery
[ONE Original Android Development] gianton:
Maybe a bad download.

Flash it again via fastboot and then erase cache. Rename the file to recovery.img

fastboot flash recovery recovery.img

Then

fastboot erase cache

And

fastboot reboot
[ONE Original Android Development] Mbennett156:
Flashed it through ADB and it worked :) no idea why the app didn't work though
[ONE Original Android Development] gianton:
Good, fastboot is my preferred way flashing most stuff and never failed me.
[ONE Original Android Development] marhensa:
could someone please mirror it?

the 2.8.1.0

it always stuck downloading at 99% :(

EDIT: found it in 4shared

i reupload to ge.tt if someone need it http://ge.tt/15MPRJ42
[ONE Original Android Development] almostthere:
Thanks for the share and the feedback on the latest recovery unflashable..was wondering why the app didn't work
[ONE Original Android Development] Negan:
Did you ever manage to get it working?

This is what mine does

OnePlus one aroma issue: http://youtu.be/_c_Nqh_pozM

On 2.7.1.1 I found twrp freezes before the splash screen ( right when it says starting aroma...) [MENTION=912474]Dees_Troy[/MENTION] is this something you are aware of already? I also sent pm

Thanks for all you do!
[ONE Original Android Development] fueleh:
Flashed 2.8.0.1 in the app and cannot boot to recovery now :) can i wait for a fix in the app? or do i need to do it in fastboot?
[ONE Original Android Development] Natakranta:
fastboot flash recovery twrp.img

Why wait for fix to an app which is being continuously reported as falling to flash TWRP if you can do it through fastboot in 10 seconds.

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Original Android Development] ghul21:
Nice

https://plus.google.com/112585505205416152343/posts/HRh9hPseh9h

Sent from my A0001
[ONE Original Android Development] Striatum_bdr:
Not yet available for us
[ONE Original Android Development] chachin:
Cant wait to see what cool things will bring to bacon with 2.8.2.0 I'm still on 2.7.1.1 :P
[ONE Original Android Development] störte:
Is there a Chance to get latest AS ZIP file to flash?

Send by Hyperdrive on one+One
[ONE Original Android Development] ek69:
Use flashify from Google play to flash the .IMG file :)
[ONE Original Android Development] xanthrax:
I`m doing one , testing ...

Here you go

Twrp 2.8.1.0 flashable zip

https://app.box.com/s/z427vwp6rpqdaosm819s

Thanks [MENTION=3814731]katinatez[/MENTION] for the updater-script
[ONE Original Android Development] störte:
Thank you very much. Are there problems with lollipop and TWRP ?
[ONE Original Android Development] xanthrax:
No as far as I know no

What kind of problems?

Sent from my Darkside of 1+1
[ONE Original Android Development] störte:
I was on philz and had an rom running which gives me always uid something error and ask to delete data partition. i was google and read somewhere to fix permission can solve that. So i flash TWRP and use fix permission. After that i had bootloop. Maybe i was just stupid
[ONE Original Android Development] xanthrax:
Has been long time since I've stopped using fix permissions from recovery, I'm not sure about that

Sent from my Darkside of 1+1
[ONE Original Android Development] raphytaffy:
Not sure if others have encountered the same problem, but I cannot seem to boot into TWRP no matter what I do. I have flashed it via fastboot with the command:

fastboot flash recovery recovery.img

It writes and finishes successfully, but after powering off my device and powering it on while holding volume down, the phone boots back into Cyanogen recovery. I tried to circumvent this by first rooting my phone through TWRP via fastboot with the command:

fastboot boot recovery.img

This successfully boots me into TWRP where I was able to install SuperSU for root access. I then downloaded `TWRP Manager` through the Play Store and attempted to install the recovery through the app. It asks me this: http://i.imgur.com/moBSHyU.png, I hit Yes, and then the app crashes.

Has anyone else had similar trouble getting their TWRP install to stick? How did you resolve it?

Edit: Turned off Update CM Recovery in Developer options and it works now.
[ONE Original Android Development] knuspertante:
Do you rename your downloaded file in recovery.img?

Please post the log for:

fastboot flash recovery recovery.img
[ONE Original Android Development] jgcaap:
Guys, if possible before releasing new update review what's causing problems to some users.

https://jira.cyanogenmod.org/plugins/servlet/mobile#issue/BACON-213

I and many others using twrp, when updating cm11s or flashing kernels get problems along the way. If possible please review what's causing this.

Have a read up on the last 20 comments where we start speaking about different recovery use. Ah ahh suggested about being twrp, and in fact was true.

Thanks
[ONE Original Android Development] störte:
I flashed the latest TWRP and wanted to format the internal SD to f2fs but it says always that it is not possible. With philz it works. Or do i something wrong ?