Go Back   Android Forums > Android Phones > HTC Merge > Merge - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree2Likes
  • 1 Post By kjss
  • 1 Post By scotty85

test: Reply
 
LinkBack Thread Tools
Old July 1st, 2012, 12:00 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Feb 2012
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 17
Thanked 3 Times in 3 Posts
Question Bootloader Re-lock

Does anyone know how to re-lock an htc merge s-off bootloader to s-on?......

kjss is offline  
Reply With Quote
sponsored links
Old July 2nd, 2012, 05:41 AM   #2 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 10,650
 
Device(s):
Carrier: Not Provided

Thanks: 7,184
Thanked 6,786 Times in 4,268 Posts
Default

Basicly same as turning it s-off,but a different command in gfree. Since there is not a signed ruu for you to flash after,that complicates things as well.

Do you need to turn in your phone for warrantty? Why do you want s on?
__________________
The Delivery Guy
If someone has helped you,please click the THANKS button on that post.
Please post questions so others can benefit from the answers.
donate to my device fund
scotty85 is online now  
Reply With Quote
The Following User Says Thank You to scotty85 For This Useful Post:
kjss (July 2nd, 2012)
Old July 2nd, 2012, 11:49 AM   #3 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Feb 2012
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 17
Thanked 3 Times in 3 Posts
Exclamation

Quote:
Originally Posted by scotty85 View Post
Basicly same as turning it s-off,but a different command in gfree. Since there is not a signed ruu for you to flash after,that complicates things as well.

Do you need to turn in your phone for warrantty? Why do you want s on?
Yess is for warranty!! my phone keeps getting very hot and it keeps rebooting!!!. I will like to know the steps on how to do it!!
kjss is offline  
Reply With Quote
Old July 3rd, 2012, 09:55 AM   #4 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 10,650
 
Device(s):
Carrier: Not Provided

Thanks: 7,184
Thanked 6,786 Times in 4,268 Posts
Default

ok. have you tried running your stock ruu and then doing a factory reset in hboot? maybe try that,and make sure its not some sort of setting or software issue.

i will try and get a guide up in the next couple days. since there is no signed ruu for you to run after s-on(the ruu you made is not signed by htc,and wont work with s on ) so there will be a couple extra steps to get you s-on and on open mobile firmware
scotty85 is online now  
Reply With Quote
The Following User Says Thank You to scotty85 For This Useful Post:
kjss (July 3rd, 2012)
Old July 3rd, 2012, 10:34 AM   #5 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Feb 2012
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 17
Thanked 3 Times in 3 Posts
Thumbs up

Quote:
Originally Posted by scotty85 View Post
ok. have you tried running your stock ruu and then doing a factory reset in hboot? maybe try that,and make sure its not some sort of setting or software issue.

i will try and get a guide up in the next couple days. since there is no signed ruu for you to run after s-on(the ruu you made is not signed by htc,and wont work with s on ) so there will be a couple extra steps to get you s-on and on open mobile firmware
Thanks i wait for the guide!!!

this is what i tried on verizon exploitable firmware but like you say i was not able to flash my open mobile firmware after that:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Kenny J Sánchez>cd /androidsdk/platform-tools
C:\androidsdk\platform-tools>adb push exploits /data/local
push: exploits/wpthis -> /data/local/wpthis
push: exploits/psneuter -> /data/local/psneuter
push: exploits/gfree -> /data/local/gfree
3 files pushed. 0 files skipped.
1535 KB/s (1981754 bytes in 1.260s)
C:\androidsdk\platform-tools>adb shell
$ chmod 0755 /data/local/psneuter
chmod 0755 /data/local/psneuter
$ chmod 0755 /data/local/wpthis
chmod 0755 /data/local/wpthis
$ chmod 0755 /data/local/gfree
chmod 0755 /data/local/gfree
$ /data/local/psneuter
/data/local/psneuter
property service neutered.
killing adbd. (should restart in a second or two)
C:\androidsdk\platform-tools>adb shell
# /data/local/wpthis
/data/local/wpthis
Build: 25
Section header entry size: 40
Number of section headers: 45
Total section header table size: 1800
Section header file offset: 0x00014e90 (85648)
Section index for section name string table: 42
String table offset: 0x00014cc7 (85191)
Searching for .modinfo section...
- Section[16]: .modinfo
-- offset: 0x00000f80 (3968)
-- size: 0x000000c4 (196)
Kernel release: 2.6.32.17-g788be6b3
New .modinfo section size: 204
Loading module... OK.
Write protect disabled.
Searching for mmc_blk_issue_rq symbol...
- Address: c02a2884, type: t, name: mmc_blk_issue_rq, module: N/A
Kernel map base: 0xc02a2000
Kernel memory mapped to 0x40001000
Searching for brq filter...
- Address: 0xc02a2884 + 0x34c
- 0x2a000012 -> 0xea000012
Done.
# /data/local/gfree -s on
/data/local/gfree -s on
--secu_flag on set
Section header entry size: 40
Number of section headers: 44
Total section header table size: 1760
Section header file offset: 0x000138b4 (80052)
Section index for section name string table: 41
String table offset: 0x000136fb (79611)
Searching for .modinfo section...
- Section[16]: .modinfo
-- offset: 0x00000a14 (2580)
-- size: 0x000000cc (204)
Kernel release: 2.6.32.17-g788be6b3
New .modinfo section size: 204
Attempting to power cycle eMMC... OK.
Write protect was successfully disabled.
Searching for mmc_blk_issue_rq symbol...
- Address: c02a2884, type: t, name: mmc_blk_issue_rq, module: N/A
Kernel map base: 0xc02a2000
Kernel memory mapped to 0x40002000
Searching for brq filter...
- Address: 0xc02a2884 + 0x34c
- ***WARNING***: Found fuzzy match for brq filter, but conditional branch isn't
. (0xea000012)
Backing up current partition 7 and patching it...
Backing up partition /dev/block/mmcblk0p7 to /sdcard/part7backup-1341286893.bin
...
patching secu_flag: 1
Done.
# /data/local/gfree -c UTSI_005
/data/local/gfree -c UTSI_005
--cid set. CID will be changed to: UTSI_005
Section header entry size: 40
Number of section headers: 44
Total section header table size: 1760
Section header file offset: 0x000138b4 (80052)
Section index for section name string table: 41
String table offset: 0x000136fb (79611)
Searching for .modinfo section...
- Section[16]: .modinfo
-- offset: 0x00000a14 (2580)
-- size: 0x000000cc (204)
Kernel release: 2.6.32.17-g788be6b3
New .modinfo section size: 204
Attempting to power cycle eMMC... OK.
Write protect was successfully disabled.
Searching for mmc_blk_issue_rq symbol...
- Address: c02a2884, type: t, name: mmc_blk_issue_rq, module: N/A
Kernel map base: 0xc02a2000
Kernel memory mapped to 0x40002000
Searching for brq filter...
- Address: 0xc02a2884 + 0x34c
- ***WARNING***: Found fuzzy match for brq filter, but conditional branch isn't
. (0xea000012)
Backing up current partition 7 and patching it...
Backing up partition /dev/block/mmcblk0p7 to /sdcard/part7backup-1341286990.bin
...
Done.
# rm /sdcard/PD42IMG.zip
rm /sdcard/PD42IMG.zip
#
C:\androidsdk\platform-tools>
kjss is offline  
Last edited by kjss; July 3rd, 2012 at 10:37 AM.
Reply With Quote
Old July 5th, 2012, 08:00 AM   #6 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 10,650
 
Device(s):
Carrier: Not Provided

Thanks: 7,184
Thanked 6,786 Times in 4,268 Posts
Default

sorry,i was just coming here to let you know i havent forgotten about you!

since you have made such good progress by yourself,and figured out how to use gfree to do what you need it to,ill go ahead and give you some advice on how to get it accomplished.

-at this point youll need to re-temp root and run gfree again to get s-off. you dont have to run -f,if you dont want,just s-off.

-now,install your s-off eng hboot on the vzw firmware(as a PD42IMG). now you can turn the radio secure flag back on,but still have the advantages of being s-off with the eng hboot(the eng hboot is basically ignoring the radios crys that it is s-on)

-run gfree again. turn s-on,fix CID if needed.

*now your hboot still says s-off,becasue of the eng hboot. your radio should be s-on,as long gfree gave you the same results:
patching secu_flag: 1
Done.


-now you need to remove the .88 hboot from your stock ruu,and place it into its own PD42IMG file(with android info document). *this is important

-flash the stock RUU,less the hboot,FIRST

-after that flash is successful, THEN you can flash the hboot-only file.

you have to do things in that order,as once your s-on,you can no longer flash unsigned-by-htc files. and i do not believe you can flash the whole ruu at once,as the preupdate check will flash the hboot and radio,then realize that the rest of the software is not signed,leaving you stuck with a security warning that will be difficult for you to remove without a signed RUU that is compatible with your CID.

a word of WARNING:
i havent tested this. its possible that the eng hboot is not compatible with the old vzw firmware,and bad things could happen when you flash it(i dont think so,but i dont know)

i also dont know what will happen when you run gfree with the eng hboot in place. again,i dont think anything bad,but idk for sure. if gfree wont run with the eng hboot,there is another way to install it after,but ill hold off on that for now.

i have been racking my brain for a couple days now,trying to figure out the fastest,easiest method for you guys without signed RUUs. if you wish to wait for me to test it i will.

if you do decide to procede,let me know how it works out. again,just make sure you flash the NO HBOOT file FIRST!

also some more kudos to you,as this would not be possible at all without your discovery,and sharing of the eng hboot

ive got to get ready for work,but ill try and watch if you have any questions
scotty85 is online now  
Last edited by scotty85; July 5th, 2012 at 08:03 AM.
Reply With Quote
The Following User Says Thank You to scotty85 For This Useful Post:
kjss (July 5th, 2012)
Old July 5th, 2012, 09:09 PM   #7 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Feb 2012
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 17
Thanked 3 Times in 3 Posts
Thumbs up

Quote:
Originally Posted by scotty85 View Post
sorry,i was just coming here to let you know i havent forgotten about you!

since you have made such good progress by yourself,and figured out how to use gfree to do what you need it to,ill go ahead and give you some advice on how to get it accomplished.

-at this point youll need to re-temp root and run gfree again to get s-off. you dont have to run -f,if you dont want,just s-off.

-now,install your s-off eng hboot on the vzw firmware(as a PD42IMG). now you can turn the radio secure flag back on,but still have the advantages of being s-off with the eng hboot(the eng hboot is basically ignoring the radios crys that it is s-on)

-run gfree again. turn s-on,fix CID if needed.

*now your hboot still says s-off,becasue of the eng hboot. your radio should be s-on,as long gfree gave you the same results:
patching secu_flag: 1
Done.

-now you need to remove the .88 hboot from your stock ruu,and place it into its own PD42IMG file(with android info document). *this is important

-flash the stock RUU,less the hboot,FIRST

-after that flash is successful, THEN you can flash the hboot-only file.

you have to do things in that order,as once your s-on,you can no longer flash unsigned-by-htc files. and i do not believe you can flash the whole ruu at once,as the preupdate check will flash the hboot and radio,then realize that the rest of the software is not signed,leaving you stuck with a security warning that will be difficult for you to remove without a signed RUU that is compatible with your CID.

a word of WARNING:
i havent tested this. its possible that the eng hboot is not compatible with the old vzw firmware,and bad things could happen when you flash it(i dont think so,but i dont know)

i also dont know what will happen when you run gfree with the eng hboot in place. again,i dont think anything bad,but idk for sure. if gfree wont run with the eng hboot,there is another way to install it after,but ill hold off on that for now.

i have been racking my brain for a couple days now,trying to figure out the fastest,easiest method for you guys without signed RUUs. if you wish to wait for me to test it i will.

if you do decide to procede,let me know how it works out. again,just make sure you flash the NO HBOOT file FIRST!

also some more kudos to you,as this would not be possible at all without your discovery,and sharing of the eng hboot

ive got to get ready for work,but ill try and watch if you have any questions
Ok scotty.... Everything went well without problems & everything is working data,sms,mms and calls..... Sweeeeet!!!!..
kjss is offline  
Reply With Quote
Old July 6th, 2012, 05:26 AM   #8 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 10,650
 
Device(s):
Carrier: Not Provided

Thanks: 7,184
Thanked 6,786 Times in 4,268 Posts
Default

excellent!

so you had no issue flashing the eng hboot and booting it with old vzw firmware?

and you had no issue running gfree with the eng hboot in place?

thanks much for bein the guinea pig.

i will still get a guide up for others to follow
scotty85 is online now  
Reply With Quote
Old July 6th, 2012, 10:18 AM   #9 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Feb 2012
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 17
Thanked 3 Times in 3 Posts
Thumbs up

Quote:
Originally Posted by scotty85 View Post
excellent!

so you had no issue flashing the eng hboot and booting it with old vzw firmware? No issue!!

and you had no issue running gfree with the eng hboot in place? Yup no issue

thanks much for bein the guinea pig. No Problem!!

i will still get a guide up for others to follow
Yup no issues at all!!!....
scotty85 likes this.
kjss is offline  
Reply With Quote
The Following User Says Thank You to kjss For This Useful Post:
scotty85 (July 7th, 2012)
Old July 7th, 2012, 04:47 AM   #10 (permalink)
AF Addict
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 10,650
 
Device(s):
Carrier: Not Provided

Thanks: 7,184
Thanked 6,786 Times in 4,268 Posts
Default

Quote:
Originally Posted by kjss View Post
Yup no issues at all!!!....
awsome! thanks for the info.
kjss likes this.
scotty85 is online now  
Reply With Quote
sponsored links
Reply


Go Back   Android Forums > Android Phones > HTC Merge > Merge - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:21 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.