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?
 
DooMLoRD
Old
#51  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 23722
Posts: 10,590
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
Quote:
Originally Posted by Meister_Li View Post
Unfortunately, it's not quite as easy. First, we need read/write access to /system, which is only possible if we boot the device with something else than the stock kernel.
to remount /system partition:

if u have adb shell access...

push the busybox binary to /data/local/tmp/

Code:
adb push busybox /data/local/tmp/.
change permission to execute...

Code:
adb shell "chmod 755 /data/local/tmp/busybox"
then enter adb shell and type following commands:
Code:
cd /data/local/tmp/
mount -o remount,rw -t yaffs2 `mount | busybox grep /system | busybox awk '{print $1}'` /system
Attached Files
File Type: rar busybox.rar - [Click for QR Code] (521.3 KB, 25 views)
Like my work? Please consider donating via PayPal

Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z / Xperia SP





** NEW *** DooMLoRD Easy Rooting Toolkit (perf_event exploit)! (supports Xperia Z, S, SP! more to come!)


Wishlist: Xperia Z Ultra!
 
vegetaleb
Old
#52  
vegetaleb's Avatar
Senior Member
Thanks Meter 530
Posts: 4,338
Join Date: Feb 2010
Location: Beirut
Any risk of bricking?
For all Devs I download from, I can't send you a beer because Paypal is not supported in my country



** Vegetaleb's Transparency and Lockscreen Mods for One X Sense 4,4.1 and 4.5 **

** Vegetaleb's Transparent Weather Clock Widget for HTC One **
 
commodoor
Old
#53  
commodoor's Avatar
Senior Member - OP
Thanks Meter 66
Posts: 911
Join Date: Mar 2008
Location: Venlo
It shouldn't brick your phone, gonna try it now will report back
Phone: Samsung Galaxy S II

G+ > http://gplus.to/commodoor

Phone History (old to new):
Nokia 5110, Nokia 8850, Nokia 8210, Nokia 3310, Nokia 8310, Nokia 5210, Nokia 8910, Nokia 3410, Nokia 7650, Motorola V70, Sony CMD J7, SE T610, Nokia N-gage, Nokia 6230, Nokia 6230i, Siemens SL65, Siemens C65, SE K750, Nokia n73, SE K800, HTC Touch, HTC Touch Dual, HTC TytnII, SE Xperia x1, SE 303i, I-mate SPL, HTC Hero, NexusOne, SE X10, HTC WildFire, SE Xperia Arc
 
commodoor
Old
#54  
commodoor's Avatar
Senior Member - OP
Thanks Meter 66
Posts: 911
Join Date: Mar 2008
Location: Venlo
Quote:
Originally Posted by DooMLoRD View Post
to remount /system partition:

if u have adb shell access...

push the busybox binary to /data/local/tmp/

Code:
adb push busybox /data/local/tmp/.
change permission to execute...

Code:
adb shell "chmod 755 /data/local/tmp/busybox"
then enter adb shell and type following commands:
Code:
cd /data/local/tmp/
mount -o remount,rw -t yaffs2 `mount | busybox grep /system | busybox awk '{print $1}'` /system
doesn't work because of no root access "busybox: permission denied"
Phone: Samsung Galaxy S II

G+ > http://gplus.to/commodoor

Phone History (old to new):
Nokia 5110, Nokia 8850, Nokia 8210, Nokia 3310, Nokia 8310, Nokia 5210, Nokia 8910, Nokia 3410, Nokia 7650, Motorola V70, Sony CMD J7, SE T610, Nokia N-gage, Nokia 6230, Nokia 6230i, Siemens SL65, Siemens C65, SE K750, Nokia n73, SE K800, HTC Touch, HTC Touch Dual, HTC TytnII, SE Xperia x1, SE 303i, I-mate SPL, HTC Hero, NexusOne, SE X10, HTC WildFire, SE Xperia Arc
 
DooMLoRD
Old
#55  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 23722
Posts: 10,590
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
Quote:
Originally Posted by commodoor View Post
doesn't work because of no root access "busybox: permission denied"
ok first try this:

can u post the output of the following command:

Code:
adb shell "mount"
Like my work? Please consider donating via PayPal

Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z / Xperia SP





** NEW *** DooMLoRD Easy Rooting Toolkit (perf_event exploit)! (supports Xperia Z, S, SP! more to come!)


Wishlist: Xperia Z Ultra!
 
commodoor
Old
#56  
commodoor's Avatar
Senior Member - OP
Thanks Meter 66
Posts: 911
Join Date: Mar 2008
Location: Venlo
Quote:
Originally Posted by DooMLoRD View Post
ok first try this:

can u post the output of the following command:

Code:
adb shell "mount"
Sure:
PHP Code:
rootfs rootfs ro,relatime 0 0
tmpfs 
/dev tmpfs rw,relatime,mode=755 0 0
devpts 
/dev/pts devpts rw,relatime,mode=600 0 0
proc 
/proc proc rw,relatime 0 0
sysfs 
/sys sysfs rw,relatime 0 0
tmpfs 
/mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs 
/mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
/dev/block/mtdblock0 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock3 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock2 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock1 /data/idd yaffs2 rw,nosuid,nodev,relatime 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/179:/mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:/mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs 
/mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-/mnt/asec/com.keramidas.TitaniumBackup-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-/mnt/asec/com.xeudoxus.privacy.blocker-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-/mnt/asec/com.dropbox.android-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 
Phone: Samsung Galaxy S II

G+ > http://gplus.to/commodoor

Phone History (old to new):
Nokia 5110, Nokia 8850, Nokia 8210, Nokia 3310, Nokia 8310, Nokia 5210, Nokia 8910, Nokia 3410, Nokia 7650, Motorola V70, Sony CMD J7, SE T610, Nokia N-gage, Nokia 6230, Nokia 6230i, Siemens SL65, Siemens C65, SE K750, Nokia n73, SE K800, HTC Touch, HTC Touch Dual, HTC TytnII, SE Xperia x1, SE 303i, I-mate SPL, HTC Hero, NexusOne, SE X10, HTC WildFire, SE Xperia Arc
 
DooMLoRD
Old
(Last edited by DooMLoRD; 17th April 2011 at 09:44 PM.)
#57  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 23722
Posts: 10,590
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
Quote:
Originally Posted by commodoor View Post
Sure:
PHP Code:
rootfs rootfs ro,relatime 0 0
tmpfs 
/dev tmpfs rw,relatime,mode=755 0 0
devpts 
/dev/pts devpts rw,relatime,mode=600 0 0
proc 
/proc proc rw,relatime 0 0
sysfs 
/sys sysfs rw,relatime 0 0
tmpfs 
/mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs 
/mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
/dev/block/mtdblock0 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock3 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock2 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock1 /data/idd yaffs2 rw,nosuid,nodev,relatime 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/179:/mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:/mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs 
/mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-/mnt/asec/com.keramidas.TitaniumBackup-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-/mnt/asec/com.xeudoxus.privacy.blocker-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-/mnt/asec/com.dropbox.android-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 
great so the system MTD block is at /dev/block/mtdblock0

now try this in adb shell:

Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
--OR--
Code:
mount -o remount,rw,relatime -t yaffs2 /dev/block/mtdblock0 /system
and if u dont get any error then post output of:
Code:
adb shell "mount"
BTW: how come u have "com.keramidas.TitaniumBackup-1"??? is ur device rooted yet? or were u just trying out apps ?
Like my work? Please consider donating via PayPal

Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z / Xperia SP





** NEW *** DooMLoRD Easy Rooting Toolkit (perf_event exploit)! (supports Xperia Z, S, SP! more to come!)


Wishlist: Xperia Z Ultra!
The Following User Says Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
commodoor
Old
#58  
commodoor's Avatar
Senior Member - OP
Thanks Meter 66
Posts: 911
Join Date: Mar 2008
Location: Venlo
Quote:
Originally Posted by DooMLoRD View Post
great so the system MTD block is at /dev/block/mtdblock0

now try this in adb shell:

Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
and if u dont get any error then post output of:
Code:
adb shell "mount"
BTW: how come u have "com.keramidas.TitaniumBackup-1"??? is ur device rooted yet? or were u just trying out apps ?
Nope didn't work:
"mount: Operation not permitted"

We still don't got root, i think till than we can't do anything
Phone: Samsung Galaxy S II

G+ > http://gplus.to/commodoor

Phone History (old to new):
Nokia 5110, Nokia 8850, Nokia 8210, Nokia 3310, Nokia 8310, Nokia 5210, Nokia 8910, Nokia 3410, Nokia 7650, Motorola V70, Sony CMD J7, SE T610, Nokia N-gage, Nokia 6230, Nokia 6230i, Siemens SL65, Siemens C65, SE K750, Nokia n73, SE K800, HTC Touch, HTC Touch Dual, HTC TytnII, SE Xperia x1, SE 303i, I-mate SPL, HTC Hero, NexusOne, SE X10, HTC WildFire, SE Xperia Arc
 
vegetaleb
Old
#59  
vegetaleb's Avatar
Senior Member
Thanks Meter 530
Posts: 4,338
Join Date: Feb 2010
Location: Beirut
I am feeling I will sell my Arc and get an old good Desire or even Desire HD.
SE has unlocked the bootloader but locked the root process in a bizarre way
For all Devs I download from, I can't send you a beer because Paypal is not supported in my country



** Vegetaleb's Transparency and Lockscreen Mods for One X Sense 4,4.1 and 4.5 **

** Vegetaleb's Transparent Weather Clock Widget for HTC One **
 
commodoor
Old
#60  
commodoor's Avatar
Senior Member - OP
Thanks Meter 66
Posts: 911
Join Date: Mar 2008
Location: Venlo
Quote:
Originally Posted by vegetaleb View Post
I am feeling I will sell my Arc and get an old good Desire or even Desire HD.
SE has unlocked the bootloader but locked the root process in a bizarre way
I don't know what it is but I'm also not liking it
Phone: Samsung Galaxy S II

G+ > http://gplus.to/commodoor

Phone History (old to new):
Nokia 5110, Nokia 8850, Nokia 8210, Nokia 3310, Nokia 8310, Nokia 5210, Nokia 8910, Nokia 3410, Nokia 7650, Motorola V70, Sony CMD J7, SE T610, Nokia N-gage, Nokia 6230, Nokia 6230i, Siemens SL65, Siemens C65, SE K750, Nokia n73, SE K800, HTC Touch, HTC Touch Dual, HTC TytnII, SE Xperia x1, SE 303i, I-mate SPL, HTC Hero, NexusOne, SE X10, HTC WildFire, SE Xperia Arc