yashsingh1/xdaforums huggingface dataset:
[HTC One Max] scotty1223:
Awsome,great job. Is it doing a device model check?
[HTC One Max] mini88448:
Hi I used rumrunner but everytime I use of there's an error saying that something was wrong with the Rom or root.
[HTC One Max] Jiggity Janx:
Use rumrunner thread to post problems. Recommend you read it first as your problem has been discussed.
[HTC One Max] DVS_Sokar:
It is just device checking that a adb device is present. But I suppose I could pull the build .prop and version check. I will put it on my to do list.
[HTC One Max] scotty1223:
I'll leave that up to you. I have not found an s3 or s4 processor device yet that has the lock flag in a different spot or used different values,so it should work on other devices.
[HTC One Max] KimUyLong:
One question.

My work is busy today and i have a lot of thing must do with my new Max so. ..i have not enough time to read all the thread and find my answer. Sorry about that.

**If i follow the thread and every thing working ok. So. ..my One max is still Unlocked Bootlader with "Locked" Text and i can flash anything Rom i want. Or it Really Locked the bootloader and I must unlock again if i want to flash a new Rom !?
[HTC One Max] Jiggity Janx:
No one needs to provide you an answer, especially when you start out by saying you havent read the thread and Im assuming dont want to search. If you dont have time to know what u are doing and know the results you shouldnt be doing it.
[HTC One Max] Kwongger:
I relocked it... The fingerprint scanner is still MIA, did I read the thread pinned in general wrong? I thought that this fixed it lol.

EDIT: To clarify, I locked it LMAO! I would have just yelled at me :3

EDIT2: Sprint HBOOT 2.46.0000
[HTC One Max] scotty1223:
You need to reset the tampered flag as well.
[HTC One Max] KimUyLong:
Stupid!

_ The day get the One max. I have a lot of thing to do! Repair the House, important pairty, uncle visit, play with unknown usb Max driver to S-off, can't get super Cid with unknow problem read feature to pick and Howto install a rom. And you say me Don't want to search !?

Or, you can tell me, which the Key !! to help me search my question !? Or Read all the thread - the only way to know that tigh!?

Any way. Thanks you helpless Answer. Or if you can't help- Just silent. Thank you!
[HTC One Max] scotty1223:
Its one thing to ask about something you don't understand after making reasonable effort to obtain your own solution. Its quite another to want spoonfed info that you are too busy or lazy to look for.

the rest of us have busy lives as well,I've no sympathy.

Guess your max will just have to wait until you have some free time to read the reomended thread.
[HTC One Max] DVS_Sokar:
I am cooking this into my App today.

---------- Post added at 08:18 AM ---------- Previous post was at 08:15 AM ----------

Here .. Here... I agree entirely we spend our time to help you but creating these threads and providing users tools the only thing we ask is that you read the threads before asking question that has already been answered. My time is not less important then yours.
[HTC One Max] DVS_Sokar:
Had some coding magic happen..

Coming soon the HTC One Max BootSwitcher is becoming the HTC One Max Utility

Adding:

Auto-sense which HTC One Max Variant is connected and loads appropriate controls

Program Checks Root Status

Carrier Identification

Program workflow has been updated to avoid issues with user induced errors

Addition of graphics (Phone, Check boxes and such)

Future Plans:

ADB pull and pushing files

Fastboot Push of Recovery Images and other files

I am awaiting Build Prop information in the following thread: http://xdaforums.com/showthread.php?t=2602792

Scotty1223 Check your PM's =)
[HTC One Max] DVS_Sokar:
After many... many moons.. I have a working Beta that I like with you guess it model check... and then some...

I am going to be creating a thread shortly. I am sure I have some bugs to iron out but I have tested it thoroughly on my system and it's working flawlessly.
[HTC One Max] scotty1223:
Awsome! Looks good. I replied to your pm... Did you get the lock status check working?
[HTC One Max] DVS_Sokar:
I saw.. Thanks. I am working on that part still. I have a Android Dev that knows dd and the android Partitions helping me fix that last bit. At the moment my program doesn't report the current Flag status but if I can get him to help me sort it. It will be implemented in the next version. I am working on including Recovery installation and Sideloading in the next version.

Note:

This was designed with a Stock Room. The information being pulled is from the Build.Prop information of the device. Since Custom Roms tend to change the build.prop I am going to have to rewrite the code to include the modified build.props first before Release.

P.S.

If anyone is running SkyDragon I could use a build.prop dump from it. I will post this part in my other thread.
[HTC One Max] Jiggity Janx:
This discussion belongs in here.

---------- Post added at 10:55 AM ---------- Previous post was at 10:53 AM ----------

@scotty1223 - can you please chime in on the above. This is something you put together for us after all...
[HTC One Max] scotty1223:
Sure. Will be a little later this evening. I'm at work at the moment.
[HTC One Max] DVS_Sokar:
I have created a specific thread citing sources from HTC and Koush in the General forum.

It has corrected some of my misconceptions. Moreover it has also given me insight into the Device Security.
[HTC One Max] Jiggity Janx:
I read incorrectly the first time. Read twice and removed this post.

Thank you for researching and providing info.
[HTC One Max] DVS_Sokar:
Feel Free to PM me with the information.
[HTC One Max] Jiggity Janx:
Thank you for your further information in this thread and the other. If you could confirm or correct the following statement I believe it will resolve some angst I and possibly others are having.

EDIT:

Setting the Locked "flag" tells hboot the device is bootloader locked and it will react accordingly based on the following:

If s-on then no access is provided to flash to any of the protected partitions

If s-off it allows flashing to the partitions but not using fastboot flash.
[HTC One Max] scotty1223:
That is correct :)
[HTC One Max] DVS_Sokar:
Actually That is partially correct. Just to clarify what I am correcting:

You can Fastboot with S-OFF unless you manually change the hboot flag to Locked or Relocked.

However you can send Fastboot commands for Read access only when Locked. Writing is disabled if Locked or Relocked.
[HTC One Max] Jiggity Janx:
Actually what I put is completely correct. All you did above was expound on what partitions are flashable and calling it htcdev unlock vice the lock flag.

Hope that clears it up.
[HTC One Max] DVS_Sokar:
S-Off Unlocks all partitions. You can modify or flash anything if the phone is S-OFF.

The only way you can't modify or flash with fastboot would be if you are S-OFF and hex edited your boot loader flag to relocked or locked.

That would be the only correction to your statement.
[HTC One Max] Jiggity Janx:
I dont think you are taking into account the carriers and/or countries (if any) that lock their bootloaders with encryption (such as verizon). To make a blanket statement that s-off unlocks all partitions is not true and could be harmful if someone tries to make modifications by blindly following your information. Rumrunner does happen to remove the encrypted locked verizon bootloader as part of their s-off. But that is just how it is currently.

That is why I was specific in my statement about bootloader flag being set to locked.
[HTC One Max] DVS_Sokar:
Source: http://rumrunner.us/

For the purpose of clarity please review the following:

The only current user method for S-OFF on the Verizon HTC One Max is Rumrunner. As part of the S-OFF procedure executed when you successfully use Rumrunner the following happens:

1, S-OFF of your Verizon HTC Device (Unlocks all protected partitions this is what is cited by HTC so it's undeniable which does not make it a blanket statement) this is Device Level. Verizon Encryption is OS level.

2. The hboot is modified via hex edit of the 4 bytes ('HTCU') in the mmcblk0p3 partition to "Unlock" the bootloader

3. Installation of the su binary

4. Installation of the Superuser.apk

5. Installation of busybox

Rumrunner: S-OFF is full Unlocked control of all protected partitions including hboot and radio

HTV Dev Token unlock: Using a HTC Dev Token Unlocks all partitions that are NOT protected

(I.E. hboot partition is locked still but HTC flips the flag for you to Unlocked. You do not have access to change after using a HTC Dev token to unlock Unless you S-OFF or RUU it back ON)

The bootloader in both cases by default after using either method is set to Unlocked which allows the installation of custom roms and recoveries.

I hope this closes this subject.
[HTC One Max] scotty1223:
oh my... :eek:

you cannot use fastboot flash partition imagename.img with an s off,locked bootloader. the bootloader(and consequently the lock status flag) must be unlocked

actually,what he said was 100% accurate. we are NOT taking into account whom is allowing unlock or not,just the 2 statements:

If s-on then no access is provided to flash to any of the protected partitions

If s-off it allows flashing to the partitions but not using fastboot flash.

again,both of these statements are correct. period.

i dont understand what youre trying to say here.

actually vzws hboot is no more encrypted than any other hboot. the inability to unlock is done via htcdev(at vzws request) to prevent an unlock_code.bin from being distributed for a device with a vzw MID and CID. you can test this if you want... change the cid or mid of your max,one,or DNA and youll find htcdev will give you a token,and an unlock_code.bin that will unlock your bootloader.

all rum runner is doing after s off is changing the lock status flag so that the bootloader is unlocked,allowing the user to fastboot flash recovery recoveryimagename.img

versions of rumrunner and moonshine that are replacing hboot with a moonshine hboot,are not removing any increptions,they are replacing the stock ship hboot with a "patched" hboot,wich is modified to

-allow fastboot flash partition imagename.img to be utilized for all partitions

-allow fastboot erase partition on all partitions

-allow some other eng fastboot oem commands

phoenix,youre doing a great job coding your app and you obviusly have alot of knowledge,but youre either a bit confused on some facts,or youre just not explaining them very well,and you for some reason seem to be nitt-picking jiggitys statements.

im happy to help you guys and give you info,but you need to stop your bickering. this has all passed up what is really relavent to this thread.
[HTC One Max] DVS_Sokar:
I am sorry I am running on 2 hours sleep at the moment. We are saying the same thing.

---------- Post added at 04:55 PM ---------- Previous post was at 04:39 PM ----------

Thread clean up after nap
[HTC One Max] Jiggity Janx:
I do appreciate the information and am trying not to kick a dead horse down the street.

Having said that it would be great if you could point me at some source that tells you the verizon bootloaders are not encrypted. Every source I read that talks about the subject says most verizon phones recently (and most htc phones for a while) have it locked and encrypted.

From what I understand technically rumrunner could have just given us verizon folks s-off if they wanted. Graciously they went the extra mile (because they had already accomplished the true exploit for the verizon One). With the encrypted bootloader that we have we could not have done much with just s-off without breaking everything.

I am glad we are having this conversation around this topic here so that we and others may learn. I will apologize for past and any future appearance of arguing as my nature is just one of succinct fact and logic.
[HTC One Max] scotty1223:
All HTC phones have strict write protections in place and are doing security checks as the phone boots. I never said vzw htcs were any different,or were not encrypted/write protected,just that they do NOT have any additional securities or encryptions in place.

I'm not really sure what extra mile your talking about with rum runner. It's prime function is to turn the radio secure flag off,and that's all you need to do. Things work just the same on a vzw device as they do with any other HTC. No special bootloader or any other mods are needed. I dont have a vzw max or one,but I run the stock bootloader on my vzw DNA,and on my t mobile branded gsm one.

The special task of rumrunner with vzw devices is simply that it works with a temp root process instead of an htcdev unlocked device.

Having said that,what you may have been hearing about is eng,or hboot s off vs radio s off.

In the old days, when phones were not doing such complex security and signiture checks as they boot,changing the radio secure flag to off was not neccessary. It was possible to install a patched hboot,or an engineering hboot that simply ignored the radio flag,giving users most of the same advantages of a real radio s off. A good example of this is verizons HTC thunderbolt. When you run revolutionary,it replaces the stock hboot with a patched one that ignores the radio secureflag. The phone technically is still s on :eek:

Starting with the rezound(on Verizon... Not the first overall) write protections made it nearly impossible to install a patched hboot to an s on phone. Write protections made any changes made not permanent. If the user did figure out a way to actually change hboot, the signiture checks the phone does would shut it down,placing the processor into a "do not boot" mode leaving them with a very effective hard brick,recoverable only with jtag.

So the days of of simply swapping hboot are gone. The only option for s off with modern phones is radio s off. Tools like rumrunner are turning the radio flag off,if they didn't,as you said,things just wouldn't work.
[HTC One Max] pradeepvizz:
Thanks for ending it [MENTION=3437245]scotty1223[/MENTION] :D
[HTC One Max] DVS_Sokar:
Ok, Re-read everything today with some sleep under my belt. We were discussing and agreeing on the same points. The context cause was what caused the conversation to develop to the point it did.. We are in agreement on all points. I tend to over analyze. Great for programming bad for communication.

I have been working with a Android Partition Dev and talking to HTCDev about HTC devices for my program so it's fresh in my mind and I was just mind purging the info out.

Cheers
[HTC One Max] tunez23:
scotty1223, I just wanted to say thanks for this work! I am by no means an in depth user and honestly a first time user of adb. Thanks to your help as well as another post that I used to help root my One Max, I feel much more confident using it. I also now have my fingrprint scanner working again!! I have an old Asus G Tab that was in a boot loop that I may just be feeling confident enough to try to make it work through adb again!
[HTC One Max] scotty1223:
Awesome sauce. Glad to help :)
[HTC One Max] jwhood:
Can i do these cmds in t.e??
[HTC One Max] Jiggity Janx:
Yes. Recommend copy paste.
[HTC One Max] techgov8:
Has this gone into further development? This would be so awesome!
[HTC One Max] mwebb34:
Edited

DELETED
[HTC One Max] scotty1223:
This has been answered a lot of times in lot of threads. The short answer is there is no real need to be unlocked.

Plus,if you want your fingerprint scanner to work,you will need to be locked.
[HTC One Max] scotty1223:
No problem, no nerves struck here. I was just stating a fact and don't usually type really long replies on my phone. Glad the threads were helpful :)
[HTC One Max] tee00max:
So im running Cleanrom 1.0 and say if I wanted to use the fingerprint scanner. I switched to locked and it was working fine and then switched back to unlocked and it stopped working. I know in order for it to work it needs to be locked. Can i have the bootloader locked and able to use the fingerprint scanner and flash roms and everything like normal? or will I have to switch back to unlocked to flash things such as Roms and Kernels?
[HTC One Max] scotty1223:
See post #112 ;)
[HTC One Max] lovem:
Big dilema, used rumrunner to s-off and unlock. unrelated to rumrunner, my phone a week plus later would not charge when turned on, nor recognize adb commands. phone will recognize fastboot commands and charges when off. i installed the encrypted and decrypted RUU in attempts to fix phone not charging when on or recognizing adb commands since usb not detected, but fastboot commands were working. no, i have locked my bootloader to "relocked" status and can not install custom recovery twrp with fastboot command. what can i do to get my bootloader unlocked again. i used the command: fastboot oem lock, to lock the bootloader which is now showing status: relocked. (wish i would have never done it) and i can not unlock the bootloader again with command fastboot oem unlock.
[HTC One Max] scotty1223:
Are you still s off?
[HTC One Max] lovem:
Yes, i am still s-off. bootloader shows relocked.
[HTC One Max] dottat:
The answer to your question is in post 1.
[HTC One Max] lovem:
Yea, I have followed everything on post 1. already had adb working before along with fastboot. had to do that so rumrunner could be used to s-off and unlock the bootloader. it is just now that after the phone does not charge when on and the usb is not detected when plugged to have adb functional i can not unlock my bootloader after having relocked it. How can i get this phone, verizon htc one max to charge when it is turned on. Have tried the encrypted ruu and decrypted ruu.
[HTC One Max] dottat:
Hate to say this....but after ruu'ing successfully you have ruled out software and you likely are into a hardware problem.
[HTC One Max] lovem:
Thanks :crying:
[HTC One Max] dottat:
Are you 100% sure the kernel and recovery partitions flashed with no probs during ruu?
[HTC One Max] lovem:
the parts that did not flash were

14) sbl1 result = bypass-s

15) sbl1 result = bypass-s

17) sbl1 result = bypass-s

18) sbl1 result = bypass-s

all other parts checked "ok"
[HTC One Max] dottat:
Ok. That's normal
[HTC One Max] mylord2014:
scanner

Hi, I just unlocked my htc one max sprint using the method mentioned in XDA Forum and now I have Sky dragon ROM installed. Can i try these steps on this ROM? Or do i have to be on any specific ROM? I want to do this as my fingerprint scanner is not working!:crying::crying:
[HTC One Max] pradeepvizz:
You can do these steps, its not ROM specific.
[HTC One Max] mylord2014:
not working

So I did all the steps and i can see "Locked" message on the top.

But my finger print scanner does NOT work yet. It keeps saying fingerprint not recorded.

What am i doing wrong here? I am really new to android so please be as descriptive as possible with any steps you ask me to do

---------- Post added at 10:01 AM ---------- Previous post was at 09:35 AM ----------

So finally the finger print scanner worked!! It was my mistake. I had not removed the Tampered flag. You HAVE to remove it for the scanner to work :) I was under the assumption it was only about locking the bootloader !:laugh::laugh:
[HTC One Max] RKnight1983:
HELP!

I have had my Verizon One Max for about a month and half now. I finaly tonight felt like trying to relock my bootloader to reenable to fingerprint scanner and I am now stuck. I am unable to access recovery, computer doesnt recognize device in fastboot and unable to flash any sort of recover. In bootloader my phone reads:

*** Tampered ***

*** Locked ***

*** Security Warning ***

T6WL PVT SHIP S-ON RH

HBOOT-2. 46. 0000

QSL-

OS 1.11.605.4

eMMC-boot 2048MB

Nov 8 2013,14:22:00.0

I have never had such problem with any of my deivces and I have been using xda since my HTC Touch. I am hoping it is a simple fix and my device is not permently bricked.
[HTC One Max] scotty1223:
Reunlock your bootloader is the quickest way back to a working phone. The only other way is to successfully run annruu that meets all.the security criteria since your s on.

I.e., you cannot be s on,locked,and rooted/running a custom.rom.
[HTC One Max] RKnight1983:
I am currently trying to run a RUU, however I keep getting an error when i type in the fastboot flash zip "I type the file name here".zip command.
[HTC One Max] scotty1223:
What error?
[HTC One Max] RKnight1983:
I am getting an error now right after it says:

C:\Users\___________>fastboot flash zip 0P3PIMG.zip

sending 'zip' <1178525 KB>...

OKAY [ 44.554s ]

writing 'zip'...

<bootloader> adoptin the signiture contained in this image...

<bootloader> signature checking...

FAILED <remote: 12 signature verify fail>

finished. total time 183.488s
[HTC One Max] scotty1223:
you are not useing a signed,official ruu. or it has become corrupt,and the signiture is now broken.

my advice would be to unlock your bootloader,and become s off. recovery is much easier when there are no securities.
[HTC One Max] RKnight1983:
I have tried running Rumrunner also and I kept getting an error there also.

I get to where it says !! Do NOT for any reason taunt, unplug, drop, eat, or pet your device !!

Please wait . . . .

. . . . . . . . . .

ERROR: run rumrunner again READ <no adb connection to device. Debuggin on?

Drivers?>
[HTC One Max] scotty1223:
i cant help you make it work on windows.i use ubuntu for "delicate" phone stuff. id suggest making a 12.04 ubuntu live cd and run rumrunner from there
[HTC One Max] RKnight1983:
I have no experience with Ubuntu so I am not sure how confident I would feel trying to install it on my main and only computer. I am in the process of trying to download another RUU to hopefully get me back to zero. I hate not having a phone to use, but atleast its only the weekend since I drive for a living and use my phone for everything. I really appreciate te help.
[HTC One Max] scotty1223:
you dont need to install it. you download the image and create a bootable cd. shut down,remove the cd,and your back to windows. nothing is permantly installed with the live cd.

as i mentioned,re-unlocking your bootloader will get you a useable phone.
[HTC One Max] RKnight1983:
I have tried running rumrunner, however I am unable to get it to work only having access to the bootloader.
[HTC One Max] scotty1223:
you need to pay attention:
[HTC One Max] RKnight1983:
When I try to run the HTC DevUnlock I get this error:

Error Code: 160.

Error Reason: MID Not Allowed.
[HTC One Max] scotty1223:
ooooh do you have a verizon model? if so,you may be sol... an ruu may be your only option
[HTC One Max] RKnight1983:
Yes I have a Verizon HTC One Max. I have downloaded 2 diffrent RUU's that I have been able to find and I have even downloaded it from 2 diffrent tablets as well as my Laptop and I get the same error where it says FAILED <remote: signature verify fail>. I have also taken the file and renamed it to 0P3PIMG.zip and placed it on my sd card to try and flash that way with no luck either. I am almost to the point where I might just have to take it to the local Verizon store and play dumb and say an update broke it and have them send me a replacent, however I still think there may be something I have not tried or something I may have missed. I really do appreciate your help.
[HTC One Max] scotty1223:
lets see the results of:

fastboot getvar all

be sure to xxxx out your imie,meid,esn,etc
[HTC One Max] RKnight1983:
Alright this is what I recieved when I ran that command

version: 0.5

version-bootloader: 2.46.0000

version-baseband: N/A

version-cpld: None

version-microp: None

version-main: 1.11.605.4

version-misc: PVT SHIP S-ON

serialno: XXXXXXXXXXXX

imei: XXXXXXXXXXXXXXX

meid: XXXXXXXXXXXXXX

product: t6wl

platform: HBOOT-8064

modelid: XXXXXXXXX

cidnum: VZW__001

battery-status: good

battery-voltage: 4297mV

partition-layout: Generic

security: on

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: dirty-14eb688c

hbootpreupdate: 11

gencheckpt: 0
[HTC One Max] scotty1223:
thanks for the info. we need to find an ruu that is 1.11.605.4 or higher,that is an official,signed by htc version. decrpyted versions will not work for you now.

ill see what i can do to find one