yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] :
it is in the binary folder

---------- Post added at 06:31 PM ---------- Previous post was at 06:22 PM ----------

It is thru out the thread, that you will be s-off and twice on first two pages--so there was a way to know that. I am too scared to do this stuff without reading the first and last dozen or so pages of any thread--esp with hboot/radios--:)
[Nexus One Android Development] efrant:
First of all, unlocking your bootloader (with S-ON) voids your warranty. Period. (Look in the warranty guide, and it specifically states that.).

Second, you did not have access to everything. Only S-OFF gives you that.

Third, you are not really S-OFF, but Blackrose allows you to do most things that being S-OFF allows you to do.

Fourth, if you flash back to the stock bootloader (which, by the way is linked to in the first post), you will revert to S-ON (because you were never really S-OFF in the first place -- it's just a label in the code...)

Fifth, if you understood point number one, the other points don't matter anyway.
[Nexus One Android Development] daveid:
What is the title of the thread? The very first thing says what? What is the purpose of this thread?

If you answer anything other than S-OFF for any of those questions, you are in the wrong place. Why would you come into a thread about S-OFF, follow instructions you found in said thread, if S-OFF was not what you wanted?
[Nexus One Android Development] pseudoheld:
well yeah it does void the warranty but you can flash back to stock and when you send it in no one is the wiser.

but if you flash back to stock and it shows as "s-on" again all is OK.
[Nexus One Android Development] efrant:
How will "no one be the wiser" if it says in bold letters "UNLOCKED" at the top of the bootloader screeen? You cannot get rid of that if you unlocked your bootloader (unless you can relock it of course, which you cannot do if you are S-ON)...

Exactly.
[Nexus One Android Development] dla5244:
1.Radio secuflag(unlock flag too) is just flag(stored in HTC partition, reserved MPU)

2.This flag determine security status(ship hboot check this)

3.Stock hboot(ship hboot) can access some function(not all) even achieve radio S-OFF

4.ARM9(radio) part protected by MPU and APU(check integrity at boot, RSA+SHA-1) and can access HTC Partition.

But radio s-off routine(on amss,arm9) check on special sim card

That's why XTC-Clip is needed.

5.Unlock, relock function is located on OEMSBL(radio bootloader, ARM9)

Unlock function is worked on s-on While relock function not(only worked radio s-off)

6.Engineering bootloader(also blackrose) doesn't check radio secuflag, only hboot flag(stored MISC Partition, default value is off)

That's why you can achieve S-OFF

(In other words, when you revert stock hboot, security will be ON)

7.To install blackrose, there is NO need to unlock the bootloader

8.if you failed to install blackrose with unlocked method, try to locked method(select 'NO' when you are asked the question, "is your device unlocked?")
[Nexus One Android Development] Franc38:
Still don't understand why, but running BlackRose.exe does not do anything but bring a window stating that Windows failed to access file/path/etc and that I possibly don't have all the authorizations.

Is there a way to have BlackRose run?

My phone is recognized by adb, I try runing blackrose as administrator, my Hboot is the one stated in the OP... still...

EDIT.

OK, got it... Some weird Windows 7 security problems, coming from distinction from the administrator domain name and my own name... I have "all power" on my computer, but it still has some "backdoor" access for the IS guys from the company... And for some weird reason that prevents blackrose from working... Would have to try to do that on my other PCs... even if I'm not too happy about installing the SDK and all the drivers and files everywhere.
[Nexus One Android Development] earth08:
I have problem of flashlight blinking during reboot and power on/off

and its not working in camera or flashlight app

i have installed blackrose hboot, sebastiaans 15 runny v5

is there anyway to get it working by editing hboot or an of stuff because it flash during reboot and power on/off

pls help

thanks in adv
[Nexus One Android Development] Franc38:
Don't bother answering my few previous posts... My problem was a bad security setting in Win7...

Well, like pseudoheld, I've had to go for "unlock",

And here comes a new problem...

Neither "locked" nor "unlocked" seem to work !!!

And I've lost my recovery in the process... Great! I'll have to re-root, etc.

Edit, no, still have root and managed to reflash a recovery... But still, I think that I'll have to re-root in a different way or something to have blackrose to install on my phone.

Is there a recommended method lately, possibly preserving the "locked bootloader" when/if reverting to a non BlackRose?
[Nexus One Android Development] kikixx:
Well first attempt not entirely successful. Updated to the .08 radio fine with fastboot and started up blackRose (am on ubuntu 11.10 here).

- my device was working with adb and connected

- BlackRose displays my device

- My device is S-ON so I chose locked method

- getprops unavailable apparently, but I checked via adb shell my ro.secure which is 0.

- it then gave me:

chmod: /data/local/tmp/flash_image: Not a directory

/sbin/sh: /data/local/tmp/flash_image: not found

rm: can't stat '/data/local/tmp/go.lol': Not a directory

rm: can't stat '/data/local/tmp/flash_image': Not a directory

after a bit I guessed I needed to copy the flash_image and go.lol files across via adb push:

./adb-l push ../binary/flash_image /data/local/tmp

621 KB/s (26172 bytes in 0.041s)

./adb-l push ../binary/go.lol /data/local/tmp

1237 KB/s (131072 bytes in 0.103s)

and tried again. This time less error messages:

Please wait...

1737 KB/s (4194304 bytes in 2.357s)

925 KB/s (26172 bytes in 0.027s)

1142 KB/s (131072 bytes in 0.112s)

/sbin/sh: /data/local/tmp/flash_image: not found

< waiting for device >

It then gets stuck on waiting for device for ever... sticking CTRL+C in there a few times leaves it with:

BlackRose has been successfully installed if your HBOOT changed to 7.35.5XXX

Rebooting into bootloader to check - it's not installed :( But least I haven't broken anything!

I'm due away for Christmas so daren't break anything now. I'll have another crack when I get back.

Any help from linux users would be great.

Cheers,
[Nexus One Android Development] szihs:
do $chmod 755 flash_image

Between , you should not get errors provided that device is rooted..via zergrush
[Nexus One Android Development] dla5244:
Hmm...

Create "tmp" folder in /data/local folder and retry.

Since I don't have much time to fix that, i will fix this error in few days.
[Nexus One Android Development] efrant:
@kikixx and others who are having issues: you can always do it manually.

If your bootloader is unlocked, just do the following:

1) Boot into fastboot mode on your device, and plug it in to your computer.

2) Boot the exploit: fastboot boot go.lol

3) Flash the modified hboot: fastboot flash hboot hboot_blackrose.nb0

4) Done.

If your bootloader is locked, then it is a bit trickier (if I understand it correctly), and I don't have time to do a step-by-step at the moment.
[Nexus One Android Development] Franc38:
That's good to know... If I still don't manage to get the locked installation to work normally, I'll unlock my bootloader and use your instructions.
[Nexus One Android Development] kikixx:
Thanks for replies. I must have my head elsewhere, I was thinking that locked/unlocked referred to S-OFF/S-ON but of course it doesn't.

This was after I unrooted and rerooted with zergrush. Chose unlocked and everything just worked, hey presto.

Cheers,
[Nexus One Android Development] Franc38:
Will try that, unrooting/rerooting.

Maybe that'll help...
[Nexus One Android Development] Franc38:
My My My...

I eventually got blackrose to install!! Only change was I updated my busybox (had been quite some time since I last did that...) That's the only difference, but it made a world of difference on the result!

If that can help people having trouble with the installation...
[Nexus One Android Development] robcodemax:
How to remove the Blackrose logo from the HBOOT Screen, I have to return my phone to HTC for repair...?
[Nexus One Android Development] dla5244:
Uninstall it by Executing BlackRose.exe
[Nexus One Android Development] eugene.an:
help!

I've read some people have this problem:

sending 'hboot' (512 KB)... OKAY

writing 'hboot'... INFOsignature checking...

FAILED (remote: signature verify fail)

Me too...

How to solve this?

p.s. my Nexus is unlocked and rooted; SLCD.

p.p.s. I've tried to install BlackRose in OS X, Linux and Windows. Nothing helps.
[Nexus One Android Development] efrant:
Try this
[Nexus One Android Development] eugene.an:
efrant,

Doesn't help :(

---------- Post added at 01:09 AM ---------- Previous post was at 01:04 AM ----------

In Windows I have the problem with BlackRose.exe:

Is your device unlocked?

1 Yes (Unlocked)

2 No (Locked)

3 Cancel

Please make a decision:1

Please wait...

error: closed

< waiting for device >

How to explain this behave?
[Nexus One Android Development] efrant:
You are obviously doing something wrong.

Follow these steps:

1) Boot device into fastboot mode and plug into computer;

2) Type fastboot devices to make sure your computer sees your device;

3) Download the attachment, extract the two files and place them in the same folder as your fastboot binary;

4) Type fastboot boot go.lol

5) Type fastboot flash hboot hboot_blackrose.nb0

6) Reboot into fastboot mode to make sure it installed. Done.

Note: The hboot_blackrose.nb0 attached is from an older version, so if you want a newer one, just flash it the same way...
[Nexus One Android Development] eugene.an:
efrant,

Yahoo, now it's worked! Thank you so much! :rolleyes:
[Nexus One Android Development] zole2112:
Thank you!! This worked, it would not work with the files I downloaded off of the first post, with your binaries it worked.
[Nexus One Android Development] efrant:
Note these are not my binaries. These are the ones i had on my computer from some time ago (prob from an older version of Blackrose). All credit goes to dla5244 - thank him for all his great work.
[Nexus One Android Development] taney:
Alright I've read through the first 40 pages of this thread and I just want to get this clear. I apologize for redundancy.

#1, So BlackRose in reality just changes the hboot and doesn't mess with anything else. It is able to execute S-Off commands, thus emulating S-Off on the phone. Is that correct?

#2, What are the advantages to having a true S-Off with Eng Bootloader (besides being able to issue Radio S-Off commands)?

Thanks for helping me understand!
[Nexus One Android Development] efrant:
#1. Yes

#2. For one, you can relock the bootloader.
[Nexus One Android Development] taney:
Yeah, but those flags are stored in the radio, so unless you have radio s-off, we can't lock the bootloader again. Correct?

You and dla5244 really clarified anything. THANK YOU SO MUCH!

I finally ran into a post by dla and it just clarified more:

1.Radio secuflag(unlock flag too) is just flag(stored in HTC partition, reserved MPU)

2.This flag determine security status(ship hboot check this)

3.Stock hboot(ship hboot) can access some function(not all) even achieve radio S-OFF

4.ARM9(radio) part protected by MPU and APU(check integrity at boot, RSA+SHA-1) and can access HTC Partition.

But radio s-off routine(on amss,arm9) check on special sim card

That's why XTC-Clip is needed.

5.Unlock, relock function is located on OEMSBL(radio bootloader, ARM9)

Unlock function is worked on s-on While relock function not(only worked radio s-off)

6.Engineering bootloader(also blackrose) doesn't check radio secuflag, only hboot flag(stored MISC Partition, default value is off)

That's why you can achieve S-OFF

(In other words, when you revert stock hboot, security will be ON)

7.To install blackrose, there is NO need to unlock the bootloader

8.if you failed to install blackrose with unlocked method, try to locked method(select 'NO' when you are asked the question, "is your device unlocked?")

One more question:

With radio S-off via XTC Clip, do you think we'll be able to downgrade the radio?
[Nexus One Android Development] efrant:
Look, S-OFF means that secu_flag=0. When you are S-OFF, you can re-lock the bootloader. Yes, the secu_flag is stored in the radio NVRAM

You do not need S-OFF to flash a new radio. You can easily do it using fastboot, recovery or flash_image.
[Nexus One Android Development] taney:
Thank you.
[Nexus One Android Development] SiNJiN76:
@ efrant or anybody that can answer =)

Okay...after step 4....Fastboot boot go.lol - the phone reboots and goes into the Big X screen...for how long?

EDIT: Nevermind...it seems that the Black X screen was just masking the fastboot screen.
[Nexus One Android Development] lim_ryan:
any step by step how to install blackrose?

can i flash? like normal rom?
[Nexus One Android Development] SiNJiN76:
2 pages back...post 614.
[Nexus One Android Development] lim_ryan:
Ok, auto install blackrose, how to confirm if my partition work?

i flash ics p4 but wont start, keep reboot back clockworkmod
[Nexus One Android Development] fegato:
broken volume buttons + working power button

hi!

now I'm in a strange situation..

I've repaired my power button but I broke my volume :p

so is there a way to modify hboot

to have it working in this situation

for example having:

- power button to select next menu item

- and trackball to activate it.

Is it possible?

thankyou!
[Nexus One Android Development] :
did you fastboot the ics custom partition before flashing rom

your hboot type/number will show in bootloader and you can customize hboots with splhexeditor
[Nexus One Android Development] :
mmmm i need some help.

I just installed blackrose. no probs to install it... but now the n1 doesnt start. it stays on the big X screen. the only thing i can do is boot in fastboot but when i try to look for the device in adb (adb devices) is not there... so i can't do anything.

any idea?

if i use the command fastboot devices it sais that is connected, but not with adb...
[Nexus One Android Development] blackcell1:
same here :( i didnt use the custom hboot of the texas ics topic, iv just used the latest blackrose update from this page... my bootscreen says

stock-145/95/186

nexusone pvt eng s-off

hboot-7.35.5017 (pb9910000)

microp-0b15

touch panel-synt0103

radio-5.12.00.08

do i have to use the custom hboot ?
[Nexus One Android Development] bassmadrigal:
adb isn't stated up until you get to recovery. You have to use fastboot to flash or boot a recovery image.

fastboot flash recovery "c:\location\to\recovery.img"
-----or------
fastboot boot recovery "c:\location\to\recovery.img"

From recovery, you can wipe whatever is needed and reflash your ROM of choice.
[Nexus One Android Development] :
you have the stock blackrose evidenced by the 5017--need to fastboot texasice's hboot from op page
[Nexus One Android Development] seanowns:
Seemingly fixed issue. Related to a broken power button... Solved for now.
[Nexus One Android Development] CheapTrikz:
i keep getting this

http://img560.imageshack.us/img560/1907/112ta.jpg
[Nexus One Android Development] :
CheapTrikz

What is "boat" and why are you pushing images?
[Nexus One Android Development] CheapTrikz:
i have no idea :(.....i took the blackrose zip from the first page and unzip and started BlackRose.exe.

I dont know if this helps but i am using the miniskirt ics.
[Nexus One Android Development] nealed:
Don't know for sure, but the message "not a 2.2 / 2.3 android" probably means that you need a froyo or GB ROM to use blackrose 0 and you seem to be using a 4.0 android (ICS miniskirt) so you should flash a Froyo / GB ROM first and try again.
[Nexus One Android Development] :
yes,

nealed may be right

I would wipe and flash a cm7 rom then follow Blackrose OP Page Requirements to the letter--
[Nexus One Android Development] efrant:
Is your bootloader unlocked? If not, why not?

The Nexus One is a developer phone that comes with an unlockable bootloader. Unlocking is simple and painless. If you already have root, you can back up everything an reflash it once you unlock. I don't understand why you would go through the hassle of trying to get things to work without unlocking, when things are extremely simple with an unlocked bootloader. (And please, don't pull out the warranty card, as it has been demonstrated numerous times that HTC will honor the warranty even if your bootloader is unlocked.)

If you unlock your bootloader, these are the very simple steps you need to follow.

EDIT:

P.S. Zerg Rush cannot root ICS, which is what Blackrose is trying to do... Moreover, based on the image you posted, it seems like there maybe some inconsistencies in the naming of directories that the Blackrose executable uses. (I think dla5244 said he would eventually fix that.)
[Nexus One Android Development] :
we should sticky your link efrant--you have posted it enough times in thread

i did note for fyi--as you mentioned--the latest version has go2.lol for fastboot purposes
[Nexus One Android Development] efrant:
:)

I wish dla5244 stuck with using a script instead of compiling a binary. That way, people could open the script with a text editor and see what Blackrose is actually doing, and maybe they would understand it a bit better. With an unlocked bootloader, it is pretty straightforward: we are trying to flash an unsigned bootloader image to our devices. Since our devices are S-ON (for most of the people here), the existing bootloader will not allow the flashing, unlocked or not. However, dla5244 has come up with an exploit that, when running, will allow flashing of unsigned images to any partition. So, by booting the exploit, we can flash the unsigned bootloader (which, in this case, is based off the engineering bootloader, giving us additional functionality). It's the same principle with a locked bootloader, but more complicated, as you need to have root and use a utility called flash_image because you cannot fastboot flash...

P.S. Thanks for the fyi.
[Nexus One Android Development] :
welcome,

good info as usual

dla5244 has an ingenious method for sure

i do prefer sdk/unlocked bootloader/fastboot over the other methods

you helped me a lot to get over being lazy on adb/fastboot and now i am fairly good at it, with a lot still to learn. but, i read these threads front to back before i start diving in to new stuff

too many people wanting the quick route w/o wanting to learn why
[Nexus One Android Development] efrant:
Exactly.

In the words of kyphur, it's about understanding the journey.
[Nexus One Android Development] :
ditto

excellent link--thoughtful words

but, I must be from the wrong part of the world or the wrong generation--what the heck is "Kewl bit of kit"

I actually "searched" and think it has to do with getting one better on your neighbor

Nice photo in this link by Will

http://xdaforums.com/showthread.php?t=1196463

I better get back on topic though--:)
[Nexus One Android Development] dla5244:
If you stuck <waiting for device>

I'm sure the problem is fastboot usb driver

Check your fastboot usb driver.

ps.you don't need unlock the bootloader and have root permission.
[Nexus One Android Development] :
This is the coolest utility I have ever seen dla5244,

Giving everyone unlocked or not the opportunity to resize and flash these new roms--:)
[Nexus One Android Development] YamiHoshi:
This might been asked already (not that I can find on Google), but can I install Blackrose through ROM Manager too?

I can't do the Fastboot method, because my phone's Power Button is dead.

Besides, I'm a Mac gal.
[Nexus One Android Development] dla5244:
you can enter fastboot mode by using adb

adb reboot bootloader
[Nexus One Android Development] Theshawty:
I think this is right:

adb reboot-bootloader
[Nexus One Android Development] :
I don't think you need hyphen in adb just fastboot, may be wrong--or may not matter
[Nexus One Android Development] efrant:
Both ways work:

adb reboot-bootloader

or

adb reboot bootloader

:)
[Nexus One Android Development] j00m:
or use android commander, it has button for that.
[Nexus One Android Development] ultraviolet74:
Can I install Blackrose without loosing changes on current ROM or

do I have to reinstall all?

;)
[Nexus One Android Development] oligambit:
If you don't change the partitions, you don't have to reflash your rom. But make a nanbroid backup before to be sure.
[Nexus One Android Development] iakeco:
Is there anywhere on this form where there is more help to install blackrose on with Ubuntu
[Nexus One Android Development] efrant:
http://xdaforums.com/showpost.php?p=20990787&postcount=649
[Nexus One Android Development] iakeco:
Thanks will I will check it out

---------- Post added at 06:38 PM ---------- Previous post was at 06:29 PM ----------

I'm in fastboot on my N1 and its plugged in my computer. Where do I "Type fastboot devices to make sure your computer sees your device;"
[Nexus One Android Development] efrant:
How about in a terminal window? If you are asking this question, I would suggest you do some more reading, but hey, don't take my advice if you don't want...

Obviously fastboot commands won't work if you do not have one of the following two: 1) the SDK set up properly, or 2) the fastboot binary downloaded.
[Nexus One Android Development] iakeco:
I've been reading this form, about 50 pages, trying to figure this out and I'm not an expert, but I'm willing to try. Every bit of information helps. Thank You
[Nexus One Android Development] efrant:
Extract the files in the attachment to a directory on your computer. Add the go.lol and blackrose-hboot files into the same directory. Then open a terminal window in that directory.
[Nexus One Android Development] iakeco:
I see some of the files are .exe, I am using Ubuntu and I do not have a windows PC
[Nexus One Android Development] efrant:
Can you not just ignore them? I put both the windows and linux files in the zip...
[Nexus One Android Development] iakeco:
Thanks, I saw the .exe and assumed it was a windows document
[Nexus One Android Development] jkbhso3:
Keep I've looked through this thread and couldn't find a definitive answer. If I flash blackrose could I still have CM7? I'm trying to free up space for my nexus one. Seems like a daily thing when it says low on phone storage. Thanks for the help and hopefully quick reply.

Unintentionally sent from my Nexus One using xda premium.
[Nexus One Android Development] :
Blackrose is just the hboot itself

But thru BlackroseEditor or splhexeditor you can verify or change your partition sizes to suit the rom

I think the basic install of BR leaves you with the same sizes you had, so CM7 will be no issue

Ken
[Nexus One Android Development] jkbhso3:
k so if i were to change the partition sizes could i end up with more "user memory"? im constantly at 20 or so MB left and just last night my phone decided that it doesnt want anything to do with my sdcard which is were i was storing 80% of my apps. it works with any other sdcard and the one it doesnt like works in other phones and on the pc. so id much rather have extra space for those apps on the phone memory itself so i dont run into this problem again. just until i get my new phone.
[Nexus One Android Development] :
check what your sizes are with the splhexeditor. you could decrease cache and increase data. don't think you need more than 50mb for cache, some use a lot less and I am currently using 12mb on CM7 Nightly. But, I think I read you may need the 50 for some apps.

Did you delete unneeded System Apps with Root Explorer and move dalvik cache to sdext.

Maybe reformat and partition your sdcard with sdformatter
[Nexus One Android Development] jkbhso3:
I removed unneeded apps and such. I've tried moving the dalvik but I must be doing something wrong cuz everytime I do it causes bootloops. So I end up nandroiding back. What would you recommend my partition table be?

Unintentionally sent from my Nexus One using xda premium.