hello, i tried searching the forum for anything related to my problem but didnt find anything useful that's why starting new thread!!
please help me on this one!!
i have samsung galaxy tab2 10.1 through which i wanted to connect to my laptop's ad hoc network!! for that i rooted n installed busy box on my tablet, then did this through command prompt!!
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /system/bin/wpa_supplicant /sdcard/wpa_supplicant.original
cp /sdcard/wpa_supplicant /system/bin/.
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
exit
and when i rebooted my tablet after that, it's showing "wi fi is turning on" and is stuck like that!! i
so i did factory reset but still its showing the same thing!!
thanks in advance!!
Related
Hi every body !
I made my G1 connecting with Ad Hoc mode:
Code:
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
adb push tiwlan.ini /data/misc/wifi/tiwlan.ini
adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf
adb shell mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
And i have made a correct tiwlan.ini and wpa_supplicant.conf, this is why it works like a charm.
Now, i have two problems:
1- After every reboot, i can't start my Wifi(no Wifi at all, it is OFF), i have to redo all that script
2- Even i made a Shell Script, noway, it works only by using the ADB. Here is a very basic script that i tried:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp -f ./tiwlan.ini /data/misc/wifi/tiwlan.ini
cp -f ./wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
Any idea ?
Thank you.
G1 - Cyanogen 5.0.8-N1
(Sorry for my english writing)
Hi !
UP
I didn't resolve the problem yet
A+
I don't know how much of the script you understand, but your /system partition doesn't seem to be mounted until you run that script. That doesn't seem normal, /system sounds rather important :-/ If you don't know how to undo whatever modifications you have made, I would recommend resetting your phone to factory settings. It should fix it.
I get a "Data Call Failure Error....invalid registration check your username/password" error when trying to connect to my PC via Internet Sharing.
It works with WiFi on so I'm assuming it has something to do with 3G/4G.
Does anyone know what this error means?
I figured it was because I wasn't paying for the service so I just used the old WiFi tether app. I'm running DamageControl 3.2.3, should it work? I haven't tried it with WiFi enabled.
Posted via XDA Android app from Evo
doesn't work with dc 3.2.3, at least not for me
I got this error randomly twice yesterday. No idea what happened but everything is working fine for me.
Sent from my PC36100 using XDA App
AvatarOfFrost said:
I get a "Data Call Failure Error....invalid registration check your username/password" error when trying to connect to my PC via Internet Sharing.
It works with WiFi on so I'm assuming it has something to do with 3G/4G.
Does anyone know what this error means?
Click to expand...
Click to collapse
it means the sprint apps are trying to autostart and connect to sprint servers so to get rid of this you must delete sprint apps you can do this with root manager.
2nd way i found thanks to lexce92
adb shell
su
mount -o rw,remount /dev/block/mtdblock4 /system
cd /data
mkdir opt
chmod 0755 /data/opt
chmod 0755 /system/bin
mount -o rw,remount /dev/block/mtdblock4 /system
cp /sdcard/autostart.sh /data/opt/autostart.sh
cp /sdcard/u2nl /system/bin/u2nl
chmod 0755 /data/opt/autostart.sh
chmod 0755 /system/bin/u2nl
reboot
when i tried this it still came up but only once a day if that
Hi
Been trying to push Deodexed Apps & Framework to Stock JPM framework.
This is the tutorial i was following
http://forum.xda-developers.com/showthread.php?t=990238
It all goes well till i start typing this:
adb shell
su
stop
mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
chmod 644 /system/app/*
chown root.root /system/app/*
chmod 644 /system/framework/*
chown root.root /system/framework/*
mount -o ro,remount -t ext4 /dev/block/mmcblk1p21 /system
reboot
I keep getting things like "mount is not recognized" and "permission denied"
Anyone know if this is the right path for our phone? or maybe have a better solution than this?
Thank you
After which command u r gettin this.. I was successful to do dat..but I dnt need d commands after "rm /system/framework/*.odex" ... :-S
Sent from my GT-I5800 using Tapatalk
ranadip.bswas said:
After which command u r gettin this.. I was successful to do dat..but I dnt need d commands after "rm /system/framework/*.odex" ... :-S
Sent from my GT-I5800 using Tapatalk
Click to expand...
Click to collapse
I get "mount -o Permission denied" on this line
mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system
starof said:
I get "mount -o Permission denied" on this line
mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system
Click to expand...
Click to collapse
i think adb is locked in the stock JPM, and don't use this command. Use this:
mount -o rw,remount /dev/block/stl6 /system
kyrillos13 said:
i think adb is locked in the stock JPM, and don't use this command. Use this:
mount -o rw,remount /dev/block/stl6 /system
Click to expand...
Click to collapse
Maybe thats why i'm having problems then lol.
Thank you
kyrillos13 said:
i think adb is locked in the stock JPM, and don't use this command. Use this:
mount -o rw,remount /dev/block/stl6 /system
Click to expand...
Click to collapse
i faced the same question ,thank you !!!!
oh sorry i dint see ur mountin command .. ya i used d kyrillos' command.. that y i was succesful..!!
Hi,
So I made a script to try and mount CIFS storage to my Galaxy S4 in the system file directory at boot. I have a WIFI and a 3G version both are giving me trouble. All apps I have tried fail cause none have an option to mount a system folder.
Any ways here are my scripts:
for 3G
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mkdir /system/cifs
mkdir /system/cifs/localMountDir
busybox mount -t cifs //IPADDRESS:445/ /system/cifs/localMountDir -o unc=\\\\IPADDRESS:445\\,username=X,password=X
was not sure if I need to specify a port (445) or not..either way I cannot connect it says no such device
WIFI script:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mkdir /system/cifs
mkdir /system/cifs/localMountDir
busybox mount -t cifs //192.168.0.150/b /system/cifs/localMountDir -o unc=\\\\192.168.0.150\\b,username=X,password=X
Again i tried this with & without port no luck
I have been able to connect via ANDSMB app while over wifi (not over 3 G yet) so I know the above information should connect at least when on WIFI.
Using this guys blog post for inspiration
http://www.wyattspace.com/2013/08/1...ount-cifs-network-samba-shares/#comment-28381
Hi,
I'm new to Android, so please bear with me. I just recently picked up a Nexus 4 to play with. It came with 4.2 on it, and I have done the OTA updates to 4.3 and then 4.4. I decided to root the device and followed the instructions here. That all seems to work OK and I can get root using adb.
The first thing I tried to do next was change the hostname from android-something to a hostname that I could remember. I did a bunch of searching here and found the following commands suggested:
Code:
getprop net.hostname
setprop net.hostname
If I run these commands, the hostname changes. The problem is once I reboot, the name is back to what it was originally. I even tried remounting /system as rw, as I saw in some other post, and running the command again like this:
Code:
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
setprop net.hostname NEWNAME
mount -o remount,ro -t ext4 /dev/block/mmcblk0p1 /system
I tried rebooting after that and the name change still doesn't stick. What am I doing wrong?
bigdweeb said:
Hi,
I'm new to Android, so please bear with me. I just recently picked up a Nexus 4 to play with. It came with 4.2 on it, and I have done the OTA updates to 4.3 and then 4.4. I decided to root the device and followed the instructions here. That all seems to work OK and I can get root using adb.
The first thing I tried to do next was change the hostname from android-something to a hostname that I could remember. I did a bunch of searching here and found the following commands suggested:
Code:
getprop net.hostname
setprop net.hostname
If I run these commands, the hostname changes. The problem is once I reboot, the name is back to what it was originally. I even tried remounting /system as rw, as I saw in some other post, and running the command again like this:
Code:
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
setprop net.hostname NEWNAME
mount -o remount,ro -t ext4 /dev/block/mmcblk0p1 /system
I tried rebooting after that and the name change still doesn't stick. What am I doing wrong?
Click to expand...
Click to collapse
It shouldn't be changed
Anyway, try this https://play.google.com/store/apps/details?id=com.tiranodroid.change.hostname&hl=es
luiseteyo said:
It shouldn't be changed
Anyway, try this https://play.google.com/store/apps/details?id=com.tiranodroid.change.hostname&hl=es
Click to expand...
Click to collapse
Thanks for the reply. I had seen that there were apps for this, but I figured it would work on the cli if an app could do it.
Why do you say it shouldn't be changed? I've never had a device that you weren't supposed to change the name of.