yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] adv392:
thanks for the fix.

I have a locked bootloader. So I should choose the locked option right?

What is the ro.secure? which should I choose?

Thanks a lot for the quick help! :)

EDIT1: S-ON in bootloader screen
[Nexus One Android Development] dla5244:
you got something wrong version. :eek: :eek:

Please redownload NOW NOW NOW.

------------------------

below value is ro.secure

X <- this is ro.secure value :)

--------------------------

ps.

For everyone.

I twice checked and everything is perfect now. :)

I didn't sleep yesterday and really sorry.
[Nexus One Android Development] incredulous:
I fricking love Blackrose.

I have a problem, well we all do actually... the link for the attachment for 26/11 isn't working.

It gives an attachment error.

Anybody have a mirror?

EDIT: Nevermind It's working now :P
[Nexus One Android Development] adv392:
Cool! we all are really thank full to you! Thanks a TON!

Cheers :)

EDIT1: SUCCESS! I am on HBOOT-7.35.5017

Used the blackrose.exe file and all done in a matter of 1 minute

Will update the wiki with full tutorials on the xda wiki once I have some time

Thanks to everyone who was involved in this development!

Cheers :)
[Nexus One Android Development] madj42:
Thank you!!! It works now.

I wish you had a donation link, I'd buy you a beer or two. :)
[Nexus One Android Development] avgjoemomma:
dla5244, thank you so much for all your hard work! It is very much appreciated! :D
[Nexus One Android Development] :
He does--:eek:

I just sent some beer money--

We all appreciate your work dla5244--:D
[Nexus One Android Development] efrant:
Thanks for all your work on Blackrose.

Confirmation number: 00K24615UD316905G
[Nexus One Android Development] rjmohit:
Hey IR, pls try that out and if you're successful, pls post the guide. :P
[Nexus One Android Development] jrsoft:
Great work @dla5244!!! Congratulations from spain :D

I tried it and works perfect. The process takes about 10 seconds, and after that we have bootloader S-OFF!

Now I have a doubt. As I can flash the original mtd0.img partition if the file that I have not signed?
[Nexus One Android Development] dla5244:
MISC(mtd0) is not signed.

you can flash MISC via flash_image(tested).

fastboot MISC flasing is not tested.

maybe it worked well...
[Nexus One Android Development] maxib123:
i have hboot 0.35.2012, its an eng s-off spl, but it wont let me boot with it. it flashes onto the splash screen and takes me back to bootloader

... and you got the padlock back
[Nexus One Android Development] dburg84:
Firerats mtd partition tool may work but it most likely needs modification. As is I couldn't get it to work. Seems to have removed the data partition. Ill look into it more later.
[Nexus One Android Development] dla5244:
Wow! is your bootloader 0.35.2017????

As far as i know fastboot boot command will work before you unlock bootloader even your bootloader is 0.35.2017

Please dump for everyone.

Fastboot oem saveprt2sd hboot hboot.bin -a

And check your sd card.

If you can't dump spl, please report to me. I know another method.

Thanks.

Ps. About can bootloader relock, i guess you are radio s-off

Check your secuflag

Su

Stop ril-daemon

Cat /dev/smd0 &

Echo -e 'AT@SIMLOCK?AA\r' > /dev/smd0

Maybe your secuflag is 0(radio s-off)
[Nexus One Android Development] intersectRaven:
The kernel commandline method works. Just resized the cache partition to 50MB and gave it to userdata. You need both recovery and kernel to be modified though in order to get it to work properly. (you can just modify the kernel but how do you flash a ROM correctly to the resized partitions if the recovery sees the SPL partitions version) :p

*I didn't try the SPL method since I won't risk my phone. :p
[Nexus One Android Development] dla5244:
Answer is mkbootimg

Split recovery.img(kernel+ramdisk)

And repack recovery.img with new kernel cpmmand line using mkbootimg

but we can't use some SPL COMMAND (flash, erase userdata or system or cache and update via PASSIMG.zip)

Lecahel.
[Nexus One Android Development] DeTool:
Does this mean, theoretically we can get more room for app data? This could be really awesome! No more need for data2sd.
[Nexus One Android Development] dburg84:
That's exactly what it means
[Nexus One Android Development] intersectRaven:
Yes. I'll try to post instructions later to do this without losing your data. For advanced users only though since it requires commandline skills. ;)
[Nexus One Android Development] DeTool:
Can't wait :-)
[Nexus One Android Development] Booker-T:
Thanks for your contribution:-)

I have a rooted N1 with custom recovery and locked bootloader, is it correct for me to run the locked bat to install it?
[Nexus One Android Development] sunnybhai:
you'll have to run unlockuser_install.bat to re-lock it again.
[Nexus One Android Development] Booker-T:
Sorry, I typed it wrong. It should be a locked bootloader.
[Nexus One Android Development] dla5244:
if you are bootloader-locked user, execute lockuser_install.bat
[Nexus One Android Development] b0dge:
Nice.. I now have S-OFF... :)
[Nexus One Android Development] bobtentpeg:
Going to play around with this. Nice work :)
[Nexus One Android Development] cyberon:
Blackrose installed successfully, now waiting to repartition data! ;)

That would be awesome, using MIUI with EXT4 A2SD+ is still not enough for me! :)

Thanks
[Nexus One Android Development] incredulous:
Really happy with this. Just quickly ran the .exe and confirmed what I wanted it to do and now I am S-OFF and that stupid lock watermark has gone! :) Thanks OP.
[Nexus One Android Development] madj42:
Wow, I'm blind. Sent in a donation. Once again thank you.
[Nexus One Android Development] dla5244:
Thanks for your donation.

I will spend your favor eating cold beer and improving my brain :D

Lecahel.
[Nexus One Android Development] meechto:
Flawless! :) The 26/11 BR works like a charm! ;) Thanks again for the great effort! :D Hats off to you, dla5244 ;)
[Nexus One Android Development] sl8125:
I want to update from 100911. Do I need stock hboot again to upgrade to 112611?
[Nexus One Android Development] gregferns:
Now its working perfectly,, just as it should ...

good work man... keep it up...
[Nexus One Android Development] Signfang:
정말 수고하셨습니다. 항상 잘 쓰고 있습니다.

You've done a very good job, and I really appreciate it.
[Nexus One Android Development] waylo:
I just used the "update" function on the Dos executable and it worked fine.
[Nexus One Android Development] j00m:
My phone is not unlocked bootloader. I dont want unlock.

I want to ask: this tool will auto unlock my phone?
[Nexus One Android Development] dla5244:
Never
[Nexus One Android Development] j00m:
So what does tool do?
[Nexus One Android Development] avgjoemomma:
If you need to ask, DO NOT EVEN ATTEMPT USING IT
[Nexus One Android Development] exb0:
+1
[Nexus One Android Development] j00m:
No care to answer? No easy to understand!

I only want to know! My phone is S-Oon, i want to use new kernel, so need s-off.

Anyone explain help me?
[Nexus One Android Development] gregferns:
Read the thread.
[Nexus One Android Development] adv392:
After the custom hboot update my power button has started to act weird, doesn't respond need to click it 3 times. Anybody experiencing this problem?
[Nexus One Android Development] j00m:
This tool has backup hboot before modify?
[Nexus One Android Development] dla5244:
To select menu in hboot, you have to press trackball

To power on, press power key.

No need to worry about backup hboot.

Maybe, All thing you need is in BlackRose installer or second post.
[Nexus One Android Development] j00m:
Does this tool use-ing zergRush exploit for?
[Nexus One Android Development] Saphroxx:
I lol'd. You don't need S-OFF to flash another kernel - look that up in the Kernels/Radio/ROM thread on N1 forum. It has links to all different kernels and their threads on it.

I suggest you don't touch this kind of tools if you have to ask what it's purpose is, even after reading this thread. You'll ruin your phone and will beg for help in semi-english without providing us the info needed to help you further, which will likely end up with a bricked phone for you.

EDIT: I use pershoot's kernel which can be found here (with all info and instructions you need) http://xdaforums.com/showthread.php?t=1015877&page=27 OR http://droidbasement.com/db-blog/?cat=1
[Nexus One Android Development] j00m:
Lol ?

I don't think you understand me & this tool!

This tool will unlock secret command. So i can easy fastboot my rom! "with blackrose hboot it is

already unlocked but doesnt

show the lock on the splash

screen."

I like s-off with blackrose hboot.
[Nexus One Android Development] exb0:
English lvl 1

Stupidity lvl 50

?!?!?!?!!! lvl 99
[Nexus One Android Development] j00m:
What wrong illu..?
[Nexus One Android Development] DaXmax:
From ur first post, i dont understand a thing...
[Nexus One Android Development] bimasakti85:
To flash another kernel or ROM, you dont have to use blackrose. All you need is unlock the bootloader and flash a recovery. To unlock the bootloader and flash a recovery, you can do it via adb command. Maybe in this blackrose, there is also included to unlock the bootloader. But, the main purpose of blackrose isnt that, but to modify our partition, etc.

Sent from my Nexus One
[Nexus One Android Development] MR_EVIL:
can any body explain what this hack does? also my nexus screen got cracked so i replaced it but i dont have an idea whether it is SLCD or Amoled(previously it was amoled)? also will i be able to run miui after i flash this...do u require specific recovery...i have unlocked bootloader? any body just guide me...
[Nexus One Android Development] matheusvilela:
I tried to install BlackRose using windows installer. The installer says installation has been successful, but my bootloader stills shows HBOOT-0.35.0017 and S-ON.

I have an unlocked SLCD n1. Am I doing something wrong?
[Nexus One Android Development] dla5244:
First, Sorry my english.

Stock Bootloader checks on lockflag(reserved by mpu,only can set 1(unlocked) when radio S-ON) when flash image and use boot command and etc.

While BlackRose is modified in order to do everything , so you can do everything without change lockflag

BlackRose installer doesn't change lockflag(eg. fastboot oem unlock)

Only HBOOT partition is changed.

Don't worry.

You can deserve BlackRose, if you go with instruction in BR installer

PS.If you want to flash new kernel without installing blackrose, you can do that by using flash_image or custom recovery method.

Hmm.

Installer is working perfectly.

Try again as locked method.

You need to read OP(require section).
[Nexus One Android Development] matheusvilela:
Since my n1 is unlocked, can I just use these commands to install blackrose?

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

2) Boot the exploit: fastboot boot go.lol

3) Flash the modified hboot: fastboot flash hboot hboot_blackrose.nb0
[Nexus One Android Development] dla5244:
No, you have to install BlackRose by using BR installer.

above method isn't worked anymore.

If you don't trust me, try it.
[Nexus One Android Development] matheusvilela:
Used the installer with the locked option (although my n1 is unlocked) and it worked!

Thanks!
[Nexus One Android Development] gpstar:
Hey guys, having trouble installing with the linux installer. My nexus one gets stuck on the initial boot screen with the lock when running the installer, here is the output:

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

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

----------------------------
Nexus One BlackRose 111126
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 111126
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
[Nexus One Android Development] dla5244:
What's your bootloader version?

Only works on 0.35.0017
[Nexus One Android Development] gpstar:
nm works now. dla5244 you were right, was wrong bootloader before.

thanks.
[Nexus One Android Development] j00m:
Need improve this tool:

- if in /data/loca/tmp is exist zergRush file. This tool will not work! need to handling error better?

- after installed BlackRose hboot. can auto detect the device installed, insead of asking?

- other improve, at ask about level of ro.secure. it show 1 or 0. white chossen is 1,2.
[Nexus One Android Development] avgjoemomma:
I wish there was a way to rate posts down :p
[Nexus One Android Development] dla5244:
problem 1,3 will be fixed on next blackrose.

I think 2 is no needed. :)

Edit: fixed :D
[Nexus One Android Development] j00m:
I done flash boot,system!

Now what will happen if uninstall blackrose?
[Nexus One Android Development] milomak:
When runnign the linux version of BlackRose, how long does it show

<waiting for device>

at this stage?

Is your device unlocked?
1 Yes (Unlocked)
2 No (Locked)
3 Cancel
Please make a decision:1
Please wait...
< waiting for device >
[Nexus One Android Development] dla5244:
Nothing happens, if you doesn't change partition layout.

Only within 10seconds.

Check your fastboot usb rule settings.
[Nexus One Android Development] milomak:
yes that will be the issue. is the setting typically rom dependent or is the a terminal command i can use to enable it?
[Nexus One Android Development] dla5244:
http://source.android.com/source/initializing.html

Read "Configuring USB Access" section.
[Nexus One Android Development] milomak:
Thanks. That did the trick.
[Nexus One Android Development] babijoee:
Hi, i'm using windows 7 and downloaded blackrose_111128.zip

I loaded up the blackrose.exe through cmd

and its giving me this

Blackrose component is missing/corrupted
[Nexus One Android Development] dla5244:
Just working directory ploblem.

I will fix that on next version(maybe).

For example

C:\Users\lecahel>c:\blackrose_111128\blackrose.exe (X)

Solution

execute blackrose.exe by double clicking icon or

C:\blackrose_111128>blackrose.exe (O)
[Nexus One Android Development] babijoee:
Yep that did the trick. Thanks :)

In the meantime i guess you could add that to the 2nd post somewhere as i know alot of other people want to try out alpha9 of ICS.
[Nexus One Android Development] avgjoemomma:
All these noobs are coming into this thread thanks to the ICS ports... They're going to take a lot of your time with all their questions :banghead:
[Nexus One Android Development] babijoee:
Is there a problem with that? I dont see any reoccuring questions being asked here.

And with that it allows the OP to improve his code/program.
[Nexus One Android Development] imfloflo:
Is this linux script compatible with macosx ?
[Nexus One Android Development] avgjoemomma:
I was worried about re-occurring questions. Time will tell;)
[Nexus One Android Development] Signfang:
I'm using custom partition Blackrose.

If I want to upgrade(or downgrade) Radio, should I uninstall Blackrose, then flash radio, and then back to Blackrose?
[Nexus One Android Development] Iperzampem0:
No you don't need to go back to stock Bootloader.

Flashing radio, recovery, boot.img, etc. has nothing to do with the HBOOT ;)
[Nexus One Android Development] dla5244:
Installer made by c language.

So it can ported for mac.

But since i don't have proper toolchain, I can't compile mach-o type and test that. :(

I hope I release blackrose for mac :)
[Nexus One Android Development] dla5244:
Read FAQ section(forth) in OP
[Nexus One Android Development] babijoee:
Hopefully not :)
[Nexus One Android Development] sabiwa:
I know it must be somewhere in this post but can someone put the lines to put in an new nb0 in the phone after I made one.

Maybe its good to add them to the OP
[Nexus One Android Development] cyberon:
You where a noob once, chill. ;)
[Nexus One Android Development] Iperzampem0:
If you want, go into my HyperSense rom thread and you will find the useful procedure to install a new custom partition layout (.nb0 file). :p

Note that you don't need to download my .rar package.

Simply download from here the 2 zips: blackrose_111128.zip and hboot_brcust_111128.zip

Enjoy
[Nexus One Android Development] milomak:
I tried to run it on Lion and it said something about not being able to execute the binary file.
[Nexus One Android Development] :
Maybe save these if this is what you were looking for--I did this from previous OP page

1.fastboot flash hboot <modified hboot>

2.fastboot reboot-bootloader

3.fastboot erase cache

4.go to hboot and recovery

5.full wipe

5.update rom

6.reboot

fastboot oem brcmd x (x is number)

x=1 : Enable/Disable vibration during at boot (Output string is none. but setting will be changed.)

x=5 : Go to recovery mode
[Nexus One Android Development] dla5244:
Added 2nd post.

Thanks :)
[Nexus One Android Development] imfloflo:
Maybe we can find someone, who can compile it or just make a executable script ( i have a mac if you want i can search if i can help )
[Nexus One Android Development] :
NP dla5244

If I helped a little just hit thanks--:):)
[Nexus One Android Development] avgjoemomma:
dla5244, I know you're on a break but wanted to ask about something. Would it be possible to make Blackrose require a password before performing any fastboot functions such as flashing?
[Nexus One Android Development] efrant:
Not sure that would be of any value, as someone could just use fastboot commands directly in a terminal window to flash, which would by-pass the installer. So having a password on the installer wouldn't really achieve anything.
[Nexus One Android Development] bobtentpeg:
I can probably help...
[Nexus One Android Development] Bitbrit:
Is anyone else having signing-related issues when trying to install the latest Blackrose? I keep getting:

I've noticed this problem has happened before and the author has said to download a new version that is signed properly, so I guess I can't go about fixing this myself?

Any help is appreciated.

Thank you.
[Nexus One Android Development] avgjoemomma:
No, that's what I was trying to ask. If there was a way to force a password check for running those fastboot commands in the terminal. Either it would ask for password input at the terminal itself or prompt the user on the phone (bootloader screen) Hopefully that makes sense :p
[Nexus One Android Development] efrant:
Interesting concept. What could maybe be done is disable the "fastboot flash" command in the bootloader code, and then use a custom command (e.g., fastboot oem brflash) which would flash the image only if a certain string was included. But that is certainly way beyond my knowledge level. :) Maybe dla5244 can work some of his magic for you!
[Nexus One Android Development] gregferns:
Correct me if i am wrong please. Can fastboot flash commands be used from the terminal app from the phone itself ? Like say if i want to flash the custom HBOOT from within the phone itself, is it possible ?
[Nexus One Android Development] efrant:
To use fastboot commands, your device needs to be booted into fastboot mode... ;)
[Nexus One Android Development] avgjoemomma:
Yep, something like that would be great! If we could personalize the password string (probably using an upgraded version of the tool IntersectRaven made for changing the mount sizes). Of course the stored password would have to be encrypted as well;) This would help us lock down our bootloader and prevent an attacker from flashing their own (at least via flashboot).

If something like this can be implemented it would open up quite a few doors such as implementing a boot password. Basically you would be required to enter a password every time you booted/rebooted. If the password succeeds the boot process continues, if not you could lock the phone (or even wipe the data:eek: ) An attacker would not even be able to get into Recovery:p Further down the line, we could look at somehow tying in the disk encryption capabilities of Android 3.0+ so we could encrypt /system, /data, /sdcard, etc. Total phone lockdown:cool:
[Nexus One Android Development] ajam100:
Im still a little confused. Theres no clear guide on how to install this on a SLCD

Im still a little confused. Theres no clear guide on how to install this on a SLCD Nexus One. Can someone post a explanation of the steps id have to go through to install blackrose on my nexus one with out bricking it?
[Nexus One Android Development] :
ajam100

see page 11 and 12 on slcd question
[Nexus One Android Development] ajam100:
I still dont get it

I saw that but I still dont understand where this MICROP(0B15) and this MICROP(0C15) are and how to choose which one. I dont want to risk bricking my device if im not 100% sure i know what im doing. Can you explain to me what I have to do exactly to flash the right one for the SLCD Nexus One?
[Nexus One Android Development] efrant:
There are no special instructions for flashing this on an SLCD vs AMOLED. It is based off the 0.35.2017 hboot, so it works for both...

Instructions are in the first post. Just run the executable.

What the dla5244 was trying to say about SLCD devices is that you should not flash anything that has microp 0b15 (like older pre-Froyo shipped images), which the modified bootloader will allow you to do.
[Nexus One Android Development] dla5244:
No thanks

Maybe I will face the ploblem who compile and test whenever i renew blackrose.

I will install toolchain and compile blackrose later.

Sorry to say that :)

Technologically, Yes I can in few days.

But, suppose you forgot the password and there's no way to recover password

I think many solution for this issue, but can't proper solution.

If I make recover function(Only I can create passcode based on serial number), I coudn't identify that you are real owner.

If I don't make recover function, JTAG is needed.

Anybody raise your opinion.

Definitely yes.

BlackRose is based off of 0.35.2017(engineering bootloader)

Also, I am using N1-SLCD(Don't flashing MICROP image(included in eclair rom,0B15))

You can use any roms with blackrose(check partition layout)

Don't worry :)
[Nexus One Android Development] TheStrider:
Hey. Is there any way possible to get this installed without using fastboot?

My USB is fried (water damage).

Thanks
[Nexus One Android Development] avgjoemomma:
Yes, I see your point. For me, I really want to be able to lock down the bootloader to make sure that only I have access to modify it, etc. I think the only valid solution if one forgets their password would be to have Blackrose securely shred all data on the /data, /sdcard, /sd-ext (I'd also shed /system to be safe) and delete the stored password. Once all data is shredded, the bootloader would switch the password protection off and allow the user back into the bootloader and recovery. You could even have an option that if an invalid password is entered 3 times in a row, it'll begin shredding :p

There's a lot of crazy ideas we could get into. Like say, what if had Blackrose set up with two passwords. One would be your normal everyday password you use which gives you full access to your phone. Another would be an emergency password that you use if you are under duress such as a repressive government keeping you locked up until you give them access to your phone data:eek: This second password would shred our original /data partition and copy over a /data partition we prepared earlier with nothing that could be used against us. OK, that's getting complicated and maybe paranoid but it could be useful :p
[Nexus One Android Development] efrant:
You need to be able to connect to you computer via USB to use this. No way around it.

---------- Post added at 07:56 AM ---------- Previous post was at 07:55 AM ----------

I like the way you think! ;)
[Nexus One Android Development] adv392:
I like your idea :)