yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] mtw4991:
Question: I have the AMOLED N1 with Hboot 0.35.0017, Microp 0b15 and radio v.5.12.00.08 and using Amon_Ra recovery. All I have to do is run the blackrose_111128.zip in recovery and achieve S-OFF? Do I have to use CWM 5.x.x? From what I gather, a2sd/d2sd isn't compatible with this? Thx in advance :)
[Nexus One Android Development] :
mtw4991,

just dl the blackrose_111128.zip (blackrose installer) and extract it and with phone connected in debuging, just open and follow prompts in br installer command window. You then have BR and s-off

Then you can dl the custom br's per OP page and adjust partition sizes accordingly with splhexeditor

I have used a2sd commands with this
[Nexus One Android Development] mtw4991:
Thanks Ken, didn't realize I don't need to flash in recovery, just extract it and run the BR executable...simple ;). Reason I ask is that in order to test ICS builds on the N1, I'll need larger partitions I believe. Also, this won't affect existing CM7.2 builds or data2sd, right?
[Nexus One Android Development] :
once you have br executable installed you can fastboot the latest br custom zip. the custom zip allows repartitioning

just dl it and extract to your sdk path folder and fastboot per instructions on OP page. i rename hboot_brcust.nb0 and copy to tools folder and resize partitions first per my rom requirements with splhexeditor
[Nexus One Android Development] amolji:
if i modify stock br hboot,resize partition and fastboot flash and again i want to go back to stock br hboot i should simply fastboot stock br hboot ?
[Nexus One Android Development] mtw4991:
Gotcha, thanks for the insight.

---------- Post added at 03:06 PM ---------- Previous post was at 02:50 PM ----------

EDIT: re-ran the installer and it worked this time. S-ENG-OFF \o/ :)
[Nexus One Android Development] :
ok great--was trying to think why it wouldn't

i don't use installer to update--doesn't seem to work for me last couple versions--just extract to tools and rename and fastboot--change partition size with editor if needed
[Nexus One Android Development] mtw4991:
No idea why it didn't work the first time, but the second time was fine, meh. Haven't used the splhexeditor before, so I'll look into that tomorrow. Just preparing for N1 ICS kangs and I know I'll need more partition space to run it! :eek:
[Nexus One Android Development] :
br is the future

i haven't worked up enough courage to try texasice's alpha rom yet :eek:
[Nexus One Android Development] mtw4991:
Haven't got that far either yet. Just got custom BR installed w/Hboot 7.35.5117.

The OP wasn't too clear to me, but this is what I did(already had 0.35.0017 btw). Hopefully it will clarify some things for people:

DL blackrose_111128.zip, hboot_brcust_111128.zip and splhexeditor.exe to Blackrose folder. Extract both zips to folder.

Turn debugging on, connect phone to windows pc normally, run blackrose.exe and follow prompts(had to do twice before it took). Hboot 7.35.5017 (stock BR) now installed.

Run splhexeditor.exe, select hboot_brcust_111128.nb0 and left the values at stock. Saved file output as hboot_brcust.nb0 and moved it to binary folder.

Ran blackrose.exe, select Advanced option, select Apply custom partition blackrose, follow prompts. Wiped cache (skipped the full wipe and update rom steps), reboot phone. Ran fix_permissions in terminal, reboot. #WIN

Blackrose custom Hboot 7.35.5117 now installed and no data/apps lost.
[Nexus One Android Development] :
good steps mtw4991

I have to fastboot mine, installer doesn't work for me--:confused:

just as easy though--:)
[Nexus One Android Development] dla5244:
Hi Guys!

I almost created password function.

As i said i break at least two week, please wait :D
[Nexus One Android Development] bimasakti85:
Errr two month or two week? :D

Sent from my Nexus One
[Nexus One Android Development] dla5244:
Oh, two week :)
[Nexus One Android Development] mtw4991:
Just a helpful FYI for those trying to change their bootup splash screen. I couldn't get it to work for the life of me, but finally figured it out :D Steps:

I created a c:\blackrose folder and extracted the nbimg.exe to it from the nbimg.zip file in the OP.

Take the image/picture (I'll use "yourpicturename") you want to use and convert it to a 480x800 .bmp image and save it to your c:\blackrose folder.

Using windows command prompt, cd\c:\blackrose. Then run the following commands.

c:\blackrose>nbimg.exe -F yourpicturename.bmp -n and hit enter

It will output a file called yourpicturename.bmp.nb to the blackrose folder and close itself.

Rename the file yourpicturename.bmp.nb to splash1.img and put it in your SDK Tools folder.

Change directory to your sdk. Ex. cd\c:\android-sdk-windows\tools

fastboot devices (make sure it's seen by pc)

fasboot flash splash1 splash1.img

Reboot and enjoy!

PS-anyone know where the Nexus One X splash screen resides? Can't find it, lol
[Nexus One Android Development] efrant:
Yes, it is stored in the splash1 partition. ;) Dump the partition and you will be able to extract the bmp

However, if you've already over written it with a custom splash image, the you need to get it from someone else.
[Nexus One Android Development] mtw4991:
Thanks efrant, but I'm no coder so I'm not sure where the splash1 partition is :o

Can I get to it using root explorer? btw, haven't written over it...yet:)
[Nexus One Android Development] avgjoemomma:
Wow! I'm in awe. This is going to be so sweet. Once you have that version up, we need to get this posted on XDA news and some Android blogs. They're going to be so jealous :p
[Nexus One Android Development] efrant:
No, you can't get to it using root explorer. You have to dump the partition. Use

fastboot oem saveprt2sd sp1 sp1.bin

That will generate a partition image.

Rename it to splash1.nb and then use:

nbimg.exe -F splash1.nb -n

That should create the bitmap.
[Nexus One Android Development] mtw4991:
Suh Weet man! thanks for the help. now I can play with it some and return it "stock" splash!
[Nexus One Android Development] efrant:
If you were just planning on restoring it, no need to go throught all those steps. Once you dump the partition (using fastboot oem saveprt2sd sp1 sp1.bin), you can then re-flash it as is whenever you want (using fastboot flash splash1 sp1.bin). No need to do anything else.
[Nexus One Android Development] mtw4991:
Efrant, getting the following when I run the commands you gave me. If it is saving to the sdcard, I can't find it. Looks like it is timing out and failing??

C:\android-sdk-windows\tools>fastboot oem saveprt2sd splash1 splash1.img -a

...

(bootloader) SaveImageToSD partition file name:splash1

(bootloader) SaveImageToSD output file name:splash1.bin

(bootloader) Cmd5 CMD_TIMEOUT

(bootloader) sdcc_poll_status(): i=15

(bootloader) Cmd5 polling status timed out

(bootloader) SD: CMD5 fail, rc=2 ..

(bootloader) SD 2.0

(bootloader) HC card

OKAY [ 1.096s]

finished. total time: 1.096s
[Nexus One Android Development] dla5244:
You don't worry about that.

That is normal :)
[Nexus One Android Development] efrant:
Your right. Let me look into it. (I seem to remember doing it that way, but I'll get back to you.)
[Nexus One Android Development] clustered:
any advice why i'm getting error when open the blackrose.exe file... it say "The application failed to initialize properly (0xc000007b)."

Hi,

I tried to flash it manually... getting verification error... :(

C:\ROMa\Modified HBOOT>fastboot.exe flash hboot hboot_blackrose.nb0

sending 'hboot' (512 KB)...

OKAY [ 0.094s]

writing 'hboot'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 0.234s
[Nexus One Android Development] dla5244:
Turn off any security program(temporary) and execute it.
[Nexus One Android Development] efrant:
Yeah, but it does not seem to be saving the image to the sdcard though..
[Nexus One Android Development] clustered:
I'm on S-ON and with 0.35 Hboot... had turn off security program, but still same... :( will try on other pc later... anyway... does any way to disable the signature check?
[Nexus One Android Development] dla5244:
Fastboot oem saveprt2sd sp1 sp1.bin :)

What is your current os?

You can disable that using installer only.
[Nexus One Android Development] clustered:
im using kang o rama right now... emmm... i will try to run blackrose on other pc later...
[Nexus One Android Development] dla5244:
It means PC OS :)

Next blackrose version will be fixed.

virus checking ploblem too.
[Nexus One Android Development] mtw4991:
Thanks dla, I'll try this now.

EDIT: Full of #WIN! worked like a charm :)

EDIT2: it outputs the file to sd with .bin extension. Should it be renamed sp1.img or splash1.img?
[Nexus One Android Development] efrant:
Attached is a zip of the stock splash image. Extract the image from the zip and flash it using fastboot flash splash1 splash1.img
[Nexus One Android Development] Signfang:
Is that possible to do a repartitioning on boot partition with blackrose?

texaice(OP of CM9 thread) said that resizing of boot partition maybe required soon.
[Nexus One Android Development] dla5244:
I don't think we must expand boot partition.

Because N1 Boot partition size is 3.5MB

Current boot.img size is 1.9MB

BCM4329 Kernel module size is about 219kb

It's sufficient regardless of kernel3.0

Maybe I'm wrong. :p
[Nexus One Android Development] avgjoemomma:
Ooooh new Blackrose version incoming:D

Just updated and whoo AWESOME job! The password feature worked! :D I just started a new job after being broke for these past few months. As soon as I get a few paychecks in you are having some soju on me;)
[Nexus One Android Development] szihs:
password ?

can someone guide me what i'm doing wrong..

i tried below steps

1)

fastboot oem brcmd pass ****
got the ... INFOEncrypted password [[COLOR="Red"]289157C7[/COLOR]]
OKAY

2) .

/BREditor
Nexus One BlackRose Editor
If you want resize partition, type [resize] and press enter key:resize
SYSTEM + CACHE + USERDATA = 436MB
system size(MB):175
cache size(MB):31
label name(20 char max):passion
system size:175MB cache size:31MB userdata size:230MB
label:passion
If you want password protection, type [password] and press enter key:[COLOR="Red"]289157C7[/COLOR]
Custom BlackRose([COLOR="SeaGreen"]hboot_brcust.nb0[/COLOR]) is saved in binary folder
Press enter key...

3)

./fastboot-l flash hboot ../binary[COLOR="SeaGreen"]/hboot_brcust.nb0 [/COLOR]
sending 'hboot' (512 KB)... OKAY
writing 'hboot'... OKAY

Now if i create another custom hboot binary (with dummy encrypted key), i can just repeat step 3. It flashes hboot succesffully again.

Isn't that supposed to check for custom hboot binary with password originally set in step 1??
[Nexus One Android Development] dla5244:
Right direction

If you want resize partition, type [resize] and press enter key:resize

If you want password protection, type [password] and press enter key:password

Your have a mistake, but it's my fault.

I will make it clear

EDIT: fixed, maybe It's definitely clear :)
[Nexus One Android Development] incredulous:
I wouldn't waste your time with the current ICS port. I appreciate the work going into it but it's too slow for our phones and you really can't do anything with it.
[Nexus One Android Development] dla5244:
For everyone

BlackRose 111208_2 has a bug(BREditor)

Please redownload BlackRose 111208_3

Everything is worked well :D
[Nexus One Android Development] szihs:
Thanks, works beautifully. So i can have 2 passwords used interchangeably. :) instead of S-ON.
[Nexus One Android Development] amolji:
Did you try alpha11? Its much smoother.almost with hwa but not real.texasice has almost got his hands on real hwa.just wait for few more daya foe a proper release.I am using ics port as a daily driver..without much problems and it works fine

Edit:Sorry for offtopic
[Nexus One Android Development] gregferns:
Hey,, can your ICS build scan and detect wifi access points??

Sorry for being off topic here..
[Nexus One Android Development] :
dla5244

installed latest br installer actually worked this time--i think I was having adb issues

it is the 12-8 but 5017--thought it was 5117 or was that the eng hboot--losing track of the numbers :)
[Nexus One Android Development] amolji:
Yes ics build alpha11 can scan or detect and connect successfully to wifi access points
[Nexus One Android Development] :
Oops saw OP page update--:o
[Nexus One Android Development] szihs:
1. Now that I created password protected custom HBoot it rejects any unauthorized access to fastboot method.

2. Further it doesn't boot into recovery mode, switches to boot loader.

3. I can though use flash_image to flash recovery. But its not useful as on reboot to recovery it again do step 2.

So does that mean that my device is secure to the extent that if someone doesn't have the password, he can't flash the device at all.?

It would be nice to see if booting can be password protected ?

thanks for blackrose
[Nexus One Android Development] dla5244:
Also in lock state, you can't update roms by using PASSIMG.zip method

About boot password

Suppose this situation we need to reboot but no pc(outside)

It's really inconvenient.

So I suggest installing lock app(on gingerbread).

ICS has a feature what encrypt data store.

maybe using this method, we can protect data when boot
[Nexus One Android Development] avgjoemomma:
Now all we need is an on screen keyboard (not touch, but you can select the keys using the trackball) so we can enter the password on the phone itself and not need a PC around :p
[Nexus One Android Development] kgp700:
Is it support cyanogenmod 7.1.0 stable?
[Nexus One Android Development] dla5244:
Korean

현재 넥서스원에서 돌아가는 모든 롬이 지원됩니다.

BlackRose의 기반이 되는 0.35.2017 부트로더는 0.35.0017과 같은뿌리입니다.

어떤롬은 되고 안되는건 파티션 레이아웃 때문인 것 같습니다.

English

Yes almost roms supported.

Because 0.35.2017(blackrose base) is same root 0.35.0017

Maybe incompatible partition layout is cause not booted in some roms.

Hmm...

Since I modify byte code level, not source code level

Maybe it's too hard to work(space problem, analyse problem)
[Nexus One Android Development] kgp700:
thank you answer
[Nexus One Android Development] imfloflo:
Try to avoid korean language here please.

Or translate your message in english too.

F.
[Nexus One Android Development] dla5244:
I will :)
[Nexus One Android Development] kgp700:
sorry

changed my post
[Nexus One Android Development] imfloflo:
Perfect.

As i just receive my Galaxy Nexus i'm gonna try your Hboot :)
[Nexus One Android Development] JokerAce:
You have just made it so easy and intuitive for users. A big thank you to you! The "memory out of space" problem has since long gone because of your work. Thank you so much!!
[Nexus One Android Development] gupta.keshav94:
I tried installing blackrose, and it completes w/o any errors. But when the phone auto reboots after completing, it still shows the old hboot and s-on..

What to do?

EDIT: After tring 3-4 times, eventually it has worked.. :p

Thanks!
[Nexus One Android Development] djmfxp:
nexus prime boot loader designed by ME ;)

nexus prime boot loader designed by ME :D
[Nexus One Android Development] nafeasonto:
Question . Do I have to flash a signed radio before flashing black rose? I want try the ICS CM Alpha
[Nexus One Android Development] dla5244:
No you can flash signed radio after install blackrose
[Nexus One Android Development] android_master:
getting "FAILED <remote: signature verify fail> error

---------- Post added at 04:02 PM ---------- Previous post was at 03:55 PM ----------

Hi guys! I'm trying to install this hboot without any luck... :(

* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT05DP801223	device

---------------------------------------------
Is your device listed?
1 Yes
2 No
Please make a decision:1

----------------------------
Nexus One BlackRose 111118
Made by Lecahel(XDA-dla5244)
Dok-Do belongs to KOREA
----------------------------
1 Install
2 Update
3 Uninstall
4 Advenced(BlackRose must be installed)
5 Quit
Please make a decision:1

----------------------------
Nexus One BlackRose 111118
Made by Lecahel(XDA-dla5244)
Dok-Do belongs to KOREA
----------------------------
Is your device unlocked?
1 Yes (Unlocked)
2 No (Locked)
3 Cancel
Please make a decision:1
Please wait...
< waiting for device >
downloading 'boot.img'... OKAY
booting... OKAY
sending 'hboot' (512 KB)... OKAY
writing 'hboot'... INFOsignature checking...
FAILED (remote: signature verify fail)
rebooting into bootloader... OKAY

BlackRose has been successfully installed if your HBOOT changed to 7.35.5XXX
Press enter key...

I've an unlocked Nexus One with hboot 0.35.0017, radio 5.12.00 and amoled screen.

I hope someone can help me! :)
[Nexus One Android Development] dla5244:
you need to download blackrose 111208_3 version
[Nexus One Android Development] Vovan888:
I have the same problem, using blackrose_111208_3.zip and after reboot hboot version is not changed - still 0.35.0017
[Nexus One Android Development] android_master:
i have downloaded the latest version but still getting this error

---------- Post added at 06:11 PM ---------- Previous post was at 06:11 PM ----------

how to solve this problem
[Nexus One Android Development] Javimoran:
I have a big problem: I'm trying to install the stock rom, but when i am in the bootloader and installing the passimg, it says to me that only blackrose can be flashed!!, and i cannot install the stock rom, how can i install other hboot?

SOLVED, I don't know how to delete a reply
[Nexus One Android Development] jrs007:
access /system on PC?????

hi, how I make to have access /system for the PC?:confused:
[Nexus One Android Development] juanchinho:
I think I found the problem with the "persistent" HBOOT 0.35.0017.

You can't lauch blackrose as superuser (sudo, or what ever). You must run it as a normal user. For that reason in your android udev file you shoud have two lines:

SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

The first one is for the normal mode of the Nexus One, with Google's idVendor. The second line is for fastboot. It seems the Nexus One has two device ids, having an extra HTC's idVendor for the fastboot mode.

Hope it helps :)
[Nexus One Android Development] dla5244:
hmm.

First of all, please install as lock method

(Select 'NO', when you are asked "Is your device unlocked?")

I will fix it next version

adb remount

adb shell

cd /system

you can access system partition using file command(ls, cp, rm, touch, etc...)

maybe this is off topic :D
[Nexus One Android Development] atoyu:
hi, may i know the partition size between blackrose.nb0 and stock.nb0 ??
[Nexus One Android Development] efrant:
dla5244,

Although this is slightly off-topic, I thought I would ask here instead of a pm:

1) Do you know how to dump the bootloader from a Samsung Galaxy Nexus?

2) Have you seen an engineering bootloader for the Samsung Galaxy Nexus?

3) Will your exploit (i.e., the go.lol exploit) allow flashing of a custom bootloader on a Galaxy Nexus?

Thanks.
[Nexus One Android Development] Vovan888:
Tip: How to install Blackrose custom Hboot to your Nexus One on Mac:

1. Install rEFIt

2. Reboot Mac two times

3. Use Unetbootin to create linux live usb, I use Parted Magic

4. Unpack Blackrose folder to the same Usb flash

5. Reboot Mac, choose Boot from Linux, what linux to boot

6. Use Disk Mount tool to mount USB flash drive

7. Start console, then mc, and then start blackrose installer from usb flash in /media/
[Nexus One Android Development] dla5244:
Both 145/95/186(system/cache/userdata) :)

1.You need to dump nand flash(start at 0x0 ~ ?)

0x0 is x-loader

offset end of x-loader is SBL

2.No.

3.I don't know, because i didn't disassemble Galaxy Nexus bootloder :)

I think Galaxy Nexus(OMAP4460) boot process is

Device Bootloader -> x-loader -> Second Bootloader(called bootloader) -> Kernel

If x-loader is signed itself and authenticate Second Bootloader at boot process, you can't boot custom bootloader until bypass TI secureboot chain

maybe bootloader.img is x-loader + Second Bootloader + etc
[Nexus One Android Development] efrant:
Thanks, but what is the command to dump? I would like to have an image of my current bootloader.
[Nexus One Android Development] Saphroxx:
When I wanted to update from 111208_3 to 111217 I first did:

- Edit blackrose to 150-5-281

- No password protection or anything

- Flashed hboot_brcust.nb0

Then flashed it on my phone, cleaned cache etc as usual and rebooted and got stuck on the X screen. I never had any issues before updating blackrose...

The very ONLY difference I did was set cache partition to 5, usually I took 60, so with cache partition set to 5 not working I decided to try again with cache set to 60 like I always did but this is ALSO not working. So now I can't use my phone anymore and decided to switch back to the old 111208_3 version, which to my surprise ALSO doesn't work. Now I'm totally lost again. Please advice.
[Nexus One Android Development] :
Mine hung on X too, I just pulled battery and ok

I am running texasice ics atm

My procedure was to execute the new br installer and install it thru command window as usual--reboot bootloader

it still showed the older br that was on phone with ics

I then took the hboot_blackrose.nb0 from new br binary--resized with splhexeditor to the ics sizes 220/16/200, saved and copied to tools and flashed

rebooted bootloader and had the new br with my correct sizes

I think the last reboot was were it hung, just pulled battery and all is well

You could try flashing the stock nb0 in binary and wiping and installing a fresh rom like cm7
[Nexus One Android Development] imfloflo:
You are juste using a live linux to use Linux Blackrose installer ?

I'm sure we can make a script to flash this directly on macosx as it's an UNIX os
[Nexus One Android Development] Saphroxx:
I also flashed the STOCK blackrose, which also didn't boot my ROM. I can paste here what I can see in the commandprompt after doing this:

- fastboot flash hboot hboot_brcust.nb0
- fastboot erase cache
- fastboot oem brcmd brec

then my phone reboots into recovery BUT with the following lines in commandprompt:

INFO0
INFO0
INFO0
INFO0
INFO0
INFO0
INFO0
INFOjump_to_kernel: machine_id(2304), tags_addr(0x20000100), ker
INFOnel_addr(0x20008000)
FAILED (status read failed (Too many links))
finished. total time: 13.672s

C:\Android\blackrose_111217\binary>

Seems like he's unable to read something from kernel? Can you please advice dla5244? I really don't want to wipe /system & /data as I just completely reinstalled everything and configured etc.
[Nexus One Android Development] :
well, I guess what I was saying was to flash a new rom, not your existing one after flashing the stock blackrose and wiping all including system 3X before flashing rom

check the stock blackrose with splhexeditor for correct sizes before fastboot flashing it--145/95/186
[Nexus One Android Development] dla5244:
I found why occur this problem.

problem is BlackRose Editor(total partition size - 2)

I will release fix version soon.

I really sorry... :(

Edit: Fixed

Unfortunately, once you faced stuck X screen caused by wrong partition

You need to full wipe.

if you reinstall rom(full wipe) on Custom Partition BlackRose 111217,

you need to backup and restore all when you upgrade 111217_2
[Nexus One Android Development] Saphroxx:
I completely wiped everything, flashed BR 111217 with 150-5-rest and installed & configured CM7.1 again, restored all apps etc. I'll test tomorrow if I can just backup/restore my ROM on BR 111217_2 (when I get up, I'm going to sleep now after 12hr shift at work).

Thanks for the prompt reply btw dla5244, that's what I call proper support.
[Nexus One Android Development] dla5244:
You need to follow this instruction :)

Only from 111217 to 111217_2

1.backup userdata partition

2.update blackrose(same previous partition layout)

3.boot recovery

4.restore userdata partition

5.reboot