Hi all,
I am trying to communicate with the baseband over AT commands on my rooted Moto g5s plus. I've figured out the serial interface for communication between AP and BP but it seems the /dev/smd0 does not exist.
Code:
sanders_n:/dev # getprop rild.libargs
-d /dev/smd0
If it's not /dev/smd0 then how it the AP communicating with BP?
If anyone knows the serial interface for AT commands pls share the same.
Regards.
Related
hi,
two days ago i rooted my Nexus One FRF91-Vodafone with these two methods ( forum.xda-developers.com/showthread.php?p=7548842 and forum.xda-developers.com/showthread.php?t=736271). Still some commands of adb don't work and i can't find a solution.
Code:
C:\>cd android/tools
C:\android\tools>adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT05EP800252 device
C:\android\tools>adb shell
$ su
su
# id
id
uid=0(root) gid=0(root)
# exit
exit
$ exit
exit
C:\android\tools>adb remount
remount failed: Operation not permitted
C:\android\tools>adb root
adbd cannot run as root in production builds
C:\android\tools>
as you can see the device is connected in debug mode and i am rooted but the commands "adb remount" and "adb root" don't work (and maybe some other commands? i don't know). does it happen because the bootloader is still locked? if so, is there a way to have those commands working without unlocking it? if not, what could it be?
sorry for my english
thanks a lot
I'd have to guess because "remount" and "root" are not the way to do it.. Where are you seeing this is the way to do what you need to do?
how shoul it be used? i found a lot place where is written just like that. besides i read that the default.prop should be like this:
Code:
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
persist.service.adb.enable=1
for adb to work properly
but mine is like this
Code:
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=0
and i don't understand why, i cant change it because it's a read-only file
What about:
Code:
mount -o remount,rw /system
?
i have this same problem, im guessing you went the way without unlocking your bootloader?
if so i dont think you can do adb remount
but what you can do is this method
adb shell
su
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
this will remount your phone system to read-write and you should be good to push/pull/cp/rm/clear/ and what your trying to do
Thanks for the info. I was having the same issue with my N1. The full mount path worked
Kage_
If you're really slick, I imagine you could add an alias "remount" to your shell profile script (.csh or something similar) to execute that full command for you when you needed it
exactly as the title states, whenever i attempt to view the devices connected i get that output. I've searched, and the proposed solution is to start adb as root, but whenever i use sudo before adb start-server, the output is = sudo: adb: command not found
i don't understand what's going on, is it a problem with my drivers?
edit: solved it by using this as my /etc/udev/rules.d/51-android.rules:
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
the id vendor was wrong in all the tutorials i read.
THANKS!!!! This worked for me, Ubuntu 10.04.
hmm.. interesting... when i changed the ID it started to work on Nexus S and on HTC magic...
If you have ubuntu 10.10 it SHOULD work without udev rules..
Hello I have problem with my adb on linux mint 15. Fastboot see a device but adb not. I try everything.
Outputs;
51-android.rules
Code:
#HTC
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE=0666
adb_usb.ini
Code:
GNU nano 2.2.6 Plik: adb_usb.ini
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x0bb4
lsusb
Code:
Bus 001 Device 006: ID 0bb4:0ff0 HTC (High Tech Computer Corp.)
Please help me.
What are you trying to run? Make sure to run as root in Linux. Aka sudo
Sent from my HTC One using XDA Premium 4 mobile app
Hi everyone,
I would like to write a script to automatically reselect my network operator every X minutes (command AT+COPS).
My device is rooted GT-I9305 (Kitkat) and I use Terminal Emulator to run commands on my device.
I didn't succeed to send AT commands to modem.
ril device seems to be /dev/ttyS0, but when I run for example :
Code:
echo -e "AT+COPS=?\r\n" > /dev/ttyS0
I always get 1 as return code and can't read device. Even if I run it as root.
What is the right way to do this ? Or is it impossible on that phone ?
Thank you a lot.
[edit some uneeded lines in the script removed]
Does anyone have a ih8sn.conf file or could generate one on stock motorola android? I created a bash script, following this site: https://community.e.foundation/t/howto-installing-banking-apps/5875/122?page=7
Bash:
```
#!/bin/bash
add_to_conf()
{
key=$1
prop=$2
value=$(adb shell getprop $prop)
echo "${key}=${value}"
}
add_to_conf BUILD_FINGERPRINT ro.build.fingerprint
add_to_conf BUILD_DESCRIPTION ro.build.description
add_to_conf BUILD_SECURITY_PATCH_DATE ro.build.version.security_patch
add_to_conf BUILD_TAGS ro.vendor.build.tags
add_to_conf BUILD_TYPE ro.vendor.build.type
add_to_conf BUILD_VERSION_RELEASE ro.build.version.release
add_to_conf BUILD_VERSION_RELEASE_OR_CODENAME ro.vendor.build.version.release_or_codename
echo "DEBUGGABLE=0"
add_to_conf MANUFACTURER_NAME ro.product.system.manufacturer
add_to_conf PRODUCT_NAME ro.product.system.name
```
So anyone who has a moto g7 plus on android and is running linux could run this and create the ih8sn file for the moto g7 plus. Basically ih8sn is to make banking and other apps to work on custom android versions like lineageos.
Obviously I could run this myself, but I don't want to wipe out all data on my current system...
Interesting, admin moved this post into the right channel?