yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Sajito:
I don't want to panic anyone or something like that, but be aware, that even with the twrp build which was affected by that bug most people were able to wipe a few times before data partition broke, so please be aware that the bug

might

still be present.
[HTC Sensation] john_matrix:
Is F2FS very efficient on Sensation?

I don't remember if its NAND memory is slow?
[HTC Sensation] jhonnz:
i don't no because not exist recovery compatible for sensation whit this option
[HTC Sensation] Inf1n1te:
Should I change my 4ext recovery for this one??? I think developing 4ext has ended.

Is there any advantages with using twrp mainly for Android L?

Thanks
[HTC Sensation] matekaneve:
Guys! Why do you risk it? There is a big chance you brick your device if using twrp recovery on the sensation! As Sajito said a few posts above even if you are able to use it, after a while it might brick your phone! We have 4EXT Recovery, a FULLY working and FULLY compatible recovery that you can trust and can be used for ALL stuff that you as an avarage user want to do on your sensation! So I really don't understand why people are so desperate to use twrp recovery... :confused:

edit: btw. I know! F2FS.. and? Your device might be 1 sec faster... and? Is it worth to risk bricking your phone? I don't think so...
[HTC Sensation] Sajito:
While I agree with you, I also think it's good to know if this build really is stable, because I actually like twrp more than 4ext, even if it's only for it's queue feature.

I just wanted everyone to be aware that we are not yet 100% sure, that the 2.8.3 build is safe.
[HTC Sensation] ivanich:
TWRP 2.8.4 for Sensation has been released, anyone tried it?
[HTC Sensation] Sajito:
I'd like to, but I still fear the brick bug. Are you running twrp?
[HTC Sensation] ivanich:
Actually no, but I'm thinking about build twrp with my device tree/kernel and f2fs support, unfortunately as [MENTION=5075128]LuK1337[/MENTION] said twrp can be correctly built only with omni, when it built with cm12 it doesn't boot.

[MENTION=5419797]Sajito[/MENTION] , can you build omni with my repos? ;)
[HTC Sensation] Sajito:
I will try to and tell you.

I'm not sure, but it might be safer to use this flag 'BOARD_SUPPRESS_EMMC_WIPE := true' when building twrp for our phone.
[HTC Sensation] ivanich:
Btw, who maintain twrp for sensation? It seems that new twrp builds were made outside of official twrp repos.
[HTC Sensation] Sajito:
[MENTION=4329165]ivanich[/MENTION] I tried building omni, but the porting requires some more changes to build, but I don't have enough time investigating that.

But I know that carbonrom uses twrp as default, I will try building twrp with carbonrom source, which doesn't take much time to port

EDIT: is anyone else having massive issues browsing xda? It's like a miracle I made it to post something here.
[HTC Sensation] ivanich:
I've tried to build omni too, but looks like they still haven't merged a lot of qcom related commits in frameworks_native, bionic etc, so carbon could be a good alternative for this purpose.
[HTC Sensation] Sajito:
I've tried to build twrp with carbon now, but it doesn't boot. Maybe we need some changes for it to work correct?
[HTC Sensation] ivanich:
I've got it working with cm11.Used this

https://github.com/ivanich/android_device_htc_pyramid/tree/cm-11.0-twrp

https://github.com/ivanich/android_kernel_htc_pyramid

https://github.com/omnirom/android_bootable_recovery

Tried formating cache partition to f2fs a few times without issues.
[HTC Sensation] Sajito:
Did you try to format only cache partition? The problem with previous twrp versions occured while wiping data partition, so I'm still a bit skeptical
[HTC Sensation] ivanich:
Formated data 3 times, also restore backup 2 times without issues, previous twrp versions in my opinion used 3.0 kernel and old(nobody knows which exactly) device trees so probably thats why it has issues. Formatting is just simple mkfs operation.
[HTC Sensation] Sajito:
Don't get me wrong, I'm just better safe than sorry. The twrp 2.7 wasn't official, shantur built it with his 3.4 kernel and device trees.

But if it's now really safe I'm gonna use it, I always liked twrp more than 4ext.
[HTC Sensation] ivanich:
So only twrp 2.7 brick device or other versions too? Also the problem might be in mkfs.ext4 utility by itself.
[HTC Sensation] Sajito:
According to this http://xdaforums.com/showpost.php?p=56446758&postcount=7 LuK1337's twrp had that bug too.

I don't know where the problem actually was or is.
[HTC Sensation] ivanich:
Could you please check which eMMC model we have on sensation? http://wiki.cyanogenmod.org/w/EMMC_Bugs

$ su
# cd /sys/class/block/mmcblk0/device
# cat name
MAG2GA
# cat manfid
0x000015
# cut -b 19,20 cid
05 // this is the firmware revision in hex
# cat date
05/2012
[HTC Sensation] hinxnz:
This from my Sensation...

$ su
# cd /sys/class/block/mmcblk0/device
# cat name
MLLOOM
# cat manfid
0x000015
# cut -b 19,20 cid
05
# cat date
08/2011
[HTC Sensation] Sajito:
Mine differes from hinxnz' just by date, but everything else is same.

I saw on github that you found a fix?
[HTC Sensation] ivanich:
Not sure if this is a real fix, but I've found that in stock pyramid kernel(4ext using it) secure erase not used, also we have trim disabled in 3.4 kernel for ext4 driver. Going to try twrp with this patch today.
[HTC Sensation] Sajito:
I really hope that's it.

If that's in stock kernel that might explain why official twrp never had problems, because the problems occured when we began to use 3.4 kernel.
[HTC Sensation] ivanich:
Finally moved /data and /cache partitions to f2fs - all seems fine. BTW while doing this formated data about 6 times, I know that it can be scewed pretty random but all looks fine till now :)

for the fearless here is TWRP-2.8.4.1-pyramid-f2fs.img
[HTC Sensation] xWolf13:
Is there a way to use this with S-On? Because on TWRP's page it says "You must be S-OFF or have taken HTC's unlock to use a recovery on your device!" My device is S-ON and has been unlocked using HTC's method..
[HTC Sensation] ivanich:
Have no idea, but twrp have "dumlock" option something for s-on devices.
[HTC Sensation] xWolf13:
Just tried it. For everyone that wants to use TWRP with S-ON just make sure to enable HTC Dumlock in Advanced settings in TWRP and follow these directions afterwards! It does work, but it takes longer than usual to flash and boot.
[HTC Sensation] Artificial_Intelligence:
Actually, as far as I remember the official 2.7.0.0 had problems too :rolleyes:. That's why they pulled it from the downloads section.
[HTC Sensation] Sajito:
I don't know, but when they released 2.7.0.0 they announced a lot of phones wouldn't be supported anymore and the sensation was one of the unsupported phones, so I think all the twrp build from official mirror were submitted to them by someone, but not actually made and tested by them. Though that's only a guess.
[HTC Sensation] ivanich:
Here is my TWRP recovery folder Download TWRP for pyramid
[HTC Sensation] saldymhmd:
[MENTION=4329165]ivanich[/MENTION] so now it's safe to install twrp? Some people hard bricking their phone because twrp
[HTC Sensation] ivanich:
I don't know, I'm using it about 2 days, formated data partition about 15 times, backup,restore without any problems till now.
[HTC Sensation] Harakhti:
Do you have any references on bringing up TWRP support for a device? Ancora lacks it and we're planning to look into it, but so far nothing useful came out of it.
[HTC Sensation] Sajito:
[MENTION=4329165]ivanich[/MENTION] do I need to do anything myself to use cache and data as f2fs?
[HTC Sensation] ivanich:
Format those partitions to f2fs and use fstab with f2fs mount options. Thats all.
[HTC Sensation] Sajito:
Using it now for nearly 2 days and seems really stable. Don't know if your maybe already working on it, but can you do something for the led in recovery? It doesn't seem to work
[HTC Sensation] ivanich:
According to this http://xdaforums.com/showpost.php?p=50336164&postcount=392

And there is a commit for adding charge led support https://github.com/tdhite/android_bootable_recovery/commit/4a1f7faa6d45e0a396ffb59e700c0ea0078aa6e0

I believe this is not a very important feature for recovery so we can skip it :)
[HTC Sensation] Sajito:
Oh well then it's all fine :D

By the way, to you know a way to change filesystem without loosing data?
[HTC Sensation] ivanich:
FS changing without loosing data not supported, especially from ext4 to f2fs. You can just tar files from /data to sdcard, then format /data to f2fs and put them back, this is how I did.
[HTC Sensation] tobitege:
TrueImage lol... j/k, really good question infact.
[HTC Sensation] little_lerroyy:
Help! Bricked!

Help!

After flashing TWRP recovery and changing partition types, every time i flash any rom I get stuck at the HTC logo! Ive reflashed recovery to 4EXT and set /data /sytem and /cache back to EXT4 and wiped clean and same thing! Is this the TWRP Brick bug?? Looks like i killed my sensation xe :crying:

Is there anything i can do to save my beloved device??
[HTC Sensation] rzr86:
see this thread

http://xdaforums.com/htc-sensation/help/recovering-data-mount-issues-t2859588
[HTC Sensation] little_lerroyy:
Thanks! i will see what it says. I will report back findings.
[HTC Sensation] ivanich:
In case of "brick" /data partition gets corrupted and there is no possibility to mount it and flash any ROM, apparently your data partition is fine. Probably your device is S-ON, that means you need to flash boot.img separately or use "Dumlock" option in TWRP.
[HTC Sensation] little_lerroyy:
Ive flashed boot.img seperately serveral times to try and solve the problem.

What does Dumlock do?

** googled it its TWRP's version of EXT4's SmartFlash* i see now. I have flashed boot.img several times. ive also done it with 4ext with smart flash enabled. with same issue.
[HTC Sensation] pipyakas:
is there any rom use the f2fs filesystem yet? can i use it with cm12?
[HTC Sensation] mcfouch:
Dees_Troy & Ivanich can you explain us what differ Between the new official twrp 2.8.4.0 from Teamwin web site and yours Ivanich ?

What I believe to know :

- Teamwin build based on Omnirom with a "generic" kernel for pyramid

- Ivanich one based on your own cm12 and your specific kernel dedicated to pyramid with f2fs support

Am I wrong ? What else ?

Thanks for your answer and thank you very much for your work.
[HTC Sensation] ivanich:
My version of twrp based on my kernel and device tree which I'm using for cm12 builds.
[HTC Sensation] Sajito:
The main difference: The twrp for sensation from official website will most likely brick your device and ivanich's won't.
[HTC Sensation] Burth67:
TWRPRecovery and Chargeing

@ Ivanich: wil the phone charge when off with this TWRPrecovery ?, if not could you implement it, so it charges when off, just like 4EXTRecovery. :fingers-crossed::fingers-crossed:
[HTC Sensation] mcfouch:
Yes the phone will charge when off but recovery, 4ext or twrp, have nothing to do with that. If your phone is off, no recovery is started.
[HTC Sensation] Sajito:
Wrong. The phone will charge, but also the phone will start silently the recovery. So while you charge your phone while it's off, it's not really off, because it starts the recovery.
[HTC Sensation] Burth67:
led lights

The reasion why i wanted to know was, with 4ext recovery when the phone is off you know that it is chargeing because the led lights op orange when chargeing and green fully charge. but with twrp there is no lights when phone is off. :confused::confused:
[HTC Sensation] mcfouch:
So, when you plug the charger, the kernel of the recovery and few binairies are loaded ?

I didn't know that. Thanks to have corrected me. I will make some search.
[HTC Sensation] Burth67:
TWRP Recovery

I found a bug I think when I power off the phone, and then try to power back on again, it doesn’t boot op anymore, and I even can’t enter TWRP recovery. I have to pull battery to boot op. :confused::confused:
[HTC Sensation] mcfouch:
Yes, after upgrade to 2.8.5.0-r1 I have the same symptom.

I have looked at twrp's github issue tracker and found nothing about this problem...
[HTC Sensation] hinxnz:
I'm on 2.8.4.0r11 and I just realised that I have to do the same thing but only when I plug the charger in and disconnect, the phone doesn't boot up unless yeah you pull the battery, I can also see how annoying charging would be with phone off without LED but why charge with the phone off?
[HTC Sensation] Sajito:
Yes, I'm not exactly sure about why that happens, but that's how it works.

Well charging with phone off is much faster. Also sometimes it happens that phone shuts down because of low battery, it's kinda annoying to get phone running again then :silly:
[HTC Sensation] ivanich:
I've fixed off-mode charging, charging led in recovery and in offmode, also charging animation now works. Will upload a new build soon. Build uploaded
[HTC Sensation] Burth67:
Hi [MENTION=4329165]ivanich[/MENTION] with the new recovery every thing is working now. Thanks :victory::victory::victory::victory::victory:
[HTC Sensation] ivanich:
Quick question. Does anyone got real nand corruption of data partition with my TWRP builds(not from official twrp website )? Because I see that a lot of peoples uses it without issues.
[HTC Sensation] mcfouch:
All is fine here. Made some FS conversions f2fs <-> ext4, format/wipe, install roms & PA Gapps with 2.8.4.0 and now 2.8.5.0-r3. I don't feel the need to come back to 4ext.

I have just an issue to install mods with Aroma Installer :inactive on screen buttons.

Thanks Ivanich.
[HTC Sensation] Sajito:
Everythings fine with your twrp builds.

Only bugs I noticed are with aroma installer.
[HTC Sensation] saldymhmd:
Hello, can anyone point me how to use htc dumlock? I'm on CM11 and already installed TWRP with Rashr right now. Planned to moving to CM12 with F2FS. Bit confused how to use dumlock. Googled and more confusing me
[HTC Sensation] Sajito:
Dumlock is the same as SmartFlash on 4ext. Just active it and you'll be fine.
[HTC Sensation] saldymhmd:
Based on TWRP site, there are many steps to do.

Does this steps is right?

1. Format all partitions and change /data & / cache to F2FS

2. On twrp, advanced, htc dumlock, reflash recovery to boot

3. Install CM12 rom

4. Go back to htc dumlock, restore original boot

5. Reboot to System
[HTC Sensation] Sajito:
I thought you were talking about dumlock, which is the same as 4ext smartflash and only needed if your s-on. Switching to f2fs has nothing to do with dumlock.
[HTC Sensation] saldymhmd:
My device still S-On so that I need to know how to use dumlock. I think it was easy just like 4EXT Smartflash, just enable the option and you are ready to go, but Dumlock needs more steps. I just wanna try CM12 with F2FS.
[HTC Sensation] Phateless:
This sounds super cool! I'm assuming fastboot works too?

You should add to ROM manager if you haven't already.
[HTC Sensation] tinker2000:
Nice :) Is catchy...lol
[HTC Sensation] tinker2000:
I have a failed to install after it had transferred across. Any ideas?
[HTC Sensation] dcrin3:
Who cares if it doesn't charge while phone is off. My phone is never off.

TWRP is t3h shiate!

Just did a backup of my phone, it cost me 1081MB and around 600-800 seconds.

Did another backup, this time it was compressed. I got a nice 660MB but it cost me 1580secs(25mins). Ouch!

Its all good, and it is all working.

Thanks Teamwin.
[HTC Sensation] pr0x2:
I installed that fixed recovery from revoked and it charges even when it's 0% completely shut down.
[HTC Sensation] ClydeB1:
You would if you ran out of juice and couldn't charge it or even boot it to take a charge

Thanks for confirming this. Will give it a go then ;)
[HTC Sensation] undercover:
Could you elaborate please how charging is different from..say Desire. Thing is, i believe touch screen issue has something to do with the way it charges.

Thanks.
[HTC Sensation] Docmjldds:
980MB completed 380 seconds. Using a class 10 32GB Patriot card really helps. I see no reason for compression. Plenty of space and if I can easily off load any number of nandroid backups just like I used to. So happy to have my Amon Recovery looking setup back too :)

Edit: Look for Folder called TWRP, which has Subfolder BACKUPS, then familiar HT Serial number and finally date coded backups. I rename the backups to suit my needs, but if this works like AMON recocvery versions from my Nexus One days, do NOT put any spaces in a renamed backup. It will fail. Just FYI....
[HTC Sensation] Dees_Troy:
Correction: it is my understanding that off-mode charging does work, but I don't think anyone has tested it on the Sensation yet (it has been tested on the the EVO 3D). If you do fully drain your battery, you will need to let the phone charge for 10 or 20 minutes before you can power it back on though.
[HTC Sensation] the_scotsman:
So what makes this different from CWM? :confused:
[HTC Sensation] Phateless:
Boy, do I miss amon ra recovery. :)
[HTC Sensation] ~~Tito~~:
Its organized and more feature packed, and less intrusive in what you want to do.

IE

DO YOU WANT TO REPLY TO the_scotsman?
-NO
-NO
-NO
-NO
-NO
-YES
-NO
-NO
-NO
[HTC Sensation] jerrylzy:
Works very well..Thanks very much
[HTC Sensation] drdingdong:
Thank you very much. Will try it out!
[HTC Sensation] ridikolous:
Recovery working very well, have nice features.

Sent from my duo core monster.
[HTC Sensation] knights.JayTana:
Thanks for this guys... So, when can we expect the charging fix? MORE POWER...
[HTC Sensation] KillaHurtz:
Confirmed DISCHARGING while plugged in

I just confirmed via adb the the device is infact discharging while plugged in. This happens while off or in recovery.

adb shell cat /sys/devices/platform/htc_battery/power_supply/battery/status

Awesome work by TeamWin nonetheless, and can't wait to see more colors & these minor bugs worked out.
[HTC Sensation] Docmjldds:
This is darn close to AMON.
[HTC Sensation] KillaHurtz:
I again vote to call it TWERP (TeamWin Extended Recovery Project)
[HTC Sensation] Smokuevo:
How is there no pictures or video of it yet
[HTC Sensation] Sajito:
Didn't knew it was that different, I just read the instructions. In my opinion it would be much easier for you to just gain S-Off, for example with rumrunner.
[HTC Sensation] anitgandhi:
I'm also wondering about how to do HTC Dumlock. I'm on ivanich's latest TWRP, the dumlock menu option is there. I have no ROM installed, and I'm S-ON. All the methods I've found online involve using the app, but I can't get to that stage since I have no ROM installed. Also I'm on Windows 8.1 so fastboot drivers are not working properly. I'm trying to get to a Windows 7 computer in the meantime.
[HTC Sensation] andy hall:
Read back a few pages or take a look at the Ivanich CM12 thread, there are fixes for Win 8.1.
[HTC Sensation] tom0769:
Is there a way to restore backups made with 4ext?
[HTC Sensation] Skipjacks:
I do not believe so, unless a new feature has been added.

Those two recoveries compress the backups diffrently
[HTC Sensation] andy hall:
Hi,

I switched to your TWRP to use F2FS and found a load of useul stuff too.

The only issue I have got is Aroma install having no responce to touch screen.

I know you are busy with several projects but any chance this could be looked at.
[HTC Sensation] ivanich:
I tried to figure it out but failed, aroma is a very dumb piece of **** code and it has it's own touchscreen drivers, this probably can be fixed in the our kernel level but I've no idea how.
[HTC Sensation] hinxnz:
Could it maybe due to the screen lock because it is always activated when exiting aroma.

It seems to me that the lock screen is triggered when you first touch the screen when using aroma, which then blocks the touch screen completely. The first touch is registered too.

Is it possible to disable the lock screen to test?
[HTC Sensation] hinxnz:
I found a way to use aroma with trwp, it's not a fix but an easier way to use it than using volume and power buttons.

http://xdaforums.com/showpost.php?p=59729929&postcount=14
[HTC Sensation] MadCat.:
Hello Team and community!

I use TWRP has a long and successful.

But...

I made FULL backup --> flashed modified firmware ported--> bootloop --> Restoring backup = no full recovery, but only partially (and button Home not working)

Could it be the reason that:

1) I did re-initialization of partition before Backup and Restore (non-standart, free 8Mb at built-in memory),

2) new firmware could SWAP memory cards?

For the first time TWRP (2.6.3.0) fails ((
[HTC Sensation] dragonnet_86:
hi

i have sony xperia z

ineed the last twrp recovery flashaple for locked botloader plz plz plz

thanks alot
[HTC Sensation] KanocX:
<damn, wrong thread - sorry>
[HTC Sensation] jerrylzy:
Cannot recognize Sensation or Sensation 4G automatically,but CWM can:(
[HTC Sensation] Dees_Troy:
You'd have to talk to someone that deals more with kernels than myself to be 100% sure, but my understanding is that the Sensation and EVO 3D don't contain a hardware charging circuit like most phones before them. Instead, charging is controlled by software. I suppose this allows HTC to change / update the charging settings with a simple software update, but I imagine the main reason HTC did this was to save a few cents per phone.

I'm pretty sure that charging is a kernel issue. We might be able to get it fixed before CM7 nightlies start coming out, but definitely once there's a decent CM7 kernel that we can use.

Look in the OP under features. About halfway down there's a link called "Default color theme (lots to choose from)"

You'll have to forgive me since I personally am not a Sensation owner, but is that an important feature in a recovery? If so, can you explain why?
[HTC Sensation] vivmar:
maybe was already reported, but my battery % inside recovery is wrong...

anyone else?
[HTC Sensation] pimpmaneaton:
That is listed under know issues in op. Is the only issue listed.

Sent from my Sensation Rockin CoreDroid!
[HTC Sensation] pimpmaneaton:
The benefit of the recovery being able to decipher which hardware it is dealing with is for example the CoreDroid Rom. When it flashes it will detect a sensation 4G (aka TMOUS) and will then flash files only for tmous user such as correct ril for stock radio and also WiFi calling. Just a nice feature but not really a necessity since there are walk arounds for things like that.

Sent from my Sensation Rockin CoreDroid!
[HTC Sensation] typ_ex:
+1

thank god i hated that about cwm
[HTC Sensation] undercover:
PMd Amon_RA few weeks ago, unfortunately he has no time time to make recovery for Sensation. Twrp looks as close as it gets though. Will flash it as soon as charging when off is fixed.
[HTC Sensation] pushpann:
Good job!!

Flashed... Is way better than CWM.

But i frequently run out of battery, so cant have it permanently...

Anyway +1 for your work..
[HTC Sensation] -shift-:
here's something you'd like:

https://twitter.com/#!/Amon_RA/status/97773583874531328

and then when one of teamwin's members, onicrom, asked for his thoughts on twrp:

https://twitter.com/#!/Amon_RA/status/97781896322351104

:D
[HTC Sensation] pimpmaneaton:
Mine shows discharging as well, but love this recovery just gonna have to make sure to always have my spare battery charged. Never had a chance to use Amon_RA recovery but if this is close to that then Amon must have been really cool cause this recovery is hands-down, much better than clockwork. Thanks for the support TeamWin. Look forward to future release.
[HTC Sensation] navillos:
I like being able to navigate via the capacitive buttons. Incorporate this please.
[HTC Sensation] Dees_Troy:
We actually have capacitive button support but the kernel we are using doesn't have the buttons working.
[HTC Sensation] navillos:
CWM (Revolutionary) 4.0.014 has it.
[HTC Sensation] d3vilskid:
Love it, feels like amon with elements of cwm but with a twist to make feel original.
[HTC Sensation] pimpmaneaton:
Is teamwin planning on an update to this recovery. Works really good as is and will stick with it but looking forward to next release.

Sent from my Sensation Rockin CoreDroid!