[Q] little adb help? - Android Software/Hacking General [Developers Only]

ok guys im trying to help my friend use adb to push an app that he has on his SDcard to /system/app with the same permissions. i did it with root explorer, but he didnt wanna buy it (i tried to convince him, to no avail)
ok so im not that good at adb but i know some things, i need to mount the system as read-write, then adb push app to system/app and use chmod (644? i believe) to give it system permissions. im just missing the technical lines of code to get it to work. anyone wanna help a fella out?? line by line would be greatly appreciated
thanks!

DX-FTW said:
ok guys im trying to help my friend use adb to push an app that he has on his SDcard to /system/app with the same permissions. i did it with root explorer, but he didnt wanna buy it (i tried to convince him, to no avail)
ok so im not that good at adb but i know some things, i need to mount the system as read-write, then adb push app to system/app and use chmod (644? i believe) to give it system permissions. im just missing the technical lines of code to get it to work. anyone wanna help a fella out?? line by line would be greatly appreciated
thanks!
Click to expand...
Click to collapse
Make sure your phone is recognized by running "adb devices", then do the following:
1. adb remount
2. adb shell cp /sdcard/yourapkname.apk /system/app
Your done. I've never had to chmod something to make it work.

madj42 said:
Make sure your phone is recognized by running "adb devices", then do the following:
1. adb remount
2. adb shell cp /sdcard/yourapkname.apk /system/app
Your done. I've never had to chmod something to make it work.
Click to expand...
Click to collapse
thank you for the response. its a system replacement app and needs to be recognized as one so would i just do
3. adb shell chmod 644 /system/app/apkname.apk

DX-FTW said:
thank you for the response. its a system replacement app and needs to be recognized as one so would i just do
3. adb shell chmod 644 /system/app/apkname.apk
Click to expand...
Click to collapse
yes you could do that. For more help with the many adb commands you can always type adb with no parameters and it will give you a list.

madj42 said:
yes you could do that. For more help with the many adb commands you can always type adb with no parameters and it will give you a list.
Click to expand...
Click to collapse
ok thanks. anything about unmounting as R/W or does that matter?

DX-FTW said:
ok thanks. anything about unmounting as R/W or does that matter?
Click to expand...
Click to collapse
Doesn't matter.. Reboot the device and it will be read-only again.

Related

[Q] Im so lost with the fascinate...

Please bare with me because i am a complete noob at this... but not stupid.
i have been trying to adb push .apk files to the phone, and the adb devices command shows that it is connected correctly, i get this error when i attempt to push: Permission denied
does anyone know what to do? ive tried seaching google and these forums and couldnt find anything. but that might be just because im a noob.
self-bump....
does anyone know what to do???
thefunkbot said:
self-bump....
does anyone know what to do???
Click to expand...
Click to collapse
Try not pushing it to read only memory and see if that works for you.
adb push FILE.apk /sdcard/
If that works
adb shell
su
mv /sdcard/FILE.apk /system/app/
I don't think my Vibrant will let me push to /system & that's what I did to work around (or just put the file on the sd card in mass storage mode & root explorer it over to where I want it to go).
tjhart85 said:
adb push FILE.apk /sdcard/
If that works
adb shell
su
mv /sdcard/FILE.apk /system/app/
Click to expand...
Click to collapse
i tried to push to the sd card and still got the same error.... : Permission denied
Mounted and added the apk to the sd card normally and then tried to move it with adb shell, and gives this error:
Failed on /sdcard/FILE.apk - cross-device link
I tried using the rm and mv command to remove the coresponding app from the system/app/ folder and I get an error that the file/directory does not exist.
Sent from my SCH-I500 using XDA App

UPDATE - experienced only please - perm temp root (til reboot) w/data speed increases

THanks to TEAMWIN!!!!!!!!!!!!!!
UPDATE to UPDATE- advanced users only that can understand my instructions please. I tried to make it newb friendly but this takes alot more time than I ever imagined ... (PROPS to ALL DEVS and POSTERS taking the time to share with us that which they spent hours testing!!!!)
so,
also download build.prop
place it in /data/bin
chown to root.root
chmod to 644
you only have to do this once, of course
Now reboot and run (updated and attached here at same time as the build.prop; so if you don't have the build.prop, you need to redownload daddy'stemproot.bat s it has been updated) daddy'stemproot.bat from wherever you downloaded it to.
http://dl.dropbox.com/u/7393616/build.prop
good luck!
UPDATE:
Just wanted to upload what I have been using since the original instructions are out of date.
have tested the following Windows script for 2 days without rebooting and retain full functionality on all root apps.
Instructions:
instead of doing copy/paste, once you have put fre3vo,su,busybox,and sqlite3 into /data/bin and set permisions/ownership, as per original instructions below,
if you have been using another script, just move everything to /data/bin and set permissions/ownership as per below;
and after every reboot, (or after doing the set-up for the first time users)
simply run this script:
(personally, after plugging my phone into my PC, and opening a command prompt, I always do "adb reboot"
then wait until the soft keys at bottom of screen light up (this means the phone is finishing all start up processes but for all extents and purposes the phone has booted) and then double click the file below. the command prompt will open and close itself, when closed, you are good to go until reboot)
Download and save this .bat to anywhere you want and run from anywhere you wish(mine is on my desktop for easy access):
LATEST VERSION Directly below:
http://dl.dropbox.com/u/7393616/daddy%27stemproot.bat
ORIGINAL Instructions:
Just wanted to give back so I will share how I have been getting functional su for on phone term apk and visible /data on root explorer and Superuser prompts for every root app (just because you allow at the prompt and Superuser allows an apk, doesn't mean it will alwasy work; if you open SetCpu more then once a boot it stops working. Bloatware Remover, though given root priveledges, doesn't work, I think becasue when trying to mount system, the apk uses the wrong partition in its script. etc.)
anyways
first get fre3vo, then the latest versions of su, busybox, sqlite3.
via shell from PC:
cd (directory where your 4 files are located)
push above files to /data/local/tmp (follow instructions in other threads)
get temp root via fre3vo
now with temp root do :
adb remount
adb shell mount -oremount,suid /dev/block/mmcblk0p23 /data
adb shell mkdir /data/bin
adb shell chown root.shell /data/bin
adb shell chmod 755 /data/bin
adb push (all 4 files, one at a time, to /data/bin)
adb shell chown root.shell /data/bin/su
adb shell chown root.shell /data/bin/busybox
adb shell chown root.shell /data/bin/sqlite3
adb shell chmod 6555 /data/bin/su
adb shell chmod 4555 /data/bin/busybox
adb shell chmod 755 /data/bin/sqlite3
adb shell chmod 755 /data/bin/fre3vo
now, set up is done, you don't have to do any of that again (unless you mesed up of course)
copy and paste the following lines into shell on PC and viola!
adb shell /data/bin/fre3vo
adb wait-for-device
adb remount
adb shell mount -o remount,suid /dev/block/mmcblk0p23 /data
adb shell ln -s /data/bin/su /system/xbin/su
adb shell ln -s /system/xbin/su /system/bin/su
adb shell ln -s /data/bin/busybox /system/xbin/busybox
adb shell ln -s /data/bin/sqlite /system/xbin/sqlite
adb shell mkdir /system/xbin/bb
adb shell /data/bin/busybox install /system/xbin/busybox /system/xbin/bb/
adb shell sync
So, everytime you reboot,
open a shell on your PC and copy and paste, and then you are free to live with root, until you reboot, and of course with limitations; but I personally can live with this until Fre3dom is complete.
Take your time boys(TEAMWIN) we love you!!!!
hope this helps somebody. I don't have much bandwith to check back to answer questions, but I am confident if any arise, that the community will step up as always. enjoy your root apps
Can somebody please explain to me what he means by latest version of su, busybox, and sqlite3? Apk or like files if anybody would be kind enough to post a zip file of all three?
xSunny said:
Can somebody please explain to me what he means by latest version of su, busybox, and sqlite3? Apk or like files if anybody would be kind enough to post a zip file of all three?
Click to expand...
Click to collapse
You can pull them files out of any rooted android phone.......
Why doesnt the OP just create a script and have it run with one click from the phone??
Thanks..
Sent from my HTC Sensation Z710e using XDA App
Mikey1022 said:
You can pull them files out of any rooted android phone.......
Why doesnt the OP just create a script and have it run with one click from the phone??
Click to expand...
Click to collapse
Commands to pull please?
xSunny said:
Commands to pull please?
Click to expand...
Click to collapse
Try the "Search" command here, if that fails hit Alt+f4.
KillaHurtz said:
Try the "Search" command here, if that fails hit Alt+f4.
Click to expand...
Click to collapse
How about you stop being a prick and answer the question if u dont want to answer then stop running your mouth like a little 2 years begging your mommie for ice cream.. Thank you.. Maybe you should hold the Alt+F4 button =] And dont come attacking me again please..
xSunny said:
How about you stop being a prick and answer the question if u dont want to answer then stop running your mouth like a little 2 years begging your mommie for ice cream.. Thank you.. Maybe you should hold the Alt+F4 button =] And dont come attacking me again please..
Click to expand...
Click to collapse
Wow your general lack of knowledge despite having a long list of devices is disturbing and sad. I guess referring you to the best, and most timely manner to find an answer is an attack ? LOL
xSunny said:
Commands to pull please?
Click to expand...
Click to collapse
adb pull /sdcard/yourfile /whereveryouwantit
or setup an FTP server on your phone (https://market.android.com/details?id=org.swiftp) and download what you're looking for through that.
xSunny said:
How about you stop being a prick and answer the question if u dont want to answer then stop running your mouth like a little 2 years begging your mommie for ice cream.. Thank you.. Maybe you should hold the Alt+F4 button =] And dont come attacking me again please..
Click to expand...
Click to collapse
KillaHurtz said:
Wow your general lack of knowledge despite having a long list of devices is disturbing and sad. I guess referring you to the best, and most timely manner to find an answer is an attack ? LOL
Click to expand...
Click to collapse
What is it with this forum??!??!?! I used to have a HD2 and the forum there was awesome! So many helpful and friendly people creating a productive and welcoming community! But here in the Sensation forum every second thread is full of people *****ing at each other and behaving like children! What the hell is wrong with you guys???
KillaHurtz said:
Wow your general lack of knowledge despite having a long list of devices is disturbing and sad. I guess referring you to the best, and most timely manner to find an answer is an attack ? LOL
Click to expand...
Click to collapse
Lmao.. Thats all im going to say to end this conversation anyways thanks for posting the commands to pull via adb
How do you push more than one file at a time?
adb push (all 4 files, one at a time, to /data/bin)
Click to expand...
Click to collapse
Thanks
Thanks Daddyroot ! the commands have really worked for me. Now I have a sensation with Temp root till I restart. All other scripts in the forum was not helping me.
Best solution I found so far. Not losing root till reboot anymore.
A++ would install again
Really glad to be able to give back to the community.
I wish I had more time when I posted this to check back and reply but I'm a single parent and time is short. After playing for a couple hours and finally seeing and being able to edit the /data folder, I knew it would be with it to make the time if I could help just one person to not waste the time figuring out what I could share. Nothing quite like the feeling you get on an unrooted phone when you first see the superuser prompt to allow or deny!!!
Thank you all who hit the thanks button!
And God bless TEAMWIN and (insert your favorite dev here)!!!
I will try to check back at least once a day...
Wisefire said:
How do you push more than one file at a time?
Click to expand...
Click to collapse
You don't... that's why he said "ONE, at a time"...

[Q] Is there any way to reinstall a system app?

Hi,
I was having trouble with my app YouTubeTablet.apk, it stopped working while I was using it. thinking I was starting to get the hang of this OS, I found the apk in system/app/ and, thinking I could just reinstall it, I deleted it. It wont let me reinstall it. it trys to install, then just gives an error saying "app did not install"
I have been reading and searching all night, I have tried the chmod 644 and a few other things but nothing I have done has seemed to work to get this reinstalled.
Does anyone know a way to get this app back?
thanks,
John
Hello I'm not 100% certain as I'm also pretty new to this scene, but couldn't you just copy the apk back to /system/app ?
Sent from my ADR6300 using XDA App
Use a root explorer and copy the new app to /system/app. Restart and it should work.
I use ES File Explorer, but you have to check mount as read/write in the settings before you copy to system/
Install in /system/app and make sure your permissions are correct. Read: User, Group and Others checked and Write: User checked. Reboot
BTW Youtube crashed last night for everyone. Was a thread about it.
Thanks for the reply's,
I have tried most of this stuff, I tried the rest (changing the permissions) and it still doesn't show up in apps or install
not sure what else to try??
John
Try pushing it via adb then fixing permissions.
Beamed from my TF101 using Tapatalk HD
Xerravon said:
Thanks for the reply's,
I have tried most of this stuff, I tried the rest (changing the permissions) and it still doesn't show up in apps or install
not sure what else to try??
John
Click to expand...
Click to collapse
What ROM are you running? Just flash that ROM again without wiping.
infazzdar said:
Try pushing it via adb then fixing permissions.
Beamed from my TF101 using Tapatalk HD
Click to expand...
Click to collapse
Hi,
I have been trying to do this, I cant seem to do it
after installing sdk I am
1. booting into apx vol up + power while plugged into the pc (plus I tried pluging nto the pc after going into apx mode)
2. adb devices (none show) If I boot normally the devices do show
3. in apx mode, apx shows under devices and printers in my pc
so I tried to do adb remount with the TF booted normally it says not permitted, if I try in apx mode it says no device
I dont know, I am lost, I hope this is all my fault, it has to be, I am reading and reading, nothing I find, or stuff people tell me to try works. I am really starting to wonder about this OS
John
Xerravon said:
Hi,
I have been trying to do this, I cant seem to do it
after installing sdk I am
1. booting into apx vol up + power while plugged into the pc (plus I tried pluging nto the pc after going into apx mode)
2. adb devices (none show) If I boot normally the devices do show
3. in apx mode, apx shows under devices and printers in my pc
so I tried to do adb remount with the TF booted normally it says not permitted, if I try in apx mode it says no device
I dont know, I am lost, I hope this is all my fault, it has to be, I am reading and reading, nothing I find, or stuff people tell me to try works. I am really starting to wonder about this OS
John
Click to expand...
Click to collapse
It's ADB, you do NOT put it in APX mode. Just turn USB Debugging on.
Open the command window and type in ADB devices to see if your device come up.
This thread help with driver's and such for ADB
http://forum.xda-developers.com/showthread.php?t=1071584
baseballfanz said:
What ROM are you running? Just flash that ROM again without wiping.
Click to expand...
Click to collapse
I think I am running the stock rom, rooted. I dont have anyidea how to flash
Is there a way for me to reflash the same stock rom? If you can point me to same directions or info where I can try to learn this?
thanks
baseballfanz said:
It's ADB, you do NOT put it in APX mode. Just turn USB Debugging on.
Open the command window and type in ADB devices to see if your device come up.
This thread help with driver's and such for ADB
http://forum.xda-developers.com/showthread.php?t=1071584
Click to expand...
Click to collapse
thank you, I just read somewhere it had to be in apx for adb
Ok the devices do show in the list
I read to type
adb remount
adb push youtubetablet.apk /system/app/
adb push youtubetablet.odex /system/app/
to push these into system/app
when I type adb remount I get the error
"remount failed operation not permitted"
any idea what I am doing wrong
thanks
John
try
Code:
adb shell remount rw
baseballfanz said:
try
Code:
adb shell remount rw
Click to expand...
Click to collapse
It gives me
remount: permission denied
I just read I will quote below
"If it shows a $ sign when u type adb shell then u got no root son"
Ok, when I type adb shell I do get the $ does this mean I am not rooted? I do have su and can get su permissions in root explorer. heck that is what got me in this trouble, I was able to delete the youtubetablet apk from system/app/
adb
Xerravon said:
It gives me
remount: permission denied
I just read I will quote below
"If it shows a $ sign when u type adb shell then u got no root son"
Ok, when I type adb shell I do get the $ does this mean I am not rooted? I do have su and can get su permissions in root explorer. heck that is what got me in this trouble, I was able to delete the youtubetablet apk from system/app/
adb
Click to expand...
Click to collapse
What method did you use to root?
baseballfanz said:
What method did you use to root?
Click to expand...
Click to collapse
I used this one to root back on (8.6.5.9)
ASUS Transformer Root ToolKit V7.1 Universal (Windows) | 2011-09-22 (brk's)
http://forum.xda-developers.com/showthread.php?t=1185104
and I updated with these
[UPDATE] CWM - Stock + Root - 8.6.5.21 US 8.6.5.21-WW 8.6.6.23-WW Updated 12/29/2011 (daoist )
http://forum.xda-developers.com/showthread.php?t=1334673
I was able to do this in terminal emulator
mount -o rw,remount /system
cp sdcard/download/youtubetablet.apk /system/app/
cp sdcard/download/youtubetablet.apk /system/app/
mount -o ro,remount /system
this did seem to work, i mean It did copy the files into the system/app dir however I still dont see the app in my apps and still cannot install
One difference this time, if I copied the files into the system/app dir using root explorer then changed the permissions with root explorer I could, I mean it would allow me to check the box's and save the change
this time In root explorer I cannot keep or save the changes to the permissions, it gives some error about "not being able to change permissions on some file formats such as sdcard etc..." something like that
thanks
John
I was able to push the files over using this method found here (pushing it via adb with my TF in recovery (CWM)
http://androidforums.com/optimus-m-...anyone-who-has-rooted-deleted-lghome-apk.html
it did push the files but still doesnt show up as an app
The may seems simple and don't get mad at me for saying this, but did you reboot after you pushed it to /system /app? It should show up then. At least that is the way I push them and usually when it doesn't work, it is because I forgot that part.
Xerravon said:
[UPDATE] CWM - Stock + Root - 8.6.5.21 US 8.6.5.21-WW 8.6.6.23-WW Updated 12/29/2011 (daoist )
http://forum.xda-developers.com/showthread.php?t=1334673
John
Click to expand...
Click to collapse
Have you tried flashing that ROM again?
baseballfanz said:
Have you tried flashing that ROM again?
Click to expand...
Click to collapse
No I havent, is it ok to just reflash like that? I ask cause it says (in the thread) it wont work unless you have the update before that one installed.
Hi, Yes, I did reboot, actually tried the whole thing a few times/
thanks guys

[ROOT] LG Optimus Logic (LGL35G)

Update: Friday November 2nd 2012
Fixed a bad upload of the su file, must of become corrupt sorry.
Silly permission bug again, but w/e. LG should know better, from what I am told this is a recently released device. This is a long standing known issue. Lg get your sh*t together.
Directions:
unzip su.zip into the current path (directory) you are in.
adb shell
(while in adb shell)
rm /data/local/tmp/profile_calib_m
ln -s /data/local.prop /data/local/tmp/profile_calib_m
exit
adb reboot
adb wait-for-device shell
(once in the adb shell again)
echo 'ro.kernel.qemu=1' > /data/local.prop
rm /data/local/tmp/profile_calib_m
exit
adb reboot
adb wait-for-device remount
adb push su /system/xbin/su
adb shell chown 0.0 /system/xbin/su
adb shell chmod 6755 /system/xbin/su
adb shell rm /data/local.prop
adb reboot
Once rebooted install superuser from the market:
https://play.google.com/store/apps/details?id=com.noshufou.android.su
As usual thanks for all your work for this GREAT community!!! :good:
Thanks for letting me watch you work & getting root for my wife's phone.
Edit: DroidHost of Androidarea51.com has made a OneClick for this phone using Jcase's root. it also installs a recovery & Superuser all at the same time.
androidarea51.com/***-all-things-
root-***-174/
Help Me Please
what do you do when it says permission denied or not permitted when waiting for device, remounting, or pushing su?
lol now all we need is someone to write different roms :>
cyanogen would be nice :> lol
thank you for rooting this phone :>
jcase, i pmd you i need help please
TechManPro said:
what do you do when it says permission denied or not permitted when waiting for device, remounting, or pushing su?
Click to expand...
Click to collapse
run adb shell
make sure your prompt is a # not a $. If it is a $ start over, if it is a # make sure you run adb remount.
jbach44 said:
lol now all we need is someone to write different roms :>
cyanogen would be nice :> lol
thank you for rooting this phone :>
Click to expand...
Click to collapse
No problem.
You actually left out a step. In order to push su to the phone you have to adb remount -o rw. Otherwise it is a read-only filesystem and it cannot be pushed to the phone. Most people would probably get this, but the novices who end up with bricked phones will be angry.
Great work!
iliekandroid said:
You actually left out a step. In order to push su to the phone you have to adb remount -o rw. Otherwise it is a read-only filesystem and it cannot be pushed to the phone. Most people would probably get this, but the novices who end up with bricked phones will be angry.
Great work!
Click to expand...
Click to collapse
Actually no, you are incorrect.
adb remount without the additional parameters is correct, and not possible of bricking a phone with adb remount. No novice would be angry, because there is not possible brick from this guide, as long as it is followed.
I got the LG for my daughter (13 going on 30), and now it works fine. Thanks jcase.
Did not unlock my lgl35g
Yes I am a Noob... nobody likes me
I have exhausted every resource that I could find on this phone. I thought that this post was the answer to my problem, however it did not seem to help at all. Everything seemed as if it was working fine as I went step by step through the process. However, I rebooted my phone and there is no difference then when I started. The "su.zip" file enclosed in this post was not able to extract into the directory of my ADB client. It kept saying root already existed, but I was unable to see it in windows explorer? Is this "su.zip" a modified version of a pre-existing file in the SDK kit? I really need to unlock this phone so that I can clean up the junk. Any help would be greatly appreciated.
jcase said:
Update: Friday November 2nd 2012
Fixed a bad upload of the su file, must of become corrupt sorry.
Silly permission bug again, but w/e. LG should know better, from what I am told this is a recently released device. This is a long standing known issue. Lg get your sh*t together.
Directions:
unzip su.zip into the current path (directory) you are in.
adb shell
(while in adb shell)
rm /data/local/tmp/profile_calib_m
ln -s /data/local.prop /data/local/tmp/profile_calib_m
exit
adb reboot
adb wait-for-device shell
(once in the adb shell again)
echo 'ro.kernel.qemu=1' > /data/local.prop
rm /data/local/tmp/profile_calib_m
exit
adb reboot
adb wait-for-device remount
adb push su /system/xbin/su
adb shell chown 0.0 /system/xbin/su
adb shell chmod 6755 /system/xbin/su
adb shell rm /data/local.prop
adb reboot
Once rebooted install superuser from the market:
Click to expand...
Click to collapse
anyone know of a way to SIM unlock this device? I have AT&T and would like to use it om there, i bought it for $30 on clist thinking net 10 would work with an AT&T SIM but was wrong, any help would be appreciated...
anyone know of a way to SIM unlock this device? I have AT&T and would like to use it om there, i bought it for $30 on clist thinking net 10 would work with an AT&T SIM but was wrong, any help would be appreciated...
Click to expand...
Click to collapse
What is weird about that is i put the sim in a iphone and it worked just fine!!! Best bet would be ebay for unlock...
I have the Net10 one that I put a Straight Talk SIM in with no problems if I can get my hands on a AT&T SIM today I'll check it out.
---------- Post added at 07:39 AM ---------- Previous post was at 07:34 AM ----------
NateDoggTN said:
Yes I am a Noob... nobody likes me
I have exhausted every resource that I could find on this phone. I thought that this post was the answer to my problem, however it did not seem to help at all. Everything seemed as if it was working fine as I went step by step through the process. However, I rebooted my phone and there is no difference then when I started. The "su.zip" file enclosed in this post was not able to extract into the directory of my ADB client. It kept saying root already existed, but I was unable to see it in windows explorer? Is this "su.zip" a modified version of a pre-existing file in the SDK kit? I really need to unlock this phone so that I can clean up the junk. Any help would be greatly appreciated.
:
Click to expand...
Click to collapse
Did you push the su binary file or the whole folder? If you pushed the whole folder you will have to remove the directory & start over.
how to run root
Sorry for sounding like a noob, but I am...when it comes to LG. im trying to root my homies LG optimus logic but im not sure where to run the command from. if some one could help me out on to where the zip should actullay be placed and unziped to that would be a big help, thanks. and if there is a thread already for this please hook up a link.
thanks
thanks mate for this
i appreciate your time.
Anyone know of a rooted ROM
I have looked all over, but it doesn't look like a dev has created a ROM for this device. Has anyone come across one? If I knew programming I would give it a shot, but it's a mystery to me. I know that CyanogenMod 9 for the L3 (e400) works, but there is a problem with the radios, hence no cellular, wifi, or bluetooth.
Source code......
http://www.lg.com/global/support/opensource/opensource-detail.jsp
http://forum.xda-developers.com/showthread.php?p=34104009
This guy had some success with CM9, but no radio. Anyone know how to extract the radio? I've never built a rom, but this is tempting.

help with adb commands for s-off and perm root

Well let me first off say i'm feeling really dumb atm.
Just bought my wife the new m8 , I've already s-offd and perm rooted mine but for some reason im having trouble getting the commands to work for hers .
im using a mac btw but like ive said i did successfully do this on this exact setup
adb reboot <–important!!!!
adb wait-for-device push firewater /data/local/tmp <<<<<<<<
adb shell
su
chmod 755 /data/local/tmp/firewater
/data/local/tmp/firewater
do i actually put the data local tmp part in or am i supposed to be putting in my local directory where i have the file on my computer
when i adb devices , i can see my device, so it is connected
in adb when i " adb reboot" it does reboot my phone
but when i try to push the firewater file it does not push , i get this
cannot stat 'firewater': No such file or directory
firewater file is in my adb folder on my desktop and its the right size etc etc .
thanks in advance if anyone can tell me what im doing wrong!!!!
commandocon said:
Well let me first off say i'm feeling really dumb atm.
Just bought my wife the new m8 , I've already s-offd and perm rooted mine but for some reason im having trouble getting the commands to work for hers .
im using a mac btw but like ive said i did successfully do this on this exact setup
adb reboot <–important!!!!
adb wait-for-device push firewater /data/local/tmp <<<<<<<<
adb shell
su
chmod 755 /data/local/tmp/firewater
/data/local/tmp/firewater
do i actually put the data local tmp part in or am i supposed to be putting in my local directory where i have the file on my computer
when i adb devices , i can see my device, so it is connected
in adb when i " adb reboot" it does reboot my phone
but when i try to push the firewater file it does not push , i get this
cannot stat 'firewater': No such file or directory
firewater file is in my adb folder on my desktop and its the right size etc etc .
thanks in advance if anyone can tell me what im doing wrong!!!!
Click to expand...
Click to collapse
Have you already temp rooted her phone with weak sauce?
Sent from my HTC6525LVW using Tapatalk
wtoj34 said:
Have you already temp rooted her phone with weak sauce?
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
yes i have temp root and su installed
commandocon said:
yes i have temp root and su installed
Click to expand...
Click to collapse
Hmm. Are you copy pasting the messages? Make sure you don't have any spaces in wrong places. Maybe try a factory reset on said device. Just confirming firewater and adb are in the same directory?
Sent from my HTC6525LVW using Tapatalk
yeah theyre in the same folder
commandocon said:
yeah theyre in the same folder
Click to expand...
Click to collapse
Click on weaksauce to make sure it is still working and you may have to click on a prompt and then try ADB again after that.
Figured out what it was at about 12 midnight, I had to add in the directory then put the data/local/ tmp/ etc after that.
So problem is all solved thank god was justa long night of trying commands
where you add the directory?

Categories

Resources