yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] demkantor:
Possibly, but i guess im not sure exactly what youre after, if you figure out your fastboot driver issue you should be able to use fastboot to make the proper partitions with blackrose, if you want to change the partition size with recovery you can flash one of these flashable.zips to do so.

But are you just after returning to stock everything or do you want to flash a custom rom?

What is the error? Are you trying to format in recovery or with fastboot? If you're having issues try fastboot

fastboot erase system -w

This will format system, data and cache

If you are still having issues you may need to boot to recovery and open an and shell then

su

e2fsck /dev/block/mtdblock3

This should hopefully fix you corrupt partition, if still doesn't work try to give as much details as possible, all info on bootloader screen, and also input/output when typing commands into cmd/terminal
[Nexus One Android Development] combat2k:
solved. 150-10-x and reinstalled CM 7.2 stable... works like a charm, even I didn't succeeded to restore by previous backup with ClockModWork recovery :(

thanks.
[Nexus One Android Development] jinetenocturno:
Thanks but finally i solved flashing a PASSIMG and making root,flashing blackrose and custom rom again.Thanks to everybody
[Nexus One Android Development] ykchavan:
Where can I get source code of blackrose?
[Nexus One Android Development] sbaeder:
AFAIK - not available...WHY?
[Nexus One Android Development] vickutetg:
How to uninstall BlackRose

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.
[Nexus One Android Development] PRichardson:
Excellent question! Why would anyone ever want the source code to any software?
[Nexus One Android Development] bogdan_wrc:
After hours of struggling and research...i am worse than in the beginning. the N1 is bricked and no info on how to revival.

installed blackrose, connect phone, start blackrose.exe, found the device, installed blackrose, but after a few second, at the next stept... WAITING FOR DEVICE APPEARED again.

finally, after retsrat of blakrose, i managed to change partition to 260mb/10mb (to use it with ART CYANOGEN) ... it did...change partition,... but remained on X-bootanimation for...5min. i thought it got bricked. pull out battery, and let it restart for 30min in X bootanimation. once every 10min it vibrates. and that all. .30min. later..nothing.

no recovery, no flashboot works. if i try to flash smth it says "somthing partition not recognized". \what now?

trying to fastboot flash hboot.nb0 but no help.

passimg not recognized when recovery...

this is the error:

./fastboot flash boot.img

unknown partition 'boot.img'

error: cannot determine image filename for 'boot.img'

./fastboot flash system.img

unknown partition 'system.img'

error: cannot determine image filename for 'system.img'

anything i try to flash, i get the same answer. the phone wont start. it enter fastboot, up in the black it says blakrose, but when i try reboot or recovery it starts the Xbootanimation and remains like this.

thank you.
[Nexus One Android Development] Kotaless:
You are doing wrong. You should use fastboot command like this: "fastboot flash system system.img"

Download any recovery and rename to "recovery". Try "fastboot flash recovery recovery.img". It should flash without any error. Then enter recovery and flash rom.

Good luck.
[Nexus One Android Development] bogdan_wrc:
i will try that later, but until i start i want to know how to return the phone to stock hboot. uninstall blackrose? or set the hboot to some values before? or flash some zip?

thank you.

putting passimg.zip on root of card does not work.

is there anyway to run BLACKROSE from mac? but a noobie's guide, pls :)

i want to uninstall it.
[Nexus One Android Development] hextence:
I would like to uninstall it too? Can anyone help?
[Nexus One Android Development] Protocol 9:
Thank you for all your work! Much appreciated. I still use the Blackrose/Safestrap today on my Nexus One.
[Nexus One Android Development] standal.10:
Hallo, can someone port this hboot for HTC Desire? Because I like this function "svib : Enable/Disable vibration during at boot"

Thanks
[Nexus One Android Development] Verrocio:
Does anyone know if blackrose is opensource ?

Also what is this guy talking about here ?

http://www.xda-developers.com/get-s-off-and-more-storage-on-your-nexus-one/#comment-648945643
[Nexus One Android Development] ocd_amp:
Instead of going through all this trouble, Simply get a bigger sized SDCard and Data2SD Script with EXT-2 Partition on SDCard and you're good to go. This seems more trouble than it is worth and Frankly, my PC Security deletes this file as soon as it is downloaded. If you still use a Nexus One, this is not worth the risk nor the time for gaining 50mb of Space.
[Nexus One Android Development] hgmichna:
[SOLVED] BlackRose component is missing/corrupted!

The download link in the first post named Blackrose 120421 yields a defective version that always utters the error message, "BlackRose component is missing/corrupted!"

Solved: The cause was an overeager antivirus program, which quarantined zergRush without telling me. Sorry for the confusion.
[Nexus One Android Development] firtvid20:
Hi all. I'm having trouble accessing my phone over fastboot.

I have Blackrose installed from a while back with 420/8/8 partitioned. The problem is when I go into fastboot and connect it over USB, the phone will connect (displays "FASTBOOT USB") and then Windows 8 will come up with an unrecognised device message after a while. I tried installing the fastboot drivers and tried to see if using a USB 2.0 port would fix it, but no luck. Also tried using an older laptop, but my phone kept switching between "FASTBOOT" and "FASTBOOT USB" on the display.

I'm out of ideas. Could anyone help me here?
[Nexus One Android Development] hgmichna:
I often had problems when Windows automatically installed the wrong driver. I later learned how to solve these problems by manually selecting the correct driver.

I occasionally see instructions on how to do this somewhere on the Web. Sorry for not having a good link.

It could, of course, be something else.
[Nexus One Android Development] Bi0haZarD:
U need fastboot drivers to properly access fastboot mode
[Nexus One Android Development] firtvid20:
Managed to fix the problem by using a laptop with Windows 7 on it! Guess fastboot drivers don't work too well on Windows 8/10 as I tried with some other computers with those.

Now to figure out if I could change blackrose partitons using the recovery (zip) instead of my computer.
[Nexus One Android Development] Robcr:
you need to beware of updated usb drivers when you plug another (perhaps later) phone in too.

My later samsung drivers USB drivers caused a few problems until i realised.
[Nexus One Android Development] s4meq:
I would like to ask a question regarding BlackRose.

Having dug out my Nexus One, I have rooted it and installed CyanogenMod 7 using the instructions from the CyanogenMod Wiki. The one thing getting me down is the 200MB storage for apps. I am plaaning to use Link2sd to migate this.

When I looked at the FAQ for Link2SD, it explained that S-OFF was required. No problem I thought, just download and run.

Loaded up BlackRose and it spat out an error:

"error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory"

From asking on another forum I decided that installing the ncurses-compat-libs for Linux is what is required.

But... How do I install it for my Linux computers? One is running Ubuntu 16.04, the other is running Arch Linux.
[Nexus One Android Development] t291f1e1:
Hey had to say you deserve props

uc browser apk, free. go download. covers youtube and browser. working great on nexus one. you deserve props. also, the external gapps installer
[Nexus One Android Development] shushu23:
You were missing libs. This helps to find out which ones:

ldd BlackRose

Now you just needed to install them.

---------- Post added at 11:45 PM ---------- Previous post was at 11:24 PM ----------

Hey,

I have tried this script on Linux: Did not connect in debug mode.

So I'm trying this with Windows 10. The first part worked after a lot of trouble, until the cellphone reboots into fastboot mode. Now here is my problem:

i.ibb.co/P4vwGff/Ausw-hlen-Black-Rose-exe-06-12-2018-21-22-36.png

Script is listening for device in Fastboot mode:

i.ibb.co/wCvcZdh/Ausw-hlen-Black-Rose-exe-06-12-2018-21-22-55.png

When the phone is recognized by Windows after reboot into fastboot mode, I get the following error. It seems there is an issue with the driver.

i.ibb.co/VLt4xqR/error.png

This is what I see in device manager:

i.ibb.co/N9H7Brw/manager.png

This is what I see when I click on the device:

i.ibb.co/PGp58Kk/could-not-be-started.png

It says there is an error and the device could not get started.

I have tried to force install the google usb driver via sdk manager, the original HTC driver and had installed the universal adb drivers before (adb.clockworkmod.com).

Still I do not get the script to connect with the device in fastboot mode.

Since I had no success, I disabled the automatic driver installation of Windows.

How can I make sure that Windows loads the correct driver and the phone is recognized by the BlackRose script? :confused:

If we can get this running, I will summarize what was needed to make it work with windows 10.

Thank you for your help
[Nexus One Android Development] efrant:
Not sure if this helps anything or anyone, but here is the PASSDIAG.img created by the XTC clip for hboot 0.35.x017.

md5 of image: f36b95ad73595a09d4863ed2ffddd8fd

Edit : For those who don't know, this is a diagnostic file that gives you various info about the radio. It is also used to change security and cid of the radio (with the right sim card or sim emulator). It shows you all the flags in NVRAM. To use, place on the root of you sdcard and boot into the bootloader. It will load automatically. I'm not responsible if you mess up your device / ROM.
[Nexus One Android Development] efrant:
dla5244, would you be able to post a list of commands that one can use with the ENG hboot please? Thanks.
[Nexus One Android Development] dla5244:
Thanks.

Note. Since this PASSDIAG.img is based 0.33, this image will not work SLCD N1

I already try to jumping DIAG a month ago, but dosen't turn on lcd.
[Nexus One Android Development] efrant:
Really? It should be based on 0.35 not 0.33, as that is what I selected in the clip. I don't have an SLCD to test though.
[Nexus One Android Development] dla5244:
you can find commands by typing this

fastboot oem h

or

fastboot oem ?
[Nexus One Android Development] PhaseBurn:
Execute via fastboot oem <command>

mb

mh

mw

ew

eh

eb

mmu

ram_test

jump

test

sdtest

eraseconfig

writeconfig

readconfig

writesku

readsku

rflash

tflash

block_test

rbchk

erasesd

btrouter

tick

heaptable

emapi

emapiTest

emapiCountryID

emapiWlanMac

emapiSetDefCal

emapiReadCal

lr

imgcrc

resetautoimage

resetpreferdiag

resetRUUflag

writeserialno

readserialno

battcheck

gotofastboot

writemid

usbtestmode

eraseWifiFlash

powertest

erase

readmbserialno

listpartition

erasebcid

writebcid

readbcid

fmrouter

resetuP

bdaddress

wMfgTp

rMfgTp

saveprt2sd

savemem2sd

emapiInit

emapiChannel

emapiRate

emapiRateset

emapiCountry

emapiTXpwr1

emapiPkteng_start

emapiPkteng_stop

emapiOut

emapiFqacurcy

emapiCrsuprs

emapiUp

emapiDown

emapiMpc

emapiCounters

emapiVersion

emapiEtheraddr

emapinRate

emapiSetIrqPin

fl

loaddiag

lnb

init_a1026_fw

checkKeyCard

gpiow

gpior

mddiw

mddir

clock

i2cr

i2cw

ulpi

changeCid

read_l2_acc_fuse

keytest

heap

boot

reset

powerdown

rebootRUU

rtask

task

enableqxdm

unlock

lock
[Nexus One Android Development] dla5244:
Open PASSDIAG.img with HexEditor

you will find 0.33.2003

I guess Raskal(XTC-CLIP admin) dosen't have 0.35 PASSDIAG image.

http://forums.phone-tools.cn/showthread.php/37357-Nexus-One-HBOOT-35.0017-turn-off-with-xtc-clip
[Nexus One Android Development] :
Hey I am on a custom partition (5.35.3117) and I want to update to the latest but I saw this.

"if you are using BlackRose 5.35.3117, you must revert stock partition blackrose(5.35.3017) and update blackrose via update menu(ignore warning)"

problem is I dont have the stock partition blackrose 5.35.3017 and I dont see a download link for it. can I use stock stock partition blackrose? (7.35.5XXX)
[Nexus One Android Development] dla5244:
if you will update BlackRose from 5.35.3117

1.repartition(same previous table) using hboot_brcust_111006.nb0

2.fastboot flash hboot <custom partition blackrose path>
[Nexus One Android Development] kaiser_tytnii:
i am now a happy S-OFF user with custom partition now! thanks a lot dla5244!

you made the process, fast, simple and quick!

and SAFE!
[Nexus One Android Development] waylo:
Sorry if I am asking for some clarification if it's already clear to everyone else...

In the new changelog, the new 111009 version fixes a bug in the previous where restoration of roms would run into trouble?
[Nexus One Android Development] dla5244:
Nope.

Originally(stock ship hboot), once restore 2.3.6 via PASSIMG.zip, you can't restore 2.3.3 via PASSIMG.zip

Because 2.3.6 nainver was written in misc by hboot.

This update is don't write new mainver.

So when you uninstalled blackrose, even you restored 2.3.6, you can restore 2.2 via signed passimg.zip(if mainver in misc is 2.2 mainver)
[Nexus One Android Development] jbbandos:
Finally I bit the bullet and installed blackrose. At first, it would just hang at the X screen (with the unlock icon), but after I updated my hboot from 0.33 to 0.35 using a flashable zip, I was able to install the hacked hboot. And now to try editing the partition table with splhexedit... :)

Thanks a lot!
[Nexus One Android Development] waylo:
Ahhh, got it. Reverses a "bug"/"feature" of the stock hboot! Wow, this is getting better and better.
[Nexus One Android Development] MR_EVIL:
how to find whether it is slcd or amoled??
[Nexus One Android Development] uoY_redruM:
Where did you find a flashable hboot update?
[Nexus One Android Development] G0belet:
Quick question.

I need to return my Nexus One for repair, and the French repair center doesn't like modded ROMs on the phones they repair. I S-OFF'd my phone with the XTC Clip, and relocked my bootloader, but since I cannot press Power, I won't be able to unlock it again. Is there a command I could use though BLACKROSE (a writeconfig perhaps?) to unlock it without going through the prompt?

Thanks in advance.
[Nexus One Android Development] dla5244:
Check microp in hboot screen.

0b15 amoled

0c15 slcd
[Nexus One Android Development] dla5244:
Yes...

Method is Bootloader modifying.

Skip warrenty screen. Or send unlock command to OEMSBL.

Fatest way is use blackrose.

You can access all command without unlock. :)
[Nexus One Android Development] G0belet:
Awesome, thanks for the fast answer!
[Nexus One Android Development] efrant:
I've already communicated with bwilliams1, but for others who are interested:

Because the shipping hboot will not allow flashing of the engineering hboot, you need to use a hack. (Based on my understanding) Blackrose is an exploit that allows you to flash any partition on the N1 as long as the exploit is running. So, for those with S-OFF and want the stock engineering hboot, you need to boot Blackrose (i.e., the go.lol image) and then flash the engineering hboot.

So, step by step:

1) Connect your device to your computer in fastboot mode.

2) Put the go.lol image and the eng hboot image into the same directory as your fastboot executable.

3) Boot Blackrose by typing fastboot boot go.lol

4) Then flash the eng hboot by typing fastboot flash hboot <name-of-the-eng-hboot-here>

5) Reboot, and you should be on the eng hboot.

Thanks again dla5244.
[Nexus One Android Development] Name?:
Hmmm... If I typing "fastboot boot go.lol" my N1 reboots, but it stays on the Bootscreen and do nothing... "fastboot flash hboot hboot.img" waits than all the time for sending to device... what i'm doing wrong??? Can I put the engineering hboot in the binary-folder from blackrose, rename it as hboot_blackrose.nb0 and start the Blackrose-Setup???
[Nexus One Android Development] efrant:
When you boot the exploit, it should reboot to the splash screen and stay there. Now, when you are there, now flash the hboot.

What you are suggesting should work as well.
[Nexus One Android Development] Name?:
Blackrose must be uninstalled... that was the reason why it doesnt work... thx anyway.
[Nexus One Android Development] bwilliams1:
And for those who are interested,

This Nexus One was s-off'd with an XTC Clip then following efrant's instructions, i loaded the eng hboot.. then did this.

C:\Nexus_One>fastboot oem lock

...

(bootloader) Lock successfully...

OKAY [ 0.374s]

finished. total time: 0.374s

Too flippin Sweeet!!

The lock icon on the splash screen is gone and I have an engineering bootloader!

Now my Nexus is perfect.
[Nexus One Android Development] bwilliams1:
Too awesome!
[Nexus One Android Development] Name?:
Because the XTC-Clip makes Radio-S-Off... I want to have it too... :p
[Nexus One Android Development] jbbandos:
Its right here in this forum, in the sticky "[ROMs] - [Kernels] - [Radios] - Etc (New! W/Links)", under SPL. The zip itself isn't signed, but the hboot is and flashes without problems.
[Nexus One Android Development] dla5244:
hboot image for pre-update is signed.

first 100byte in hboot.img is signature.
[Nexus One Android Development] MaDInDy:
Now, I use BlackRose HBOOT 7.35.5017.

Can I flash ENG-HBOOT 0.35.2017 and use command fastboot oem lock ?
[Nexus One Android Development] gregferns:
Hi,

Sorry for asking a noobish question, but i need to get it clear :

In the 2nd post, point no 6 : UPDATE A ROM.

Can i RESTORE A NANDROID ?

I am on CM7 nightlies and i would like to have all my data and apps back.

Is this ok ? Or do i need to flash a new ROM.

Thanks in advance.

Greg
[Nexus One Android Development] efrant:
No. To be able to use fastboot oem lock, you need radio S-OFF, which Blackrose does not give you.

P.S. Both the shipping hboot and the engineering hboot allow you to use fastboot oem lock, but you need S-OFF.
[Nexus One Android Development] gregferns:
Hi

I ran Blackrose and it went ok. It showed me Blackrose and Hboot showed 7.35.5017.

But now while trying to flash Custom Hboot, it is giving me following error :

C:\android-sdk-windows\tools\fastboot flash hboot

unknown partition 'hboot'

error : cannot determine image filename for 'hboot'

I tried the same command by using hboot.nb0 as the file name

and also tried it in BOOTLOADER MODE, NORMAL MODE, RECOVERY MODE.

Same error

Can anyone tell me what i am doing wrong ?

thanks in advance

greg
[Nexus One Android Development] bwilliams1:
I used an XTC Clip to achieve S-OFF.

The XTC Clip unlock makes the radio s-off, which is why the fastboot oem lock works now.
[Nexus One Android Development] dla5244:
Sorry.

fastboot flash hboot [CUSTOM PARTITION HBOOT PATH]
[Nexus One Android Development] dla5244:
No.

You should do full wipe

Because temporary folder setting is not changed, if you don't full wipe
[Nexus One Android Development] maxib123:
with regards to the custom partition, where are the apps stored? :S i would imagine it would be data?

could someone clear this up for me?
[Nexus One Android Development] efrant:
There is no custom partition; this just resizes the partition sizes. There is no change to where the apps are stored. If your apps are stored on data, then that's where they'll be. If you are using dtapps2sd then then they will be on the sdcard...
[Nexus One Android Development] maxib123:
yeah thats what i meant, so with downloaded apps from the market, theyll be stored on data?
[Nexus One Android Development] efrant:
Like I said in my previous post: If you are not using something like apps2sd, then they are stored in data (like normal). If you are using something like apps2sd, then they will be stored on your sdcard (like normal)...
[HTC Sensation] DaClowns:
So Im following the guide over at: http://xdaforums.com/showthread.php?t=1192300 on rooting my Sensation.

Im stuck at #5 under step one.

When I double click revolutionary, whether my phone is plugged in or not, it opens then closes in about 2 seconds.. nothing happens..

Any idea what is wrong? I have tried re-downloading several time.. nothing is working!

My USB debugging is on, I have it set to everything it says on the forum..
[HTC Sensation] steve841:
Try another USB port .... and make sure the drivers are installed via device manager.
[HTC Sensation] stevendph:
It should be driver conflict in your computer (maybe).... Did you try to remove all drivers and HTC sync before doing Step 1 for S-off?
[HTC Sensation] Scupra:
After installing the revolutionary program restart your computer to let it "finish installing". I did not do that and had very similar problems to what you are having.
[HTC Sensation] KlashbeN:
Did you try running in adminstrative mode?
[Epic 4G General] jimmyjames72:
hey guys whats up, im stuck here. i am rooted and on the newest CWM. . heres the deal all of a sudden my phone shows no signal and doesnt let me make calls text, etc,, etc. how the hell can i get it back to where it should be.?please help. stuck without the phone.

baseband version+unknown, frimware version=2.2.1 kernel version =2.6.32.9 builkd number= srf 1.10 / twilight 1.1.0 hardware version = unknown.......thats the info on my phone please help .
[Epic 4G General] anderson620:
If your phone will go into download mode (power off and hold 1 on the keypad while pressing the power buttn) then your best bet is to ODIN back to stock and start over. I'm on my phone now so I don't have links for you but they're pretty easy to find on here. Good luck.
[Epic 4G General] Specialksg1:
Baseband unknown? That's probably why ya can't get anywhere, no modem. I'd pick a modem and try flashing it in odin ... although the unknown hardware version could be another issues ...
[Epic 4G General] jimmyjames72:
how and where do i get another modem? and where do i get another harware at or fix it.
[Epic 4G General] kladd:
is airplane mode on?
[Epic 4G General] jimmyjames72:
arplane mode off. looks like im going to need some help and pretty clear directions on how to fix this. thanks everyone
[Epic 4G General] ugothakd:
Definitly the modem. I coulda swore i replied already...damn xda app. @op do what this dude said and odin a modem any modem
[Epic 4G General] Specialksg1:
http://xdaforums.com/showthread.php?t=1123103

They even have videos for ya :)
[Epic 4G General] Emerl:
Or you can try pulling the battery out and let it sit for 10 secs then put in back in and reboot.

This happened to me also and I tried that and everything started working again
[Epic 4G General] sohardivetried:
yea

definitely just flash any modem with odin, and you should be all good. no clue how you wiped your modem, but that will definitely fix it. Ive been rooting and flashing my epic for a year and never had any sort of problem like that. crazy ****.
[Epic 4G General] bender beerman:
u could always try to boot into recovery, wipe cache/dalvik x3 ea., then reflash the rom TWICE (once immediately after the first, without a reset) then fix permissions, reboot, u should be good to go without a data wipe or anything. u could also try posting in the right section (q&a) ;)
[Epic 4G General] chris41g:
wow 10 replies and noone told him he posted in the wrong forum, or to read the stickies, or to search.. bravo..

now.. wrong forum.. read the stickies and search... damn...

haha