Hey guys. When i type getprop ro.cid in Terminal it doesn't show anything. However, when i type only getprop it does give me a list, but ro.cid is not in it.
how do i get my cid?
Related
When I start the ADB shell from the Windows command line, and type the command "ls", the list of files I get is not sorted by name. Also, if I enter "ls -r" which should reverse sort, I get the error message "no such file". If I type "busybox ls -l", I get the expected sorted list. Also, other commands like "busybox ls -la" work.
My Phone is a Samsung Captivate i897, rooted from Gingerbread with Corn Kernel v7.06 with Superuser and BusyBox installed.
How can I get the Busybox version of the shell commands to run without having to type "busybox" all the time?
The same problem
How to force sort in ls result ?
I have been testing an android application in the device using the monkey tool for stress testing.
I have referred to the link developer.android.com/tools/help/monkey.htm(This is URL). After executing the command ($ adb shell monkey -p your.package.name -v 500) in the terminal emulator from the device i can see the status as killed your.package.name (my package name).
Is the command executed successfully? or not!
is there any way i can log the errors or results in the device?
help is appreciated
Thank you
Hello everyone. I need a little help. I just want to pull the stock recovery from a Android device [ Gionee CTRL V4]. How to do it???
Dont know either
esarve said:
Hello everyone. I need a little help. I just want to pull the stock recovery from a Android device [ Gionee CTRL V4]. How to do it???
Click to expand...
Click to collapse
May have something to do with adb!
what i know so far- in command prompt in pc adb type 'adb shell'
when you see the $ thingy type - 'cat /proc/mtd' Note: Check if your phone is an 'mtd' somehow...
You'll see several line thingys. find the line saying 'recovery' and see the corresponding mtd number. Example: mtd6=recovery for my phone
Now that u know your mtd number 4 recovery type in 'dd if=/dev/mtd/mtd6 of /sdcard/recovery.img'
it should put the image in the root of your sd or so. this didn't work for me because pemission was denied for some reason
Mevex said:
this didn't work for me because pemission was denied for some reason
Click to expand...
Click to collapse
Permission is denied because you did not get root access. The commands should be in terminal emulator (if you don't want to use computer)
Code:
su
cat /proc/mtd
dd if=/dev/mtd/mtd# of=/sdcard/recovery.img
[Color=red][B][U]Here # is partition number you get from cat command[/U][/B][/Color]
If you are using computer and ADB, then enter following commands
Code:
adb start-server
adb devices
[color=green][I]Here your device should be listed[/I][/color]
adb shell
su
[color=green]Here "$" must change to "#" indicating that root access is granted. Check mobile screen for toast message [/color]
cat /proc/mtd
dd if=/dev/mtd/mtd# of=/sdcard/ recovery.img
[Color=red][B][U]Here # is partition number you get from cat command[/U][/B][/Color]
Press Thanks if helped.
Sent from my GT-S5360 Gadget of Mass Destruction by xda-app
using CWM........Busybox commands........ No I use my hands
hnkotnis said:
Permission is denied because you did not get root access. The commands should be in terminal emulator (if you don't want to use computer)
Code:
su
cat /proc/mtd
dd if=/dev/mtd/mtd# of=/sdcard/recovery.img
[Color=red][B][U]Here # is partition number you get from cat command[/U][/B][/Color]
If you are using computer and ADB, then enter following commands
Code:
adb start-server
adb devices
[color=green][I]Here your device should be listed[/I][/color]
adb shell
su
[color=green]Here "$" must change to "#" indicating that root access is granted. Check mobile screen for toast message [/color]
cat /proc/mtd
dd if=/dev/mtd/mtd# of=/sdcard/ recovery.img
[Color=red][B][U]Here # is partition number you get from cat command[/U][/B][/Color]
Press Thanks if helped.
Sent from my GT-S5360 Gadget of Mass Destruction by xda-app
using CWM........Busybox commands........ No I use my hands
Click to expand...
Click to collapse
my device no rooted then how to get recovery
I recently found a type of log cat which I can't understand.
Hi, I'm just a newbie my phone reboots randomly and I'm trying to find the problem through Logcat so that I could send it though the Devs if its an software bug. I tried adb bugreport but I'm not sure what to look for then it seems that the timestamp starts after the phone reboots. but I couldn't replicate the reboot issue when Logcat is running trough ADB terminal. I've read somewhere its possible to see the "Last_kmsg" but it seems the terminal cannot find it. Any ideas how to narrow the bug report or other ways to get a log? Thank you
*phone is not rooted
*tried factory reset
*tried reinstalling latest software update
EDIT*
I managed to use "Logcat Reader" on android but since that the reboot is unpredictable. I can't save the logs before the reboot. I'm currently looking into other apps maybe theres an autosave incase the phone reboots.
EDIT2*
I was hoping I could get 'dmesg' log but ADB terminal says access denied maybe coz I don't have root access.
@JKD23
To get the booting process events from the logcat
Code:
adb devices
adb shell "logcat –d –b events ^| grep 'boot'" > C:\Android_Logcat_%DATE%_boot.txt
adb shell "logcat -d ^| grep 'preload'" > C:\Android_Logcat_%DATE%_preload.txt
jwoegerbauer said:
@JKD23
To get the booting process events from the logcat
Code:
adb devices
adb shell "logcat –d –b events ^| grep 'boot'" > C:\Android_Logcat_%DATE%_boot.txt
adb shell "logcat -d ^| grep 'preload'" > C:\Android_Logcat_%DATE%_preload.txt
Click to expand...
Click to collapse
Hi, thanks for replying. I entered those commands in the terminal but all I got was
"grep: 09/13/2020_preload.txt: No such file or directory" for both commands.