hi folks, any idea what i do wrong? Can t set root passwd
[email protected]:~$ sudo passwd root
passwd: Authentication token manipulation error
passwd: password unchanged
[email protected]:~$
sudo passwd root
来自我的 GT-I9508 上的 Tapatalk
thx for your great answer, it s exactly what i did...
[email protected]:~$ sudo passwd root
[sudo] password for phablet:
passwd: Authentication token manipulation error
passwd: password unchanged
[email protected]:~$
can't set root password!
nocomp said:
hi folks, any idea what i do wrong? Can t set root passwd
[email protected]:~$ sudo passwd root
passwd: Authentication token manipulation error
passwd: password unchanged
[email protected]:~$
Click to expand...
Click to collapse
It seems it is a known bug "feature" in Ubuntu-Touch!
Also
Code:
sudo /bin/bash
followed by an
Code:
passwd
gives an token error !
So it is on you, to trust an OS, with the only user "phablet" (worldwide), and maybe only using a PIN instead of an password/phrase ...
sudo pam-auth-update
disable: Extrausers authentication & GNOME Keyring Daemon - Login keyring management
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
sudo passwd USERNAME
sudo pam-auth-update
enable: Extrausers authentication & GNOME Keyring Daemon - Login keyring management
For me is worked. (Remote ssh access to phone)
Related
Normally, when you connect to a desktop via VNC you take control of the existing login session. I’ll show you how to configure an independent head - using your desktop as a terminal server. This is a one-time setup for the desktop system.
1. First, edit /etc/gdm/custom.conf and add ‘Enable=true’ to the ‘[xdmcp]’ section:
[xdmcp]
Enable=true
2. Edit /etc/services and add an entry for the archos101:
archos101 5901/tcp # VNC & GDM
3. Create an xinetd service by creating /etc/xinetd.d/archos101 with the following contents:
service archos101
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query 127.0.0.1 -geometry 980x600 -depth 24 -once -securitytypes=none :1
}
4. Open the firewall port for the service (use your subnet, obviously):
-A INPUT -s 123.45.67.0/24 -p tcp -m tcp --dport 5901 --syn -j ACCEPT
5. Restart your system.
6. You should now be able to connect via a VNC client from your Archos 101 to port 5901 on your desktop. If you have remote desktop functionality enabled in the preferences, that should still function on port 5900 (the default).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello,
At the beggining I had SDK Tools Only and everything was ok, after typing adb logcat I got logs. Then I installed ADT Bundle and run eclipse -> DDMS and in logcat tab I got logs. Then I installed a couple of programs to make screencasts. The next day I run eclipse -> DDMS and I got this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
[2013-05-18 08:46:16 - ddms] ADB rejected shell command (getprop): closed
[2013-05-18 08:46:29 - ddms] ADB rejected shell command (logcat -v long): closed
[2013-05-18 08:46:29 - Unexpected error while launching logcat. Try reselecting the device.] closed
com.android.ddmlib.AdbCommandRejectedException: closed
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:381)
at com.android.ddmlib.Device.executeShellCommand(Device.java:462)
at com.android.ddmuilib.logcat.LogCatReceiver$1.run(LogCatReceiver.java:110)
at java.lang.Thread.run(Unknown Source)
When I run adb logcat from console I got this message: waiting for device.
adb devices detect my phone
I have windows vista home premium
android 4.1.2
What I did:
- uninstalled SDK Tools Only
- reset adb / unplug and plugin my device
- I tried this one: adb -s emulator-5037 logcat but still waiting for device
- adt bundle - sdk manager -
- windows task manager - there is just one adb.exe running
but still I get waiting for device and the exception in eclipse.
thx in advance
c'mon guys help me out with this
i have thailand mobile called i mobile i note2
i want cwm recovery
i tried cwm builder but the screen goes black
help me
the stock recovery is in the attachement
and if possible
i want update.zip
cause i downloaded rom
but the rom dont work
i tried to build the update in dsixsda
but the folder of rom have a lot of files
I still can boot to download mod
can anyone help me
Send me boot.img
Code:
adb shell
ls -al /dev/block/platform/"devicename"/by-name
Here, there's only one folder inside platform. thats your folder "devicename".
Here, you'll find the boot location i.e block
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
then,
Code:
adb shell
su
dd if=/dev/block/Mountpoint of=/sdcard/boot.img
here mountpoint is the bootimg location we fount by the ls command. you'll find the boot.img there send it here
MasterAwesome said:
Send me boot.img
Code:
adb shell
ls -al /dev/block/platform/"devicename"/by-name
Here, there's only one folder inside platform. thats your folder "devicename".
Here, you'll find the boot location i.e block
then,
Code:
adb shell
su
dd if=/dev/block/Mountpoint of=/sdcard/boot.img
here mountpoint is the bootimg location we fount by the ls command. you'll find the boot.img there send it here
Click to expand...
Click to collapse
http : // im52 . gulfup . com /4mhDNx . png
that`s what i get
i dont see any names
can anyone help me
Hell-O
Hello everybody
Is there anyway that i could control those other app's permissions ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I want to prevent this app from knowing my network's informations due to its services wich is blocked in my country
Thanks
@Isam22
If you're on Android 6 or higher then you by means of ADB can revoke an app's specific permission: requires you a) know app's package name & b) the name of permission
Example:
Code:
adb devices
adb shell pm revoke <PACKAGE_NAME> android.permission.<NAME_OF_PERMISSION>
jwoegerbauer said:
@Isam22
If you're on Android 6 or higher then you by means of ADB can revoke an app's specific permission: requires you a) know app's package name & b) the name of permission
Example:
Code:
adb devices
adb shell pm revoke <PACKAGE_NAME> android.permission.<NAME_OF_PERMISSION>
Click to expand...
Click to collapse
Thanks man for answering
When i try to revoke the permission it tells me
Security exception: permission android.permission.ACCESS_NETWORK_STATE is not changeable permission type
Click to expand...
Click to collapse
What can i do ?
@Isam22
In Developer options turn on the USB debugging (Security settings) and Disable Permission Monitoring
jwoegerbauer said:
@Isam22
In Developer options turn on the USB debugging (Security settings) and Disable Permission Monitoring
Click to expand...
Click to collapse
I tried to but nothing happened
Is there another solution?
Thx again
You can try to remove app's permissions by means of APK Editor.
We have a structure running Android Automotive OS and Embedded Linux on Hypervisor.
Wi-fi(wlan0) connection is on Android Automotive OS(Guest Domain), and we want to share to the Embedded Linux(Main Domain).
Our network topology for this process is as follows.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
We followed these steps below while making these connections:
Main Domain
Code:
1) ifconfig eth0 down
2) ip link add name br0 type bridge
3) ip link set br0 up
Create Guest Domain
Guest Domain
Code:
1) ifconfig eth0 down
2) ifconfig eth0 192.168.X.1/24 up
3) sysctl -w net.ipv4.ip_forward=1
4) iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
After completing the steps in the Guest Domain, it was returned to the Main Domain and the following commands were run.
Main Domain
Code:
1) ip address add 192.168.X.104/24 dev br0
2) ifconfig vif1.0 down
3) ifconfig vif1.0 192.168.X.105/24 up
4) ip route add default via 192.168.X.1 dev br0
"8.8.8.8" was pinged from Main Domain, but internet connection could not be established.
All interfaces in Main Domain can ping all interfaces(eth0, wlan0) in Guest Domain. Likewise, all interfaces in the Main Domain can be pinged from the Guest Domain (vif1.0, br0)
In the case of both domains are Embedded Linux, the same steps were followed and the Internet sharing process was made from the Guest Domain to the Main Domain and the Internet was successfully accessed from the Main Domain.
While the Guest Domain is Android Automotive OS, internet access cannot be provided from main domain.
I would be very grateful if you could guide me on this,
Regards.