yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Dredead:
Man, if I had the cash I'd go and buy one just so you guys could have this. Ofc I'd need root an s-off first but that would happen eventually.

How do we find these guys? Check Taiwanese facebooks of people posting excited statuses about their new phone? Lol
[HTC Sensation] sjknight413:
Damn! thought I may have had it then.

Repaired the zip, opened with winrar and extracted system.img just fine with no CRC error! In my excitement i then tried to extract it with unyaffs but it failed. checked system.img's size and wierdly it was 1.5gb! haha :)

strange that it extracted without the crc error though.

Oh well, back to the drawing board i guess!
[HTC Sensation] bender_007:
:) hehe. Tried already. Pitty it isn't working. Keep it up :), retweet it. Someone will eventually be able to manage it.
[HTC Sensation] daddyspud:
hay buddy well i managed the same thing really repaired the zip but after repairing the zip i get a 26mb system img all the other files are correct size

the size of the system img is 1.6gb so strange also used another repair tool and recovered loads of hidden files and also when repair them with tool i use asks for passwords so i cant extract the hole thing n i think these hidden files with passwords are some how linked to the system.img argh

OK guys things are looking up I think I managed to do it will see
[HTC Sensation] sjknight413:
Nope they can get into system/app like you on the main discussion thread but I think you'll find you cannot access anything else!
[HTC Sensation] daddyspud:
hay no look unfortuanlly looks like the system.img is encrypted as well some how not sure how any ways here the convo between me and johnny

https://twitter.com/xdaddyxspudx/status/270666556294451200

sorry not able to get any more closer frustrating
[HTC Sensation] Jonny:
Why did I not think of this before, you can flash a system.img using a plain old updater-script , its how HTC gives firmware OTA's. I spent countless hours studying HTC fota files when trying to get the custom OTA thing working in DarkSense so why didn't I think of this? :mad:
[HTC Sensation] daddyspud:
But don't u need the hole system.IMG with all the files
[HTC Sensation] Jonny:
Only need an android-info.txt file in the same zip as the system image

@everyone, I would not recommend trying to do that unless you are 100% certain of what you are doing because if something goes wrong, you have no way back whereas I own a Riff JTAG Box so can rescue my phone if it bricks
[HTC Sensation] sjknight413:
There's a discussion going on here which might be interesting if you want to have a look!

http://xdaforums.com/showthread.php?t=1989308
[HTC Sensation] j_r0dd:
Are there any files in the lib folder you extracted?
[HTC Sensation] Jonny:
No, only app
[HTC Sensation] j_r0dd:
I just want those adreno libs.
[HTC Sensation] Dredead:
No luck I'm guessing?
[HTC Sensation] teorouge:
Did you see that, guys? :)

http://rootzwiki.com/topic/36650-droid-dna-system-dump/
[HTC Sensation] capychimp:
Yeah its nice but we still should figure out how to use ruu files
[HTC Sensation] j_r0dd:
It means nothing for the sensation.
[HTC Sensation] waterun:
why not try another way, if someone had one s plus and upgraded , you can dump system files from the phone rom.
[HTC Sensation] Flashalot:
all i got is one s
[HTC Sensation] Flashalot:
And we get jb in like a month
[HTC Sensation] Drowzz:
So if i understand it, when next month the update comes for the S3 then everything will become a lot easier?

Beamed from my Ultimate HTC Sensation XE
[HTC Sensation] Mikhei777:
I think It won't come for S3.
[HTC Sensation] aliko007:
Hope is all we have :cowboy:
[HTC Sensation] eterno13:
Glad to see you back capy
[HTC Sensation] XxXPachaXxX:
This base is based on 8960, so the ville plus have identical hardware of one S. I think that this ruu can work on a one s (S4).

So if u want u can try it, the ruu can't break your phone because it stops the installation if the phone isn't compatible. Capy have tried to run it with a sensation and the ruu exe said "incompatible phone".
[HTC Sensation] smokin901:
I tried this on my one S (S4) it does not install. After checking signature it errors out.
[HTC Sensation] Flashalot:
I well I try let's see if I don't mess up my phone:)
[HTC Sensation] Dredead:
We should pester this guy :D

http://xdaforums.com/showthread.php?t=1940422
[HTC Sensation] TJD319:
So...since ROM.zip is encrypted we can't read the android-info.txt file that tells us the models the software can be flashed on.

So, is it possible to brand a T-Mobile One S as the Taiwan model, essentially fooling the update script so it think its the correct model and then flashes? I'm not sure how easy/hard rebranding the device would be, but if someone knew how, couldnt they rebrand their T-Mobile One S to the Taiwan One S and run RUU?

Just a thought....

Sent from my HTC Sensation 4G
[HTC Sensation] bender_007:
We can
[HTC Sensation] sorceforge:
I think that would not work, too because their partition layout would be somewhat different.
[HTC Sensation] TJD319:
Just thought further ...in essence, yes it would work...but since the Taiwan version is SE with a 64GB ROM space, surely the RUU.zip would contain partition alignments and a sdcard.IMG that wouldn't match the T-Mobile version causing who knows what issues...and we can't modify/remove anything from the zip due to encryption. But if someone is willing to risk it. They may not get the ROM to boot but maybe get a dump through adb and get what the devs need.

Sounds like it could be possible, once again, just a thought.

Sent from my HTC Sensation 4G
[HTC Sensation] cakaostojic:
HTC one x jelly beans update for India

http://unleashthephones.com/2012/11...n-now-rolling-out-for-the-htc-one-x-in-india/

Maybe this can help you
[HTC Sensation] smokin901:
This is Tegra 3 version
[HTC Sensation] VictoriousShooter:
Couldn't you just use fastboot to flash the system.img and the data.img?
[HTC Sensation] elvisypi:
That's the problem, they cant extract system.img from the rom
[HTC Sensation] EndOfDays-Wildfire:
Im no developer but could this little program help(just curious):http://www.perfectsoft.tk/Programme.php?n=CRC-Killer
[HTC Sensation] VictoriousShooter:
English please?
[HTC Sensation] EndOfDays-Wildfire:
sorry, I explain what it says(German): This program will unzip .rar files with crc errors. It kinda ignores the error although it will show still the error you got the file now(thats what the description says).
[HTC Sensation] Flashalot:
I will try

Sent from my DarkSense3D
[HTC Sensation] TTime_007:
It also says that it ignores passwords!

EDIT: It isnt.. My bad!
[HTC Sensation] sjknight413:
Yes, but the rom.zip does not have a password, it has a proprietary method of encryption applied to it that currently only htc know how to get past.

almost 100% sure that program will not crack it.
[HTC Sensation] TTime_007:
I'm downloading the RUU right now but it is an .exe! Is this correct?
[HTC Sensation] sjknight413:
Yes that is correct, and if you do not know what you are doing it might not be a good idea to mess with it.

you need to run the .exe WITHOUT YOUR PHONE ATTACHED, then find the temp directory to which the exe puts temporary installation files and finally find the file 'rom.zip' within that directory and move it to somewhere else on your hard drive. After that you can close the ruu.
[HTC Sensation] TTime_007:
I will try whayever I can! It has just finished downloading! I really want to help with this, but i'm not a DEV!
[HTC Sensation] Flashalot:
Does not matter you can still try

Sent from my DarkSense3D
[HTC Sensation] TTime_007:
How can I extract the zip file from the RUU??

EDIT: Nevermind!! Google is my BIG friend!
[HTC Sensation] pushpann:
just open taskmanager, and right click on the process of RUU, select properties, and copy file location.

use windows explorer to reach the location. there u'll find a rom.zip file.

Thats what i do
[HTC Sensation] bender_007:
Open any folder. Click on adressbar, type %temp%, hit enter.

sort folders -> by date..find teh newest one, browse through it..there is the rom.zip.
[HTC Sensation] TTime_007:
I've tried the program and it says this: ''Ihre Datei ist kein entpackbares Archiv!'' witch means that it's nor a compatible zip archive!
[HTC Sensation] bender_007:
Yeah. I read and speak german, too. Knew it wouldn't work. You can't unpack it with tools. (eventually)
[HTC Sensation] Flashalot:
well htc is being a A** H*** with this

let me try with my one s
[HTC Sensation] TTime_007:
Yes they are!! Will it help if I can repair the zip??
[HTC Sensation] Flashalot:
nope its going to say crc error
[HTC Sensation] TTime_007:
:( and your one s?
[HTC Sensation] sjknight413:
I think what you are failing to understand here is that the zip is not 'broken' or corrupted as such, it is a proprietary form of encryption set in place by htc. No amount of repairing by third party programs is going to make it useable, believe me it's already been tried!
[HTC Sensation] Flashalot:
Every one has and it's kicking every ones A**

Sent from my DarkSense3D
[HTC Sensation] pushpann:
u tried the ROM.zip? or the downloaded file?
[HTC Sensation] TTime_007:
Rom.zip Second try it says ''Fertig!'' wich means done.. But when I look in the folder there is nothing in it!
[HTC Sensation] Hitorijanae:
When I hex-edited the zip, I found out that the zip file is backwards compared to most other zips.
[HTC Sensation] Flashalot:
Is this all you found

Not trying to sound mean

Sent from my DarkSense3D
[HTC Sensation] TJD319:
So...it must be unzipped backwards in a sense? If the HTC utility and/or our phones can unzip it...maybe the tool can be found in either of those sources (which I realise is harder than it seems). But if the ruu utility/adb fast boot can unzip it...then maybe the answer to finding out how to is in there? Just thinking out loud...

Sent from my HTC Sensation 4G
[HTC Sensation] Jonny:
It can't, New JB hboots unzip it
[HTC Sensation] lepszy:
This might be a long shot but has anyone tried to contact HTC about it?
[HTC Sensation] Flashalot:
(Every body laughs) HAHAHA.

It gets silence

Ahh no

Sent from my DarkSense3D
[HTC Sensation] VictoriousShooter:
So... Can't you just reverse the hex?
[HTC Sensation] elvisypi:
So guys how big should system.img approximately be? It tried a program to fix crc errors and came up with a 27.319 kb system.img. I guess it must be much bigger
[HTC Sensation] Dredead:
Everyone here should read the entire thread before posting. It won't even take that long.

We're just going around in circles now and I see the same stuff repeated all the time, even on the same page!
[HTC Sensation] Hitorijanae:
When scrolling through the hex, in the beginning of the zip, there's a bunch of y's then it says Htc.

I wonder if a one x jb hboot might have the key to unencrypting the zip
[HTC Sensation] TJD319:
I was saying that same thing earlier...but is that even possible?

Sent from my HTC Sensation 4G
[HTC Sensation] bender_007:
By "reversed" you mean byte flipped or ? Because the key files are in right order.
[HTC Sensation] Elloco305:
Not to troll. I've been following this thread closely but haven't found a reason to post. Until now.

Why exactly would it not be a good idea to contact HTC about it?

Act dumb as they would and perhaps you can get lucky to get some help.

Honestly most reps don't know a whole lot about the power using. But if they type into their computers they might be able to send us. -HTC zip special encryption decrypt tool-
[HTC Sensation] ivicask:
OMG, are you guys serious ?? Please stop posting anymore because your embarrassing your self ultra bad.

Dont even try to ask HTC about this decryption. They putted it there to prevent us from porting it! (Or delay us until dumps are made)
[HTC Sensation] slobo2712:
+1

and we can spam they again like for this in my sig
[HTC Sensation] Jonny:
Tbh I'd love them to continue posting, its giving me something to laugh at in work :)
[HTC Sensation] dajones123:
Lol I love threads like this. The guys at HTC that you contact obviously don't have access to dev stuff. All they're there for are to book warranty work etc. Why would they have access to the companies servers to freely distribute to the public?
[HTC Sensation] Jonny:
Plus the fact that they are probably under some sort of NDA agreement not to share "unofficial" information...
[HTC Sensation] Dredead:
http://xdaforums.com/showthread.php?t=2010216

Anything useful in here?
[HTC Sensation] denis111:
The same here. So I think it's not encrypted. If you open that 27mb file with hex editor you'll see some normal strings and maybe even elf headers, etc. It means that those 1st 27mb were extracted fine but after that there's some wrong or extra bytes in the Rom.zip and extracting algorithm just stops/fails there.

The same happens with many other files in the Rom.zip
[HTC Sensation] yohanandz:
what if someone tries flashing the rom.zip as a PG58IMG.zip in hboot??

just thinking dont attack me if im wrong!
[HTC Sensation] Jonny:
If flashed on sensation it will do 1 of 2 things:

1) Cause an error and say "aborted" because of non-matching MID

2) complete the flash and the idiot who flashed it will have a bricked phone

Kindly read the OP, I clearly state that if flashed on a sensation it will brick the phone
[HTC Sensation] Jonny:
No, it is definitely encrypted
[HTC Sensation] VictoriousShooter:
Everything except the keys
[HTC Sensation] elvisypi:
Than why didn't they encrypt all the files in the ROM? We are missing smth here. Can we compare the part of the file we are able to extract with the rom.zip and find the differences?
[HTC Sensation] Hitorijanae:
Most zip files start with PK...............(After the dots, the actual code starts.) With this zip, PK.......... is at the end.
[HTC Sensation] j_r0dd:
They encrypted the most important files needed to have a fully working ROM. radio.img, boot.img, system.img, etc.
[HTC Sensation] denis111:
If so then how can we see such things in partially extracted files? (in boot and other files the situation is the same). Is it partially encrypted? (sounds weird).
[HTC Sensation] bender_007:
Only some parts of the whole file are "encrypted", by means..whatever teh encryption is..wheter it is added bytes or swapped bytes or XOR'ed values or whatever the manipulations are.

Create manually a zip file..pack only one file. Then open it and add few bytes to the file (between the pk and the zipped filename) and try to unzip it.

Now try the same with a zip where you have more than 1 file..The 2 files WORK, the 1 you changed bytes(added) doesn't work :)..

I hope it's more undestandable now. Tested it, tried, works just like that. Now, where the file section begins, I don't know..the file is enormous..But the "hex editor neo" is a better shot than hex workshop or any other editor..Just a hint.
[HTC Sensation] electro`:
They encrypted those files so that people would waste money just to get the same device with a software upgrade.

Clearly a scheme for quick cash.

What I don't get is why the half-ass encrypted it. It's right there, but without the proper method to extract it... There's really not an option.
[HTC Sensation] TramainM:
Deleted
[HTC Sensation] denis111:
Ok, thanks. Also the first 15*941*507 bytes of rom.zip is some data which you can delete and rom.zip will keep working the same way. I've deleted it and rom.zip opened in 7-zip (before that 7zip wasn't able to even open it but winrar opened it fine in both cases).

In the original rom.zip i think system.img starts at 0x1DAF5EA . And after extracting those 27mb i think it stops at 0x2CFFFE4 because there we can see already the next PK header of the file "assets/bg.pak" and there's lots of PK headers of other files lurking there which are not visible with winrar and not described at the end of archive (see zip specs). I think that assets/bg.pak must not be there if i don't miss something. Maybe we just need to cut off that files which lurk in the middle of system.img? :) Or it's just a zip/apk inside the system.img image packed without compression, i don't know....
[HTC Sensation] Jonny:
Ok here's some info from the other thread. Diamondback says that its 1 block of rom.zip one block of encryption or extra bytes - this pattern must recur throughout the zip/system.img file.

That's for ROM.zip file, for system image my theory (please note the word theory) is that its done in the same way, 1 block system One block encryption. Ext2read and other programs to extract system.img can read the first block (27mb) but then balk when they get to encryption and can't go any further, this is why you get only 27mb.

My point, it is encrypted but in a weird way
[HTC Sensation] denis111:
Ok, and what about those lurking files like assets/bg.pak? Go to offset 0x2CFFFE4 and see (this about 15mb from the beginning of compressed system.img). If you cut out 0x1DAF5EA - 0x2CFFFE4 range and save as system_img.zip and repair it with winrar it will be about 15mb and excracts the same 27mb. Thats why i think it just stucks at 0x2CFFFE4 because another file begins there (assets/bg.pak). I could be wrong (and probably i do, because when you recompress that system.zip it's only ~330kb) but just looks at this offsets.
[HTC Sensation] MaddoxxZ:
Is the hboot available to download.. ?
[HTC Sensation] sonnhy:
From my small mind :) : Can we flash the RUU on a One S? As it uses the USB we can capture what it is going to be flashed.. that will be the zip we were looking for..

or the way the Application in the RUU flashes the ROM is encrypted or different?
[HTC Sensation] denis111:
rom.zip also has hboot_8960_2.04.0006_f944dd21_20121005_signedbyaa.nb0 but it's not extractable and after repairing the archive in wnrar it disappears
[HTC Sensation] elvisypi:
Maybe you are right, they may be a bunch of scrambled files, some compressed and some not. I think it's impossible to find out what they messed. Maybe the solution is in the ruu.exe, it should have the encryption mechanism. What about fooling the ruu, is it possible to make it think the phone is connected? How does the ruu check if phone is connected?
[HTC Sensation] Flashalot:
No I tried 5 times but knock your self out

Sent from my DarkSense3D
[HTC Sensation] Flashalot:
You think I can try this on a old phone and get system dumb because I have a old android lying around

Sent from my DarkSense3D
[HTC Sensation] andyjb103:
Official JB RUU for Sensation may be here soon... Got a tweet back from @htc_uk.

@m0kvr Hi Andy, will be here very soon and it will be worth it.
[HTC Sensation] elvisypi:
Hope so
[HTC Sensation] bender_007:
:) soon = Q1 2013 or ?
[HTC Sensation] redoano:
probably, maybe later :(
[HTC Sensation] Trakkiggio:
Could you post me the link?? Thank you :D
[HTC Sensation] Muxeu:
https://twitter.com/m0kvr/status/273147295430758400
[HTC Sensation] denis111:
The tweet says VERY soon :) Somebody please respond this tweet asking if it will have sense 4 or later ;)
[HTC Sensation] TTime_007:
Responded!:good:
[HTC Sensation] Muxeu:
HTC Updates on Android 4.1 (Jelly Bean) and Frequently Asked Questions
[HTC Sensation] bender_007:
Nice informations. But we have 2-3 pages of onTopic :), the rest is offtopic.
[HTC Sensation] elvisypi:
Any progress guys. Have you managed to understand how it was encrypted?
[Samsung Galaxy S (4G Model)] Wacko90901:
Im looking for help on fixing my SGS4G.

Here is the current list of problems:

1. Phone isnt recognized when i plug it into any computer (i download all the drivers, Kies and Odin both cant find it, and 1 out of every 10 tries my computer will recognize the microsd card and treat it like a normal sd card)

2. My Dialer and Messages will open for 3-4 seconds and close without a force close screen or anything. Obviously this is really annoying :|

3. Im rooted but trying to go back to stock to redo this whole process over is becoming a pain.

4. When trying to flash a custom rom from ROM manager i get the signature verification failed message.

Im about to try the heimdall one-click package to get back to stock and see if that works...idk if it will find my phone though.

My system info:

Firmware: 2.3.6

Baseband: T959VUVKJ6

Kernal: 2.6.35.7-T959VUVKJ6-CL694130

Build: GINGERBREAD.VUVKJ6

If i manage to get back to stock/unrooted where do you guys suggest i go from there? im kind of out of the loop as far as where we are with ICS or jellybean or any of that :|

Thanks a bunch in advance and sorry if this is nooby
[Samsung Galaxy S (4G Model)] Wacko90901:
Also:

adb devices shows nothing :\

USBDview shows nothing for my phone...i plug it in with debugging on and all it does is charge my phone
[Samsung Galaxy S (4G Model)] jigglynuts:
First problem. Do not use ROM manager. Download ROM zips and flash through CWM/TWRP.

Have you tried using a different cable when connecting to PC? Some cheaper cables do not work well, or at all. I have a blackberry cable that I only use for this.

Have you tried alternate USB ports. Sometimes that may be this issue as well. Also, some people have better luck with Odin, while others have better luck with heimdall. You may want to try the alternate and see if you have the same issue.

I would follow the guides on going back to stock. You may have old conflicting drivers so you may need to completely remove old ones first.
[Samsung Galaxy S (4G Model)] Tunderpimp:
I use the cable that came with it and the one that comes with my girlfriends phone which is a different phone with no problems. You might want to mess with the usb configuration on your computer

Sent from my SGH-T959V
[Samsung Galaxy S (4G Model)] goddi2010:
As far as the dialer and messenger app backing out automatically that was an issue with all bml gingerbread roms. I think there was a fix but I'm not sure. Cm7 is mtd based gingerbread and it doesn't have that problem.
[Samsung Galaxy S (4G Model)] Wacko90901:
Jiggly,

Ive tried every USB port on my desktop and my laptop. Both of them im reinstalled the drivers on. On my desktop the moment I plug it in it says the device malfunctioned.

Usbdview didn't show anything like the guides said it should. (HTC something...there was.nothing)

ROM manager is just on my phone ive never actually used it other than to boot to recovery
[Samsung Galaxy S (4G Model)] Wacko90901:
The phone goes into download mode but heimdall still doesnt detect it, windows still tells me the device cant be recognized and im out of ideas.

i went into regedit and deleted all the samsung folders and reinstalled the drivers fresh but im still not getting anywhere...
[Samsung Galaxy S (4G Model)] Fluidification:
flash the blastoff kernel, or some custom GB kernel.

Let it convert to ext4, it'll take 10 minutes,

flash a rom through CWM which you will now have.
[Samsung Galaxy S (4G Model)] Wacko90901:
Im missing something here...but i cant flash anything as everything is unsigned and i cant get out of 3e recovery. ODIN, heimdall etc still wont find my phone from my computer(s) and everything i attempt to flash is unsigned.
[Samsung Galaxy S (4G Model)] lumin30:
Can you boot into your ROM?
[Samsung Galaxy S (4G Model)] Wacko90901:
boot into my rom as in use my phone? yes the phone functions fine with the exception of not being able to plug it into my computer to tether it/use mass storage and these darn auto close problems with my dialer/messages
[Samsung Galaxy S (4G Model)] Wacko90901:
Well i was able to flash a new kernel with CWM then upgraded to cm9.

didnt realize contact sync didnt work so i lost all that info :\ computer still says the device malfunctioned but my messaging and dialer apps dont auto close now lol
[Android Q&A, Help & Troubleshooting] paranoid365:
Hey there guys, I have been on the hunt for the Best Android Keyboad, and I wanted to see what everyone here was using?? I have tried stock, predictive, and the slide type, (I have not had the chance to play with any of the other 3rd party keyboards, with all sorts of different technology's.

So, I was wondering if some of you fellow xda-ers wanted to weight in on this, and help guide me on my adventure??

Thanks in advance :cool :cool: