yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] efrant:
There is no need really to install the SDK. If you are already using adb and fastboot, the SDK won't give you anything more.

One question: did you extract the files you are using? What I'm asking is: you are not trying to run binaries from with some sort of archive, like a zip are you?
[Nexus One Android Development] brandontamas:
i tried those commands and put those file in the folder with fastboot and it did not work i think the problem is that its protected cuase i keep that and i try to put every password i could put but nothing.
[Nexus One Android Development] :
i don't know anything about passwords with using fastboot

are you sure you are changing directories correctly to get to the folder with fastboot

thanks for helping efrant, based on screenshots and posts do you think he has sdk setup and drivers installed

once to that point i thought fastbooting a new hboot would resolve the problem on first screenshot--may be wrong
[Nexus One Android Development] brandontamas:
yea i have everything good just the hboot password i guess i put on ill just wait till he releases a new version maybe hell put something to help me.
[Nexus One Android Development] :
ok i understand now

that problem is talked about in thread. efrant and taodan had some posts

dla5244 mentions it in OP, so maybe a solution, not sure

his latest version in OP 120421 is the one that mentions it

it may have just been posted

maybe you can fastboot the go2.lol and hboot from there from there, don't know

so you can type fastboot devices and see phone now--:confused:
[Nexus One Android Development] brandontamas:
yea i read about that but i guess i put a 2nd pass but it doesnt work.
[Nexus One Android Development] yogibogi:
newbie...

do i need to install this in recovery mode ?

can i install this with locked bootloader ?

thanks
[Nexus One Android Development] n1newbie:
No this cant be flashed in recovery. its a custom bootloader which allows you to alter partition sizes of /system, /cache, /data

yes this can be installed wid locked bootloader.

go thru the videos in the first page and read carefully before applying blackrose.
[Nexus One Android Development] efrant:
Once you have a version of Blackrose already installed on your device, you should be able to package up any subsequent hboot you want to flash in a CWM-flashable format, and you should be able to flash it in recovery.
[Nexus One Android Development] n1newbie:
thanx for clarifying efrant :) so after installing blackrose, then a. nb0 file can be flashed via recovery in a zip format?

but i suppose yogibogi was asking abt installing it for the first time via recovery :)
[Nexus One Android Development] yogibogi:
yes i did

thanks
[Nexus One Android Development] Atento:
Hello guys,

I'm quite desperate :)

Here is step-by-step what I did:

1) I installed blackrose.

2) S-OFF

3) Then I followed this video http://www.youtube.com/watch?v=ScIMetgk7Zw to resize partitions.

Here started my problems. It booted into hboot and I tried to access the recovery (amonra) and it stucked at X logo. Now I can't boot the ROM because the partition layout is messed and can't access the recovery to install another rom. What can I do?

EDIT: I've just flashed recovery again and everything is fine now. Thank you!
[Nexus One Android Development] taodan:
After you resized the partition, you need to flash via fastboot the .nb0 file that blackrose created. Look for the file that has the file name something like "hboot_brcust.nb0" in the blackrose folder or fastboot folder.
[Nexus One Android Development] :
I was just going to suggest that, for some reason a lot people are losing recovery, including me. Not sure why. Mine happened when I was on amon, no issues 4ext recovery so far. This is a good reason for folks to have fastboot working on their pc and know how to use it.

Glad you got it Atento
[Nexus One Android Development] efrant:
Yeah, I would re-flash the recovery after EVERY change in partition sizes. You will have less screw-ups that way.

If I remember correctly, dla5244 even said that in one of his posts.
[Nexus One Android Development] shawe_ewahs:
A friend was flashed BlackRose hboot on a HTC Desire, the flash was successfully do it, without checking if the device was or not compatible...

Now fastboot partially works, but he can't flash another hboot, always appear the message:

sending 'hboot' (512 KB)...
OKAY [ 0.094s]
writing 'hboot'...
FAILED (remote: image update error)

If I try to flash a PB99IMG.zip (like PASSIMG.zip) says:

INFOchecking model ID...
INFOstart image[hboot] unzipping & flush
FAILED (remote: partition update fail)

If I do "fastboot getvar all" says:

INFOashed: 0.5
INFOversion-bootloader: 7.35.5117
INFOversion-baseband: 5.17.05.23
INFOversion-cpld: None
INFOversion-microp: 051d
INFOversion-main:
INFOserialno: 123456789012
INFOproduct: bravo
INFOplatform: HBOOT-8x50
INFOmodelid: PB992****
INFOcidnum: ORANG309
INFObattery-status: good
INFObattery-voltage: 4182mV
INFOpartition-layout: Generic
INFOsecurity: off

From version-bootloader you can see that is the booloader from BlackRose, and also from serialno, but this isn't for the bravo device.

The internal memory seems to corrupted (different partitions that real for bravo), and I can't flash the correct hboot because now it is checking the model ID and bravo isn't working.

Is there anyway for try to solve it? I think that a modified original hboot for bravo identified like passion can be a bypass for solve this issue and complete the hboot flash successfully.

EDIT: I do this:

fastboot -c "mtdparts=msm_nand:0x03e20000@0x00000000(radio),0x000c0000@0x03e20000(hboot),0x000e0000@0x03ee0000(sp2),0x000c0000@0x03fc0000(mfg),0x00120000@0x04080000(sp1),0x000a0000@0x041a0000(wifi),0x000a0000@0x1ff60000(misc),0x00480000@0x04240000(recovery),0x00300000@0x046c0000(boot),0x09600000@0x049c0000(system),0x00500000@0x0dfc0000(cache),0x11aa0000@0x0e4c0000(userdata)" boot recovery-clockwork-5.0.2.0-bravo.img

And from recovery can access to:

~ # cat /proc/mtd
cat /proc/mtd
dev: size erasesize name
mtd0: 03e20000 00040000 "radio"
mtd1: 000c0000 00040000 "hboot"
mtd2: 000e0000 00040000 "sp2"
mtd3: 000c0000 00040000 "mfg"
mtd4: 00120000 00040000 "sp1"
mtd5: 000a0000 00040000 "wifi"
mtd6: 000a0000 00040000 "misc"
mtd7: 00480000 00040000 "recovery"
mtd8: 00300000 00040000 "boot"
mtd9: 09600000 00040000 "system"

But I don't know how to write on hboot, using:

dd if=/sdcard/hboot.img of=/dev/block/mtdblock1
or
dd if=/sdcard/hboot.img of=/dev/mtd/mtd1

always give me error -1 and 0MB recorded.
[Nexus One Android Development] saulob:
- please delete my msg -
[Nexus One Android Development] Atento:
Just for information, it's not needed. When you create custom partition, Blackrose flash it automatically. I've just tested right now.

Anyway, thank you for trying to help me!
[Nexus One Android Development] n1newbie:
guys good news.. xda member JOELSHAWDOW has found a way to alter partition sizes by flashing hboot via recovery after u hv installed blackrose. for more info

http://xdaforums.com/showthread.php?t=1637166
[Nexus One Android Development] efrant:
Wanna know an easy way to do it yourself? Just download the stock 0.35 hboot zip, open up with 7zip and replace the hboot file inside with whichever hboot that you created, and bam, a CWM flashable hboot. (Assuming you already have Blackrose installed of course.) ;)
[Nexus One Android Development] n1newbie:
hi efrant,thanx for ur easy "how to" :) u r awesome bro :thumbup:
[Nexus One Android Development] Crowmaster:
hello guys, im trying to flash blackrose on my N1 and i just want to be sure that im good to go. This is what i have:

unlocked N1,

s-on,

hboot: 0.35.0017,

radio: 5.12.00.08.

clockwork recovery
[Nexus One Android Development] tommert38:
You only have to have working adb and fastboot.

I believe this is included in the zip.
[Nexus One Android Development] methadron:
solved
[Nexus One Android Development] a_sty2007:
Deleted.....
[Nexus One Android Development] mjybarr:
Right now my device is S-ON with 4ext Recovery installed and currently running CM 7.2. If I just run these 2 commands and not use the Blackrose installer, will I achieve S-OFF and get BlackRose installed? The nb0 came from the "blackrose_120421.zip" found on the 1st page.

1.fastboot flash hboot hboot_blackrose.nb0

2.fastboot reboot-bootloader

Thanks in advanced
[Nexus One Android Development] vimitake:
Good to go.

Sent from my Nexus One
[Nexus One Android Development] n1newbie:
nooooo.... u cant run those two commands without installing black rose. only by installing blackrose ull get S-OFF...
[Nexus One Android Development] mjybarr:
Dang it okay...that's what I thought. I am having a hard time getting adb to recognize my device. Terminal keeps telling me my adb is out of date when I run the blackrose.exe. I'm updating sdk and adb right now. Once finish, gonna see if adb works. Also I did update my HTC drivers as well.

meXdroidMod Fried IceCream 3 Final
[Nexus One Android Development] efrant:
You can, but you are missing one command (assuming you are on the 0.35 hboot):

1. fastboot boot go35.lol

2. fastboot flash hboot hboot_blackrose.nb0

3. fastboot reboot-bootloader

The go35.lol file is located in the attachment in the first post.

---------- Post added at 03:28 PM ---------- Previous post was at 03:27 PM ----------

Not really correct. You can flash Blackrose manually without using the executable that dla5244 created. See above.
[Nexus One Android Development] mjybarr:
Thanks. I will give this a try. Also I will see what hboot I currently have. Just out of curiosity what does go35.lol do when I run it?

meXdroidMod Fried IceCream 3 Final
[Nexus One Android Development] martijnn2:
totally stuck on getting s-off blackrose

blackrose.exe wont work

* Waiting for device...

* Getting device information...

0 KB/s (2 bytes in 0.010s)

0 KB/s (6 bytes in 0.010s)

0 KB/s (10 bytes in 0.020s)

0 KB/s (1 bytes in 0.010s)

* Installing BlackRose

1526 KB/s (4194304 bytes in 2.682

425 KB/s (26172 bytes in 0.060s)

800 KB/s (131072 bytes in 0.160s)

< waiting for device >

sending 'recovery' (4096 KB)...

FAILED (remote: not allowed)

finished. total time: 0.000s

sending 'hboot' (512 KB)...

FAILED (data size too large)

finished. total time: 0.003s

rebooting into bootloader...

trough fastboot i get the message

remote:not allowed

pffffffffffffffffffff :confused::eek:
[Nexus One Android Development] taodan:
Do you have fastboot and adb installed? Check to making sure that it recognizes your device before running blackrose. And is your N1's bootloader unlocked?
[Nexus One Android Development] n1newbie:
bootloader doesnt necessarily need to be unlocked for installing blackrose.

1.have u enabled USB debugging?

2.u need to run blackrose.exe while ur fone is booted normally(not in recovery or bootloader)

3. as TAODAN said make sure that drivers are installed and ur system recognises ur fone in adb and fastboot :)
[Nexus One Android Development] martijnn2:
a night sleeping did well ;)

got it yeaahhhh :D
[Nexus One Android Development] schahr01:
I took my nexus one out of the box after a long time in the drawer because I missed it :)

Currently have it running a CM7 nightly from Oct 2011 w/ hboot 0.35.0017 S-ON

Do I need to first swap out the hboot w/ blackrose before looking into CM9 or AOKP?

Given that this has been out for some time now, how risky is it? I don't want to brick my phone but I do want to install the latest... balance the risk I guess.
[Nexus One Android Development] taodan:
It is safe to flash hboot blackrose as long as you follow the instructions. If you don't want to take the risk, don't try it at home :)
[Nexus One Android Development] schahr01:
Thanks - Installed it OK last night, along w/ 4 ext recovery. I'm all set for AOKP and ICS. Now to find a relatively stable ROM :)
[Nexus One Android Development] denteno:
I reboot my device to fastboot "white wallpaper " .. connected the USB .. windows recognize the device .. start the blackrose .. keeps telling me waiting for device !!!

What's wrong ?

*usb debugging is ON

Another question .. do I have to install 4ext recovery before all this ? I'm currently on AmonRa recovery

Sent from my Nexus One
[Nexus One Android Development] efrant:
Start your device normally, not in fastboot.
[Nexus One Android Development] tommert38:
1. You should execute BlackRose while your phone is booted into the ROM you're running. BlackRose will reboot automatically into the bootloader.

2. If you want to install 4EXT with the 4EXT Recovery Control app, then you should install it first. If you want to install with fastboot you can do it before or after installing BlackRose.
[Nexus One Android Development] dimiboy:
can someone re upload it please?

the zip is corrupted and i tried on 2 PC's and my phone
[Nexus One Android Development] tommert38:
Try this one.:)
[Nexus One Android Development] efrant:
The zip in the first post is NOT corrupt. I just verified. You are doing something wrong. Try turning off your anti-virus software.
[Nexus One Android Development] masantula:
I'm stuck and need some help, i had installed Blackrose before and had partitioned my system to 220mb for a rom and now i need to repartition it to 250mb, its the same pc, adb is installed and so are the drivers and phone also in debugging mode but this is the error i get(see attached picture) any help on what could be the issue? The app starts and after this message the window disappears

Thanks :)
[Nexus One Android Development] taodan:
Which version of blackrose you had before? On the first page it has instructions if you have older version then do this:

*.Those who using older version custom BlackRose(eg.111231), Since older version can't communicate with BlackRose installer so you need to follow my direction.

Once you follow my direction, you no need to do this later

1.customize same as previous partition layout using BlackRose editor(view "execute BREditor")

2.fastboot flash hboot hboot_brcust.nb0

3.fastboot reboot

Or you can check out this thread http://xdaforums.com/showthread.php?t=1637166 where it has some pre-made HBOOT that you can flash as a zip file via recovery
[Nexus One Android Development] masantula:
I had version 120421 before and i am using the same to resize.

And my phone can be recognized via fastboot when i do fastboot devices (if this info helps) and i am running windows 7 32bit
[Nexus One Android Development] taodan:
If you want to resize, just use the BReditor standalone and resize to the size that you want. View this video clip for procedure: http://www.youtube.com/watch?v=FSbSL4kUloQ
[Nexus One Android Development] dimiboy:
it was.

but the link that tommert38 gave looks ok.
[Nexus One Android Development] masantula:
Thanks man, will use the standalone editor and hope it works, otherwise the link you gave me for ready made Hboot partition also looks like an option, you just gave me 2 ways to solve this. Thanks, will let you know if it worked. :)

EDIT1:

I tried using the editor and it worked, thanks :)

But now i reboot phone and its stuck on the X screen, nothing more..will just try flashing the New Rom i wanted and hopefully it will boot normally..

EDIT2:

Flashed new ROM and everything working great..No problems anymore :)
[Nexus One Android Development] dla5244:
have you updated radio(at least once)?

As far as i know radio secuflag is reset when radio update.

check your radio secuflag, maybe not 0(locked)

su

stop ril-daemon

cat /dev/smd0 &

echo -e 'AT@SIMLOCK?AA' > /dev/smd0 (keep typing even hide '#')

Just curious, I look forward to dumped 0.35.2017 :D

fastboot oem saveprt2sd hboot hboot.bin -a

check your sdcard.

In advance, thank you. :)
[Nexus One Android Development] efrant:
I look forward to what you can do with the dumped 0.35.2017 dla5244!!! :)
[Nexus One Android Development] taney:
Thank you, dla5244! This is really impressive work. Keep it up! (=
[Nexus One Android Development] MaDInDy:
Hi, dla5244

I use SLCD Nexus One and MICROP 0c15.

Can I install Blackrose on my N1 ?

Thx.
[Nexus One Android Development] dla5244:
Yes, you can install blackrose.

Just don't flash microp(microp image(0b15) is included in some update package)
[Nexus One Android Development] sl8125:
hey dla5244,

i successfully completed the blackrose s-off.

i converted your nbo file to the partition i wanted. however, when fastboot flashing on adb i get an error message that it can not be loaded. is there a step i am missing on the installation of the new hboot. how different is nb0 file from img file. i thought img file was needed to flash the hboot image.

Thanks in advance.
[Nexus One Android Development] jrsoft:
I mistakenly flashing a picture MICROP 0b15 with SLCD. :D

Could you extract the image of a terminal 0c15 and flash again to solve the problem?
[Nexus One Android Development] dla5244:
unfortunately, I can't dump MICROP Image now.

maybe due to nand-lock or in eeprom(not nand).

It seems to more analysis hboot

(I found that microp communicate by I2C)

sorry.
[Nexus One Android Development] dla5244:
extention is not important

ex) hboot.img = hboot.nb0

the result is same. :)

I suggest to try another PC or change fastboot and hboot image path
[Nexus One Android Development] maxib123:
how does one go about checking if they have radio s-off?
[Nexus One Android Development] blunden:
It would say S-OFF without any form of modified hboot and it would be persistent across any hboot upgrade.

You can also try the following commands:

su

stop ril-daemon

cat /dev/smd0 &

echo -e 'AT@SIMLOCK?AA' > /dev/smd0 (keep typing even hide '#')
[Nexus One Android Development] sl8125:
Thanks dude. I just renamed the file it worked.
[Nexus One Android Development] heywtf:
Nice new splash1 thanks to Blackrose, much appreciated.
[Nexus One Android Development] MaDInDy:
Now, I installed Blackrose S-OFF on my n1 :D

My N1 still on Blackrose HBOOT-5.35.3017

Thx, dla5244 :D
[Nexus One Android Development] MaDInDy:
Hey, Guys :D

What is the best partition table size for MIUI D2EXT ?

I use QND MIUI D2EXT on FAT32 + EXT4 1.5 GB.

Thx, Guys
[Nexus One Android Development] PhaseBurn:
*whistles innocently*
[Nexus One Android Development] efrant:
So, the question is now: What do we have to do (or actually, what magic will dla5244 do) to be able to flash it over a stock 0.35.0017 using Blackrose?
[Nexus One Android Development] PhaseBurn:
You are incorrect. The radio secuflag is maintained even across radio upgrades.

Additionally, my phone is S-OFF but not unlocked - I never unlocked it, since I never had to. I was told (by somebody intimately familiar with the development of the phone) that if I were to unlock it, it would be permanent, as the OEM LOCK command is not implemented in a way that can be arbitrarily executed. AKA, it does nothing. So unless you have a way to toggle the secuflag in nvram directly using another method, you're up a creek for locking the phone again. It can not be done using the engineering hboot, even with S-OFF, because the engineering hboot doesn't implement OEM LOCK either.
[Nexus One Android Development] efrant:
I don't understand why the engineering hboot would be different. the "oem lock" command works fine on shipped hboot's that have S-OFF.
[Nexus One Android Development] PhaseBurn:
Maybe I'm wrong, but it's not supposed to. Either that, or you're thinking of the Nexus S (on which OEM LOCK does work just fine). I know too many people who have run OEM UNLOCK on their phones (including those with hboot 0.35.2017) who were unable to lock it once again to get rid of that stupid unlock symbol at boot.

One specific case was that a friend of mine had a non-holiday N1 he bought, ran OEM UNLOCK on it, and then installed the engineering SPL on it. He was still unable to lock it even with that. Now, I don't know if he ever truly achieved S-OFF or he just flashed the engineering hboot, but I verified myself he wasn't able to OEM LOCK the device.
[Nexus One Android Development] Rafase282:
Hello

I'm trying to do this on linux and I'm stuck at waiting for device after it installs the initial install.

Also would I still be able to flash regular roms that does not require the resize after I resize it?

I'm planing on running a base rom probably cm7.2 rc3 and then use the multiboot app to install ICS and miui roms for testing.

For ics I need this but not for cm, so would this give me issues with cm?
[Nexus One Android Development] crashtua:
How to get version of installed blackrose?
[Nexus One Android Development] tommert38:
Reboot into bootloader and look at the date.
[Nexus One Android Development] CrustyMcLovin:
Instructions are on the first page of this thread.

As far as my testing went, this didn't work. I suspect that you'll need to resize back to the stock partitions before flashing a GB rom.
[Nexus One Android Development] Rafase282:
I have been trying and I think the best way is to flash the zip from another thread here thast has the partition tables for ics, the one you would use for miui, that one made cm7 boot from rom1, so my hypothesis is that you need the largest partition for system, then any other rom will also boot, also I select the option for the large boot.iimg not sure if that helps.

I'm currently testing.
[Nexus One Android Development] crashtua:
In bootloader date Dec 31 2011. Can i safely update to latest version?
[Nexus One Android Development] Iperzampem0:
Hi guys,

I'm using Windows 8 and I'm unable to update to the latest Blackrose... I have the February update. What can I do if I want to change partition sizes? I don't have the old .exe anymore.

Note that I have installed HTC Sync and the proper driver, but blackrose doesn't recognize my phone, neither with "-skip" command.

Thanks
[Nexus One Android Development] taodan:
Use the pre-made custom HBOOTs, they are in the development section.
[Nexus One Android Development] adio201:
I know this might be a dumb question but I'm following the steps how to install blackrose and I got it all down except the part where I'm suppose to execute blackrose editor can someone tell me how to do that place...also I know there is a video on YouTube but it dose not show how he got to that screen
[Nexus One Android Development] n1newbie:
navigate to the blackrose folder. nw SHIFT + RIGHT CLICK then choose "open command window here" . nw type BlackRose.exe editor

then follow the instructions from there on :)
[Nexus One Android Development] adio201:
OK thanks alot bud ...well now the problem I'm having is when the screen turns off it dose not turn back on I have to pull the battery out and that's the only way to make it work...but when I first install ICS it was working fin till the middle of the day when it started doing that
[Nexus One Android Development] Madflapjack:
that is a sleep of death OR sod .. :P

cant be the bootloader, is software related, maybe you are doing something wrong
[Nexus One Android Development] adio201:
Well I don't know what can it be but like I said it was fine right after I finish install blackrose then I install miui ics and it work fine around in the afternoon that's when it started doing that...but I never mess with the bootloader or anything after the first successful install
[Nexus One Android Development] taodan:
Which recovery do you currently use? Don't use cwm recovery and you might have to format the SD card if you different recovery.
[Nexus One Android Development] adio201:
Yeah I use cwm recovery
[Nexus One Android Development] taodan:
Use 4EXT or Amon RA recovery and don't forget to reformat your SD card with the new recovery.
[Nexus One Android Development] adio201:
OK and where can I get those two from?
[Nexus One Android Development] taodan:
They are in the Nexus One Android Development. Search for them. Personally, I have not used

4EXT so don't know all the features.
[Nexus One Android Development] n1newbie:
www.4ext.net
[Nexus One Android Development] adio201:
So I can just download this directly to my phone and flash it without a need of a computer? ?
[Nexus One Android Development] taodan:
Read and follow the instructions :-)
[Nexus One Android Development] adio201:
Lol thanks I just went for it and it works like a charm...plus it looks way better then CWM