Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mik_os
Old
(Last edited by mik_os; 3rd May 2012 at 10:33 AM.)
#61  
mik_os's Avatar
Recognized Developer
Thanks Meter 1831
Posts: 743
Join Date: Apr 2010
Location: Poltava
Successful.
Now command "continue" will bring you back to menu. Emmc version for testing attached. Sources, more info, and corrected file size will be available when I get some sleep (it's 4 a.m. for me)
Attached Files
File Type: zip flashing_boot_emmc.zip - [Click for QR Code] (79.7 KB, 27 views)
The Following 6 Users Say Thank You to mik_os For This Useful Post: [ Click to Expand ]
 
fattire
Old
#62  
fattire's Avatar
Recognized Developer - OP
Thanks Meter 3786
Posts: 1,295
Join Date: Oct 2010
Talking Wanna crash your bootloader?

Yeah having it continue the boot post-fastboot is an easy fix. I didn't realize you could continue once fastboot ran. All you'd really have to do is find the menu option in.. I think it was mmc.c... and then just have it call another boot profile after it executes fastboot (or re-run the menu). If you need help with this I can show you how to do it.

Incidentally a few days ago I posted a first attempt to an update to the menu, based on refinements to cyanoboot nookcolor from tonsofquestions and then adapted to the NT. . Chrmhoffmann was supposed to take a look, but I don't think he had a chance yet. It's up on goo-inside.me if someone wants to try it. Somehow I'm guessing it will crash hard, but if someone is feeling adventurous, there's a flashing_boot.img up there which includes the source.

The big difference is basically that it will grey out menu items that don't apply (based on whether the files are available on the sdcard), but there are some other optimizations to the menu interface as well.

That plus the fastboot recover I think might warrant a new "major" release. I hesitated to post it until someone tested it-- I still dont' have a nook tablet. But since a patch to the previous source is available, if it's not working, someone might want to debug it as necessary.

There is also a discussion on the cyanboot nookcolor thread about whether a portrait or landscape configuration is more desirable. There is a horizontal version implemented, but consensus seemed to be portrait was preferred.

Anyway, the probably-will-crash experimental version, along with the source diff, is here.
 
fattire
Old
#63  
fattire's Avatar
Recognized Developer - OP
Thanks Meter 3786
Posts: 1,295
Join Date: Oct 2010
Quote:
Originally Posted by mik_os View Post
Succesfull.
Now command "continue" will bring you back to menu. Emmc version for testing attached. Sources, more info, and corrected file size will be available when I get some sleep (it's 4 a.m. for me)
Hah, I guess i missed this post.

Great.. so that's done, awesome. Can you try the new menu changes? Issues that crop up should be pretty easy to fix.
 
mik_os
Old
(Last edited by mik_os; 3rd May 2012 at 11:50 AM.)
#64  
mik_os's Avatar
Recognized Developer
Thanks Meter 1831
Posts: 743
Join Date: Apr 2010
Location: Poltava
Quote:
Originally Posted by fattire View Post
Hah, I guess i missed this post.

Great.. so that's done, awesome. Can you try the new menu changes? Issues that crop up should be pretty easy to fix.
I will try new menu at weekend.

p.s. located my patch here: https://github.com/mik9/acclaim_cyan...837b4c8b027c1b.
p.p.s. attached new image.
Attached Files
File Type: zip flashing_boot_emmc.zip - [Click for QR Code] (79.7 KB, 24 views)
The Following User Says Thank You to mik_os For This Useful Post: [ Click to Expand ]
 
demetris_I
Old
#65  
demetris_I's Avatar
Senior Member
Thanks Meter 1557
Posts: 1,192
Join Date: Aug 2008
Location: Limassol

 
DONATE TO ME
How to flash this?
dd it to mmcblk0p2 is ok?
 
mik_os
Old
(Last edited by mik_os; 3rd May 2012 at 01:03 PM.)
#66  
mik_os's Avatar
Recognized Developer
Thanks Meter 1831
Posts: 743
Join Date: Apr 2010
Location: Poltava
Quote:
Originally Posted by demetris_I View Post
How to flash this?
In same way as provided in first post.

Quote:
Originally Posted by demetris_I View Post
dd it to mmcblk0p2 is ok?
I did not tried but sounds too dangerous. Do not do it.
The Following User Says Thank You to mik_os For This Useful Post: [ Click to Expand ]
 
demetris_I
Old
#67  
demetris_I's Avatar
Senior Member
Thanks Meter 1557
Posts: 1,192
Join Date: Aug 2008
Location: Limassol

 
DONATE TO ME
Quote:
Originally Posted by mik_os View Post
In same way as provided in first post.


I did not tried but sounds too dangerous. Do not do it.
Will this work?

dd if=/dev/zero of=flashing_boot_emmc.img bs=1 seek=524287 count=1

cat flashing_boot_emmc.img boot.img > new_boot.img

fastboot flash boot new_boot.img
 
mik_os
Old
#68  
mik_os's Avatar
Recognized Developer
Thanks Meter 1831
Posts: 743
Join Date: Apr 2010
Location: Poltava
Quote:
Originally Posted by demetris_I View Post
Will this work?

dd if=/dev/zero of=flashing_boot_emmc.img bs=1 seek=524287 count=1

cat flashing_boot_emmc.img boot.img > new_boot.img

fastboot flash boot new_boot.img
If you don't worry about your boot partition you can directly flash with "fastboot flash boot flashing_boot_emmc.img".
If you already have cyanoboot on boot partition this will probably work too.
If you don't have cyanobot on boot partition you need to get boot.img, shift it to 512Kb, and place on first byte content of flashing_boot_emmc.img.
The Following User Says Thank You to mik_os For This Useful Post: [ Click to Expand ]
 
demetris_I
Old
#69  
demetris_I's Avatar
Senior Member
Thanks Meter 1557
Posts: 1,192
Join Date: Aug 2008
Location: Limassol

 
DONATE TO ME
Quote:
Originally Posted by mik_os View Post
If you don't worry about your boot partition you can directly flash with "fastboot flash boot flashing_boot_emmc.img".
If you already have cyanoboot on boot partition this will probably work too.
If you don't have cyanobot on boot partition you need to get boot.img, shift it to 512Kb, and place on first byte content of flashing_boot_emmc.img.
What do you mean if i dont worry, what is the worst thing that can happen?
I have cyanoboot already, q. can fastboot replace it self when in use like recovery?
I mean can i update fastboot from fastboot? lol
 
mik_os
Old
#70  
mik_os's Avatar
Recognized Developer
Thanks Meter 1831
Posts: 743
Join Date: Apr 2010
Location: Poltava
Quote:
Originally Posted by demetris_I View Post
What do you mean if i dont worry, what is the worst thing that can happen?
I have cyanoboot already, q. can fastboot replace it self when in use like recovery?
I mean can i update fastboot from fastboot? lol
Yes, you can. I mean that this opeartion will replace first N bytes of partition and if there was android's boot it became corrupted, but cyanoboot will work.

The Following 2 Users Say Thank You to mik_os For This Useful Post: [ Click to Expand ]
 
Post Reply+
Tags
acclaim, bootloader, cyanoboot, locked, u-boot
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...