Cannot deodex apps.. (ADB) - Samsung Galaxy Nexus

Hey!
I am trying to replace the files in /system/app and /system/framework/ to make the deodexed...
but I can't do it, I've added the folders to SD card and I have followed the guide:
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
but when I type to CMD this command then it doesn't do nothing: cp /sdcard/done_app/* /system/app/
It says only;
[email protected]:/ # cp /sdcard/done_app/* /system/app/
cp /sdcard/done_app/* /system/app/
sh: cp: not found
127|[email protected]:/ #
What I can do, can I replace them by making flashabe .zip for CWM?
and how even can do the CWM flash script thing?
Please help, Thanks!

Is busybox installed on your device?

Unlawful said:
Is busybox installed on your device?
Click to expand...
Click to collapse
I added it to /system/xbin/ and my Nexus is also rooted!

manumanfred said:
I added it to /system/xbin/ and my Nexus is also rooted!
Click to expand...
Click to collapse
Hmm, because it says it can't find cp which is a pretty common linux command that is unless Android (with busybox I should add) doesn't support it. You could give adb push and pull a try rather than cp. 'rm' should most definitely work in adb shell.

manumanfred said:
I added it to /system/xbin/ and my Nexus is also rooted!
Click to expand...
Click to collapse
Then there is something wrong with you busybox. cp is not supported natively in Android - you need busybox.
Sent from my Galaxy Nexus using Tapatalk 2

Okay! I can download from play store the busybox installers to install busybox but right now I don't need it because I did all manually..

Related

[Q] Install busybox

Anyone knows how to install busybox?
I've tried to follow some guides but ends up with:
Code:
215:Desktop ricardo$ adb push busybox /data/local
580 KB/s (1083568 bytes in 1.823s)
215:Desktop ricardo$ adb shell
$ su
# cd /system/xbin
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cat /data/local/busybox > busybox
cannot create busybox: not enough memory
or
$ su
# cd /data/local
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# dd if=/data/local/busybox of=/system/xbin/busybox
/system/xbin/busybox: cannot open for write: Out of memory
or
$ su
# cd /data/local
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# ./busybox cp /data/local/busybox /system/xbin
cp: can't create '/system/xbin/busybox': Cannot allocate memory
same here. cannot write to rw-mounted /system.
sucks
Try my zip file. Woked for me
The only thing that I want to change and I can't is the init.rc file. I tried to mount the / (rootfs) with rw, but every time I restart my device the file is copied, again, from the ramdisk image.
I have the same problem
ricardoft said:
Try my zip file. Woked for me
The only thing that I want to change and I can't is the init.rc file. I tried to mount the / (rootfs) with rw, but every time I restart my device the file is copied, again, from the ramdisk image.
Click to expand...
Click to collapse
What should I do with your files?
Nobody has a solution to this?
I don't think this is a memory issue though, .. added 512mb swap and still it claimed to be out of memory, ..
also I figured maybe hd space .. however when i ln /data/local/tmp/busybox to /system/xbin it had the same error.
I both tried ln from the system and ln from busybox both had same result.
It's not a memory problem! In order to install it you have to be in recovery mode.
Try:
While in recovery mode use adb to connect to our phone. Now transfer the zip file (busybox.zip) to your phone and install it via clockwork recovery -> install zip file -> select my zip file.
can anyone post the proper busybox file cause for some reason the file signature verification failed.
adb push busybox-signed.zip /sdcard/busybox-signed.zip
rebooted phone held down volume button while booting ..
choose recovery, ..
choose install zip from sdcard..
then i see a lot of no and one yes .. so i choose yes but the installation is aborted.
Just install titanium backup and click on 'problems?' at the bottom. It will install BusyBox for you.
it has error during installation at line 4 with your busybox.zip
somethinf like can not chmod
(rooted buzz with stock rom)
Elibongo said:
Just install titanium backup and click on 'problems?' at the bottom. It will install BusyBox for you.
Click to expand...
Click to collapse
Do what this guy said.
titanium install in /sdcard busybox, not in /system/bin (xbin) , so it is not usuable by other apps
i have installed it in during recovery mode in /system/xbin
how now to specify PATH for using commands from it?
kevin2516 said:
Do what this guy said.
Click to expand...
Click to collapse
you have read my mind especially since that isn't free software.
hellysmile said:
i have installed it in during recovery mode in /system/xbin
how now to specify PATH for using commands from it?
Click to expand...
Click to collapse
i think you need to create aliases however why install it in xbin anyways then, .. if you need to create aliases or links in bin.. ?
example
$ ln -s /data/local/tmp/busybox ls
$ ./ls
if it is in a path that is included in PATH executing a command will auto look for it in all directories defined in PATH env so basicly you could just create all the directories under /data/local/tmp/bin
and just then append that to PATH env echo $PATH then append :/data/local/tmp/bin to it and busybox should work as well.
Ofloo said:
you have read my mind especially since that isn't free software.
Click to expand...
Click to collapse
titanium backup is free software... look on the market, there's a free version and a donate version.
i have aliases in /system/xbin
they was created after busybox --instal -s
but in system allready exists some commands like ls => i want to use ls from busbox, not from system
and terminal emulator dont anderstand ^[ likes bindings
is there a definitive way to do this. There seems to be no clear way of doing it.
matpol said:
is there a definitive way to do this. There seems to be no clear way of doing it.
Click to expand...
Click to collapse
Maybe this helps:
fang0654 said:
To install:
1) extract and push busybox to your sdcard, reboot into recovery
2) mount /system
3) if you don't have /system/xbin (you should), create it
adb shell:
# mkdir /system/xbin (if necessary)
dd if=/sdcard/busybox of=/system/xbin/busybox
cd /system/xbin
chmod 755 busybox
./busybox --install .
4) reboot and done
OPTIONAL - before rebooting replace the busybox installed by the root process in /system/bin
1) mv /system/bin/busybox /system/bin/busybox.bak
2) cp /system/xbin/busybox /system/bin/busybox
Click to expand...
Click to collapse
from this site: http://forum.xda-developers.com/showthread.php?t=702634
The above is pretty straightforward. The only thing is you need to download the zip in the other thread and 'busybox' refers to the binary in the zip rather than the whole directory - as I understand it. Correct me if I am wrong but trying the dd command on the dir will not work.
matpol said:
The above is pretty straightforward. The only thing is you need to download the zip in the other thread and 'busybox' refers to the binary in the zip rather than the whole directory - as I understand it. Correct me if I am wrong but trying the dd command on the dir will not work.
Click to expand...
Click to collapse
You dont have to extract the binary into a folder, just extract the busybox file direct on your sdcard. Than the dd command should work, on my phone it works fine.
But if not, does the command cat in the adb shell work?
If so, try istead of the dd comand:
Code:
mount /sdcard
cat /sdcard/busybox > /system/xbin/busybox
And remember to start your wildfire in the recovery mode, that was the mistake I had done...

[MOD] Poor streaming performance-AAC audio fix

There was one hack i really enjoyed.....from my Nexus is the Fix poor AAC streaming performance http://forum.xda-developers.com/showthread.php?t=737111&highlight=stagefright
Code:
C:\Users\Mikey\Desktop>adb shell
$ su
su
[COLOR=Red]Watch your phones screen for superuser asking for permission, it you have not granted it in the past.[/COLOR]
# busybox mount -o rw,remount /system
busybox mount -o rw,remount /system
# cp /system/build.prop /sdcard/
cp /system/build.prop /sdcard/
[COLOR=red]I use root manager at this time to edit the file while on the phone, long press on the file and open in text editor.[/COLOR]
From: [B]media.stagefright.enable-player true[/B]
To: [B]media.stagefright.enable-player false[/B]
# cp /sdcard/build.prop /system/
cp /sdcard/build.prop /system/
# busybox mount -o ro,remount /system
busybox mount -o ro,remount /system
# reboot
reboot
C:\Users\Mikey\Desktop>
When the phone reboots run Visionary, for root. http://www.appbrain.com/app/visionary/com.modaco.visionary
In my case i use Enomthers Rom, located here:
http://forum.xda-developers.com/showthread.php?t=806612
In terminal, granting su permission first, then type:
Code:
/data/local/tmp/startrom
Of course you need the proper files in the tmp folder to run Enomthers rom.
can you give info on the changes to prop?! Would like to test this on my nexus and g2 when u get it figured out.
Sent from my T-Mobile G2 using XDA App
Click the link in post 1
Fix poor AAC streaming performance
Click to expand...
Click to collapse
link

Samsung Galaxy S messaging apk?

Could someone please send me the Galaxy S messaging apk?
I tried searching the forum but couldn't find it.
Thanks!
What color do you want? There's a few of them out there
Sent from my SGH-T959 using XDA App
thachosenone said:
What color do you want? There's a few of them out there
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
What colours are there? ;O
Check the custom themes in these forums. I personally made a black and red one that's in mr. apocalypse's gingerRED theme. You could also take the messaging apps from any us variant galaxy s theme.
Sent from my SGH-T959 using XDA App
Here: http://www.mediafire.com/?2fblo6edl9gkujg
I am trying to find a solution to a problem I was having with the stock messaging app, as mentioned here;
http://forum.xda-developers.com/showthread.php?t=1007282
I thought re-installing the stock messaging.apk might fix the problem. Is it just a matter of removing my current messaging then re-installing? Or can I re-install over the top?
Noob question; assuming I do have to remove the current one, how do I do that? TiBa?
You'll need root to do that,
in adb:
adb push Mms.apk /sdcard/
adb shell
su
busybox mount -o rw,remount /dev/block/stl9 /system
rm /system/app/Mms.apk
cp /sdcard/Mms.apk /system/app
busybox mount -o ro,remount /dev/block/stl9 /system
Or just mount system as rw and copy them over with something like root explorer.
Is there anyway to install these apk's on CyanogenMod 7? I have tried many times and had no luck. Thanks in advance.
nexus s
Whenever i try to download this apk it always says download unsuccessful. I don't like my stock sms on nexus s
Any help?
sargorn said:
You'll need root to do that,
in adb:
adb push Mms.apk /sdcard/
adb shell
su
busybox mount -o rw,remount /dev/block/stl9 /system
rm /system/app/Mms.apk
cp /sdcard/Mms.apk /system/app
busybox mount -o ro,remount /dev/block/stl9 /system
Or just mount system as rw and copy them over with something like root explorer.
Click to expand...
Click to collapse
Or just
adb push app.apk system/app
adb shell chmod 655 system/app/app.apk
---------- Post added at 01:17 PM ---------- Previous post was at 01:16 PM ----------
sargorn said:
You'll need root to do that,
in adb:
adb push Mms.apk /sdcard/
adb shell
su
busybox mount -o rw,remount /dev/block/stl9 /system
rm /system/app/Mms.apk
cp /sdcard/Mms.apk /system/app
busybox mount -o ro,remount /dev/block/stl9 /system
Or just mount system as rw and copy them over with something like root explorer.
Click to expand...
Click to collapse
Or just
adb push app.apk system/app
adb shell chmod 655 system/app/app.apk

[Q] Please Help Me, My Xperia "Stop Working" when Deodexed ROM

PLease Help, my Xperia Acro stop working after i follow instruction from : http://forum.xda-developers.com/showthread.php?t=2309306
You need:
- Acro S JB 6.2.B.1.96 Rooted.
- Busybox installed (If not, go to Play Store and install).
- Enable USB Debugging.
- Download my archives below.
DOWNLOAD
Deodexed 6.2.B.1.96 Acro S
Code:
http://d-h.st/qXS
http://d-h.st/VPu
Instructions:
0. Backup your rom (CWM).
1. Extract downloaded files.
2. Change name of folder deodexed_APK to done_app and deodexed_JAR to done_frame.
3. Copy done_app and done_frame to /sdcard/
4. Open Command Prompt, enter each of lines.
Code:
adb devices
adb shell
su
stop (My Xperia Top working on Terminal Emulator)
mount -o rw,remount /system/ /system/
busybox cp /sdcard/done_app/* /system/app/
busybox rm /system/app/*.odex
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/framework/*.odex
chmod 644 /system/app/*
chmod 644 /system/framework/*
busybox mount -o ro,remount /system/ /system/
reboot
6. Close Command Prompt.
7. When your phone's up, you will see Android Upgrading, Optimizing aplications....
8. When it's done, your rom is successfully deodexed.
its all my responsibility, but i need your help to get my Xperia Back
Please Help me
haidarumar said:
PLease Help, my Xperia Acro stop working after i follow instruction from : http://forum.xda-developers.com/showthread.php?t=2309306
You need:
- Acro S JB 6.2.B.1.96 Rooted.
- Busybox installed (If not, go to Play Store and install).
- Enable USB Debugging.
- Download my archives below.
DOWNLOAD
Deodexed 6.2.B.1.96 Acro S
Code:
http://d-h.st/qXS
http://d-h.st/VPu
Instructions:
0. Backup your rom (CWM).
1. Extract downloaded files.
2. Change name of folder deodexed_APK to done_app and deodexed_JAR to done_frame.
3. Copy done_app and done_frame to /sdcard/
4. Open Command Prompt, enter each of lines.
Code:
adb devices
adb shell
su
stop (My Xperia Top working on Terminal Emulator)
mount -o rw,remount /system/ /system/
busybox cp /sdcard/done_app/* /system/app/
busybox rm /system/app/*.odex
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/framework/*.odex
chmod 644 /system/app/*
chmod 644 /system/framework/*
busybox mount -o ro,remount /system/ /system/
reboot
6. Close Command Prompt.
7. When your phone's up, you will see Android Upgrading, Optimizing aplications....
8. When it's done, your rom is successfully deodexed.
its all my responsibility, but i need your help to get my Xperia Back
Click to expand...
Click to collapse
You can help my with answer my question or send me an email to [email protected]
haidarumar said:
You can help my with answer my question or send me an email to [email protected]
Click to expand...
Click to collapse
First, What do u mean by your phone stopped working. As in the phone hung or rebooted or died altogether.
Second,Is your phone rooted??

Remove Hands Free Activation (Android nougat)

Hi,
To Remove Hands Free Activation you should remove Spirint apps in system directory follow by commands below:
Code:
adb shell su -c mount -o rw,remount /system
adb shell
su
cd system
cd priv-app
rm -r SprintAndroidExtension2
rm -r SprintDM
rm -r SprintSetupWizard
rm -r SprintSyncMLPhoneIF
rm -r SprintSyncMLSvc
touch like button if this thread helps you.
Thank you for this!
why i am getting read only file error??
crixus190 said:
why i am getting read only file error??
Click to expand...
Click to collapse
becuase you need root permision
This worked. Thank you!

Categories

Resources