Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
booyaga
Old
(Last edited by booyaga; 15th February 2012 at 12:30 AM.)
#1  
Member - OP
Thanks Meter 13
Posts: 83
Join Date: Sep 2010
Arrow [DEV] S-OFF (wirte permission to NAND)

i started, this in the dev section, to have a CLEAN THREAD, with ONLY RELEVANT info.

if mod gives me permission i will clean this thread several times each day (if someone posts nonsense)


FOR DEVS ONLY! theres alot of other threads about this for Q&A etc..



thanks to orb3000 for making it a stickie..
Sensation xl running:
ICS WRE 1.0
Bindroid
-on custom kernel
Xperia X10 running:
Oodie MIUI
fxp cm7
wolfbreak roms
++
-on custom kernel
HTC G1
The Following 2 Users Say Thank You to booyaga For This Useful Post: [ Click to Expand ]
 
booyaga
Old
#2  
Member - OP
Thanks Meter 13
Posts: 83
Join Date: Sep 2010
reserved for later
Sensation xl running:
ICS WRE 1.0
Bindroid
-on custom kernel
Xperia X10 running:
Oodie MIUI
fxp cm7
wolfbreak roms
++
-on custom kernel
HTC G1
 
booyaga
Old
(Last edited by booyaga; 14th February 2012 at 09:13 PM.)
#3  
Member - OP
Thanks Meter 13
Posts: 83
Join Date: Sep 2010
What we got so far:
Quote:
fastboot oem h
...
(bootloader) command list
(bootloader) get_identifier_token
(bootloader) keytest
(bootloader) heap
(bootloader) boot
(bootloader) reset
(bootloader) powerdown
(bootloader) rebootRUU
(bootloader) heap_test
(bootloader) gotohboot
(bootloader) rtask
(bootloader) task
(bootloader) enableqxdm
(bootloader) gencheckpt
(bootloadre) lock
(bootloader) list_partition_emmc
(bootloader) load_emmc
(bootloader) check_emmc
(bootloader) check_emmc_mid
(bootloader) read_mmc
(bootloader) get_wp_info_emmc
(bootloader) send_wp_info_emmc
(bootloader) get_ext_csd_emmc
(bootloader) get_sector_info_emmc
OKAY [ 0.031s]
finished. total time: 0.031s

fastboot oem writesecureflag 0
...
(bootloader) [ERR] Command error !!!
OKAY [ -0.000s]
finished. total time: -0.000s
Quote:
C:\Users\Turkish>fastboot oem rebootRUU
...
(bootloader) erase sector 163328 ~ 163839 (512)
OKAY [ 0.484s]
finished. total time: 0.484s

C:\Users\Turkish>fastboot oem h
...
(bootloader) command list
(bootloader) get_identifier_token
(bootloader) keytest
(bootloader) heap
(bootloader) boot
(bootloader) reset
(bootloader) powerdown
(bootloader) rebootRUU
(bootloader) heap_test
(bootloader) gotohboot
(bootloader) rtask
(bootloader) task
(bootloader) enableqxdm
(bootloader) gencheckpt
(bootloader) lock
(bootloader) list_partition_emmc
(bootloader) load_emmc
(bootloader) check_emmc
(bootloader) check_emmc_mid
(bootloader) read_mmc
(bootloader) get_wp_info_emmc
(bootloader) send_wp_info_emmc
(bootloader) get_ext_csd_emmc
(bootloader) get_sector_info_emmc
OKAY [ 0.031s]
finished. total time: 0.031s

C:\Users\Turkish>fastboot writesecureflag 0
usage: fastboot [ <option> ] <command>

commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message

options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default:
2048

C:\Users\Turkish>fastboot reboot
rebooting...

finished. total time: 0.312s
Quote:
We have tested to do these commands on the s-offed device of jammysunny.

cd/
cd SDK
cd platform-tools
adb devices
adb shell
su
dd if=/dev/block/mmcblk0p18 of=/sdcard/backup.img

This worked successfully and we got an hboot.img file of his Device on the SD.

On the next step i tried to install his s-off hboot.img to my s-on device with the following commands:

cd/
cd SDK
cd platform-tools
adb devices
adb shell
su
dd if=/sdcard/hboot.img of=/dev/block/mmcblk0p18

This worked successfully too, but my bootloader is the same as before. Its s-on
Quote:
hboot is useless from S-off device, as our bootloaders are unlocked.

What needs to be done is: get rid of Nand write protection, so we can flash radio's
Sensation xl running:
ICS WRE 1.0
Bindroid
-on custom kernel
Xperia X10 running:
Oodie MIUI
fxp cm7
wolfbreak roms
++
-on custom kernel
HTC G1
The Following 2 Users Say Thank You to booyaga For This Useful Post: [ Click to Expand ]
 
orb3000
Old
#4  
orb3000's Avatar
XDA News Writer / Forum Moderator
Thanks Meter 2485
Posts: 21,655
Join Date: Feb 2007
Location: T r a v e l i n g Likes: HTC & XDA Dislikes: apples...
Stickied, thanks!
orb


HTC Butterfly - HTC One not coming... - HTC Universal Tomal WM 6.5

XDA is about developing and is for developers. Any user that recognises that will gain the most benefit from this site


 
This is and always will be a site for developers, pure and simple. Without them we are nothing, without them there would be no reason for XDA Developers to exist; we should never ever forget that. Without them this place would not be called XDA-Developers but something else, e.g Mobile Phone User Support Services For Ungrateful Nerds.

Previous devices: HTC: Treo 650 - Excalibur - Diamond - Diamond 2 - Maple - HD2 - Rhodium - Desire Z - Desire HD - Vivid - Sensation - One V - One X - Titan II - One X+ - DNA
The Following User Says Thank You to orb3000 For This Useful Post: [ Click to Expand ]
 
simo_scorpion
Old
(Last edited by simo_scorpion; 20th March 2012 at 01:33 PM.)
#5  
Junior Member
Thanks Meter 1
Posts: 17
Join Date: Nov 2005
waiting boot.img s-off
 
anonymous_1997
Old
#6  
Senior Member
Thanks Meter 40
Posts: 286
Join Date: Oct 2011
Location: Melbourne
Im pretty sure s-off invokves the security flag on hboot not the boot.img

Sent from my HTC Sensation XL with Beats Audio X315b using XDA

Please use the thanks button if I helped in any way
Samsung Galaxy S 2
ROM: Stock Vodafone

HTC Sensation XL with Beats Audio X315b
ROM:Insanely Cool Sense 4

Previous Phones:
HTC Desire S (Brought me to this great site)
iPhone 4 (Worst phone ever)
HTC Snap S521 (My first ever smartphone)
 
mbelloli
Old
#7  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jan 2008
Hi booyaga,
where I can find the s-off hboot.img file ?
thanks.
bye
 
Alex-V
Old
#8  
Alex-V's Avatar
Recognized Developer
Thanks Meter 1970
Posts: 6,735
Join Date: Aug 2008
Would love to see s-off lol

not sure if this can help...but my desire was s-off using alpharev

http://alpharev.nl/

maybe they can give some info ...?!?

with kind regards
 
shingers5
Old
#9  
shingers5's Avatar
Recognized Contributor
Thanks Meter 2452
Posts: 6,220
Join Date: Sep 2008
Location: liverpool
It would be great to get alpharev on board. Seems everyone is neglecting our xl lol.

Sent from my GT-N7000 using xda premium
Sony Xperia S
Samsung Galaxy S3- Vertigo's P.A.C
HTC Sensation XL - JellyBeer V4
Samsung Galaxy S2 - Vertigo Unoffcial Themed JellyBeer V4.14


Top Shelf: i have had them all and still have a few lying round........too many to play with at once
 
Alex-V
Old
#10  
Alex-V's Avatar
Recognized Developer
Thanks Meter 1970
Posts: 6,735
Join Date: Aug 2008
Quote:
Originally Posted by shingers5 View Post
It would be great to get alpharev on board. Seems everyone is neglecting our xl lol.

Sent from my GT-N7000 using xda premium
yep...if they dont want or do it (if we ask) maybe we can give a bit support...real s-off is nice...

 
Post Reply+
Tags
bootloader, nand, s-off
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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

Go to top of page...