Thread: Root and experiences with it.
- 11-17-2011, 02:11 PM #1
- 11-18-2011, 03:27 AM #2
hmm... i just got it yesterday and there is this one problem where the pin unlock screen does not show up it does occasionally but not always... any ideas?
- 11-18-2011, 11:22 AM #3
How long did you wait between turning off the screen and turning it back on again? Phones usually have a lock timer.
- 11-19-2011, 12:09 AM #4
i figured out that the lock screen comes up only after some time :P oh and anyways, should i root my RAZR?
i got mine from singtel and they took away the super cool hd boot animation and i wanna put it back.. any risk rooting it? or any way to recover it once it bricks?
- 11-19-2011, 01:04 AM #5
My suggestion is to start by playing around with it. Try to boot it into other modes (recovery, usb init, etc). Then pull some information from the phone with adb pull (build.prop is a good place to start).
If you can get the stock boot, recovery, and system images, that is usually *very* useful.
All of the above can be done without even rooting your phone. If you can post the partition map, that's helpful (both for you and eventually the developer).
Here is how you pull a boot image from some of the older phones, I can't guarantee that it will work, but I *can* guarantee that it won't do anything to break your phone.
1) Find the partition map
adb shell cat /proc/mtd
The output of the above command should print out the map, post that here in the forums for future reference. If you get an error, skip the next steps and let us know that the file doesn't exist.
2) Note the important partitions and their blocks (In the CliqXT system is stored in mtdblock1)
3) Run the following command to verify that the block is in the location I think it is:
adb shell ls /dev/block
4) Search the output of the above command to find the blocks that you noted in step 2
If they don't exist tell me so I can try to figure out where they are kept
5) Run the following command to pull the block's raw data
adb pull /dev/block/BLOCK_ID c:\some\path\block.img
e.x.: adb pull /dev/block/mtdblock1 c:\android\system.img
6) Post it up for the devs
Once again, all of the above can be done *without* rooting
- 11-19-2011, 01:40 AM #6
well,i got /proc/mtd: no such file or directory for finding the partition map
a very long list for the "adb shell ls /dev/block"
there is : "dm-6" to "dm-0"
: "vold"
: "loop7" to "loop0"
: "ram15" to "ram0"
and apperently system in stored in mmcblk1p21 i shall try to pull it out now will report back when done
EDIT: they are saying remote object '/dev/block/mmcblk1' not a file or directory
damn im gonna root it anyways dont see any reason not to...
ok i have got root done and changed the boot animation
Last edited by ahzhang452; 11-19-2011 at 03:00 AM. Reason: Automerged Doublepost
- 11-19-2011, 02:53 AM #7
I suppose mtdblocks would have been too easy. Another way to get the same mount information it to execute the command
adb shell mount
Good luck with root
- 11-19-2011, 05:40 AM #8
ok, this is what i got
C:\adb>C:\adb\adb.exe shell mount
adb server is out of date. killing...
* daemon started successfully *
error: device offline
C:\adb>C:\adb\adb.exe shell mount
error: device not found
C:\adb>C:\adb\adb.exe shell mount
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
none /acct cgroup rw,relatime,cpuacct 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
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/system /system ext3 ro,noatime,nodiratime,barrier=1,data=ordered 0 0
/dev/block/pds /pds ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue ,barr
ier=1,data=ordered 0 0
/dev/block/preinstall /preinstall ext3 rw,nosuid,nodev,noatime,nodiratime,errors
=continue,barrier=1,data=ordered 0 0
/dev/block/userdata /data ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continu
e,barrier=1,data=ordered 0 0
/dev/block/cache /cache ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue ,
barrier=1,data=ordered 0 0
/dev/block/webtop /osh ext3 rw,relatime,errors=continue,barrier=0,data=ordered 0
0
securityfs /sys/kernel/security securityfs rw,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard-ext vfat rw,dirsync,nosuid,nodev,noexec,relati
me,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_u time=0020,codepage=cp437,iocha
rset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/proc /osh/proc proc rw,relatime 0 0
/dev/block/vold/179:57 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,
uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utim e=0020,codepage=cp437,iocharse
t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:57 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,rela
time,uid=1000,gid=1015,fmask=0702,dmask=0702,allow _utime=0020,codepage=cp437,ioc
harset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/mnt/sdcard /mnt/sdcard ecryptfs rw,dirsync,nosuid,nodev,noexec,relatime,ecryptf
s_sig=3875ab01d0fddca7,ecryptfs_cipher=aes,ecryptf s_key_bytes=32,ecryptfs_passth
rough,no_new_encrypted 0 0
/dev/block/dm-0 /mnt/asec/kov.gallery.razr-1 vfat ro,dirsync,nosuid,nodev,relati
me,uid=1000,fmask=0222,dmask=0222,codepage=cp437,i ocharset=iso8859-1,shortname=m
ixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.mojang.minecraftpe-1 vfat ro,dirsync,nosuid,nodev,
relatime,uid=1000,fmask=0222,dmask=0222,codepage=c p437,iocharset=iso8859-1,short
name=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/com.outfit7.talkingtom2-1 vfat ro,dirsync,nosuid,nodev
,relatime,uid=1000,fmask=0222,dmask=0222,codepage= cp437,iocharset=iso8859-1,shor
tname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/com.gamecircus.CoinDozerHalloween-1 vfat ro,dirsync,no
suid,nodev,relatime,uid=1000,fmask=0222,dmask=0222 ,codepage=cp437,iocharset=iso8
859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-4 /mnt/asec/com.natenai.glowhockey2-1 vfat ro,dirsync,nosuid,nodev
,relatime,uid=1000,fmask=0222,dmask=0222,codepage= cp437,iocharset=iso8859-1,shor
tname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-5 /mnt/asec/com.gamecircus.CoinDozerWorld-1 vfat ro,dirsync,nosuid
,nodev,relatime,uid=1000,fmask=0222,dmask=0222,cod epage=cp437,iocharset=iso8859-
1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-6 /mnt/asec/smartteam.fishingmaster.lite.en-1 vfat ro,dirsync,nosu
id,nodev,relatime,uid=1000,fmask=0222,dmask=0222,c odepage=cp437,iocharset=iso885
9-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-7 /mnt/asec/com.leftover.CoinDozer-1 vfat ro,dirsync,nosuid,nodev,
relatime,uid=1000,fmask=0222,dmask=0222,codepage=c p437,iocharset=iso8859-1,short
name=mixed,utf8,errors=remount-ro 0 0
C:\adb>
hmm.. should i post a guide on rooting the phone?Last edited by ahzhang452; 11-19-2011 at 05:40 AM. Reason: Automerged Doublepost
-
The Following User Says Thank You to ahzhang452 For This Useful Post:
Dumba (11-19-2011)
- 11-29-2011, 05:48 PM #9
I'd almost forgot I was helping here... sorry :/
If you successfully rooted your phone (Congrats), post the method here. It'll be useful.
Also you can try:
dd if=/dev/block/mmcblk1p21 of=/sdcard/system.img
Does 'adb shell cat /proc/emmc' have any output?
- 11-30-2011, 07:57 AM #10
i got this from "dd if=/dev/block/mmcblk1p21 of=/sdcard/system.img"
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\yang min>dd if=/dev/block/mmcblk1p21 of=/sdcard/system.img
'dd' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\yang min>C:\adb\adb.exe dd if=/dev/block/mmcblk1p21 of=/sdcard/system.i
mg
Android Debug Bridge version 1.0.26
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number
is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number
is specified.
Using this ocmmand with no additional arguments
will disconnect from all connected TCP/IP devic
es.
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> - push this package file to the device and i
nstall it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
environmental variables:
ADB_TRACE - Print debug information. A comma separated list
of the following values
1 or all, adb, sockets, packets, rwx, usb, sync
, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes prior
ity over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these de
bug tags are printed.
C:\Users\yang min>
and /proc/emmc : no such file or directory from 'adb shell cat /proc/emmc'
hmm... do i post the rooting method here? or start a new thread somewhere?Last edited by ahzhang452; 11-30-2011 at 07:57 AM. Reason: Automerged Doublepost
- 11-30-2011, 12:36 PM #11
Try to post the guide in a new thread if you can. If not, just post it here and I can move it.
As for the dd command, I should have specified that you run it in adb shell
. Also, the command requires superuser permissions.
adb root
adb shell dd if=/dev/block/mmcblk1p21 of=/sdcard/system.img
- 12-01-2011, 01:09 AM #12
adbd cannot run as root in production builds..
- 12-01-2011, 07:37 AM #13
adb root is really a convenience shorthand. Try this:
At this point you might get a popup on the phone. Choose accept and continue if your prompt changes to '#'Code:adb shell su
(I'm assuming you've gone ahead and rooted your phone)Code:dd if=/dev/block/mmcblk1p21 of=/sdcard/system.img exit
- 12-02-2011, 01:32 AM #14
wow somehow i had to reformat my computer.. someone give me the download for adb?
- 01-24-2012, 10:42 AM #15
@phoenixsong6 He needs to download Superuser.apk from the market, I believe. (Or is this thread dead? -Getting a bit stale.)
Off topic: I found your suggestions here in post #5 - I'll follow them to examine my Charm. There's a problem with factory reset after every boot, after rooting with S1C. I'd like to be helpful there, but I'm dumb, so it's hard. Feel free to pop in over there with any suggestions.Hic sunt dracones...


LinkBack URL
About LinkBacks


Reply With Quote

