yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] dla5244:
Sorry BREditor only works on windows or linux

To change hboot secuflag, BR must be installed. Check your hboot

On

Fastboot oem writeconfig 7 0

Off

Fastboot oem writeconfig 7 ff

Ok, I'll tell you that as soon as I can use PC :)

Edit: Offset 0xCC44

32 00 00 EA -> 03 00 A0 E3
[Nexus One Android Development] nEuDy:
@dla5244: great job! But one thing is a little bit irrtating or maybe a misstake? At your first thread you wrote "Custom Bootloader(Based on HBOOT 0.35.2017)"?? is this a mistake or do you mean HBOOT 0.35.0017??

Thanks :)
[Nexus One Android Development] tommert38:
If you would have read the whole thread, you would know that this is the engineering hboot ..
[Nexus One Android Development] bongholio:
how exactly do i install blackrose?
[Nexus One Android Development] :
It's thru out the thread, I would read and understand what it is and what it will do for you. Pages 16-35 have good info.

In a nutshell:

Complete ALL requirements on OP

Download zip and extract

Connect phone with debugging enabled, don't boot into bootloader or recovery

open Blackrose.exe from the extacted folder

follow prompts

you will then need to install a custom hboot for ICS roms from there OP
[Nexus One Android Development] alchemyst:
SO just to confirm (sorry!) - you need to install the stock Blackrose before you can install a custom one (i.e. one with resized partitions)?
[Nexus One Android Development] :
That is correct

You can resize with breditor, or I use splhexeditor then fastboot it
[Nexus One Android Development] bestofrhcp:
i may sound noobish, but with this engineering spl, i can still install previous GB roms other than than ICS correct?
[Nexus One Android Development] n1newbie:
Exactly :)
[Nexus One Android Development] ARieS_:
Any chance boot up the phone with trackball or volume key by custom hboot?

My power button is dead and it's sucks. :/

Sent from my Nexus One
[Nexus One Android Development] GabrielSousa:
can some one help me put s-off ?

i allways get this msg

(bootloader) [ERR] Command error !!!

EDIT: problem fixed
[Nexus One Android Development] den_breacker:
Is it possible to change partition sizes on a mac?

Since we don't need blackrose for the Miui.us 4.0.3, I want the old partition size back.

Flashing stock hboot doesn't work...

I do want to keep S-off
[Nexus One Android Development] :
What did you do to fix--haven't heard of that error before--
[Nexus One Android Development] GabrielSousa:
was the usb drivers...

did make on other pc
[Nexus One Android Development] Sultan of Speed:
Is there a BREditor for Mac OS X?

Edit: Sorry! I take back my question. Just read on page 77 that there is no BREditor for mac. :(

Thanks anyway...
[Nexus One Android Development] j0sh097:
I'm getting the following error when trying to install blackrose:

rm failed for /data/local/tmp/*, No such file or directory

Any ideas on how to fix?
[Nexus One Android Development] dla5244:
Fastboot flash hboot hboot_blackrose.nb0

Hboot_blackrose.nb0 is located in hboot folder

That's normal.

Don't worry :D
[Nexus One Android Development] den_breacker:
Aha, thanks !
[Nexus One Android Development] nisarg187:
Hello Please help!!!

I followed the Installation guide to install Blackrose.

But i am not able to install the the Medroid ICS ROM.

Trying to flash it using CWM and while its installing it says "Random Offset: oxfe"

Thanks
[Nexus One Android Development] zyr3x:
Good job
[Nexus One Android Development] Name?:
You mean 0.35.2017??? It would be great for all of us if you would upload this version.
[Nexus One Android Development] PhaseBurn:
Yes, I meant 0.35.2017. I need to grab my N1 off my desk at home, but I won't be back there till Tuesday night. I think it's 0.35.2017 and not 0.33.2017, I forgot they changed the middle version number a while ago. Either way, I know the ending 4 are 2017.
[Nexus One Android Development] exb0:
Time to trade my sensation for the n1 again. DADDYYY!

Sent from my Sensation
[Nexus One Android Development] cyberon:
Trying to repartition, but stuck on understanding the details on 2 post, can someone add an example! :D

Thanks

Ps: will i have to repartition every time i flash a new rom?
[Nexus One Android Development] intersectRaven:
Thanks for the more detailed instructions on the hex locations. I managed to throw away my patched boot and recovery images and still have my resized partitions. :)
[Nexus One Android Development] intersectRaven:
With this method, you don't have to repartition even if you flash a ROM or do anything. This method modifies the SPL itself which the kernel of both the boot and recovery images use to find the sizes of the partitions so all ROMs or recoveries should see the new sizes. :)
[Nexus One Android Development] sl8125:
I am little confused. Is this something I just flash via recovery or adb. Sorry about noob question. Just wasn't clear on the instruction.
[Nexus One Android Development] dla5244:
I have looked for you(Holiday N1 User) long time.

If you dump 0.35.2017 hboot, I will analyse hboot again and release new blackrose.

Thanks for your favor!!!
[Nexus One Android Development] intersectRaven:
I'll be releasing an application soon which should enable people to edit their SPL files themselves. Windows only though since I programmed it in the programming language I knew best. :p
[Nexus One Android Development] dla5244:
Thanks a lot :)

Note.

If you modify partition table stock hboot, you must modify this too (0x2fb6e =0xa0 -> 0x00)

Check stock hboot.

offset 0x2fb6c(cache size) is "be 2f a0 e3", Must be "@@ 2@ 00 e3"(@ is size)
[Nexus One Android Development] jrsoft:
Wow, I have MICROP-0B15 and SLCD screen! ¿Can I use BLACKROSE to replace it??
[Nexus One Android Development] intersectRaven:
I see. I'm inclined to just make the app blackrose specific when I saw that but now that you've cleared that up, I could make the requisite changes. :)
[Nexus One Android Development] intersectRaven:
Here's the tool:

http://intersectraven.euroskank.com/tools/SPLHexEditor.exe

It's pretty straightforward so I don't think you need instructions. Please try it at your own risk!!! :D
[Nexus One Android Development] dla5244:
it's really easy!

I posted #2

Thanks.
[Nexus One Android Development] intersectRaven:
Found a bug. I'll edit it when I get home. For now, please double check the values by reopening the made file before flashing. If the values are incorrect, please DON'T FLASH!!!
[Nexus One Android Development] Kyogre:
flashing splash1.img doesn't work! Why?

I have unlocked bootloader (+ i do Blackrose; but how to check that blackrose installed correctly?). When flashing splash this message appeared:

C:\Users\user\Desktop\br>fastboot flash splash1 splash1.img
sending 'splash1' (750 KB)...
OKAY [ 0.120s]
writing 'splash1'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 0.267s

UPD: yesss, thanks for replying (it really was not installed BlackRose). After hacking flashing splash1 is working! Incredible tool, thanks!

For users: if BR ask you do update or not, say NO, then re-open blackrose.exe then install
[Nexus One Android Development] dla5244:
Blackrose not installed

First, you must install blackrose.

hboot version 5.35.3017 is blackrose.
[Nexus One Android Development] intersectRaven:
Tool updated. Here's the MD5 sum for checking:

adbe5931671e5f687e4e18ba3dd858e2
[Nexus One Android Development] boqonx:
Tool worked like a charm! Thanks!
[Nexus One Android Development] XeloOw:
It's normal
[Nexus One Android Development] nisarg187:
Thanks..tried few times but same message and not able to boot Medroid...

But EvervolvICS flashed fine.
[Nexus One Android Development] klaberte:
Performance considerations?

Sorry if this is a FAQ; I did search, actually for quite a while, so please be nice if this is a stupid question:

My main motivation for considering S-Off is to get more space on my N1 for applications. But, I will not if it compromises (in a noticeable way) my phone's responsiveness, performance, or stability.

It seems that my main options are:

1. Use BR to increase the /data partition.

2. Use DT apps2sd to move the applications to the sd card

3. Use DT apps2sd to move the dalvik cache to the sd card

(or a combination of 2 and 3)

Can anyone provide a clear understanding of what the trade-offs are? Option 1 has some appeal, as it just leaves everything in internal memory and simply repartitions to match the a good setting for my current ROM (OxygeN1mod).

Can someone help?
[Nexus One Android Development] taodan:
It won't affect your phone's performance.
[Nexus One Android Development] klaberte:
What won't affect my performance? Moving my Dalvik Cache to SD won't affect performance?
[Nexus One Android Development] NismoDrift240:
Ok I give up. How do I get rid of BlackRose??

I never post (always search), but after two days this is getting ridiculous. Every search result is someone saying to select "uninstall" from BlackRose.exe. Has anyone actually tried that?? You can't uninstall if you can't get in.

What happened?

I took my phone out of my pocket to check the time and it didn't wake. I gave it a few minutes, still no wake. Battery pull, boot-looped. Went to boot recovery, looped. BlackRose straight crashed, all on its own. And its now day 4 and still no clear solution to get rid of this thing.

I'm stuck with only fastboot access, so BlackRose.exe does not work. The .EXE starts and waits for ADB, and because I never boot I don't have ADB. I have tried everything from full wipes (erase), to trying to restore using stock PASSIMG images, and everything points back to "Bootloader: Fail PU" Partition update fail.

I can't overwrite the 7.35.5117 HBoot.

I can't get into ADB.

I can flash only Backrose HBoots, all others (including stock) fail with "Image update error".

I can't remove BlackRose HBoot because I cannot overwrite it. I can understand its intended to prevent OEM overrides, but this stupid thing better have been built with a back door.

Since launch I have flashed this N1 with anything and everything. I have bricked, crashed, and restored many devices while dev'ing. I have never come across something designed like this that will prevent user-overwrites also (except for OEMs of course).

Anyone (OP?) have any info on how to remove this thing??

EDIT: here's more details if it helps:

C:\Android>fastboot getvar all

INFOversion: 0.5

INFOversion-bootloader: 7.35.5017

INFOversion-baseband: 5.08.00.04

INFOversion-cpld: None

INFOversion-microp: 0b15

INFOversion-main:

INFOserialno: HT9CSP8XXXXX (edited)

INFOproduct: nexusone

INFOplatform: HBOOT-8x50

INFOmodelid: PB9910000

INFOcidnum: GOOGL001

INFObattery-status: good

INFObattery-voltage: 3806mV

INFOpartition-layout: STOCK-145/95/186

INFOsecurity: off

INFObuild-mode: ENG

INFOboot-mode: FASTBOOT

INFOcommitno-bootloader: 0c3a097c

INFOhbootpreupdate: 11

all: Done!

EDIT again: Got rid of it.

Ripped apart BlackRose.exe, since there's no manual uninstall instructions.

If you find yourself in the same boat as I:

In the directory you unzipped blackrose (should be blackrose files with three more folders: boat, hboot, and other)

Type and press enter after each command:

other\fastboot-w.exe oem mb 8E07D104 15 0

other\fastboot-w.exe oem mw 8E07E090 1 0

other\fastboot-w.exe oem mb 8e0753cc 1 30

other\fastboot-w.exe flash hboot hboot/hboot_stock.nb0

other\fastboot-w.exe reboot

Congrats, BlackRose has been successfully uninstalled. Welcome back unlock logo.

Now to recover the damage done and load a stock image
[Nexus One Android Development] imfloflo:
Just flash this on my N1 with manually files for MAC OSX.

All good

I think you should do a single file to flash all this files.

install.sh :
[Nexus One Android Development] Infected!:
Hi, Sorry my english...

How can i go back to Stock HBOOT 0.35.2017? I downloaded Stock Hboot .zip file and installed by recovery but doesn't work.. Please need help here..
[Nexus One Android Development] :
That's, I think, the engineering hboot you quoted--it's what br is based off--

You mean--HBOOT 0.35.0017

The one listed in requirements is to get you to 35.0017 so you can install br. Not sure you can flash it over br.

To go back you can get the stock hboot from binary and copy to fastboot.exe folder and fastboot flash it or, and I don't use breditor, you can uninstall or change partition sizes with it. Not sure what happens to hboot number when you uninstall. Also, you can change back to stock partition sizes with splhexeditor. You don't have to uninstall it.

ken
[Nexus One Android Development] heinz gruber:
i wan't to flash this for ics on my nexus. is it possible to flash cm 7 again if i don:t like ics? or will it b compatible with cm9 in the future?
[Nexus One Android Development] :
yes you can change partition size back to stock with splhexeditor or the breditor available after installing br

some devs have a prebuilt CM7 zip you can flash over ics with no resizing
[Nexus One Android Development] hohohohoho:
Somebody can help me out? i bricked my N1 which i uninstalled the black rose!

(resized partition to try ICS Rom,but wanted to get back to stock partition size)now my device keep looping into recovery mode,please help!
[Nexus One Android Development] dla5244:
Hmm... don't panic.

Use RUU(PASSIMG.zip) method. :D

First, Download proper PASSIMG.zip from shipped roms and so on

Then go to fastboot mode and type.

fastboot oem rebootRUU

fastboot flash zip PASSIMG.zip

fastboot reboot

120215

Bootloader(HBOOT)

Change message when protected by password (not allowed -> protected)

Add bootloader commandline in order to communicate BlackRose installer

Installer

Now surpport below HBOOT version

0.33.0012

0.33.2012

0.35.0017

0.35.2017

7.35.5017(BlackRose)

Recreate program (not rebuild but recreate )

1.BREditor has merged

2.Install process has revemped

3.Communicate with HBOOT

4.Convenient,Optimized

5.ETC

* Since i'm not god, please feel free to report bug)

*.Those who using older version custom BlackRose(latest version is 120215), 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(BlackRose.exe editor)

2.fastboot flash hboot hboot_brcust.nb0

3.fastboot reboot
[Nexus One Android Development] petran07:
Hello my friends

I did the installation blackrose and my device is locked again how can unlock my device again;
[Nexus One Android Development] :
fastboot oem unlock
[Nexus One Android Development] petran07:
I do not unlock this way

I can not go into recovery operation
[Nexus One Android Development] szihs:
I've previous version of BR instaled. I have trouble understanding what does it actually update ?

I am under impression that goXX.lol allows custom HBOOT to load.

where does the optimization between various version comes into picture.

In goXX.lol ? or in custom HBOOT.

you didn't mention goXX.lol in updating (red paragraph) so i assume custom HBOOT.

+ In manual zip you didn't put BlackRose (exe). So i suppose that's missing (required file)

Would be nice if you could clarify a little.

EDIT: I suppose the hboot_blackrose.nb0 in manual directory is optimized rather. (so i had paritions, i have to download automated zip with BlackRose editor to create new optimized custom HBOOT)

and goXX.lol is crack for various bootloader versions. Its so tough. Thanks.
[Nexus One Android Development] adv392:
I was wondering if its possible to emulate the trackball click as a power button with the modified HBOOT or is it possible to develop an application which will do the same?

I have a broken power button and its really annoying not able to use it, and I dont/rarely use the trackball button so if thats possible that would be simply amazing

Thank you and great work with the blackrose, love it :)
[Nexus One Android Development] petran07:
problemmmmmmmm

Hello

I have a big problems

I did the installation blackrose and I had a problem I did uninstall and reverted to previous form but I can not go into recovery function what to do;

as it passed the blackrose the phone was LOCKED again what should I do to make a proper installation;
[Nexus One Android Development] hohohohoho:
THANKS A LOT!!!!!!!!!!!!!!! it works! MY N1 IS BACK!!
[Nexus One Android Development] dla5244:
About Power ON

Power ON function(execute hboot) is located in ARM9(radio)

Since ARM9 image is signed itself and due to trustboot solution, so we can't do that.

Android

Kernel or Android framework modification needed.

Use RUU method
[Nexus One Android Development] heinz gruber:
where can i download the hboot.exe?

and one question:

when i want to install this from my pc i connect the phone in fastbootmode?

and when i wan't to restore default partition size i use i use stock br in blackrose.exe?
[Nexus One Android Development] dla5244:
???

Hboot.exe?

You can do everything using BlackRose.exe

1.Normal mode(USB Debugging ON)

2.Yes(I recommand you to view guide from OP)
[Nexus One Android Development] klaberte:
Perhaps a better howto?

I am a very happy blackroser at this point, but in fairness to gruber, the guide in posts 1 and 2 are not crystal clear (at least not to me)

For example, it should be made clear that, while the main action happens when the phone is in fastboot, you cannot start blackrose when you are in fastboot, but rather, when the phone is booted into android.

Also, if you want to both install and change partitions (pretty common goal, given the above posts), is it necessary to reboot the phone after the install, or can you perform both steps with just one round trip to fastboot?

My experience was that I booted into android, ran blackrose to install. Then, before booting back to android, I made the mistake of booting into recover and wiping all the partitions (seemed like a good thing to do before you start changing partitions, so I thought). However, this left me unable to reboot into android to run blackrose the second time to change the partitions.

With enough reading and thinking, I figured it out and everything is working. But, the howto could be clearer.
[Nexus One Android Development] efrant:
If you are using stock 0.35.0017, you cannot just flash stock 0.35.2017 in recovery or in fastboot. The stock shipping bootloader (0.35.0017) does not allow flashing of a stock engineering bootloader (0.35.2017), although the engineering bootloader does allow flashing of a shipping bootloader. You need to boot dla5244's exploit and then use fastboot to flash 0.35.2017. I've posted instructions in this thread a couple of times already.
[Nexus One Android Development] heinz gruber:
thanks, so i can do everything in android?

and my fault i mean whre can i download blackrose.exe
[Nexus One Android Development] klaberte:
It is attached to Post 1. you want the one named:

blackrose_120216.zip

As I implied in my earlier post. When you run the blackrose executable, your phone needs to be booted into android. After it does a few things, it automatically reboots your phone into fastboot, and does some stuff there.
[Nexus One Android Development] dla5244:
I already considered this ploblem when i recreate BlackRose installer.

If your phone doesn't boot to android and need to do something related BlackRose, you can do that by adding argument

"Skip" argument is just skip device check routine and go into BlackRose menu.

Eg. Need to uninstall BlackRose but unable to boot into android.

1.Enter into fastboot mode and connect usb

2.Execute BlackRose with "skip" argument

3.Select Uninstall

Ps.

Maybe you faced error "device not found", but it is part of ADB so you don't worry about that.

Okay, I will add this function when I release new BlackRose
[Nexus One Android Development] adr1st:
Change boot logo

i created a custom boot logo using op instruction.

just install it from fastboot mode

fastboot flash splash1 splash1.img

done. enjoy

note: please pm if you want to remove. thanks
[Nexus One Android Development] guy8zv:
Help

After I Install and Resize partition to BlackRose I can't see the unlock icon when I boot the phone and can't boot to the recovery screen (stuck). I Tried to unlock the bootloader again but get err.

What I am wrong?:confused:
[Nexus One Android Development] dla5244:
You can't see unlock icon because it's removed(read OP).

Also there is not exist notion of unlock in BlackRose

You can flash anything if your HBOOT says S-OFF

fastboot flash recovery [RECOVERY IMAGE]
[Nexus One Android Development] guy8zv:
Thank you!
[Nexus One Android Development] net.cat:
cannot find the device while 1 day ago, to update @ 15/2/2012, worked just fine ... :/
[Nexus One Android Development] Aiuspaktyn:
Can I have more info on latest changelog?

Please send me a private message if you want, thanks!
[Nexus One Android Development] GeyerA:
Disable vibration during boot

Hi,

I run the blackrose for ICS partition and can not disable the vibration at boot anymore. I managed the first time I flashed blackrose, but suppose when I went back to stock once, something happened.

Or maybe the ICS blackrose does not have the option to disable vibration?? I am using the hboot_220-16-200.nb0 from the other thread (MeDroid).

This is what I get....

./fastboot oem brcmd svib

... INFObrcmd: Perameter error

OKAY

Solved:

I flashed latest version from here and managed to suspend the vibra at boot - afterwards the one from MeDroid ICS and all fine now. Thanks...
[Nexus One Android Development] :
i ran it on 111231--no issues
[Nexus One Android Development] iakeco:
I installed 111231 and it worked fine. Now I tried to install 20120216 over 111231 and it said it installed ok, now when I go turn on my N1 it just reboots on the nesus X. When I go in to the recovery, I am using 4ext Recouvery Touch, it loads part way then it times out and freezes at the welcome to 4ext Recouvery touch.

My question. Can someone help please. I am lost. Can I go back to 111231 and if so where could I find the file
[Nexus One Android Development] zondajag:
I am a bit nervous about this. I tried downloading the mediafire link for the adb and fastboot drivers and the file disappears on download without a trace. Something fishy is going on....I'm not sure who or what is to blame.
[Nexus One Android Development] :
You download zip from OP page and extract it. Then open br folder and click on blackrose.exe. Also, take a look at the other folders like binary for their contents. You need to connected to pc with usb debugging on to do this.

Ken
[Nexus One Android Development] tommert38:
I had exactly the same issue, but with AmonRa recovery. I just flashed AmonRa again using fastboot and then flashed a new ICS partition layout manually (using Execute BREditor(standalone) YouTube guide in the OP).
[Nexus One Android Development] iakeco:
Thank you, will try it later

---------- Post added at 06:47 PM ---------- Previous post was at 06:46 PM ----------

Thanks so much. I will try it later

---------- Post added at 07:02 PM ---------- Previous post was at 06:47 PM ----------

How does the usb driver work. I've download it and there is no exe file. Sorry if it is a stupid question
[Nexus One Android Development] :
Haven't done it for awhile, but think you need to extract to a folder. Then plug phone in and go to device manager on computer and find Android Phone in list and right click and update driver by browsing to folder where you palced it. It will then install it--
[Nexus One Android Development] iakeco:
Now I'm in fastboot on my phone and my PC/Blackrose.exe says waiting for device...
[Nexus One Android Development] Theshawty:
Are these new versions worth flashing? I am still on the 12/31/2011 hboot and it works like a charm.
[Nexus One Android Development] :
depends if you use only the blackrose editor etc and can use the new features. i have been installing br and changing hboots solely thru fastboot, so don't need the new features. but, greatly appreciate all of dla5244's hard work--:)
[Nexus One Android Development] kodabmx:
you need to be booted into your phone... it uses adb for part of the exploit...