yashsingh1/xdaforums huggingface dataset:
[HTC One S] Sneakyghost:
Did anyone ever replace the update-binary in Viper-ROM to see if that helps with installing on the newer Recovery? Team Win placed a note somewhere along the changelog that older zips might not install correctly and might need an update of the binary.

Anyone checked that out?
[HTC One S] Darknites:
I thought that was for the old old roms thats not been update for 6 months and you had to use 2.2.2.0 or do as the note says.
[HTC One S] rum0s:
I had the same problem with 2.4.4.0. My SD-Card was corrupted and didn't mount in my system. I had to mount it in TWRP and format it as FAT32....in the end all my data was lost. Even with different data recovery tools (I tried Remo Recover, CardRecovery, FileScavenger and iCareData...) I couldn't restore anything.
[HTC One S] ipit:
You can't mount SD card with your version of TWRP?

If that's the case just boot to bootloader, install an OLDER version of TWRP 2.3.3.0 using fastboot

Boot to recovery

Mount SD card with TWRP

(If you need to format, you can user FAT32 in windows)

Copy New ROM to SC card

Install ROM

edit: LOL I just realised this is OLD news. Probably all good now. Ignore.
[HTC One S] Sneakyghost:
Yeah i checked it now. Replaced the update-binary within Viper 2.1 and OTA 2.2 and tried to flash on 2.4.4.0. Failed. Error Status 7.

Nor working.

Anyone interested in pulling screenshots from recovery using ADB?

Took me 2 days to figure this out with the help of some threads on XDA and the fabulous GIMP...

Get ffmpeg library and put it where your adb.exe is, then run this in command:

adb pull /dev/graphics/fb0
ffmpeg -vframes 1 -f rawvideo -pix_fmt rgb565 -s 544x960 -i fb0 fb0.png
[HTC One S] Sneakyghost:
U need stock recovery.

Sent from Viper 2.2
[HTC One S] Murshad007:
Stock Recovery to receive an ota update or to install an update?
[HTC One S] Sneakyghost:
You'll always receive OTA's while on a stock ROM, however, the flash command is not picked up right by TWRP, so the automatic OTA flash will fail.

You might be able to extract the OTA from temp though and then manually flash it from fastboot RUU mode. But that's a different story.

To flash the OTA, it's much easier to first flash stock recovery, then relock, then flash OTA, then unlock and back to TWRP.

Sent from Viper 2.2
[HTC One S] eyeballer:
Updated to 2.5.0.0
[HTC One S] Dees_Troy:
It is not recommended to use TWRP with official ota updates. You can find more in the faq in my signature.
[HTC One S] Sneakyghost:
Thanks. Pretty much what i've been saying.

On another note, i am surprised you pass by here on this thread on this occasion. We have had some people here suggesting that they would be willing to test stuff on the One S to help make TWRP work better on some scenarios. Are you looking for One S testers at all?
[HTC One S] gmlawrence33:
so far, flashed two roms and two backup and two restores. no problem at all.
[HTC One S] rootrider:
Question: Can you mount your SD-card successfully with this latest version?
[HTC One S] CarstenDutch:
Did you mean you did this with the latest version 2.5.0.0?
[HTC One S] gmlawrence33:
Yes, the latest.

Sent from my HTC One S using Xparent BlueTapatalk 2

---------- Post added at 03:33 PM ---------- Previous post was at 03:22 PM ----------

Just found out, no. Sdcard would not mount. Too bad because everything else has been working.

Sent from my HTC One S using Xparent BlueTapatalk 2
[HTC One S] Sneakyghost:
I've had trouble mounting SD but eventually it worked and i think the key is, it needs an excessively long time until the drive becomes visible in the Host.

Other than that, i RUU'd and wiped my phone fully clean today including SD Card to test if that would make TWRP finally flash viper. This is based off of some suggestions and ideas from some people.

Unfortunately, my device still doesn't flash Viper.zip on 2.5 but other zips (also aroma zips) just fine. The error i always see in aroma log is error status 1 and I/O error, usually indicating probs with SD or zip.

Tecardo and i think some others could flash viper with 2.5 very well too though.

I wonder if this once again is something just happening to a few devices.

At the moment i am really interested to hear about explicit viper flash confirms. Or else, fails.

I am not really sure this is actually a TWRP issue but also i haven't really gotten any idea where to put this. Aroma? Viper.zip? TWRP?
[HTC One S] rootrider:
fail, mate. On a freshly RUUed device. SD reformatted before.
[HTC One S] usaff22:
Definitely not the Viper zip.

My ROM doesn't flash either, and it's not an Aroma script. Gives an IO error.
[HTC One S] Sneakyghost:
So if yours isn't Aroma and isn't viper, the only thing left to look at is TWRP, right? Odd.

Guess i gotta hook up on the TWRP Chat again. I got the feeling that the TeamWin guys read this rather randomly. Not sure Dees_Troy or any of them actually reads this. I find it quite interesting information. Thanks for sharing.
[HTC One S] usaff22:
I kept trying to find how my updater script messed up, making 13 different builds of the same ROM with no changes except in the updater script, only to find the problem isn't on my end. Lol, massive fail.

I guess I can re-release it then (zenROM+)
[HTC One S] Darknites:
Em yours wouldn't flash on 2.3.3.0 so ya there is something up with your updater script.
[HTC One S] usaff22:
I meant after I fixed the original problem, kept getting a new error which was the IO error and kept trying to fix a problem that wasn't there.
[HTC One S] Darknites:
Oh right I shut up now lol.
[HTC One S] usaff22:
lol

Edit: I also found that Signature Verification fails every time for me with TWRP 2.5.0.0. I have to turn off signature verification for every file I flash.

Edit 2: And unmounting USB Mass Storage doesn't work for me on Windows 8. I have to plug the cable out of the phone to stop the phone mounting.
[HTC One S] Rapier:
I got this on win 7 64 bit also. I had to un-mount device from windows to have it stop
[HTC One S] Sneakyghost:
Hehe...

U are usually a helpful and patient person. A little slip on your side is well tolerated i would think...
[HTC One S] Darknites:
Lol I was thinking it was another issue he was having with his rom.
[HTC One S] eyeballer:
I try to scan over the thread but it's getting tougher to find the time to keep up. If I see a log attached to a post I'll probably pay more attention. Alternatively, you're more likely to get help stopping by the IRC channel and hanging out for someone to answer - bring a log.
[HTC One S] Krayvon:
!

eyeballer,

I can finally fix perm on the latest 2.5.0.0 :p

thank you!
[HTC One S] Sneakyghost:
Yeah I've been on irc already. Will also come back once I have more information. The last log I gave Dees_Troy wasn't too helpful. Thanks for your answer though.
[HTC One S] DirtySant0:
How can I downgrade from the latest to 2.3? What's the best and easiest way
[HTC One S] Sneakyghost:
Download 2.3 from teamw.in and then flash it using fastboot. To do so, boot your phone into boatloader, click fastboot (navigation in boatloader is via volume up and down and confirm is power button) and then connect it to your pc.

On your pc, open command prompt.

In CMD, navigate to the folder where your ADB and fastboot.exe are.

- don't forget: your recovery which you just downloaded needs to be in that folder too so copy it in there-

Once CMD runs in that folder, type:

fastboot flash recovery nameofyourrecovery.img

That will flash the recovery.

Tip: you can rename your recovery image to something short to make typing it's name in CMD a little easier.

You could also copy the name and paste it into CMD by choosing right click and paste on the CMD window...

Hope that helps.

mobile post
[HTC One S] Murshad007:
I am unable to Flash stock recovery through the hasoon toolkit??
[HTC One S] Sneakyghost:
Then use the method in my previous post but just put stock recovery in place of TWRP.

You find stock recovery in every RUU or extract it from hasoon toolkit.

mobile post
[HTC One S] tnpapadakos:
First, thanks for all you've done with this recovery

I searched "wipe" in this thread, and didnt find anything about this:

I dont like 2.5.0.0's new wipe options first-page 1-button design ...i wish there was also a button there for wipe cache/dalvik cache

gotta go 4 more steps now to achieve that, 1. advanced wipe > 2. x on cache > 3. x on dalvik cache>wipe> 4. wipe (? i think, doing this from memory), then swipe

but, wipe cache/dalvik cache is probably the most used wipe option..?? i dont like it

I accidentally did the factory reset once, cause i was so used to flying through the options before....plus i probably had a couple beers...but who's counting?

anyway, thanks

hope this wasnt a repeat comment
[HTC One S] mdmower:
Request for testing

Note: I have obtained permission from Dees_Troy to post this here.

Caution: Advanced users only. I will not take responsibility for damaged devices.

I put some work into updating and unifying the TWRP device trees for evita, jewel, fireball, and ville. Before I make a pull-request to TeamWin, I need the below recovery image tested. Everything should work just as well as in the official TWRP 2.5.0.0. If there are any regressions, please report them!

A couple changes worth noting:

Can backup encrypted data partitions of AOSP based ROMs (see notes below for CyanogenMod example)

sdcard is now called Internal Storage (path: /sdcard)

Download

CyanogenMod Encryption notes

Pre-requisites:

CyanogenMod for ville build 20130516 or newer

Encryption procedure:

Make a full backup in TWRP

Restore your backup - This seemingly odd step will ensure a footer is allocated at the end of your data partition for encryption data.

Install a CM build equal to or newer than 20130516 and wipe Dalvik cache

Reboot and let phone battery charge to 100%

Turn on Airplane mode

Settings > Security > Encrypt phone

Be patient, your screen may go black for a couple minutes without indication of anything occurring before a reboot occurs and encryption progress is displayed.

Reverting encryption:

Make a full backup in TWRP (you will need to enter your encryption PIN upon entering recovery)

Reboot to TWRP, but instead of entering your encryption pin, just hit cancel

Wipe your data partition

Restore your backup
[HTC One S] Sneakyghost:
Hi mate,

thanks for putting some effort into this project. I am curently testing your recovery edit.

What i cannot test: encryption functions (sorry no time to set up a new Android System i have never been using before - currently on Viper ROM with Sense).

First boot into recovery: UI completely messed up from a changed Colorspace/ Pixelformat. My theme didn't work. Now disabled theme.

Second Boot: UI screwed up without the theme too. Sorry.

Third move: flashed CWM Philz Touch to try to clear out old recovery stuff but of course thats mere blind guessing and it also didn't help.

Fourth move: flashed your recovery again, now checked recovery.log (attached) and found you changed Pixelformat back to RGB565 for some reason- did you pack an older kernel in the recovery? Or maybe, did you leave the current kernel in but changed Pixelformat so the UI cannot be renderd properly anymore?

Interesting: TWRP seems not to be able to access /cache at all and also, it says its loading package: TWRP (/sdcard/TWRP/theme/ui.zip) but thats not there anymore. I killed it????

How do i have to understand those log entries then???

I'm still off today and can do further testing for you if you wish but next week other people will have to test your stuff as i am very busy then.
[HTC One S] Darknites:
Did you delete the TWRP folder on sd?
[HTC One S] mdmower:
Thank you for the first report. I've updated the colorspace to RGBX_888. A new download is available. Indeed, I am using the same kernel as current versions of TWRP, but did not include colorspace information (the device tree on github.com/teamwin is a WEEEE out of date for referencing).

Do you currently have OTG support in the official TWRP? This may be the second update I will have to make.
[HTC One S] Sneakyghost:
Not sure about OTG, it is in TWRP, visible i mean, but i could never test it due to a lack of a cable.

So you just had TWRP run with RGB565 while the kernel has RGBX_8888? Lol. Simple thing then. Will give it a run in a minute, unfortunately very busy doing some stuff for the wife. Will report once i get it done. [EDIT] Just realized you pulled the link. Well, i'll check back soon to see if you updated. If you want quick testing hit me up on gtalk (lemme know your email via PM so i can add you).

[MENTION=4157305]Darknites[/MENTION], dont worry, no i didn't delete the entire folder, just the ui.zip. which does suffice if i run the same version of TWRP then. So it must be enough to run another version of TWRP after.

The reason as explained above was much rather a wrong colorspace (as i suspected).

[EDIT]

Updated Version runs rock solid.

-UI renders correct

-Internal SD double entry now just one entry, the other one is now Data i think if i understand this all lol.

-Crypto: untested
[HTC One S] yzoni:
I can confirm that official TWRP has working OTG.
[HTC One S] ste2610:
I can't get Aroma installer to work on this latest version, is this a bug? Looks like I will be downgrading until its fixed..
[HTC One S] Sneakyghost:
No bug. New kernel needs new binary needs adjustment in updater-script.

If you need help just post your aroma and I might be able to help you transform to the correct commands. You can also search venom viper one s thread for META-INF fix. Search posts from me. There's an explanation in there. It might give you an idea where to go.

Gesendet von meinem HTC One S mit Tapatalk 2
[HTC One S] mygalaxynote2:
I have the old version of TWRP,

do i need to remove the previous TWRP off my phone before installing this new TWRP?

This new TWRP still doesnt support EXfat 64GB correct?

I was planning to install the Jedi Master 13, is this new TWRP going to give me problems?

Thanks alot
[HTC One S] mygalaxynote2:
Anyone who is knowledgeable helps me please?

thank you
[HTC One S] Orical:
I'm not sure about the 64gb part but you shouldn't have any problems installing an update, just use goomanager to install it.
[HTC One S] :
I am off the One S now. But, Orical is right. New recovery will overwrite old. As far as Exfat, just backup card and do a nandroid and try it. Also, check OP for changlogs. I thought exfat was added awhile back--;)
[HTC One S] Sneakyghost:
You guys talking about the Ville Plus? Or why 64GB support?

There's a different recovery for the plus and also philz and mdmower kindly investigated the differing mount structure on the Ville plus. It is close to impossible there to easily realize usb mount but the SD can be mounted internally with that recovery.

Gesendet von meinem HTC One S mit Tapatalk 2
[HTC One S] mygalaxynote2:
Do you or does anyone know if TWRP backup and restore option restores everything including installed apps and settings, system files and settings?

I'm using Titanium to back up the apps, but it's taking so long and I'm not even sure if it restores the installed apps or just the settings.

Thank you very much.
[HTC One S] :
When you do a "nandroid" with twrp, it is Everything

keep a copy of it on phone and pc--:)
[HTC One S] Orical:
Rugman, haven't seen you in a while. What's it been a year what's good man.
[HTC One S] :
Hey Orical--:)

Good to see you too. Been on the One S the last year working with Venom Team on Sense Beta testing. Enjoying flashing roms and learning from Sneaky,Torxx, Behold, and others on rom testing.

I went with Att from Tmo and have a 32gb Galaxy S4 now. Sorry Venom--:( Still have One S, but will sell it. Probably gonna back off flashing for awhile. Takes a lot of my time keeping up on all the threads. Probably not too long though :D

Gotta watch some of these posts as I back off. Not sure, as Sneaky asked which phone the OP has on the exFat and 64gb card question. Didn't even think One S has no ext card and Att S4 has a twrp recovery now too, 2.5.0.2. Gets confusing on 2 phones lol

Hope you are doing well--I am fine--just getting older and older--:)
[HTC One S] Orical:
It looks like you dug right in huh lol, I remember when you were still getting the feet wet per-say now your involved good for you man, I've taken a break from some of the projects I had going on and bought a few devices for the collection but I'm getting that itch again so I might get back into it if the time permits.

I did some bouncing around but I actually liked the One S but I had some problems with it and decided to open it up and remove the sdcard in it and put something else modified in (32gb) but I could only get it to boot up once then had to put it back and in the end I just smashed it with a hammer as it was never the same again. Good to see you around man hit me up I have some cool hardware mods I've been working on if your up for a challenge ;) but we will go to PM's so this doesn't get out of control so SORRY to the OP for the meeting last note I promise.....
[HTC One S] :
Cool Orical--yeah, don't want to stay OT. I am laying low for awhile. But, will stay in touch if I get an itchy finger on rooting/flashing again--:)
[HTC One S] ryanshew:
Yes, everything exactly as you left it.

HTC_One_S | S-OFF | ViperOneS_2.2.0 | Black&Blue_Inverted_Sense | Bulletproof_1.4

My Thread:

[THEME ADD-ON/MOD] Black&Blue_Inverted_Sense - May 29/13
[HTC One S] rustybones:
Backup fails everytime

Hi guys,

I'm hoping you can help me out. Everytime I try to do a backup with TWRP 2.5.0.0 it fails when it comes to the 'Data' section, the screen will just go black and then the phone reboots.

Attached is my recovery.log View attachment recovery.zip

Viper 2.2.0, S-OFF

cheers
[HTC One S] ryanshew:
Are you sure it's not just the screen time out? Try just touching the screen, then you should get a slider to unlock

HTC_One_S | S-OFF | ViperOneS_2.2.0 | Black&Blue_Inverted_Sense | Bulletproof_1.4

Inverted Sense _4+_and_5_click me
[HTC One S] rustybones:
Nope definitely not a screen time out. It's whenever the recovery is backing up the data portion that the screen will go black then the phone immediately reboots (white HTC screen, etc).

I have since tried CWM recovery and Philz touch recovery, both of which have the same issue so it's not specific with TWRP. So I shall take my problem elsewhere I guess :)
[HTC One S] :
Hey guys,

Got a bug going here. I went to flash TrickDroid 9.0, and got the following in my TWRP log:

Installing '/sdcard/TrickDroid_9.0.0.zip'...

Checking for MD5 file...

I:Cannot find file /sdcard/TrickDroid_9.0.0.zip.md5

Skipping MD5 check: no MD5 file found.

=======================

|Welcome to TrickDroid|

|	by torxx	|

=======================

Formatting partitions..

Creating filesystem with parameters:

Size: 1744829440

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 6656

Label:

Blocks: 425983

Block groups: 13

Reserved block group size: 103

Created filesystem with 11/106496 inodes and 13971/425983 blocks

error: file_write: write: I/O error

E:Error executing updater binary in zip '/sdcard/TrickDroid_9.0.0.zip'

Error flashing zip '/sdcard/TrickDroid_9.0.0.zip'

Updating partition details...

As soon as I went in to flash with CWM Touch 6.0.3.1, she went in great.

Has anyone else had this bug before? Or just me? I'm happy either way, as it's working for me with a quick swap to CWM, but if anyone else has the issue it'd be nice to get 'er fixed.
[HTC One S] alfredino85:
+1
[HTC One S] mo976:
2.6.0 is out

What's new in 2.6.0.0:

Special Note: If you are running a custom theme, some of the changes in 2.6.0.0 will likely not be visible with your custom theme.

Can encrypt a backup to prevent theft of private data from your backup files

Updated graphics / icon courtesy of shift

Updated exFAT to latest commits

Fixed a problem with Samsung TouchWiz decryption

Update SuperSU binary

Fixed saving of backup partitions list

Fixed saving of last used zip install folder

Fixed backup of datadata on devices that use a separate partition for datadata

Fixed some issues with the advanced wipe list (android_secure, can now wipe internal storage on data/media deivces and wipe data on the advanced list no longer formats the entire data partition)

Fixed some problems with partitioning a SD card

Various other bug fixes and tweaks
[HTC One S] NQNH:
and here are the links, for the lazy ones.

http://teamw.in/project/twrp2/100

s4 variant

http://techerrata.com/file/twrp2/ville/openrecovery-twrp-2.6.0.0-ville.img
[HTC One S] mo976:
I was to lazy to post the link! I figured people who want it can work for it... :laugh:
[HTC One S] NQNH:
haha ^^ but for a few people its too much work to google for it :D
[HTC One S] usaff22:
Wonder if it has fixed all the Aroma bugs...
[HTC One S] mo976:
Haha that was the first thing i checked.

Sadly no, it still has the weird color at least with the radio installer.
[HTC One S] nespresso33:
Aroma need to be updated, not TWRP.

TWRP use latest HTC's drivers but not Aroma ( that cause weird color ) .
[HTC One S] qayba:
in your opinion with the latest aosp builds it's better to flash this new version (2.6.0.0) or the old 2.4.0.0 one? :confused:
[HTC One S] mo976:
No difference far as I can tell.
[HTC One S] horno46:
On 2.6.0.0 my backups keeping failing during data backup.

Edit - returned to 2.5.0.0 and backups work fine
[HTC One S] highKo:
Please help

had a unexpected reboot on my cm10.1 and now the recovery cant mount sdcard.

"unable to mount "./sdcard"

any idea?

already switched between different recoveries and version.

im at 2.15 hboot , s-off , supercid
[HTC One S] rum0s:
The same happened to me :(
[HTC One S] nespresso33:
If backups are from 2.5, it is normal...

They made lot of change in 2.6 about backups.
[HTC One S] Spakainz:
Whats new in 2.6.1.0?
[HTC One S] Rapier:
Lol...didn't even knew there is a 2.6.1.0 version...

Quoted from TWRP official site
[HTC One S] TheDrone:
Does twrp v6 flash any roms now without problem? I am using 2.3.3.0 atm
[HTC One S] nespresso33:
Sure.

I'm using 2.6.1.0 for my daily flash and no issues reported.
[HTC One S] nate51:
I was using 2.3.0.0 and wanted to go back to 2.5.0.0 to install another ROM I was using. I used the All In One Tool Kit and renamed my recovery file and flashed 2.5.0.0 (I have done this many times before) Before flashing my recovery back to 2.5.0.0 I did a full wipe except for SD. But now TWRP won't start. When I put it on 2.5.0.0 I get the blue TWRP start screen but it does not scroll up, then reboots after 11 seconds. When I go to 2.3.0.0 I get the blue TWRP start screen for 1 second then it reboots.

Does anyone know how to get around this? I cannot find a link to download the recovery img files to try and upgrade to 2.6.0.0 or something. Any help would be great my phone is currently sitting on the fastboot screen to stop bootlooping.

*Note: I think I know where my problem is. I changed my mount options in TWRP 2.3.0.0 to mount nothing but the SD. Is there a way to change these options without TWRP? Or to reset the options outside of a ROM and TWRP? Like ADB and Fastboot?
[HTC One S] ipit:
Firstly, don't bother with newer versions. 2.3.3.0 is possibly the most stable version.

Secondly, I've never used the 'tool' to flash recoveries so not too sure what's going on there. Also renaming etc is unnecessary.

Just fastboot flash recovery *recovery.img* while you're on the bootloader screen and (theroretically) you should be good to go.
[HTC One S] nate51:
I think my issue is the mount options in TWRP, because I did a full wipe (except for SD) and changed the mount options to only mount SD. I think that's the problem I am having. But I have no idea how to reset TWRP to the default mount options it originally had.
[HTC One S] ipit:
Not completely following you. Did you try doing what I suggested above?
[HTC One S] nate51:
The All In One Tool Kit actually works through Fastboot, it basically just opens the Dos Prompt windows and types in the commands for you. So instead of typing stuff out, it's a one click action.

I have tried 3 different versions of TWRP and the result is always the same. I need to find a way to reset TWRP to it's default mount settings. I'm convinced that's the issue now.