Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

The potential joys of Nvflash (Dead in the water?)

OP Sogarth

23rd April 2011, 04:20 AM   |  #1  
OP Retired Recognized Developer
Thanks Meter: 362
 
503 posts
Join Date:Joined: Jan 2006
Interestingly enough (I don't know the reasons), it looks like Motorola left a copy of Nvflash and Atrix-specific bootloader.bin for it on the Atrix. What's interesting about Nvflash is that it allows for targeted backup and restore of partitions (i.e. something along the lines of what Nandroid allows for, except at a lower level), which decreases recovery time when developers do something that ends up soft-bricking their phone. It should also break us free of our dependence on SBFs because we'll be able to create our own backups.

Anyways, the Nvflash on the phone is the Linux i386 binary. The bootloader.bin isn't platform specific, as it's meant for the target, rather than the host. THe archive is available in /usr/local/share/motorola/fireboxmake/OSH_tools.tgz.

Unfortunately, this is where we get stuck, because we don't currently know how to get a connection to the phone. And that's where all of you come in! Can you get further? I've gotten this far:
Code:
Nvflash started
rcm version 0X4
Command send failed (usb write failed)
I imagine that some of the functionality may end up requiring the --sbk flag (and we don't know the SBK right now), but I'm hoping that we can at least backup and restore /system, /data, and /osh.

Update: Information I've obtained indicates that this is the error you get when the SBK you pass in doesn't match the SBK on the system. So, no luck until we get that SBK.

Update 2: Additional links from dasmoover:
Credit to dasmoover for the find.
Last edited by Sogarth; 24th April 2011 at 07:39 AM. Reason: Links from dasmoover.
The Following 5 Users Say Thank You to Sogarth For This Useful Post: [ View ]
23rd April 2011, 04:24 AM   |  #2  
Member
Thanks Meter: 2
 
66 posts
Join Date:Joined: Nov 2007
Correct me if I'm wrong but isn't this the same thing as which apparently folks are trying to get taken down in the name of keeping the info under wraps?
Last edited by Mr. Clown; 23rd April 2011 at 03:28 PM.
23rd April 2011, 04:29 AM   |  #3  
Member
Flag Pittsburgh, PA
Thanks Meter: 9
 
30 posts
Join Date:Joined: Aug 2009
More
I would like to excuse myself for earlier. I am glad that you have turned this in to something positive.

Sent from my MB860 using XDA Premium App
Last edited by EricHegnes; 23rd April 2011 at 04:48 AM.
23rd April 2011, 04:30 AM   |  #4  
OP Retired Recognized Developer
Thanks Meter: 362
 
503 posts
Join Date:Joined: Jan 2006
Quote:
Originally Posted by JdeFalconr

Correct me if I'm wrong but isn't this the same thing as some other thread, which apparently folks are trying to get taken down in the name of keeping the info under wraps?

It's related, but it's not quite the same thing. If nothing else, you have the binaries for this right now on your phone (dasmoover posted a link on the IRC channel 12 hours ago or so). I'm at this mostly for the backup/restore capabilities of Nvflash rather than bootloader hacking. Even if we only ever had that much, I'd be thrilled, because I hate having to re-SBF and set everything up again every time I soft brick my phone.

Also: I've been planning on posting this for a few hours now, before that other post even went up. I'm... disappointed to see that other post, but these two things aren't after the same thing.
Last edited by Sogarth; 23rd April 2011 at 04:50 AM.
23rd April 2011, 07:34 AM   |  #5  
dasmoover's Avatar
Recognized Developer
Thanks Meter: 124
 
220 posts
Join Date:Joined: Nov 2010
http://gititbit.ch/fbm1 - /osh/usr/local/share/motorola/fireboxmake
also contains OSH_tools.tgz.

Firebox is the development name for the Webtop system. This contains the tools to prep the partition image for flashing. There are also some files IDA generated.


May be of use: http://gititbit.ch/tces1 - Tegra Crypto Engine Source Snapshot
Last edited by dasmoover; 23rd April 2011 at 07:46 AM.
23rd April 2011, 08:02 AM   |  #6  
seven2099's Avatar
Senior Member
Flag Montreal
Thanks Meter: 242
 
563 posts
Join Date:Joined: Sep 2010
More
do you mind me asking but.. what was that other thread about that it warranted getting deleted.
23rd April 2011, 08:14 AM   |  #7  
minooch's Avatar
Senior Member
Thanks Meter: 1,419
 
650 posts
Join Date:Joined: Oct 2008
Donate to Me
Quote:
Originally Posted by seven2099

do you mind me asking but.. what was that other thread about that it warranted getting deleted.

it got deleted for a reason - let it be
23rd April 2011, 08:45 AM   |  #8  
molotof's Avatar
Member
Flag Virginia
Thanks Meter: 10
 
50 posts
Join Date:Joined: Apr 2007
More
I think we are getting warmer now .......... this calls for some investigation.
23rd April 2011, 09:07 AM   |  #9  
Junior Member
Flag Riverside
Thanks Meter: 0
 
23 posts
Join Date:Joined: Nov 2008
More
Quote:
Originally Posted by minooch

it got deleted for a reason - let it be

Wow he was just asking a questing...If you feel that even just telling him/us what the thread was about is so bad/dangerous then i think there is a bigger problem here. This should be a place to share information, ideas and if we start cracking down on that then we lose so much (yes if it is copyrighted or under nda then take it down)
23rd April 2011, 03:05 PM   |  #10  
Senior Member
Thanks Meter: 44
 
226 posts
Join Date:Joined: May 2010
http://forum.tegratab.com/viewtopic.php?f=13&t=18

They've been using nvflash to flash their tablet.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes