yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] Agu_Ra:
Do you use Std.Barbarossa's build? If so, just flash another version. BTW, material theme is already merged to upstream.
[Sony Xperia M] Agu_Ra:
Yeah, bi***es, I've fixed this! One fstab flag made me much pain in the ass by making TWRP freeze on logo and not leaving any logs, but I've found this dirty dog. Sorry for my emotional reaction. I'm very happy to make it work. Build will be uploaded soon.
[Sony Xperia M] Agu_Ra:
Adopted storage support!

I know, you were waiting for this for long time. And now, thanks to Ron uploading new Marshmallow build, I made my-lazy-ass-self flashing it, making new TWRP build with final adopted storage commit (yeah, it is now merged to upstream, so we can already treat it as stable) from Dees_Troy, testing it and trying to fix freezing at boot issue, and, as you see in previous post, it was done with success, so I'm very glad and hope you are so too. Old test builds are removed from the server and the working one is uploaded. So, now we are a bit more ready for M nightlies for our M, and for the next TWRP release, which I hope will be available soon, as there where no version changes from summer, yet the code changes are quite big (I was hoping with official support I would not need to make builds, lol, in fact I've made more builds than before it).

Notes: It is recommended to use this build (or further ones), 'cause it gives you ability to work with adopted storage as usual, like as any regular storage, also, which is important, it provides ability to factory reset without losing your key, so you will be able to use adopted storage without re-formatting even after data wipe. I haven't tested MTP, but it should work, I think.MTP works fine. Mass storage mode is automatically disabled when adopted storage is detected. BTW, andsec flag was to blame for freezing at boot, so I removed it, that means this build doesn't support pre-M implementation of apps2SD (via containers in .android_secure directory) anymore, and further will not neither if it is not fixed by TeamWin.

Download link>>

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

One more thing to note, as you may notice, I now accept donations. So, if you think your "thank you" is not enough, you can support me with donation. And, I hope, you've already donated to TeamWin and our beloved @PecanCM, as their work is much more important than mine, as I'm just adapting Ron's tree to work properly with TeamWin's software, my contribution is relatively shallow.
[Sony Xperia M] SdtBarbarossa:
cucumber remember to upload all your changes to device tree :) twrp 3.0 is around the corner
[Sony Xperia M] seanp25:
Thanks for the new TWRP!
[Sony Xperia M] Agu_Ra:
Oh, even 3.0, not 2.8.8.0 or 2.9. BTW, I've uploaded all changes, but haven't merged the one changing fstab. I'll write to IRC #twrp channel, maybe they'll fix the issue globally.

Everything is fine for me. Try again. If it doesn't work, I'll mirror it to GDrive.
[Sony Xperia M] AlexiusItaly:
I thinks that there is a serious problem:

I flash this new TWRP and after that i switch off my xperia. When i try to switch it on, it made the usual vibration and then doesn't show SONY logo but went automaticaly into the recovery. I wasn't able to turn on the smartphone normaly so i wipe dalvik and cache, flash ROM and then i can switch it on but TWRP automaticaly back to old 2.8.7.0 version

This is what happen to me so, if someone found this problem, just follow my steps :thumbup:
[Sony Xperia M] Agu_Ra:
Have you tried to reboot, not to power on/off?

BTW, recovery can't revert itself automatically, that means you flashed older TWRP yourself. Or you are using wrong key combination: the right is VolUp. VolDown will boot in-kernel recovery.
[Sony Xperia M] cmxperia:
Same problem here. After installing TWRP Sony logo is not shown and not vibrate. Phone directly booted to TWRP. And also can't boot to system.

Fastboot cmd method used to install recovery. Needs to remove and insert battery to make phone ON otherwise nothing happens even after 30mins :(

(CM13 Beta 6 by PecanCM, Xperia C2004). Sorry I'm a newbie.
[Sony Xperia M] AlexiusItaly:
Yes i try it but it went into recovery

No, i just flash cm12.1 ROM and wipe cache and dalvilk

Without press any key the xperia went into recovery (i always press VolUp but in these case went into recovery automaticaly)

Try to do my step: put in the sd the ROM, flash it and wipe cache & dalvik

EDIT: maybe my problem happen because with rashr i select FLASH KERNEL not RECOVERY, sorry for my hastiness to report my problem :beer:

When i will back home i will try again but selecting FLASH RECOVERY and i will inform you
[Sony Xperia M] cmxperia:
I used this command to install recovery

fastboot flash boot twrp.img

fastboot reboot
[Sony Xperia M] Agu_Ra:
Did I wrote anywhere to install recovery this way? No. You should NOT flash it to boot partition, only to FOTAKernel. Read the instructions from link in OP, any method will work, excluding TWRP Manager method as it is for official builds only.
[Sony Xperia M] Agu_Ra:
Definitely yes. Don't ever flash this recovery to boot (kernel) partition.
[Sony Xperia M] AlexiusItaly:
So i can flash it like recovery with rashr right?
[Sony Xperia M] Bonoboo:
No, use method with Terminal or directly from TWRP, but select below "Images..."
[Sony Xperia M] cmxperia:
Sorry My Mistake. Thanks a lot to correcting me. I flashed now using Rasher and it works fine Thanks a lot for the great recovery :good::good::good: :)
[Sony Xperia M] AlexiusItaly:
After select with TWRP "images..." and select twrp.img ask me to select BOOT or RECOVERY. I've to select recovery right?
[Sony Xperia M] Rajesh_m:
Thanks for the fix. A little off topic, is that the default twrp theme on your screenshot?
[Sony Xperia M] AlexiusItaly:
Yes is that
[Sony Xperia M] Agu_Ra:
Yeah, new theme is already merged to TWRP upstream, I have not included any unmerged patches.
[Sony Xperia M] Agu_Ra:
FAQ update

F.A.Q. is updated. I've added answer to question about Rashr. So, I'll not answer this question (and any other already answered there) in future. Don't forget that F.A.Q. and OP are necessary to read before installation and before every post. And every person ignoring this rule is automatically added to the list of people I hate. BTW, the question about fastboot is answered there a long ago too.

P.S.: it's a joke about "people I hate", but asking questions already answered in F.A.Q. or OP (including all the URLs it leads to) really makes me angry, so respect time and work of other people and read all provided information, it is made for you to read it. Reading at least a couple of the latest pages of thread and using search function before asking the questions is important too.
[Sony Xperia M] AlexiusItaly:
Sorry for OT but it makes me funny thinking it happen to me and i want to thank you for your availability to answer to every people who need help and to me too (thanks you and of corse every other people that help each other)

I know that to thanks you i just need to leave a like and i already do it but i hope that my message worth more than 100 like :) thanks a lot again :thumbup:
[Sony Xperia M] eboelens:
confiuration : xperia m dual c2005 CM13 twrp recovery

How can I go back to cwm recovery please ?

Rom manager tells me :

recovery already installed:

cwm and twrp

when I go to recovery then it is twrp .

thanks for your time

erik
[Sony Xperia M] Bonoboo:
Download this persistent image with CWM > place somwhere in phone > enter TWRP > Install > tap below Images > find file > Recovery > confirm > back > Reboot > Recovery > Done
[Sony Xperia M] Agu_Ra:
Is there no flashable zip in old thread? As far as I remember, there is such in download post.
[Sony Xperia M] simmusss:
Flashed with Rashr,,,,,success!!!!!!!!!!;););)
[Sony Xperia M] Godlydevils:
On the 54th page of cm13 nightlies

a guy said you created new twrp

https://cucumber.fnya.ru/TWRP/twrp-01-28-16.img

now where am I supposed to get new FOTAKernel.img for your new twrp?

or the one from old post is going to work?

or should I extract and use terminal method from

https://cucumber.fnya.ru/TWRP/twrp-01-28-16.zip

Just don't want to brick my device so asking
[Sony Xperia M] SdtBarbarossa:
cucumber for your notice:

im investigating problems (on xl) when adoptable storage is activated and a updaterscript is mounting data via mmcblk... may have an eye on this for XM also
[Sony Xperia M] Agu_Ra:
Download the image from the first link and flash it with any available method from the instruction in OP (excludong TWRP Manager install method) or with Rashr. Or you can download zip from the second link and install it as regular zip from your recovery if you are not using CM stock recovery.
[Sony Xperia M] Agu_Ra:
Do you want me to test in on Xperia M? BTW, /data usually is mounted automatically in TWRP, so it is not necessary to mount it in udater script. But the best decision is not to use function-limited updater script and use true UNIX shell script as update-binary file.
[Sony Xperia M] SdtBarbarossa:
i just wanted to inform you... the error sometimes happen if /data was unmounted before and you flash a rom that does flash via mount ( ext4 ...... /dev/block/blablabla.... ) command ... then adoptable storage function gets broken or flash errors
[Sony Xperia M] Agu_Ra:
It seems to be a global issue then, I think.
[Sony Xperia M] Godlydevils:
no

I first flashed 4.3(using flashtool), disabled unknown source, enabled usb debugging

flashed ur kernel using fastboot from flashtool

did clean format

flashed cm13 nightly feb 03, opengapps feb 03

then copied fotakernel and used that dd of=/mystorage/fotakernel.img if=/dev/block/plat..../fotakernel

after that I went to recovery to install xposed, flashed nui kernel,

and once I did flashed everything from my sd card, as well as installed all apps which can be downloaded offline officially

I formatted my sd card(which was previously formatted as portable on cm13 beta 6.0)

My device maybe crashed after it was done or maybe did soft reboot, but it works

I'm using my sd card as internal storage
[Sony Xperia M] AggelosGR:
maybe you shall put that link in your first post https://cucumber.fnya.ru/TWRP/

its very usefull for cm13
[Sony Xperia M] Agu_Ra:
Done.
[Sony Xperia M] Agu_Ra:
Multi-language TWRP

Hey, guys, TWRP already supports multi-language. So if you want to help with translation and you are sure you are able to (as there are about 600 strings to translate, moreover, you should understand the meaning of them to translate them accurately and correctly; anyway, you may help only with the part you are able to translate, any contribution is useful), you may write to #twrp IRC channel or submit changes directly to Gerrit (of course, you need to be familiar to git and Gerrit at all), it's your chance to help devs. And don't forget to check on Gerrit if translation is already present. To test your translation you can use AIK (don't ask AIK-related questions here): just unpack recovery image, place your language *.xml file to the ramdisk/twres/languages directory, repack the image and flash it as usual. EN locale should be used as the sample. I hope, I've provided enough info. Good luck to everyone interested, let the force be with you!
[Sony Xperia M] Agu_Ra:
Now there is a permanent link to the always latest build.
[Sony Xperia M] nirmal471:
Can you add IST time?
[Sony Xperia M] Agu_Ra:
It needs to be implemented in TWRP code itself. Unfortunately, I am not a developer and I don't contribute to TWRP, I just make it work properly on our device.
[Sony Xperia M] Agu_Ra:
TWRP 3.0.0-0

TeamWin released TWRP 3.0.0-0, it will not be big upgrade for my home builds users though. Build for our device should be done soon. BTW, #3 post now is for changelog, including device-related changes.
[Sony Xperia M] nirmal471:
[MENTION=5917809]cucumber09[/MENTION] Flashed twrp-01-28-16.img, when I go to recovery it says Unmodified system partition in that it shows keep read only and change Modifications, which one I have to select?
[Sony Xperia M] cmxperia:
Nicki TWRP Build Failed in Jenkins Server
[Sony Xperia M] Bonoboo:
Tick "Never ask" and swipe.
[Sony Xperia M] Agu_Ra:
Maybe it's because they've not removed msm8960-common from their cm-12.1 build tree, I'll text them on IRC later.
[Sony Xperia M] Agu_Ra:
Nice question. Added to F.A.Q.
[Sony Xperia M] SdtBarbarossa:
yea they missed the "decouple" commit... maybe due to older device trees that still uses it
[Sony Xperia M] Agu_Ra:
Yeah, but for such situations device maintainers exist. Moreover, there are not so many Sony devices using msm8960-common repo. I've cherry-picked "decouple"-commits to my tree to avoid build failure, but it failed because their tree is not up to date, lol.
[Sony Xperia M] SdtBarbarossa:
yes thats exactly what i meaned xD old jenkins files x) for " backwards compatibility" destroys new trees xD
[Sony Xperia M] cmxperia:
[MENTION=5917809]cucumber09[/MENTION]

The build is fixed now

And Official TWRP 3.0.0 link for Nicki is up.

Thanks Cucumber :)
[Sony Xperia M] Agu_Ra:
Yeah, I know as I've asked Dees_Troy to restart build. And I was busy updating the OP.

So, guys, now you can download fresh official build, it is in fact new release for a long time and first major version change since twrp2. Updated screenshots and all needed info is in the OP. New version may appear in app after a while, so wait or use other install methods. Don't forget to read FAQ. Changelog is in the third post. Happy flashing, folks.
[Sony Xperia M] Agu_Ra:
BTW, 3.0.0 is already available in TWRP Manager app. Also I added some screenshots to OP.
[Sony Xperia M] ndrancs:
I can't download the official, its Just loop.
[Sony Xperia M] Nicklas Van Dam:
download link is work for me :confused:
[Sony Xperia M] ankushkushal:
Sir will it get overwritten by cyanogen recovery like I have to flash it always after new ROM flashing or its sustainable like 2.8.7?
[Sony Xperia M] madper:
No, it is persistence recovery in FOTA partition, but in new CM kernel version you should press vol up button instead of vol down to access this recovery
[Sony Xperia M] :
Their is the option to stop default cyanogenmod recovery being installed every time you update, just goto settings / developers options (about phone tap "build number 7 times to get dev options) / turn off "Update Cyanogen recovery".........now it won`t overwrite TWRP recovery at all.
[Sony Xperia M] Agu_Ra:
Overriding recovery is disabled by default, if I'm not mistaken. Anyway, that's how it was in CM12.1.
[Sony Xperia M] Bonoboo:
CM Recovery always included into boot.img

ZIP not contain recovery because we haven't partition for it, so option doing nothing.

And therefore it never overwrite persistent TWRP.
[Sony Xperia M] Agu_Ra:
Have you tested it? Many applications (e.g. Rashr, TWRP Manager) are aware of Sony FOTAKernel partition, and I'm almost sure CM team is too.
[Sony Xperia M] ndrancs:
Thanks for reply, btw i can download it via TWRP manager
[Sony Xperia M] Nicklas Van Dam:
maybe, but why you're not try official download link page? https://dl.twrp.me/nicki/twrp-3.0.0-0-nicki.img.html :confused:
[Sony Xperia M] ndrancs:
Still i can't download use that link. It's Just looping when i touch download link.

I already downloaded the IMG via TWRP manager.

See the screenshot, when i touch the download link it's stuck/loop there.
[Sony Xperia M] ankushkushal:
Sir I tried your 3Feb zip file but twrp gets frozen when ever I touch the screen...
[Sony Xperia M] Nicklas Van Dam:
Try build 3.0.0.0 , that compatible build for us now.

Sent From My Xperia M Powered By Seal Of Metatron
[Sony Xperia M] Bonoboo:
But anyway ZIP with ROM doesn't contain recovery.img – aware they or not.
[Sony Xperia M] ankushkushal:
Thats still freezing that 3.0 img am I doing something wrong???:-S
[Sony Xperia M] Nicklas Van Dam:
Heh freezing? Did you use encrypted sdcard?

Sent From My Xperia M Powered By Seal Of Metatron
[Sony Xperia M] ankushkushal:
Nope I flashed it by twrp 2.8.7 and rebooted back to recovery. N m tipsy 2.1 no mallow...when I had nui kernel it didn't freeze but now on tipsy only it is:(
[Sony Xperia M] Nicklas Van Dam:
Try to use old FOTA kernel, I think that problem cause from ROM that you used. But I'm not sure?

Sent From My Xperia M Powered By Seal Of Metatron
[Sony Xperia M] ankushkushal:
Okay I used kernel auditor to flash old zip.it is working so I tried to reflash it 2 more time even zip but didn't work.so back to 2.8.7.may be yur right coz twrp use kernel ramdisk.and its working with nui latest kernel which is updated to latest source of cm13.n tipsy has old one.thanx nicklas :D

---------- Post added at 11:35 AM ---------- Previous post was at 11:33 AM ----------

So I think latest twrp should be gifted wiit marshmallow :P as its more kernel based
[Sony Xperia M] Agu_Ra:
But it may be downloaded via default updater if checkbox is enabled.

I'm almost sure it is outdated extract_elf_ramdisk issue, like it was on NUI Kernel before we fixed it. It needs simple ramdisk patch: replacing extract_elf_ramdisk binary in /sbin ramdisk directory.
[Sony Xperia M] Bonoboo:
Aw, didn't thought about it.

Tested: enabled that option and downloaded update.

No recovery.img inside or near ZIP.

After automatic installing TWRP persist.
[Sony Xperia M] ankushkushal:
Waiting for the fix :D coz twrp 3.0 is a real deal formats n restors in seconds
[Sony Xperia M] Agu_Ra:
Give me your boot image from ROM zip. (I can make universal fix zip, but you'd need working recovery image to flash it). Or I can guide you how to repack boot.img by yourself.
[Sony Xperia M] RoundTop:
touchscreen doesn't work

Hi there,

with the newest version of TWRP (twrp-3.0.0-0-nicki.img) my touchscreen doesn't respond when going into TWRP recovery. The last version I used (twrp-01-28-16.img) works just fine. I just used the "fastboot flash boot boot.img" method to do a clean install.

Any ideas what might be wrong?

Thanks,

RT
[Sony Xperia M] kh34d:
Plz read this..

http://xdaforums.com/showthread.php?p=61626314
[Sony Xperia M] Agu_Ra:
Seems that we have newbies that are not aware of forum rules, so I enabled filtering (now only users having at least 10 posts are allowed to post here). I hope, it will make those dummies read. OP and F.A.Q. are made for such purposes. Sorry for my rudeness, but I just don't respect people who don't respect me and my work.

@kh34d, thank you, man, for right response.
[Sony Xperia M] Illies:
[MENTION=5917809]cucumber09[/MENTION] the latest build "3.0.0" working great for me . thanks . :D
[Sony Xperia M] Ibjys13:
Can the new TWRP read an Adopted Storage?
[Sony Xperia M] Nicklas Van Dam:
Exactly yes :D

Sent From My Xperia M Powered By Seal Of Metatron
[Sony Xperia M] ankushkushal:
I have returned to 2.8.7 twrp.And I can flash zips by 3.0 by using kernel adiutor trick too. So if you can make a fix then please :D ready to test it.I really want 3.0 its zappier than 2.8.7 used it with nui flashed n became a fan :cool:

btw you asked for tipsy boot img here it is :D had to make a zip of it though :-S curse that 8mb limit. yur really awesome man thnxx [MENTION=5917809]cucumber09[/MENTION]
[Sony Xperia M] ankushkushal:
I don't have my laptop here ryt nw:( though you can guide me how to repack boot img :D
[Sony Xperia M] Agu_Ra:
I would better make universal ramdisk patch, if you have a working recovery now. But later, when I'll power on my laptop. P.M. me if I forget.
[Sony Xperia M] SdtBarbarossa:
may this is helpful when you want to repack boot.img files.... i made it for XL.... but should work also for XM

http://xdaforums.com/xperia-l/orig-development/ktools-taoshan-t3305289
[Sony Xperia M] ankushkushal:
I do... Thnx for your wirk man [MENTION=5917809]cucumber09[/MENTION]

---------- Post added at 02:18 PM ---------- Previous post was at 02:17 PM ----------

Thnx for the guide (b)
[Sony Xperia M] Agu_Ra:
Thank you, but I'm using AIK and it is completely enough for me. And modified anykernel zips for patching boot images.
[Sony Xperia M] Agu_Ra:
Here you go. Download this zip and flash it. It will replace the extract_elf_ramdisk binary in your ramdisk. It should work for any old boot image using old init system (in new init system extract_elf_ramdisk functionaluty is implemented in init itself). If something goes wrong, send me /cache/kernel.log file.
[Sony Xperia M] ankushkushal:
Already on it.gnna report yu asap.

---------- Post added at 05:11 PM ---------- Previous post was at 05:04 PM ----------

Touch not responding just like in 3.0 in 2.8.7.thnkgod I could boot up
[Sony Xperia M] Agu_Ra:
It is because your ROM is outdated and uses outdated kernel sources. Search for "lollipop touch fix" in this thread, I uploaded fixed kernel. BTW, it doesn't respond only for 1 minute.
[Sony Xperia M] ankushkushal:
Okay giving another shot
[Sony Xperia M] Agu_Ra:
Sorry, the link is broken in old post. I've re-uploaded zip.

P.S.: locate command in Linux is killer feature, I've found needed file on my PC in 1 second.
[Sony Xperia M] ankushkushal:
Hahaha killer one;)

But I got a problem here twrp is not working cant read anything so no happy flashing
[Sony Xperia M] Agu_Ra:
Can you explain what is not working?
[Sony Xperia M] ankushkushal:
Twrp is not working version 2.8.7.it freezes for 1 minute and then touch starts working but then it doesn't read any device storage neither internal nor external n when I try to flash anything using kernel auditor it doesn't work at all.n even when itry to reboot via recovery to system it asks no os installed warning do you still want to reboot though on rebooting my phone reboots and works fine.my recovery is sewed after flashing elf patch totally. :(
[Sony Xperia M] ankushkushal:
Its working now twrp 3.0 I did really a lots of things sodnt knw hw it happened :-o

---------- Post added at 06:06 AM ---------- Previous post was at 06:00 AM ----------

It was not working at all before after that elf patch twrp 2.8.7 used to freeze n then it didn't show any storge mounted.I opened kernel auditor replaced fota with twrp 3.0 n rebooted to recovery no change.then I opened rasher n flashed kernel of tipsy and viola.... I had 3.0. But it freezed for 2 times n after removing battery n rebooting to recovery it started working :D thnx [MENTION=5917809]cucumber09[/MENTION] for your help man

---------- Post added at 06:23 AM ---------- Previous post was at 06:06 AM ----------

Rechecked it 5 times its totally working now 3.0 freezes for a min but then all working.
[Sony Xperia M] Agu_Ra:
Flash touchscreen fix from the previous page.
[Sony Xperia M] ankushkushal:
That fix is a kernel???okay.no issue now.thnx [MENTION=5917809]cucumber09[/MENTION]
[Sony Xperia M] Agu_Ra:
Yes, it's anykernel zip (if you are curious, it's a kernel without ramdisk, script in zip repacks boot image, preserving original ramdisk and replacing only kernel binary, and flashes it). It is more safe than prepacked boot image and it is more universal as original ramdisk is preserved, so it lowers incompatibility risk.
[Sony Xperia M] ankushkushal:
Wow nice fix clever one thnx fr hlp man twrp 3.0 m lvng it [MENTION=5917809]cucumber09[/MENTION]
[Sony Xperia M] Garv Maggu:
Please help.

I accidentally flashed 3.0.0.0 recovery as boot partition in twrp-2.8.7.0.

Now, it's not booting.

Please help to get it working. :( :crying:
[Sony Xperia M] ankushkushal:
Did you use fastboot???try it
[Sony Xperia M] Agu_Ra:
If you flashed it to boot partition, it should boot directly into recovery, so you can flash your ROM or boot.img from it. If it doesn't boot at all, try flashing kernel from your ROM zip using fastboot.
[Sony Xperia M] Garv Maggu:
Thanks brother, flashing boot.img as a kernel from the ROM zip worked flawlessly. :)
[Sony Xperia M] ankushkushal:
Got a problem twrp shows error when using its file manager to move or copy from internal memory to ext sd card.