New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
l33tlinuxh4x0r
Old
(Last edited by l33tlinuxh4x0r; 7th June 2010 at 03:39 AM.)
#1  
l33tlinuxh4x0r's Avatar
Senior Member - OP
Thanks Meter 77
Posts: 571
Join Date: Nov 2007
Location: Wendell, NC
Default Remount system writable

just do this and you can read and write the system partition

Code:
mount -t yaffs2 -o remount,rw /dev/block/mtdblock4 /system
I have tried to remove some stock apps but am getting an error directory not empty.
 
Jus10o
Old
#2  
Jus10o's Avatar
Senior Member
Thanks Meter 5
Posts: 1,431
Join Date: Mar 2010
Quote:
Originally Posted by l33tlinuxh4x0r View Post
just do this and you can read and write the system partition

Code:
mount -t yaffs2 -o remount,rw /dev/block/mtdblock4 /system
Iv always seen it written like this

mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
 
watzone69
Old
#3  
watzone69's Avatar
Senior Member
Thanks Meter 26
Posts: 966
Join Date: Oct 2008
Location: Austin, Texas
You can also do this:

Code:
mount /dev/block/mtdblock4 /system
 
Obama's>god
Old
#4  
Member
Thanks Meter 1
Posts: 88
Join Date: May 2010
Ummm isnt it nand locked?
What is this? Is this real life?
 
Cordy
Old
#5  
Senior Member
Thanks Meter 115
Posts: 659
Join Date: Feb 2008
Quote:
Originally Posted by Jus10o View Post
Iv always seen it written like this

mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
They're both the same, you're setting the type of filesystem and then what options and then pointing to what to mount. They are just written differently. And although I know the simplest things are overlooked, but I'd have figured toast and company would of tried mounting the filesystem already. Feel free to correct me if I'm wrong and if anyone can validate this.
 
Neotelos_com
Old
#6  
Senior Member
Thanks Meter 60
Posts: 317
Join Date: Jul 2008
Location: Seattle

 
DONATE TO ME
Quote:
Originally Posted by Obama's>god View Post
Ummm isnt it nand locked?
What is this? Is this real life?
NAND is NOT locked if you are in recovery mode.
But unfortunately the stock recovery mode doesn't allow adb, so it only works in rooted/modded ROMs.
 
timothydonohue
Old
#7  
timothydonohue's Avatar
Senior Member
Thanks Meter 63
Posts: 1,357
Join Date: Oct 2007
Location: Portland, Maine
Quote:
Originally Posted by Neotelos_com View Post
NAND is NOT locked if you are in recovery mode.
But unfortunately the stock recovery mode doesn't allow adb, so it only works in rooted/modded ROMs.
maybe i'm wrong, but i thought that NAND was still locked. it's /system you can get to with our current root. if NAND was unlocked, then we could flash the eng build and get it stick. but, we can't.
If you need help, try IRC #Cyanogenmod in freenode.net
Someone may be able to help you there. I will try, if I'm on.
 
joeykrim
Old
#8  
Recognized Developer
Thanks Meter 1102
Posts: 1,860
Join Date: Jan 2009
hope this makes sense because these terms and concepts seem to be getting confused and rehashed in different threads. im all for brainstorming and being creative and hope i explain this well.

you're all correct, in all ROMs, EXCEPT toast's PC36IMG.zip (userdebug RUU), /system is NAND locked.

if you have root access in normal android mode (unrevoked, etc) and are able to make changes to /system, reboot and you'll see the changes don't stick cuz it is NAND locked.

if you're using toast's PC36IMG.zip (leaked userdebug RUU) recovery mode has root adb access AND NAND unlocked /system. hurray for a leak!

it is good to know the mount commands which we can use in the leaked userdebug RUU recovery mode because /system is NAND unlocked there.
but the mount commands won't help us in normal android mode UNTIL we can get past the NAND lock protection.


XDA PORTAL POSTS

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more