yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] Paradox:
Fixed last night using this method..I erased modemst1, modemst2, persist, reserve4, then flashed persist,reserve4 and finally flashed fastboot cos13 using adb command :D:D
[ONE Android Development] LPW00:
thank u
[ONE Android Development] danieldmm:
TWRP 3.0.2-5-TugaPower 16-10-2016

Fixed EFS backup/restore ( tested )

Removed recovery from backup list

Give another go at aroma zips

Clean up PartitionSettings

Fix compressed backups with split archives

Fix restore of subpartitions

MD5 checking: fix issues introduced with adb backup patchset

Added Chinese/Japanese as availables languages

https://www.androidfilehost.com/?fid=385035244224385197
[ONE Android Development] funCrash93:
friend, "The md5 for this file is be70e186ca03062ab5c91a7de84e5377 and a file size of 13.7MB."? :eek:
[ONE Android Development] danieldmm:
Yes and Yes...
[ONE Android Development] Mike9966:
Can't flash *.img. Try flash another twrp.img and got error "Error opening: '/sdcard/.../twrp.img' (Not a directory)"
[ONE Android Development] danieldmm:
What version of TWRP are you using? You can always flash mannually by third apps, Flashfire and Flashify is advised. Or just mannually flash using fastboot.

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] Mike9966:
I know about it but early versions of TWRP usually flash img...

I try delete .twrps and it not help. TWRP 3.0.2-5 can't flash img to recovery partition. I not test about boot partition.

Spoiler content hidden.
[ONE Android Development] danieldmm:
It must be something on your side, -5 its working flawsly on my device.

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] the_rooter:
You cant flash twrp that way.....adb reboot bootloader

sudo fastboot flash recovery (image file here)

Thats it..takes two seconds or flashify...that img flash via twrp is for boot images..just tried it to confirm myself on 3 different devices and that will not work.

above methods works best. Awesome job man love the update :)
[ONE Android Development] Lisko:
I can confirm this bug which is absent in -3 build. Recovery imgs can not be flashed with -5 build. Otherwise this twrp is amazing, thank you [MENTION=1427327]danieldmm[/MENTION] !
[ONE Android Development] Hingbong:
Can you provide another mirror,i can't download things form afh,thanks
[ONE Android Development] the_rooter:
You can't flash recovery images with twrp. Never have been able to. There is no bug
[ONE Android Development] deadlyindian:
[MENTION=1427327]danieldmm[/MENTION] [MENTION=1846904]Lisko[/MENTION]

-5 build is not able to flash boot or recovery images.

Actually we can, boot to twrp...

Install > at the bottom select Install Image > select the .img > select partition (boot/recovery) > Swipe to confirm Flash.
[ONE Android Development] the_rooter:
Sorry but disagree. I tried many different versions on twrp from old devices to new ones and it doesnt install twrp.
[ONE Android Development] deadlyindian:
Check these out ►

STEP 1 : Select Install Image

[IMG="01"]http://i63.tinypic.com/2v1vpko.jpg[/IMG]

STEP 2 : Select the .img file

[IMG="02"]http://i65.tinypic.com/2qa3iuh.jpg[/IMG]

STEP 3 : Select the partition to flash .img

[IMG="03"]http://i63.tinypic.com/be99xx.jpg[/IMG]

STEP 4 : Swipe to confirm Flash

[IMG="04"]http://i64.tinypic.com/2jesc39.jpg[/IMG]

THE LOG SAYS "IMAGE FLASH COMPLETED" :cool:

[IMG="05"]http://i63.tinypic.com/28qssjq.jpg[/IMG]

STEP 5 : Reboot to recovery to see the updated recovery.

[IMG="05"]http://i66.tinypic.com/o7n6us.jpg[/IMG]

Additionally read the Official Changelog for TWRP 2.8.4.0 which introduced flashing of boot and recovery images.

https://twrp.me/site/update/2015/01/13/twrp-2.8.4.0-released.html
[ONE Android Development] the_rooter:
Just tried it on official and didn't work on multiple devices but did works on this developers previous version. Will leave it at that.
[ONE Android Development] deadlyindian:
LOL
[ONE Android Development] Ruvy:
Only time i used to fastboot to flash recovery was the first i unlocked my bootloader. Ever since i have always flashed any recovery img using TWRP recovery itself. My OPO, my sister's Oneplus X, My cousin's OnePlus 2, and few other phones as well (Some were official versions of TWRP and others unofficial).

May be you got unlucky or something.
[ONE Android Development] danieldmm:
Don't remember the last time used fastboot to flash recovery, have been using the built in option of TWRP, never have problem.

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] GXGOW:
Flashed it through fastboot (just because it's been a while since the last time I used that :P) and no issues so far.
[ONE Android Development] Lisko:
But if I flashed -5 using -3 how you can say that?

Inviato dal mio A0001 utilizzando Tapatalk
[ONE Android Development] danieldmm:
TWRP 3.0.2-6-TugaPower

Fixed bug introduced on 3.0.2-5 that will fail flashing boot and recovery images files from built in option on TWRP

If you are on 3.0.2-5 you will need to flash with fastboot or use some thirdy app.

https://www.androidfilehost.com/?fid=385035244224385482
[ONE Android Development] anbinhv:
I got this error while flashing 3.0.2-6

Currently at 3.0.2-5

Downloaded several times but same result.

edit: sorry, just read previous post. Thanks dev!
[ONE Android Development] DjDiabolik:
flashed -6 used flashify whitout any problems...
[ONE Android Development] Mr.Ak:
[MENTION=1427327]danieldmm[/MENTION] will I be able to flash N roms using this recovery?
[ONE Android Development] Genericxx:
Sure
[ONE Android Development] danieldmm:
Yes, it's the one use on mine to flash TugaPower N CM14 rom.

Cheers

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] Mr.Ak:
Awesome!

lemme try flashing it. :)

Nice work

EDIT: Tried flashing it via flashify and rashr,it struck on boot logo :'(
[ONE Android Development] Uqbar:
I installed -6 from -0 (official TWRP), now I cannot "reboot to recovery" or "power off" from power button menu any more.

I am on latest SultanXDA ROM.

I checked both the settings for the power button and the devs menu for advanced power menu.

Everything is as expected.

Is it just me or shall I revert to original TWRP?

In the former case, what am I doing wrong?

TIA.

[UPDATE] Going back to -0 I have got my "boot to recovery" back, but not the "power off".
[ONE Android Development] danieldmm:
Ask to the dev, recovery dont interfere with that option, at least it should not.
[ONE Android Development] danieldmm:
And did tou select recovery on flashify? Used flashify to flash -6 and no issues.
[ONE Android Development] Uqbar:
This version (v3.0.2-6) does.

Infact by flashing back the 3.0.2-0 (official) release I've got back my "boot to recovery".

As the ROM was the same, I'd say it's the recovery itself!
[ONE Android Development] danieldmm:
Why you say then reflashing back the 3.0.2-0 did not give you back the power off option? And why is all fine on cm13 and CM14 roms? For me it's rom side.

Like said, it would not make harm post on rom thread the question. Maybe you will find the answer.

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] Mr.Ak:
yep! seems like a problem with my recovery partition itself,other recoveries also doesn't work.
[ONE Android Development] deadlyindian:
Flash the latest cm nightly to update your firmware then flash this recovery through fastboot.
[ONE Android Development] Mr.Ak:
any other way?

you my condition right? 12th boards xD
[ONE Android Development] deadlyindian:
Yeah I do know your condition and you're still here on XDA flashing ROMs and doing other thing.

Try this in the terminal in your device.

First copy the recovery image to the root of your internal memory.

Rename it to recovery.img

$ su
$ dd if=sdcard/recovery.img of=dev/block/platform/msm_sdcc.1/by-name/recovery
$ reboot recovery

If you still don't have your recovery updated then I suggest you take a few minutes out and download and flash the latest cm nightly and flash the recovery through twrp or flashify or through the terminal using the above commands.

Also check your downloaded recovery as downloads can get corrupted sometimes, in this case re-download and flash it again.
[ONE Android Development] Mr.Ak:
Thank you bro! Oh and I haven't flashed anything after your Oxygen Os :silly:
[ONE Android Development] deadlyindian:
Well then that's the case why you are not able to boot to the new Tuga TWRP :P

If you need to use this recovery you need a different (cm13) firmware than the one you have on oxygen.

Oh and a update for the OxygenOS port is on the way, see you on the other side :p
[ONE Android Development] Mr.Ak:
Thanks for the update:*

But which recovery would be compatible with oxygen os?

I also tried official twrp,it also didn't work.
[ONE Android Development] deadlyindian:
The OxygenOS zip has a ported Tuga TWRP 3.0.2-3 recovery inside.

Extract and flash through flashify.
[ONE Android Development] Mr.Ak:
then why can't we flash newer tuga recoveries? :/
[ONE Android Development] deadlyindian:
Because they both are different, the one inside the zip was ported to boot with H2OS firmware because normally the recovery only boots with the firmware you have inside CM13 nightlies. OxygenOS would only boot with H2OS firmware, so it makes sense to port the recovery. If you flash the newer one from here it wont boot because the bootloader is different than what it was expecting.
[ONE Android Development] Mr.Ak:
ok so how do I port newer recoveries? Or it would be great if you do it for me. :)
[ONE Android Development] deadlyindian:
Wait for the update, i will have the recovery updated.

Lets not flood this thread with other stuff, if you have any queries or need any help you can always pm me.
[ONE Android Development] Mr.Ak:
yeah sure and the OP said talk about whatever you want to talk about man just don't bug my ego :angel:
[ONE Android Development] danieldmm:
TWRP 3.0.3-1-TugaPower 25-10-2016

Fixed/tweacked little more aroma bug intruduced on TWRP 3.0.3-0-TugaPower

TWRP 3.0.3-0-TugaPower 25-10-2016

Fixed log error flashing Android N ROMs

updater: link libcrypto_utils_static if it exist

Copy Kernel Logs on copy recovery log option

libminiadbd: fix libadbd undefined reference to 'android_pubkey_decode' functions when build in cm-14.0

link libcrypto_utils.so to libminiadbd.so

Fix libcrypto dependency in 6.0 trees

twrp: Use the correct lib name

https://www.androidfilehost.com/?fid=529152257862670033
[ONE Android Development] trax69:
TWRP 3.0.3-1: format partition not work :crying:
[ONE Android Development] kunfei:
good
[ONE Android Development] deadlyindian:
Some issue with formatting ext4 system.

Also this when restoring data, lost the pattern i had set as screen security it resets to default swipe, but rest of the data is fine. Tried on 3.0.2-6 and the same thing happens after restoring. Backup was taken in 3.0.3-1

[MENTION=1427327]danieldmm[/MENTION]
[ONE Android Development] arjun:
formatting partition takes a very long time.
[ONE Android Development] danieldmm:
Will test the rest of stuff on my device and see how it goes, only tested efs backup, rom flash, and nandroid backup, on this tests there is no issues. At least on my device.
[ONE Android Development] Trusconi:
Can't flash 3.0.3-1 img from twrp 3.0.2-5 :(

(just downloaded -> reboot in twrp -> install -> directory error)
[ONE Android Development] solar666:
http://xdaforums.com/showthread.php?p=69178134
[ONE Android Development] danieldmm:
3.0.3-0 and 3.0.3-1 removed since it have problem formating system, lattest stable version its 3.0.2-6

Will fix the problems on 3.0.3-x version
[ONE Android Development] xyomguix:
I can't mount USB otg with 3.0.2-6. Is this feature built in this version?

Thanks.
[ONE Android Development] danieldmm:
Yes, it s and work just fine with my PEN OTG
[ONE Android Development] danieldmm:
TWRP 3.0.3-2-TugaPower 30-10-2016

Fixed the bug intruduced on 3.0.3-0 and 3.0.3-1 formating partitions.

Fixed log error on flashing Nougats ROMs

Added kernels logs as option to copy Logs options

Aroma support

Added Chinese/Japanese as availables languages

Improved image file flash

https://www.androidfilehost.com/?fid=529152257862672924
[ONE Android Development] Formhault:
Nevermind. :D
[ONE Android Development] lemor2008:
Flashed with no problems.
[ONE Android Development] Mike9966:
Can not wipe /system.
[ONE Android Development] Raining01:
No problems here wiping /system
[ONE Android Development] danieldmm:
Please detail more information about the problem. Tested on mine prior to release and no issues.

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] Mike9966:
Sorry, I made a mistake and tests previous version.
[ONE Android Development] LPW00:
I had problems installing aosp 7.1 after using an older twrp, no problem....
[ONE Android Development] ion&co:
can confirm. Flashify works like a charm. Thanks
[ONE Android Development] arjun:
+1
[ONE Android Development] aswinrulez:
Im getting an error saying 'unable to find partition for path' and then the path of the img file is been shown when i an trying to flash in recovery
[ONE Android Development] danieldmm:
Screenshot of the error and post here the last_log of twrp.

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] jsmonu:
Flashed just fine! Thanks..

But NO Swipe on Keyboard and NO Theme Manager?? Can I add it somehow?
[ONE Android Development] LPW00:
Lol, what? Want a music player too?
[ONE Android Development] danieldmm:
Hein ?

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] jsmonu:
I meant the Gesture / Swipe Typing is not working on the default keyboard.

Ignore the Theme Manager, I can work with that?

But seriously, I didn't get the pun..? What was so NooB about it Noob??
[ONE Android Development] PlasmaPump:
FYI

If anyone wants to run a theme on this Unofficial TWRP version 3.0.2-2 or newer you have to use the ones made for the Official TWRP version 3.0.2-2 or higher. Otherwise the auto reboot after install won't work. This is the one I use:

http://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584

Make sure you download the version for: TWRP 3.0.2-2 (Nexus 5X, Nexus 6P and Nexus 9 only)

Enjoy! ;)
[ONE Android Development] LPW00:
Sry, but I just think these things are completely unnecessary on a recovery and I didn't even know that there is/was a swipe function...
[ONE Android Development] jsmonu:
I am SOOOO SORRY guys.. I thought I was on the thread for ROM, not TWRP.. :(

J
[ONE Android Development] danieldmm:
It just miss the option for kernel logs on theme ;)

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] tfae:
Hi.

The last time I've tested TWRP 3.x versions they were slower while backing up/restoring, compared to TWRP 2.x.

How is it now?
[ONE Android Development] Mike9966:
Also slower that TWRP-3.0.0-0-bacon-20160309 or 2.8.6.0.6.
[ONE Android Development] pvineeth97:
How did you fix this on CM 14?

libminiadbd: fix libadbd undefined reference to 'android_pubkey_decode' functions when build in cm-14.0
[ONE Android Development] miesfu:
agree, much slower at my side

I keep using 2.8.6 now
[ONE Android Development] danieldmm:
https://gerrit.omnirom.org/#/c/19451/

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] borzowsky:
thank you for the hard work, I'm going to install it so I'll be ready for CM 14.1 nightly as soon as it starts getting more stable
[ONE Android Development] EchoDevv:
Can someone tell me if backing up EFS and the modem is recommended for the average user? It doesn't seem to be enabled by default.
[ONE Android Development] :
No matter what I try, I can't seem to get aroma file manager to work :( it just crashes twrp. I'm using the twrp materialised themes off of XDA.
[ONE Android Development] danieldmm:
So, why you are posting here then ?
[ONE Android Development] danieldmm:
EFS you only need to backup one time and keep the file safe, thats all... And no, you dont need to backup EFS and MODEM every time.
[ONE Android Development] danieldmm:
TWRP 3.0.3-3-TugaPower 20-11-2016

Check if mount point is dir during startup

MD5 verification sanity

Fix libcrypto dependency in 6.0 trees

Clean up PartitionSettings

Fix compressed backups with split archives

twrp: Use the correct lib name

MD5 checking: fix issues introduced with adb backup patchset

Make naming scheme more meaningful

Fix compatibility across the board

Fix compatibility with 5.1

Make it backwards compatible with 4.4

https://www.androidfilehost.com/?fid=529152257862683216
[ONE Android Development] christantoan:
Got these errors at startup after updating
[ONE Android Development] counterfeit187:
Any changes that I need to worry about changing or uninstall themes if I upgrade from 3.0.3.2?
[ONE Android Development] LPW00:
I got some errors too.

It failed to mount /cache it said invalid argument and some other errors. I never saw so much red lines in a recovery before
[ONE Android Development] trax69:
same for me , wipe not working
[ONE Android Development] dotTwelve:
same here :(

rollback to 3.0.3-2 will fix it?
[ONE Android Development] raul.lopez1958:
:(same here
[ONE Android Development] :
Saw in your op that you implemented aroma file manager support. How did you get it to work?
[ONE Android Development] danieldmm:
Sorry guys for the early -3 giving the bunch of red leters, was indeed having that but it was fixed after a bunch of build with trial/error but then by mistake upload the wrong -3 build with all good. Now upload the correct one since it was on my phone.

https://www.androidfilehost.com/?fid=457095661767117427

Try and let me know if the red letters its gone.... ( it will )
[ONE Android Development] raul.lopez1958:
Work fine now, but wipe cache it took a long time .

Thanks for fix.
[ONE Android Development] danieldmm:
Thats odd, on my device its almost instant ....
[ONE Android Development] DeSlaye:
Wiping cache takes FOREVER now
[ONE Android Development] raul.lopez1958:
In my device i use NitrogenOs Rom (nougat 7.1) ¿possible cause for took long time wipe cache?
[ONE Android Development] Fenvarien:
On my device it could not mount the cache partition anymore. Wiping or repairing the cache partition wasn't possible...
[ONE Android Development] counterfeit187:
You saw that he had the wrong file uploaded before this afternoon and installed the new file?
[ONE Android Development] asxetosgx:
[MENTION=1427327]danieldmm[/MENTION] i downloaded the latest version (TWRP_3.0.3-3-TugaPower.img / Nov 20, 2016 | 08:56PM / md5:a39ea2fc5b5162fd2b245acf0c4e20be) and i cannot wipe cache/system or install your latest N7. It worked fine with the previous 3.0.3-2 and N6.

getting the following errors:

Failed to mount '/system' (Invalid argument)

Failed to mount '/cache' (Invalid argument)

here is the recovery.log

http://pastebin.com/zNRJRFq4

EDIT:

Turns out that the rom and gapps where flashed successfully despite all the error messages.

Only minor problem now is that cache cannot be wiped.
[ONE Android Development] Fenvarien:
Sure, I've seen his post. The problem was, that my cache partition became completely inaccessible. But everything is running fine now. :good: :)
[ONE Android Development] counterfeit187:
Oh. How did you fix it?
[ONE Android Development] fmc000:
Did you ever notice that the /cache partition from LP onwards is not used at all by the OS? Unless you use Magisk with the cache option, wiping cache it absolutely pointless.
[ONE Android Development] danieldmm:
He flashed my lattest -3 TWRP, it was earlier -3 broken, upload wrong file my mistake, now it's all fine.

Enviado do meu A0001 atravÃ©s de Tapatalk
[ONE Android Development] danieldmm:
Cache it's still used, think you mixed with Dalvik cache, this one its no longer used. That why on option of dalvik you have also ART written ;)

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] fmc000:
No, I really mean /cache.

Have a look at your /cache partition with a root-enabled file manager. Mine right now has only two backup folders (both empty) and a Recovery folder, when the only file present is te last_log.

This is with Slim7 but it's been like that for long time.
[ONE Android Development] counterfeit187:
Yeah, but when I told him that you had made that mistake and updated links he acted like he already knew in his reply to me, so I thought he'd had a different problem.

BTW I'm Christopher from the telegraph chat. Great work man.
[ONE Android Development] danieldmm:
Think we are talking different things, obviously apps have its own folder for cache since Marshmallow inside /data/package_name/cache. The /cache you talk it's mainly used by recovery

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] fmc000:
And that's /cache what the recovery wipes when you select "wipe cache partition" :) That's why I say that wiping cache is totally pointless.

/data/package_name/cache is not a different partition at all and it's not wiped by the recovery unless you perform a clean flash..
[ONE Android Development] danieldmm:
Agree with you, but /cache is still used. By the recovery but still used :)

Just saying that [emoji106]

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] fmc000:
Me too (just read my first posted you quoted:
[ONE Android Development] danieldmm:
OK, did misread. Sorry

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] Fenvarien:
I installed an older Twrp recovery (before I read about the new and fixed 3.0.3-3 version) and did a complete factory reset. All other repair solutions didn't work for me. Thanks for your hint to the new Twrp version, but at this point I had already done the factory reset. ;)
[ONE Android Development] trax69:
fixed 3.0.3-3 version: wipe cache not working for me, is normal?
[ONE Android Development] GXGOW:
Happened here too, wiping system just got stuck too, forcing me to reboot the phone and corrupting the system partition (it would not mount). Luckily I was able to repair it by flashing a ROM. Staying away from this version for now.

It did scare me for a moment. I thought I had bricked my phone for a minute.
[ONE Android Development] pratikp16:
Seems like -3 has a problem with wiping cache, anyway i can download -2?
[ONE Android Development] dude6595:
had to go back to -2 yesterday as well after getting stuck...
[ONE Android Development] TimeFlies7:
Anyone have the -2 download link?
[ONE Android Development] kingfiras:
It seems TugaPower has restricted access for the older files for now.. We got to wait I guess ;)
[ONE Android Development] danieldmm:
3.0.3-2 restored on AFH and gone remove -3 till further investigation...

Cheers

Enviado do meu A0001 através de Tapatalk
[ONE Android Development] leokook:
Thank you so much for this TWRP version! It's the best. However I do have one question, i made a modem backup and an ESF backup. I tried to copy them to my PC, but always the EFS folder fails. Tried ES explorer to copy them, or ZArchiver to make a zip file of the folder, but always fails. What should i do now to fully backup my EFS folder.

Thank you again for this amazing work.
[ONE Android Development] Petitsurfeur:
+1

I did a backup with TWRP 2.8.6.0 and I copied it to PC. Then I installed TWRP_3.0.3-2-TugaPower and did a new backup. I can't copy the backup to my PC.