PatF said:
From the terminal
Code:
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3
# cp /sdcard/download/MyFaves.apk /system/app
Click to expand...
Click to collapse
keeps saying mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 not found anyone help?
what are you trying to do/why are you trying to run that command? Theres a few ways to do the same things thats why...
pack said:
what are you trying to do/why are you trying to run that command? Theres a few ways to do the same things thats why...
Click to expand...
Click to collapse
....well tell me how to do it..... I get it on the phone but force closes...
pack said:
what are you trying to do/why are you trying to run that command? Theres a few ways to do the same things thats why...
Click to expand...
Click to collapse
He's trying to figure out how to get myFaves onto his Cyan rom
Kush.Kush™ said:
....well tell me how to do it..... I get it on the phone but force closes...
Click to expand...
Click to collapse
Next time, just tell him what you're doing because he's not a mind reader and he probably knows another way to put it on your phone
try from recovery mount card
and put file in sdk tools folder
adb shell mount
adb push MyFaves.apk /system/app
or try
adb push MyFaves.apk /data/app
sitimber said:
try from recovery mount card
and put file in sdk tools folder
adb shell mount
adb push MyFaves.apk /system/app
or try
adb push MyFaves.apk /data/app
Click to expand...
Click to collapse
I don't have sdk or adb I'm noob!!!!! I have android 1.6 and cyan 4.2.4.
I had it working fine on 4.2.3.1 obvously I had 1.6
Kush.Kush™ said:
I don't have sdk or adb I'm noob!!!!! I have android 1.6 and cyan 4.2.4.
I had it working fine on 4.2.3.1 obvously I had 1.6
Click to expand...
Click to collapse
how did you get the recovery on the phone fastboot??
if so you have sdk tools and adb
sitimber said:
how did you get the recovery on the phone fastboot??
if so you have sdk tools and adb
Click to expand...
Click to collapse
I downloaded the recovery and a flash app and loaded the recovery.
http://www.4shared.com/file/151592077/bf889ae/SetupinstallAPK.html
ok i found this tool on xda not sure where
if your running windows unzip install program move your file from the sd card to the pc
double click your MyFaves.apk hopefully your connect via usb and click install give it 30 sec and see if it installs
also go here and download sdk tools cause your gonna need them
http://developer.android.com/sdk/index.html
sitimber said:
also go here and download sdk tools cause your gonna need them
http://developer.android.com/sdk/index.html
Click to expand...
Click to collapse
Can't do it now no comp but ill try wen u go home in 5days.
Related
How can you do it in terminal.
Assuming you have the apk in the root of your SD card
su
then whatever the command is to mount /system (I can't remember at the moment)
cp /sdcard/xxxx.apk /system/app/
That's it.
when i try to mount it says device or resource busy.
jimbo2412 said:
when i try to mount it says device or resource busy.
Click to expand...
Click to collapse
Any chance you have your phone plugged into your computer and the sd card mounted?
no i dont. is it easier that way?
Remount first
Adb remount
Adb push HTC_IME.apk /system/app
jimbo2412 said:
How can you do it in terminal.
Click to expand...
Click to collapse
alright thanks. got it
Everytime I try to flash Amons Recovery Image I get to the "push flash_image /system/bin" command line and I get an error message saying the file is read-only. Someone please help, I'm running ROOTED 2.1.
Steve4TIS said:
Everytime I try to flash Amons Recovery Image I get to the "push flash_image /system/bin" command line and I get an error message saying the file is read-only. Someone please help, I'm running ROOTED 2.1.
Click to expand...
Click to collapse
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
then try to push
Spencer_Moore said:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
then try to push
Click to expand...
Click to collapse
or adb remount its shorter
T.C.P said:
or adb remount its shorter
Click to expand...
Click to collapse
but my way is more fun!!
Spencer_Moore said:
but my way is more fun!!
Click to expand...
Click to collapse
true but my way is for the lazy people out their that dont want to type all that in
T.C.P said:
true but my way is for the lazy people out their that dont want to type all that in
Click to expand...
Click to collapse
or flash threw fastboot! less prone to the problems that way has.
Could you post steps to do this with fastboot?
Tried and still get "read only file system" message. Using a PC if it makes a difference. Any more help would be great
Steve4TIS said:
Tried and still get "read only file system" message. Using a PC if it makes a difference. Any more help would be great
Click to expand...
Click to collapse
try this:
open up cmd
type in
cd\
cd androidsdk\tools
adb remount
and u should be good bro
I'm trying to push a file to /system/app but it's read-only. I know there's a command to allow me to write to it, but do I need to be rooted to do so? I'm attempting to put SprintZone.apk back in /system/app so I can update firmware. Feel free to PM me on this, too...I'm not doing so well hahaha.
Thanks,
-Rob
TheRob44 said:
I'm trying to push a file to /system/app but it's read-only. I know there's a command to allow me to write to it, but do I need to be rooted to do so? I'm attempting to put SprintZone.apk back in /system/app so I can update firmware. Feel free to PM me on this, too...I'm not doing so well hahaha.
Thanks,
-Rob
Click to expand...
Click to collapse
You need to mount r/w
Sent from my Epic 4G
...
Thanks for the tip. Can you let me know the proper adb commands to get this done? Also, after I'm finished, what are the commands to unmount?
Thanks!
-Rob
TheRob44 said:
Thanks for the tip. Can you let me know the proper adb commands to get this done? Also, after I'm finished, what are the commands to unmount?
Thanks!
-Rob
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=719542
I'm not taking credit for the answer just the time it took to search for it.
TheRob44 said:
Thanks for the tip. Can you let me know the proper adb commands to get this done? Also, after I'm finished, what are the commands to unmount?
Thanks!
-Rob
Click to expand...
Click to collapse
Put the file in the android sdk tools folder
Use adb commands
Adb remount
Adb push exactfilename.apk /system/app
Sent from my SPH-D700 using Tapatalk
I think its something like this...
adb shell
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
Click to expand...
Click to collapse
then what I had to do was instead of the usual:
mv /sdcard/yourfile.ext /system/app/yourfile.ext
Click to expand...
Click to collapse
I had to type this:
busybox mv /sdcard/yourfile.ext /system/app/yourfile.ext
Click to expand...
Click to collapse
it was either MV or CP
Sorry, I am not a programmer....
None of theese work for me and i have driver installed,sdk folder im using the right path but nothing it says adb not found 8(
I'm pretty sure you can just do this:
Adb shell
Su
Remount rw
That was enough to let me edit my build.Prop when root explorer wasn't remounting correctly.
Although I would recommend root explorer for stuff like this... remounts on the epic now and it let's you Remount in the application without adb. I think it's $0.99 in the market and we'll worth it.
Sent from my superphone using the XDA App
I second the suggestion of root explorer.
Sent from my (rooted) SPH-D700 using Tapatalk
I've noticed weirdness using mv or cp sometimes even using -f.
This always worked for me without fail:
cat dir/file.ext > /system/app/file.ext
Of course, you'll need to type the proper dir(s) and file.
Sent from my SPH-D700 using Tapatalk
Thread moved to General.
What I had to type was
cd\
cd android-sdk-windows\tools
adb devices
Adb shell
Su
Then it dropped me to the #
Hope that helps. Btw, I'm running windows vista 64bit
Sent from my SPH-D700 using my fingures.
To start off I want to say, I am NOT claiming to have created this exploit, I am merely letting people know that it works on the arc.
All credit for this goes to Chainfire and The Android Exploid Crew
The origional thread is here: http://forum.xda-developers.com/showthread.php?t=1044765
Download here
Install the APK and run it.
For people getting "could not extract assets" error execute
adb shell rmdir /data/local/tmp
and then
adb shell mkdir /data/local/tmp
Click to expand...
Click to collapse
Quote posted by jassired
works for me
So just push the apk to the phone, install and you're done?
no need to "push", just stick it on your sd card and install
diggedy said:
no need to "push", just stick it on your sd card and install
Click to expand...
Click to collapse
I get the error thing...and I can't find the effing map where I need to remove stuff....
where do I find the god damned map to remove the files I need to remove when it only fails to install?????
I've checked every single map on the memory card, going nuts here...
Cim_XII said:
where do I find the god damned map to remove the files I need to remove when it only fails to install?????
I've checked every single map on the memory card, going nuts here...
Click to expand...
Click to collapse
What do you mean?
double post :s will use this later
I have put the .apk in my download map on the sd card of the phone, installed the apk and run it and I get the: "could not extract assets" error execute
and then when I get that I am supposed to remove some files from a map on the sd card, and I cannot find said map....I hava rebooted the phone, and I still cannot find data/local/tmp or what ever map I need to find.....
Cim_XII said:
I have put the .apk in my download map on the sd card of the phone, installed the apk and run it and I get the: "could not extract assets" error execute
and then when I get that I am supposed to remove some files from a map on the sd card, and I cannot find said map....I hava rebooted the phone, and I still cannot find data/local/tmp or what ever map I need to find.....
Click to expand...
Click to collapse
you need to execute the commands in the origional post via ADB with USB debugging enabled, because the location is in the system and ironicly you dont have the root privelages to delete them
I don't even know what ADB is....that's how much I know...
Cim_XII said:
I don't even know what ADB is....that's how much I know...
Click to expand...
Click to collapse
I have attached it to this post. ADB is the Android Debug Bridge. It is used to excecute commands on android devices. Just extract the zip, then open a command prompt and change to the directory of ADB, then excecute the commands.
if you get the error for esset you need to remove all the files inside to /data/local/tmp/
press: adb shell
press ls /data/local/tmp
and remove one by one the files as my example:
$ ls /data/local/tmp/
ls /data/local/tmp/
Superuser.apk
Gingerbreak
runscript
sysrun
$ rm /data/local/tmp/Superuser.apk
rm /data/local/tmp/Superuser.apk
$ rm /data/local/tmp/Gingerbreak
rm /data/local/tmp/Gingerbreak
$ rm /data/local/tmp/runscript
rm /data/local/tmp/runscript
$ rm /data/local/tmp/sysrun
rm /data/local/tmp/sysrun
and now try again with app and may it works (in my case, works)
dh2311 said:
I have attached it to this post. ADB is the Android Debug Bridge. It is used to excecute commands on android devices. Just extract the zip, then open a command prompt and change to the directory of ADB, then excecute the commands.
Click to expand...
Click to collapse
maybe I should've mentioned I'm on a Mac computer with no access to windows....damn, this is so frustrating....
Ah... Its still possible you just have to get the android sdk for mac.
Get the SDK from here
Then in the tools folder ADB should be there
Then its commands as normal I think... not sure tho, don't have a mac.
Search around on here for tutorials, I'm sure someone has put up a tutorial on setting up adb on mac
dh2311 said:
Ah... Its still possible you just have to get the android sdk for mac.
Get the SDK from here
Then in the tools folder ADB should be there
Then its commands as normal I think... not sure tho, don't have a mac.
Search around on here for tutorials, I'm sure someone has put up a tutorial on setting up adb on mac
Click to expand...
Click to collapse
kewl, and the exact commands is in post #1 right?
so this root's the OS, title is confusing, does it enable fastboot? allow you to flash custom roms?
should be....
dh2311 said:
you need to execute the commands in the origional post via ADB with USB debugging enabled, because the location is in the system and ironicly you dont have the root privelages to delete them
Click to expand...
Click to collapse
did exactly what you said, but get the message
adb: permission denied
No does not enable fastboot
I was able to deodex the system files. However, I can get the system files on the phone. Please help?
I don't know it will work but here is a good tutorial:
http://forum.xda-developers.com/showthread.php?t=2374008
olrak said:
I don't know it will work but here is a good tutorial:
http://forum.xda-developers.com/showthread.php?t=2374008
Click to expand...
Click to collapse
There was a misunderstanding. I've already done. I could not put them in the phone.
In the guide:
Now there are 2 ways to install deodex files in device
If you take step 1, you need to startup your phone, make sure you are in developers mode, connect your phone with the usb cable to the computer and then do these commands:
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
Xpredator 20 said:
I was able to deodex the system files. However, I can get the system files on the phone. Please help?
Click to expand...
Click to collapse
Whenever i tried i failed so can you tell me how you did that
olrak said:
In the guide:
Now there are 2 ways to install deodex files in device
If you take step 1, you need to startup your phone, make sure you are in developers mode, connect your phone with the usb cable to the computer and then do these commands:
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
Click to expand...
Click to collapse
Sorry, but I don't understand. How to turn on developer mode?
I tried this way.
What am I doing wrong?
Soularis sun said:
Whenever i tried i failed so can you tell me how you did that
Click to expand...
Click to collapse
http://forum.xda-developers.com/gal...x-tool-android-l-t2972025/page58#post65743703
I have not tried is myself. I only wanted to help you out how you could do it.
adb is way to communicate between your phone and your computer. download the files here : https://mega.nz/#!pBFBTLoI!jZY2Wdh6VlHF9Cx8nhawlX4CDPJXT1KWwIbZ-3PN4GM
On your phone:
Then you need to put your phone in developers mode, push 10 times on buildnumber in about the phone.
Then select USB-error in the options for developers in settings menu.
On your computer
Then you need to how to a command prompt, cmd to the extracted directory. Put in you usb cable in your phone and computer. And execute the commands above if the files are in the correct directory on your sd card.
olrak said:
I have not tried is myself. I only wanted to help you out how you could do it.
adb is way to communicate between your phone and your computer. download the files here : https://mega.nz/#!pBFBTLoI!jZY2Wdh6VlHF9Cx8nhawlX4CDPJXT1KWwIbZ-3PN4GM
On your phone:
Then you need to put your phone in developers mode, push 10 times on buildnumber in about the phone.
Then select USB-error in the options for developers in settings menu.
On your computer
Then you need to how to a command prompt, cmd to the extracted directory. Put in you usb cable in your phone and computer. And execute the commands above if the files are in the correct directory on your sd card.
Click to expand...
Click to collapse
The files in the right place, isn't it?
It's o not 0 (zero)
olrak said:
It's o not 0 (zero)
Click to expand...
Click to collapse
So what should I do? Why say such a thing?
" o " did the same
olrak said:
It's o not 0 (zero)
Click to expand...
Click to collapse
He says the file could not be reached .
Xpredator 20 said:
http://forum.xda-developers.com/gal...x-tool-android-l-t2972025/page58#post65743703
Click to expand...
Click to collapse
Thanks alot
olrak said:
It's o not 0 (zero)
Click to expand...
Click to collapse
Why it says the files could not be found can you help? By throwing the files where do I need to enter these commands?
P8 Lite cihazımdan Tapatalk kullanılarak gönderildi
Deodex Rom
anyone has the deodex rom, I have a thread where found but the download link does not work anymore.
Soularis sun said:
Thanks alot
Click to expand...
Click to collapse
Well it didnot work on B180 version i have tried many times
You have to keep your previous system, factory reset only, and push the 3 folder in a zip with a script to flash it by twrp, easy and quick
But without fix and keep few system app odex, the flash work but not the system after the boot, it's why the link of the deodex was down, because don't works. Also just deodex it's really easy but the job don't stop here, for working you have to fix many things and also have the knowledge for that.
(system app need to be fix, framework too and many more)
Just deodex is not useful
And deodex the beta firmware is not more useful, really better to works on official version and wait the official marshmallows
A really good knowledge is necessary for fixing the firmware. Deodex can be make by anybody with the automatic tool's
Personally I appreciate more working on a custom kernel for the p8 lite. Because we can have the sources