Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,646 Members 46,281 Now Online
XDA Developers Android and Mobile Development Forum

[Recovery] [07-Jan-2011] RA-passion-v2.2.1

Tip us?
 
gravufo
Old
#1401  
gravufo's Avatar
Senior Member
Thanks Meter 21
Posts: 310
Join Date: Sep 2010
Location: Montréal
Quote:
Originally Posted by efrant View Post
It actually should be mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system (or mount -o rw,remount /dev/block/mtdblock3 /system if you're lazy) for a Nexus One. Note the 3, not a 4...
nah man, 4 works too, trust me, I've used it on tons of phones.

but what does the -t yaffs2 stand for? (I probably won't use it, I'm lazy ^^)
French AND English tutorials* located here.
*Specially made for Vidéotron Nexus One owners, but works for any networks
- Contains How-To flash a different ROM from stock WITHOUT unlocking bootloader
- Contains How-To flash different radio through custom recovery in a safe manner
- Contains How-To revert back to stock Vidéotron, after having followed my first tutorial

 
overground
Old
(Last edited by overground; 17th November 2010 at 06:57 PM.) Reason: Added direct download
#1402  
overground's Avatar
Moderator & Developer Committee / Recognized Developer - xxxda-developers Founder
Thanks Meter 1176
Posts: 5,252
Join Date: Apr 2009
Location: Oxnard, CA Likes: Los Angeles Lakers Dislikes: Heavy petting zoos
For those of you who know what BART is (check the G1 forum for the thread, basically a wrapper for Nandroid), here is 2.0.0 with BART added in. Credits to Dumfuq for doing this for me. To see the BART options, while in this recovery, and connected to your PC type:
Code:
adb shell
bart -h
Enjoy

http://www.4shared.com/file/tIbSrYbE...-bart-131.html

For those who download from the link below, extract the file first.
Attached Files
File Type: zip ra-2.0.0-bart-1.3.1.img.zip - [Click for QR Code] (3.97 MB, 8 views)
 
T-mobile SDA, T-mobile G1 (bronze) Rooted, Nexus One Rooted 4.0.4, T-mobile G2x Rooted, Viewsonic G-tab 10.1", HTC OneX (SOLD), Kindle Fire Rooted, T-mobile SGS3 rooted, Note 10.1 rooted / GDE=360°s of fun!! / pinkventure.com
Quote:
Originally Posted by dumfuq View Post
That is correct. Or you cold use the escape sequence instead of quotes.
Code:
sh /system/sd/bart.sh Double\ post -d -u -m -f -u -q knockeduphooker9.1.1Full10-26-09
Buy me some meds
 
landstander
Old
#1403  
landstander's Avatar
Senior Member
Thanks Meter 29
Posts: 219
Join Date: Nov 2009
Location: KC metro area
Quote:
Originally Posted by efrant View Post
It actually should be mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system (or mount -o rw,remount /dev/block/mtdblock3 /system if you're lazy) for a Nexus One. Note the 3, not a 4...
That's not the lazy version... try "mount -o remount,rw /system" instead.
Phone: Nexus 5 (CyanogenMod 10-M3, TWRP 2.6.3.4)
Tablet: Nexus 7 (CyanogenMod 11-M3, TWRP 2.6.3.1)
 
rugmankc
Old
#1404  
rugmankc's Avatar
Senior Member
Thanks Meter 1756
Posts: 7,374
Join Date: Jun 2010
Location: Dayton, Ohio
Quote:
Originally Posted by efrant View Post
Actually, that was not what he was asking. He was asking if he would still be able to restore Nandroid back-ups made with prior versions of Amon_RA, using the current Amon_RA. The answer I believe is yes, given that the scripts work the same way.


I think you are confusing a couple of things here:
- ADB is short for Android Debug Bridge, and it is a tool to manage Android devices when you connect your device to your computer. ALL android devices "use" ADB.
- flash_image is a utility that allows you to flash partitions via an ADB shell or via a terminal on the device. flash_image requires root access, and it is exactly the same command whether done via ADB or on your device.
- Fastboot commands can only be run on devices with unlocked bootloaders. Fastboot allows you to flash any partition on your device when connected to your computer. Root access is irrelevant.


Thanks efrant,

I have used both Terminal and Fastboot with Command Prompt. Just horrible with the "exact" command lines. Haven't done it enough yet, so have to really research exactly what to type. I just saw somewhere there was no underscore between flash and image on a fastboot command line example. And I use one in Terminal. Been 7 months since doing any real commands in Fastboot so don't remember much. Any way, thanks and 2.0.0 is working well for me.


Ken
ATT Samsung Galaxy S4/Rooted/TWRP 2.5.0.2/Wanam Xposed, or Gravity Box/Long Time MultiRom Flasher/Waiting For The Note 4--The Game Changer








 
Brajin
Old
#1405  
Brajin's Avatar
Senior Member
Thanks Meter 1
Posts: 227
Join Date: Aug 2009
Just Flash Over, everything works great, thanks for the new update. Can some one post up a screen shot of what the jesusfreke version looks like please thanks
 
efrant
Old
(Last edited by efrant; 17th November 2010 at 11:25 PM.)
#1406  
efrant's Avatar
Senior Moderator
Thanks Meter 8044
Posts: 9,522
Join Date: Feb 2009
Location: Montreal Bow2DaCow

 
DONATE TO ME
Quote:
Originally Posted by gravufo View Post
nah man, 4 works too, trust me, I've used it on tons of phones.
[snip]
Just because it may work sometimes doesn't mean it is the right way to do it. The system partition in a Nexus One is mtd3. To see all the partitions in your device, enter this in a root shell (via ADB on a computer or a terminal on your device): cat /proc/mtd

All devices have different partitions, and you should technically mount the correct one.

Quote:
Originally Posted by gravufo View Post
but what does the -t yaffs2 stand for? (I probably won't use it, I'm lazy ^^)
It specifies the file system to use.
At present, I am not readily available on the forums or via PM -- if you are in need of a moderator, please contact someone from this list.

I do NOT answer technical questions via PM. Post in a thread.

Google Nexus 5

XDA Forum Rules & Moderator List

WHAT MATTERS IS UNDERSTANDING THE JOURNEY...
 
efrant
Old
(Last edited by efrant; 17th November 2010 at 11:19 PM.)
#1407  
efrant's Avatar
Senior Moderator
Thanks Meter 8044
Posts: 9,522
Join Date: Feb 2009
Location: Montreal Bow2DaCow

 
DONATE TO ME
Quote:
Originally Posted by rugmankc View Post
Thanks efrant,

I have used both Terminal and Fastboot with Command Prompt. Just horrible with the "exact" command lines. Haven't done it enough yet, so have to really research exactly what to type. I just saw somewhere there was no underscore between flash and image on a fastboot command line example. And I use one in Terminal. Been 7 months since doing any real commands in Fastboot so don't remember much. Any way, thanks and 2.0.0 is working well for me.


Ken
What I'm trying to get across here, is that there is no flash_image or flashimage in fastboot. For example, if you want to flash a recovery image using fastboot, the command would be:

fastboot flash recovery <recovery.img>

If you wanted to flash a recovery image using flash_image (whether via a terminal shell on your device, or and ADB shell in you computer), the command would be (root required):

flash_image recovery <recovery.img>
At present, I am not readily available on the forums or via PM -- if you are in need of a moderator, please contact someone from this list.

I do NOT answer technical questions via PM. Post in a thread.

Google Nexus 5

XDA Forum Rules & Moderator List

WHAT MATTERS IS UNDERSTANDING THE JOURNEY...
 
gravufo
Old
#1408  
gravufo's Avatar
Senior Member
Thanks Meter 21
Posts: 310
Join Date: Sep 2010
Location: Montréal
Quote:
Originally Posted by efrant View Post
Just because it may work sometimes doesn't mean it is the right way to do it. The system partition in a Nexus One is mtd3. To see all the partitions in your device, enter this in a root shell (via ADB on a computer or a terminal on your device): cat /proc/mtd

All devices have different partitions, and you should technically mount the correct one.


It specifies the file system to use.
I see, but please clarify more...how come it would work if I'm using the wrong partition? /system is present in both partitions or what? O.o

Thanks for the specifications
French AND English tutorials* located here.
*Specially made for Vidéotron Nexus One owners, but works for any networks
- Contains How-To flash a different ROM from stock WITHOUT unlocking bootloader
- Contains How-To flash different radio through custom recovery in a safe manner
- Contains How-To revert back to stock Vidéotron, after having followed my first tutorial

 
rugmankc
Old
#1409  
rugmankc's Avatar
Senior Member
Thanks Meter 1756
Posts: 7,374
Join Date: Jun 2010
Location: Dayton, Ohio
Quote:
Originally Posted by efrant View Post
What I'm trying to get across here, is that there is no flash_image or flashimage in fastboot. For example, if you want to flash a recovery image using fastboot, the command would be:

fastboot flash recovery <recovery.img>

If you wanted to flash a recovery image using flash_image (whether via a terminal shell on your device, or and ADB shell in you computer), the command would be (root required):

flash_image recovery <recovery.img>


Thanks for reply,

Must have seen a bad example. Like I said haven't really done anything thru fastboot since I unlocked and rooted 7 months ago.

I do have flash_image on my sd card. Guess that's why I use those commands.

So, you could use flash_image thru adb with a rooted phone but locked bootloader? Or, do you need to be unlocked for both, just not rooted for fastboot?

Appreciate any tutoring info I can get.


Ken
ATT Samsung Galaxy S4/Rooted/TWRP 2.5.0.2/Wanam Xposed, or Gravity Box/Long Time MultiRom Flasher/Waiting For The Note 4--The Game Changer








 
efrant
Old
#1410  
efrant's Avatar
Senior Moderator
Thanks Meter 8044
Posts: 9,522
Join Date: Feb 2009
Location: Montreal Bow2DaCow

 
DONATE TO ME
Quote:
Originally Posted by rugmankc View Post
Thanks for reply,

Must have seen a bad example. Like I said haven't really done anything thru fastboot since I unlocked and rooted 7 months ago.

I do have flash_image on my sd card. Guess that's why I use those commands.

So, you could use flash_image thru adb with a rooted phone but locked bootloader? Or, do you need to be unlocked for both, just not rooted for fastboot?

Appreciate any tutoring info I can get.


Ken
Unlocking your bootloader = the ability to use fastboot to flash images to your device. Nothing more to it than that.

Bootloader locked => need to find another way to flash images to your device (such as the flash_image utility). Rooted or not, it doesn't matter -- you cannot use fastboot without an unlocked bootloader.

To use flash_image, your device needs to be rooted. You can run flash_image from a terminal window on your device, or within an ADB shell. Locked or unlocked bootloader doesn't matter.
At present, I am not readily available on the forums or via PM -- if you are in need of a moderator, please contact someone from this list.

I do NOT answer technical questions via PM. Post in a thread.

Google Nexus 5

XDA Forum Rules & Moderator List

WHAT MATTERS IS UNDERSTANDING THE JOURNEY...

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes