Whenever I push, chmod, then reboot, my device reboots but nothing else. Adb DOES recognize my device, I can install/uninstall, remount, etc... So wat?
I'm try'n to get a modded Ziggy script to run on boot (to further undervolt- others have gotten to run)
I've tried manually pasting in unit.d folder, then manually fixing perm.s but after I reboot, the permissions have reverted n nothing has changed.
Yes, I'm a noob, please help.
sent from rooted ThunderBolt
I've gotten weird problems with adb in Win7 by not running cmd as an admin
Ok, well I'm the admin. (only 1 user acct.) so I should be good
Sent from my ADR6400L using XDA App
Maybe you're pushing whatever to a system folder not mounted with write access? I know if you try pushing to say /system/etc/hosts and you dont have it mounted in write access and have root permission (on the phone in both cases), it will reset it back to the original on reboot.
yareally said:
Maybe you're pushing whatever to a system folder not mounted with write access? I know if you try pushing to say /system/etc/hosts and you dont have it mounted in write access and have root permission (on the phone in both cases), it will reset it back to the original on reboot.
Click to expand...
Click to collapse
Crap, I think ur right. I was fixing perms thru adb w chmod, but AFTER I pushed.
But regardless I don't think I set as R/W.
Also, wat would cause me not to be able to set permissions manually (for individual paths) using root explorer ( or similar file manager)?
Sent from my ADR6400L using XDA App
Nope, doesn't change a F'n thing. God I wanna swear soooo bad. almost more than I respect this forum.
Sent from my ADR6400L using XDA App
K, I found that adb thinks I'm mounted as R/O tho I'm mounted as R/W. WHY
Sent from my ADR6400L using XDA App
Dunno offhand; you're not being very descriptive and it's hard to read what you're saying. Try a different approach, like using sshdroid pro (with putty or xshell) and the command line there instead of adb. I dont really use adb to push/mod things on the phone unless there's no other choice (like rooting your phone). If you're using a custom rom, they generally have a small script built into them to mount the system folder(s) as r/w (type sysrw or sysro).
It was as simple as having slashes backwards, lol, figures.
Adb still thinks I'm in read-only tho. I tried "adb remount" to no avail.
I'm not familiar w/ the other things u mentioned (i can barely read em til I change my font)
R those things I DL? Put in my SDK?
I'LL check em out
Sent from my ADR6400L using XDA App
To be more descriptive: I'm using virusROM RC1B2 w/ updated Ziggy kernel (bfs).
I have a modified script (from Ziggy) that I recently pushed to system/etc/unit.d that I'm tryn to run.
After I push I type "adb shell chmod 755 /system/etc/init.d/04vddlevels" (file name).
Then adb says "can't chmod" cuz the file system is "read-only"
I try "adb remount" n then re-entering chmod n it says nothing n nothing happens.
I am mounted as R/W so I'm confused.
Hope that explains it btr, Thnx 4 the help!
Edit; I also have a "tweak" zip file I flashed from adrynalyne to enable script to run on boot encased the Rom isn't set up to, tho others (one that I know of) has had no problems. He hasn't been able to help either.
http://www.appbrain.com/app/sshdroid/berserker.android.apps.sshdroid
then you log into it with either
http://www.netsarang.com/products/xsh_detail.html
or
http://www.chiark.greenend.org.uk/~sgtatham/putty/
or if you're using linux or osx, you can do it natively on the terminal line with the ssh command.
You can transfer files over sftp (with ssh) using something like filezilla http://filezilla-project.org/
Tutorials:
http://www.netsarang.com/tutorial/xshell/list
http://www.howtoforge.com/ssh_key_based_logins_putty
http://psychologyit.rutgers.edu/helpdocs/filezilla.html
There's plenty of pages out there on ssh if you search google though. Just read up. It's the primary way to communicate (securely) remotely with a linux/unix server. It encrypts your traffic to and from a server (in this case, your phone). It also means no cables (though you can do that with wireless adb also).
Basically, it's a way of remotely using the terminal built into android (since it's linux) without having to use adb.
try this (all one line):
(for write perms)
adb shell mount -o remount,rw,noatime,nodiratime -t ext3 /dev/block/mmcblk0p25 /system
(to set back to read only)
adb shell mount -o remount,ro,noatime,nodiratime -t ext3 /dev/block/mmcblk0p25 /system
if that doesn't work, then you're not root, so you will have to type:
adb shell su -
to get root before doing the other commands
Cool Thnx, yeah I have seen that b4, I'm tryn it(adb thing 1st) now.
Sent from my ADR6400L using XDA App
Ok, I typed: adb shell mount.... N got "Device or resource busy" ?
Sent from my ADR6400L using XDA App
Next I tried: (all one line) "adb shell su -adb shell mount... n got permission denied. ??
Sent from my ADR6400L using XDA App
if you do it all as one line you have to put a ; in between the statements so it terminates the last command before doing another
Ok, wat does "device or resource busy" mean?
http://lmgtfy.com/?q="device+or+resource+busy"+android
Do I type: "adb shell su-" (then hit enter) ? Cuz I get "su- not found"
There's not supposed to be a space between 'su' and '-' , correct, cuz then I get a '#' sign n adb freezes.
Wow I'm a mess, lol, Thnx 4 help, maybe I should do some studying n come bak more prepared!
Yeah. I here ya. Thnx. Again
Sent from my ADR6400L using XDA App
My question:
How can i run a cross compiled Binary in Terminal?
My SGS 2 is rooted and i make ithe binary executable in terminal under root with chmod.
but when i try i become:
# app
app: not found
How about ./app just a thought?
Swyped from HTC Desire S using XDA Premium
Same Problem.
Sent from my GT-I9100 using XDA App
As long as its in $PATH and not in sdcard (no exec permissions) it should work.
What you trying to compile if you dont mind me asking?
Sent from my HTC Desire using XDA App
tried john the ripper
without how to.
but used same way as. http://www.openwall.com/lists/john-users/2011/07/17/1
have used his binary to but same problem.
Worked fine for me, i just followed instructions in the file INSTALL.
remount system rw
Copy john to /system/xbin
chmod 0755 /system/xbin/john
cd to user directory included in the download.
john...and it worked.
You doing anything different to the above? It *should* be working for you.
Sent from my HTC Desire using XDA App
Tried 2 Times. Exactly Same Result.
try again later.
Sent from my GT-I9100 using XDA App
Well, that. I get an error everytime i try to cd to anyplace in my sdcard. Look at the screenie:
Sent from my MB860 using XDA
djluis48 said:
Well, that. I get an error everytime i try to cd to anyplace in my sdcard. Look at the screenie:
Sent from my MB860 using XDA
Click to expand...
Click to collapse
try cd /sdcard
Works fine for me using Terminal Emulator through Rom Toolbox on Nottachtrix4G v1.2.9b.
I've got a backup archive in my PC and I can't access to my android, And my recovery mode (Android System Recovery 3e)only can restore with archives that be on internal SD
How can I put an archive of my PC to my internal SDcard using ADB commands?
I need do it with ADB because I haven't got CWM
Sent from my TOUCH97 using xda app-developers app
ad push <archive location> <internal sd>
Replace what's in <> with the proper path
An example for pushing an apk to my nexus 4 maybe something like
adb push adfree.apk /storage/sdcard0/
But I tend to first open terminal/cmd in the location of the file I want to push so I don't have to enter all the C:\users\demkantor\desktop.... And so on
Sent from my Nexus 4 using Tapatalk 2
Can you tell me basic commands, to know where I am, to see the folders of my location....
Sent from my TOUCH97 using xda app-developers app
You can try a few things like
mount
Or
adb shell
cal/proc/partitions
Or
ls -l /dev/block
Or
busybox df -hm
There are plenty of guides all over xda and the web on how to use adb, look one up and if you can't figure it out let me know and I'll try and help further
Sent from my Nexus 4 using Tapatalk 2
Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
realbro657 said:
Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
If you have root & busybox installed you can run this script.
Code:
#!/system/bin/sh
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
busybox sleep 3
if busybox mount | grep vold/179:61; then
mount -o bind /data/media /storage/external_SD
rm /storage/external_SD/external_sd
chmod -R 777 /sdcard
chmod -R 777 /data/media
fi
Sent from my LGMS769 using XDA Premium 4 mobile app
kuma82 said:
If you have root & busybox installed you can run this script.
Code:
#!/system/bin/sh
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
busybox sleep 3
if busybox mount | grep vold/179:61; then
mount -o bind /data/media /storage/external_SD
rm /storage/external_SD/external_sd
chmod -R 777 /sdcard
chmod -R 777 /data/media
fi
Sent from my LGMS769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
pitbullmommy45245 said:
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
Click to expand...
Click to collapse
Try running with terminal app... It's there in play store...and you don't input #... You open terminal... Type su... Then try running script...
Sent from my Xperia Neo V using xda app-developers app
pitbullmommy45245 said:
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
Click to expand...
Click to collapse
place this file "swapint2ext.txt" on your sdcard and type the following
with a terminal emulator
Code:
su
./sdcard/swapint2ext.txt [B](if on your internal sdcard)[/B]
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/B]
with adb
Code:
adb shell
su
./sdcard/swapint2ext.txt [B](if on your internal sdcard)[/B]
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/B]
There is a lot more info on the subject in the general section. Look for the titles starting with swap internal or something similar. There are like 3 different threads on the subject. I'll send you a link later with some more info, but that will be later later
kuma82 said:
place this file "swapint2ext.txt" on your sdcard and type the following
with a terminal emulator
Code:
su
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/QUOTE]
Hi,
i have "don´t permission", when i type this one in terminal emulator.
Any idea? My phone is rooted. I rename the "swapint2ext.txt in .sh", is this correct? And the path is "sdcard0", is this also correct?
And also i try to execute the "swapint2ext.sh" with the Root Explorer. Works fine, but i can´t install Fifa 14 for example. Not enough place...
Thanks Thomas
Click to expand...
Click to collapse
+1 from the above post. i tried to run it in smanager and it said permission denied. i tried to do adb and terminal on the phone and it said it couldn't find the file.
pitbullmommy45245 said:
+1 from the above post. i tried to run it in smanager and it said permission denied. i tried to do adb and terminal on the phone and it said it couldn't find the file.
Click to expand...
Click to collapse
You are getting permission denied because it needs root access. Read this
http://forum.xda-developers.com/showpost.php?p=45268460&postcount=1
More info coming Hold up.
Sent from my LGMS769 using XDA Premium 4 mobile app
kuma82 said:
You are getting permission denied because it needs root access. Hold up.
Sent from my LGMS769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
We have root access!
thomasoeli said:
Hi,
i have "don´t permission", when i type this one in terminal emulator.
Any idea? My phone is rooted. I rename the "swapint2ext.txt in .sh", is this correct? And the path is "sdcard0", is this also correct?
And also i try to execute the "swapint2ext.sh" with the Root Explorer. Works fine, but i can´t install Fifa 14 for example. Not enough place...
Thanks Thomas
Click to expand...
Click to collapse
Read this post
http://forum.xda-developers.com/showpost.php?p=45268460&postcount=1
Sent from my LGMS769 using XDA Premium 4 mobile app
---------- Post added at 03:12 PM ---------- Previous post was at 03:05 PM ----------
More info
http://forum.xda-developers.com/showthread.php?p=36627662
http://forum.xda-developers.com/showthread.php?p=36948542
Sent from my LGMS769 using XDA Premium 4 mobile app
realbro657 said:
Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
You can also try this guide if you are still searching for solution