yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] Lisko:
[MENTION=1427327]danieldmm[/MENTION] AROMA installer works for me, only problem is that debug log shows on top of the installer making view difficult. I noticed also that in latest build the firmware backup is gone, showing only EFS, is that normal/volunteer?
[ONE Android Development] danieldmm:
Yes, few builds back remove the firmware part because of the risk of restoring goes wrong or corrupt relative to aboot, if this happen phone will not boot, you will not have fastboot, you cannot boot to recovery. Only way to fix it's using qualcomm diag mode to flash bootloader again. Although on my next version will make the option to backup only modem as firmware. Its more then enough nowadays. Relative to aroma what zip did you tried? Tested with open gapps aroma and the debug log will not show. At least with open gapps aroma package.
[ONE Android Development] danieldmm:
The only credits can give to both Devs was back on the time before making my own build of twrp, was using is recovery on my device. My credits on this goes all to Omnirom team that work with the recovery part. My TWRP is build based on Omnirom recovery tree and device tree of bacon from CM13. All this will be written on OP. Just did not managed to have time to that. Sorry
[ONE Android Development] Lisko:
opengapps (tried different builds) and aromafm, latest and previous recovery builds. I have materialized theme installed, may be a theme issue?
[ONE Android Development] danieldmm:
It could be, just in case be sure you are using my lattest build of TWRP, delete .twrps file inside twrp folder and theme. Then try again.

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] Lisko:
Without materialized theme aroma works as it should be. Sadly was a nice theme.):
[ONE Android Development] Jadelor:
Do you guys have any idea as to why kumajaya's TWRP builds seem to read and write nand much faster than these Tuga builds or the official builds? Especially kumajaya's 3.0.0 and 2.8.7 ones perform a significantly faster backup and restore, all other variables same.
[ONE Android Development] thedamager:
adb shell from PC or use Terminal app from phone to set permissions to 660. Affected files are IIRC

boot.emmc.win

modem_st1.emmc.win

modem_st2.emmc.win
[ONE Android Development] Arunragav:
[MENTION=1427327]danieldmm[/MENTION] hope this helps a little.. What i noticed: Wiping cache and data takes a very long time, it never gets stuck and people gets impatient and says it gets stuck i guess... and this happened to me also and i was on ext4 on all partitions.. After changing the cache and data partitions to f2fs wiping cache and data completed instantly.. and wiping system is always taking extremely long time and yes iut is on ext4 and i never changed it to f2fs and tested it.. Hoping to see a update wit these things fixed soon.. Thanks again [MENTION=1427327]danieldmm[/MENTION] :good:
[ONE Android Development] Leoxur:
When I open the link for 20/11/2016 version
[ONE Android Development] GXGOW:
3.0.3-3 has been pulled. You have to download the -2 version.
[ONE Android Development] DjDiabolik:
3.0.3-3 it's pulled? Because? I have now on my opo... What's the problem exactly? I need to backward anyway?
[ONE Android Development] fafa77140:
Because it don't wipe well system , cache , it gave an error :/ â€¦
[ONE Android Development] DjDiabolik:
Mmmm... Yeah. I have read some old reply about this.

I have planned to try to flash the tugapower 14.1 and now or i need to wait the investigation or use back the -2 version ;)
[ONE Android Development] fafa77140:
For the moment use -2 it's stable and all basis functions works well
[ONE Android Development] danieldmm:
Just in case use the -2, all is working perfectly

Enviado do meu A0001 atravÃ©s de Tapatalk
[ONE Android Development] danieldmm:
TWRP 3.0.3-4-TugaPower

Change version to 3.0.x to support the app release

Update Ukraine language translation

Add TWRP app install via TWRP recovery ( you can disable the prompt on settings )

TWRP Language Update

Change handling of /cache due to AB devices not having cache

Support backup/restore of FBE policies

Support File Based Encryption

Add boot slot support

Support new AB OTA zips

Improve backup & wipe exclusion handling

To the ones that have problem before on -3 report if all its fine on your side now....

https://www.androidfilehost.com/?fid=457095661767123452
[ONE Android Development] LPW00:
Any benefits for our bacon?

Seems to work good for me
[ONE Android Development] danieldmm:
None... :)

It was submitted over source so syncing picked that.
[ONE Android Development] LPW00:
I already thought so.... Would've been cool...
[ONE Android Development] danieldmm:
But our device does not use that
[ONE Android Development] LPW00:
I know. But it would be cool if it does
[ONE Android Development] danieldmm:
TWRP 3.0.3-5-TugaPower

Fixed bug intruduced on -4 on handling busybox callings

https://www.androidfilehost.com/?fid=385035244224406230
[ONE Android Development] storm119:
Just a heads up...wiping dalvik/system/cache still taking an ages to complete...any idea why its happen ?

Should one use the 3.0.3-2 to avoid this issue...?

TIA
[ONE Android Development] danieldmm:
-5 removed, use -2 for the time being. Will need to give more time to TWRP over 7.1 trees to get more evolved.

Sorry guys

https://www.androidfilehost.com/?fid=529152257862672924
[ONE Android Development] bdwilk:
Thanks anyways boss. It's good to know devs are still committed to moving things forward, even if it's difficult. Your efforts are much appreciated.
[ONE Android Development] Naresh Rawat:
Why I can't download the latest build????confused....LOL???
[ONE Android Development] Zeus20:
Read the previous page post from daniel
[ONE Android Development] arjun:
couple of post before your's has the answer.
[ONE Android Development] funCrash93:
can you please look at the EFS if it backs-up and restores properly?

I've managed to lose IMEI :eek: (dirty flashed TugaN10 over TugaN2 :silly: )

and the funny part was that I had a nandroid backup using -2 version (system, EFS and boot) but, the restore did not help, sadly :rolleyes:

Thanks ;)
[ONE Android Development] danieldmm:
Your problem it's not imei, tuga N10 on top of N2 it breaks the SIM detection. That why on N2 you don't have OTA available. Just make a factory reset and all should be fine. - 2 was tested relative to efs and works just fine. Unless your backup it's already damaged...
[ONE Android Development] Claudiosvs:
Thanks for keeping these builds coming. I can definitely feel that the One is slowly dying, as more and more developers leave for newer devices. People like you keep this phone usable!
[ONE Android Development] tk8lm6:
Sorry if this isn't the right place to mention this but, Daniel, I noticed that if I'm in TWRP and inadvertantly leave the "Select Storage" set to OTG instead of internal when I exit TWRP (reboot) then if I try to use a runtime app like CM updater ... Something that boots to recovery and executes scripts ... It will fail with the error "unable to mount system".

I guess this is because TWRP is still set to OTG and maybe the mount fails for that reason. So if you select internal and not OTG before exiting TWRP, then scripts run from runtime that boot to recovery seem to work.

Maybe it might be a good idea for TWRP to automatically reset selected storage on exit so OTG is not selected?

Anyway thanks for the work you do on TWRP. Very much appreciated.

Tk8lm6
[ONE Android Development] funCrash93:
lol :eek:

oh well, I already restored every partition on my phone (dammit, wiped everything) :laugh:

but, it is weird as I was trying to access my IMEI via *#06# and it crashed the phone app. :rolleyes:
[ONE Android Development] danieldmm:
Not wird, normal, for some reason your OTA stopped did not shown lattest builds, you should question and comment to forum, you would know the solution :D
[ONE Android Development] LPW00:
I can't format cache with latest version. I wanted to download latest completely working version but I have no permission...
[ONE Android Development] DjDiabolik:
3.0.3-2 it's perfect... Use this. It's online and full accessible...
[ONE Android Development] danieldmm:
Use -2 since its completely working, all versions after -2 was removed since all have different problems. Cheers

Enviado do meu A0001 atravÃ©s de Tapatalk
[ONE Android Development] CoinCoin88:
Hi,

3.0.3-2 fails to decrypt my 3x3 pattern. Is that a known bug ? I reckon TWRP having huge problems with encryption since 3.0.0... The only one that works (COS13, CM13, CM14.1 and recent LineageOS forks) is TWRP-3.0.2-0-bacon-with-decryption-cm13-AtAM1.img. However the later fails to properly flash the LineageOS (unofficial) nightlies so far.
[ONE Android Development] Link_of_Hyrule:
My recovery takes forever to boot into is there a way to fix this? I was on the 3.0.3-3 build but switched back to the 3.0.3-2 since you said it was better both builds seem to take a long time to boot into.
[ONE Android Development] counterfeit187:
Using any twrp themes?
[ONE Android Development] Link_of_Hyrule:
Just the normal default as far as I'm aware.
[ONE Android Development] counterfeit187:
It is a little sluggish. Seems worse if themes are applied. No idea how to speed up. had to wipe my whole phone for other reasons a while back and it seemed a little faster after.
[ONE Android Development] danieldmm:
Are you using F2fS on some partition?
[ONE Android Development] Link_of_Hyrule:
Yeah is that why?
[ONE Android Development] Anupam Mahato:
why i am not able to access otg from ' Unofficial TWRP 3.0.3-5 ' .it's doesn't able to select USB-OTG..any solution??
[ONE Android Development] danieldmm:
Probably, change to ext4 and report back please if it's fine.

Downgrade to -2 , -5 have some problems and it was pulled off

Enviado do meu ONEPLUS A3003 através de Tapatalk
[ONE Android Development] Link_of_Hyrule:
I would but that would require copying everything off of my phone which on my laptop would take hours. Maybe someone else can verify that it is slow for them on it.
[ONE Android Development] danieldmm:
Discussed that with the devs of twrp couple days back, was trying to fix. The problem it's mainstream on kernel and f2fs, it requires a fix mainstream. It will be that for sure...

Enviado do meu ONEPLUS A3003 através de Tapatalk
[ONE Android Development] Link_of_Hyrule:
Ok awesome to know it's being looked at anyways.
[ONE Android Development] danieldmm:
Don't count with a fix soon because this is not a TWRP problem. It happens only on roms over nougat and using F2fS on partitions...

Enviado do meu ONEPLUS A3003 através de Tapatalk
[ONE Android Development] CoinCoin88:
Bump on the encryption problem ? Looking back into TWRP/Ominrom gerrit the patch was merged couple months ago: https://gerrit.omnirom.org/#/c/17716/1/crypto/lollipop/cryptfs.c

I'd assume fo some reason it didn't make it in recent (unofficial?) TWRP builds, and this should really be adressed. Any hint ?

Thanks
[ONE Android Development] danieldmm:
Wich rom are you running with encryption?

Enviado do meu ONEPLUS A3003 através de Tapatalk
[ONE Android Development] CoinCoin88:
An 'unofficial' Lineage 'nightly' build that's found a couple threads away (see https://xdaforums.com/oneplus-one/development/lineageos-unofficial-nightly-t3528587). My understanding is it's just a clone of the la(te)st CM14.1 nightly so there shouldn't be any difference. However, after full-wiping, installing CM14.1 then flashing this lineage build over, the builds of TWRP you have here ('unofficial tugapower') fail to decrypt with at least an unlock pattern. Same goes for the CM14.1 nightly (before lineage).
[ONE Android Development] danieldmm:
Deleted
[ONE Android Development] danieldmm:
And with official TWRP?

Enviado do meu ONEPLUS A3003 através de Tapatalk
[ONE Android Development] CoinCoin88:
The latest 'official' TWRP available from twrp.me is old and also had a bug on this feature (see this discussion this github discussion and a buikd by a guy named AtAm1 that implemented the commit by Dees_Troy).

What i don't know is what sources are used for the tugapower releases. If they include the commit i mentioned above then it's something else entirely and worth investigating, because it's a severe limitation for devices that use FDE. So far the only TWRP release that supports pattern-based (and presumably chararacter string?) decryption is the one proposed in the github link I attached to this post.
[ONE Android Development] smith1804:
[MENTION=1427327]danieldmm[/MENTION] Hello. Thx for your job. I only wanted to ask you about little problem. 3.0.3-2 version, f2fs, doesnt work backup of data and cache (system and nandroid work well). Any solutions?
[ONE Android Development] stark333:
I can't boot into recovery ! When I flash the recovery via fastboot I got this error failed (dtb not found )
[ONE Android Development] Anghirrim:
Did you verify your download?
[ONE Android Development] ashwin.kj:
I was able to do a backup and restore of data on F2FS without any problem. When you say doesn't work, do you mean it doesn't back up or something else?
[ONE Android Development] smith1804:
Yes, When i mark data and cache partitions nothing happens (twrp creates folders but they are empty)
[ONE Android Development] danieldmm:
Start from this point, wich version of twrp you have? Also delete the file called .twrps inside TWRP folder and reboot your twrp.

Enviado do meu ONEPLUS A3003 através de Tapatalk
[ONE Android Development] smith1804:
3.0.3-2 version, f2fs for cache and data. Will try to do what you said, then write here

OMG, it was so easy... Ya, your advice solved this problem! Everything works now. Thank you for your support!
[ONE Android Development] CoinCoin88:
Hey again,

Any hint on encryption support? I know it's always been a weak point in TWRP but since there's ont version at least that fixed it... Care to share the source you're using to compile your builds? I'd like to have a look at least to qcrypt.c
[ONE Android Development] danieldmm:
My sources are the same on omnirom source....

https://github.com/omnirom/android_bootable_recovery
[ONE Android Development] Metaphyte:
I've tried flashing TWRP on my OPO a few times now but I can't get it to work. I've unlocked the bootloader and then when I try to flash TWRP it says;

C:\adb>fastboot flash recovery TWRP.img

target reported max download size of 1073741824 bytes

sending 'recovery' (14008 KB)...

OKAY [ 0.441s]

writing 'recovery'...

OKAY [ 0.181s]

finished. total time: 0.625s

then I reboot the device and then I write adb reboot recovery and I still get the OEM recovery from Cyanogen. What have I done wrong?
[ONE Android Development] bdwilk:
Go into developer options and disable restore cm recovery (something like that) and after flashing TWRP reboot to recovery first. Don't reboot to system.
[ONE Android Development] Metaphyte:
Worked like a charm. Thank you very much :)
[ONE Android Development] CoinCoin88:
OK, I'll look into it later today or tomorrow. Since you're compiling from omnirom I'd assume the commit I mentioned was merged and is not the source of this bug...

Anyway too busy right now for spare-time/personal dev :) I'll look this up later.

Edit : was referring to the encryption bug, not the posts just above about how to flash properly of course.
[ONE Android Development] Link_of_Hyrule:
Any updates on this for a new version that fixes the super slow loading?
[ONE Android Development] tofu:
adb "unauthorized"

Running the recommended twrp 3.0.3 - 2 tugapower, but it won't let me use adb. Instead "adb devices" says that the device is "unauthorized". I've tried to reboot the phone and have also restarted the adb - but yet it doesn't work. No such issues with the official TWRP. Any ideas?
[ONE Android Development] danieldmm:
Wich OS are you using? Have no issues using on my Linux machine, when time will test on Windows...
[ONE Android Development] tofu:
I've got Linux Mint.
[ONE Android Development] danieldmm:
Same setup as you and no issues mate...
[ONE Android Development] tofu:
Sooo... anything I could do to help fix this? Since it works on regular TWRP. I remember trying unofficial TWRP about a year ago, and then I had similar issue but instead of "unauthorized", it said "device offline". I think I posted here about it back then too.

Which adb version you have? I've installed mine via Linux Mint repository, but I've understood that it often has quite outdated versions.

EDIT: Found the "device offline" report, but it was with another "unofficial TWRP". https://xdaforums.com/showpost.php?p=64724659&postcount=886

Dunno what's the fundamental difference between the official and unofficial ones that might be causing this - and it is strange why no one else has reported this.
[ONE Android Development] ashwin.kj:
OK maybe this comes as naive, but have you set the Android debugging option in the developers option? If so can you try again by revoking the USB access and connecting again?
[ONE Android Development] danieldmm:
On my case use the adb/fastboot binary from Google SDK. From what can see you probably are just missing some up-to-date udev rules. Follow from top to the bottom the following guide:

http://bernaerts.dyndns.org/android/337-android-oneplusone-enable-mtp-ubuntu-trusty

After following, just in case, reboot your machine. Report back.
[ONE Android Development] tofu:
I did everything on the list and also rebooted, but after that the "unauthorized" issue appeared alternating with the "offline" issue while using adb when the ROM is running! I've never had issues using adb when the actual rom is running, now I can't use adb anymore. So I deleted all the changes made in the article, rebooted my computer and the issue persists.

But now I can use adb in tugapower TWRP.

Unfortunately well functioning adb outside TWRP is more useful for me..

---------- Post added at 01:57 PM ---------- Previous post was at 01:51 PM ----------

EDIT: Tried one more time to follow the "enable mtp" guide. Got it working (while rom is running) after selecting "RNDIS (USB Ethernet)" from developer options --> "Select usb configuration".

EDIT: Also "MIDI" and "Audio Source" work,but not "PTP" nor "MTP"
[ONE Android Development] christantoan:
I'm experiencing random reboots when backing up. Especially when it's taking very long time.

Any fix for this?

Thanks
[ONE Android Development] gyakusetsu1215:
If you're using compression it's because the CPU gets too hot and shuts down. It's happened to me with big backups and compression on this version and stock.
[ONE Android Development] flick.ezra:
MSM8916 Supported?

Please give me the updated link :D

or please port for our device :D thanks :D

link stock boot and recovery
[ONE Android Development] danieldmm:
It's written on OP

Send with my OnePlus 3T
[ONE Android Development] TVJS:
The link is still showing -2 version not the -5 one. Can u pls update it
[ONE Android Development] TigerV:
2 is most stable
[ONE Android Development] Claudiosvs:
Any chance of reverting commits to the -2 state, and merging from this project: https://xdaforums.com/oneplus-one/development/recovery-twrp-3-0-3-k1-t3563692 and any upstream patches if available?
[ONE Android Development] Arunragav:
Hi [MENTION=1427327]danieldmm[/MENTION] , i've been using your recovery for a very long time.. i'm just curious if you have any plan on updating this to the latest version of the official twrp version 3.1.0 that was released recently.. Thanks :good:
[ONE Android Development] danieldmm:
Need to find some time to merge all stuff and make a couple of tests. But the plan it's to update to latest source.
[ONE Android Development] Clark Joseph Kent:
How about saying thank you for the efforts or better yet...why dont you take up development and do for yourself. And or provide back vice posting in this manner.

I suggest you take it down a few, and just say thank you, to those trying to provide.
[ONE Android Development] danieldmm:
TWRP 3.1.0-2-TugaPower

Fixed aroma graphics

https://www.androidfilehost.com/?fid=673368273298937947
[ONE Android Development] Kutep0v:
[MENTION=1427327]danieldmm[/MENTION] umm... OK. My device is broken, and the problem with formatting when using make_ext4fs only for me. Sorry.
[ONE Android Development] jhedfors:
I had the same issue with hanging at the formatting system stage when restoring. Had to revert recovery version to restore backup.
[ONE Android Development] danieldmm:
Wich version you have of recovery and OS?
[ONE Android Development] jhedfors:
3.1.0-1-TugaPower is what I was using when I had the error.

I am on this ROM:

https://xdaforums.com/oneplus-one/development/nightlies-idprophecys-unofficial-t3544385
[ONE Android Development] danieldmm:
Its hapenning to me in 3.1.0-2, tried to format cache and its having the problem you descrive. Will try to debug asap

As workround you can use the option to change file system and choose f2fs in cache, it have no issues using make f2fs
[ONE Android Development] danieldmm:
TWRP 3.1.0-3-TugaPower

Fix make_ext4fs formating partitions

https://www.androidfilehost.com/?fid=457095661767144018
[ONE Android Development] Kutep0v:
Earlier you said that everything is fine. Lying is bad.

Just test before uploading... and don't ignore feedback about bugs.
[ONE Android Development] danieldmm:
Don't mislead my words, did not lyed, on my device was fine because on 3.0.3-2 have no issues, if you used on a version that was pulled off its not my fault. On 3.1.0.x could duplicate the issue when the other user reported, either way, it's fixed...

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] Kutep0v:
What does 3.0.3-2 have to do with it? We are talking about 3.1.0-x. You uploaded 3.1.0-1 and 3.1.0-2, and asked for feedback about bugs. I wrote about make_ext4fs, but you said there was no problem. And later we saw this:

P.S. In any case, I congratulate you on having managed to fix it from the third time... if it really was fixed.
[ONE Android Development] danieldmm:
This is the last time adress my words to you, the initial comment if you did not notice was to your post deleted, was answering to that. Your comment said 10 versions, 1 work, my answer was relative to that, not to 3.1.0.x

Like said before never have such issue over the 10 versions you referred.

3.1.0.x was indeed to me the frist time such thing happened. And unfortunately did not tested wiping, did tested few things such as nandroid backup/restore, efs backup/restore, flashing rom zip. No issues what's so ever.

Cheers and have a nice day mate.
[ONE Android Development] Mike9966:
Why can not wipe cache? If it matters ROM is LineageOS 14.1 lineage-14.1-20170306-nightly-bacon-signed.zip. Format of partition /cache is ext4.
[ONE Android Development] Kutep0v:
When you restore a backup, the formatting is automatic, at least for system partition. Still, the problem for me has not been fixed, I can't test your build. I tried to repair file system when using fsck, do the formatting in f2fs and back to ext4, but it didn't work. Inifinite formating when using make_ext4fs. After hard reboot, failed to mount partition. (as a guy above)
[ONE Android Development] DjDiabolik:
mmmmmmmm.... 3.1.x..... for daily using whit Tugapower rom it's again suggest to use the "old" and most tested 3.0.3-2 ?
[ONE Android Development] danieldmm:
3.1.0-3 seems all good on my device.
[ONE Android Development] danieldmm:
Format to ext4, formating of cache to ext4 its a little longer, wait a little prior to force reboot. If does not format, format to f2fs and after that format again to ext4
[ONE Android Development] Mike9966:
I waited 15 minutes. It's so long. I not need f2fs. Why must I format my partitions to another fs if I like ext4? I tried f2fs and not seen improvements compared to ext4. Talking about fs is not subject for this thread.

[MENTION=1427327]danieldmm[/MENTION], just give working recovery please.
[ONE Android Development] danieldmm:
Did not said to change fs, told to use make f2fs if stuck formating cache on make ext4 and then use again make ext4, if 3.1.0-3 it's not good for you, use 3.0.3-2, it's rock stable and fully compatible with Nougat.