amadeyX said:
Hi
I try dodexing same files and dont successful.
This file I try : "DialerTabActivit" (APK and odex file)
This what i do:
1. put all filse from framework folder, APK and odex files .
2.add the smali and baksmali files
3. run a next Command in CMD :
"java -jar baksmali-1.2.4.jar -x DialerTabActivit.odex"
and get error : http://www.siz.co.il/my/2myiiydmrmxf.jpg
I try this Command :
"java -jar baksmali-1.2.4.jar -l DialerTabActivit.odex"
and this extracts files without deodexing process.
What can ido to successful deodexing?
Thanks!
Click to expand...
Click to collapse
look for xultimate (thanks to xeododus) program, it fully automates the process of deodexing your odex files.
hope this helps.
g00ndu said:
look for xultimate (thanks to xeododus) program, it fully automates the process of deodexing your odex files.
hope this helps.
Click to expand...
Click to collapse
Link to post would be highly appriciated
thechamp007 said:
Link to post would be highly appriciated
Click to expand...
Click to collapse
http://www.xeudoxus.com/android/xUltimate-v2.2.2.zip
Thanks fro this!
How to use ? xUltimate
Writes that java was not installed on my phone
Image : http://www.siz.co.il/my/zzignim1tgzz.png
?........................................
amadeyX said:
Writes that java was not installed on my phone
Click to expand...
Click to collapse
You do not need java on the phone but your pc that you running xUltimate on
amadeyX said:
How to use ? xUltimate
Click to expand...
Click to collapse
1. Unzip xUltimate v2.2
2. Plug in phone (USB Debugging)
3 Launch "Main.exe"
4. Run option 1. After option 1 is done, run option 2.
5. Now these well take a while. Run option 3.
6. Now run option 4, and wait.
7. Exit xUltimate, and put the phone in USB mass storage.
8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
9. Open a command prompt, and do the following:
Code:
busybox mount -o remount,rw /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
sync
reboot, Your phone should now be deodexed!
amadeyX said:
Thanks fro this!
How to use ? xUltimate
Writes that java was not installed on my phone
Image : http://www.siz.co.il/my/zzignim1tgzz.png
Click to expand...
Click to collapse
install java in your pc and launch xultimate.
"busybox mount -o remount,rw /system
"
dont work - error "permission denied
I have ROOT.
amadeyX said:
"busybox mount -o remount,rw /system
"
dont work - error "permission denied
I have ROOT.
Click to expand...
Click to collapse
were you in su mode before entering that command?
adb shell
su (..accept permission prompt)
busybox mount -o remount,rw /system
LAG.........................
how to inter to su mode?
adb shell
su
permission denied
amadeyX said:
how to inter to su mode?
adb shell
su
permission denied
Click to expand...
Click to collapse
If you can, do another root process again. Is your recovery 2e or 3e?
recovey 2e + cf root
Sent from my GT-I9000 using XDA App
amadeyX said:
how to inter to su mode?
adb shell
su
permission denied
Click to expand...
Click to collapse
when you enter su on the PC you will be prompted to Approve the Permission Request on the phone. So type su on the PC and click Accept on the phone
Related
I just installed the Modaco ROM on my Desire (It is awesome BTW) but i don't like the WaveSecure program and i can't seem to be able to find it in /system/app to remove it!
Is there a way to delete this program off the phone!?
I would like to learn how to do this also
Don't think you can unless you use the online kitchen (I don't like it so removed it from mine)
I believe:
adb remount
adb shell rm /system/app/com.wsandroid.apk
Click to expand...
Click to collapse
Doesn't seem to work mate.
Code:
C:\DevTools\android-sdk-windows\tools>adb remount
remount succeeded
C:\DevTools\android-sdk-windows\tools>adb shell
# rm /system/app/com.wsandroid.apk
rm /system/app/com.wsandroid.apk
rm: can't remove '/system/app/com.wsandroid.apk': Directory not empty
#
plasmafire said:
Doesn't seem to work mate.
Code:
C:\DevTools\android-sdk-windows\tools>adb remount
remount succeeded
C:\DevTools\android-sdk-windows\tools>adb shell
# rm /system/app/com.wsandroid.apk
rm /system/app/com.wsandroid.apk
rm: can't remove '/system/app/com.wsandroid.apk': Directory not empty
#
Click to expand...
Click to collapse
Running as admin?
Same here. Running as admin - nevertheless "Directory not empty"
Edit: solved. Run SUBFS on phone and mounted /system RW. After that tried again in cmd - voila!
Insomnious said:
Same here. Running as admin - nevertheless "Directory not empty"
Edit: solved. Run SUBFS on phone and mounted /system RW. After that tried again in cmd - voila!
Click to expand...
Click to collapse
+1
For noobs like me: It's actually SUFBS, not SUBFS. Google for the apk, install the app, in the menu there's an option "mount /system RW". Activate and then run the adb commands above in a cmd window on your PC. Et voila!
(Just realised this is a Desire thread, this worked for me on my Nexus too)
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...
[Acer _AV041_A100_1.037.00_ww_gen1]
root
Can be successfully???
alexsec said:
[Acer _AV041_A100_1.037.00_ww_gen1]
root
Can be successfully???
Click to expand...
Click to collapse
ZN's method still works just fine.
http://forum.xda-developers.com/showthread.php?t=1531646
i can't root!
i can't root!
Verify the device is showing under the device manager, usb debugging is turned on, and that it is being run as administrator.
What OS are you using?
i have the same problem. Can't root after the recent update. using W7, executing it with and without administrator rights. Executing with administrator rights it says something of ADB.
alexsec said:
i can't root!
Click to expand...
Click to collapse
Updating script. Try once again.
rooted!! thanks!!
How to Updating script. Try once again.
@ ZeroNull, can you confirm whether ICS_rooting_A10x_A5xx works for the latest build?
Build number
Acer_A100_2.001.01_COM_GEN2
I have been unsuccessful so far:
==========================================
Preparation is finished.
-
Executing of the main script.
remote object '/system/bin/su' does not exist
The file "su" isn't created!
-
Not getting root!
-
Error!
I can confirm that I successfully rooted my A100 using ZeroNull's simple method (http://forum.xda-developers.com/showthread.php?t=1531646)
Build number: Acer_AV041_A100_1.037.00_WW_GEN1
I didn't even use the new script, I'm still using the old one (ICS_rooting.zip)
Unfortunately I can also confirm problems with recent updates of the SuperUser APK (It did not assign the correct Group ID), but apparently they were fixed in the latest update (v3.1.3)
Good Luck.
---------- Post added at 10:30 AM ---------- Previous post was at 10:05 AM ----------
alexsec said:
i can't root!
Click to expand...
Click to collapse
alexsec said:
How to Updating script. Try once again.
Click to expand...
Click to collapse
Hi alexsec, did you try with the new script, it creates a different directory than the old script did, and it uses the mkdir -p option so it creates any parent directories it needs:
Code:
adb shell "mkdir -p /data/local/tmp"
adb push tools /data/local/tmp
adb shell "chmod 0755 /data/local/tmp/mempodroid"
And it does a better job by waiting longer for the tablet to reboot:
Code:
rem Wait reboot tablet
for /L %%i in (1,1,7000000) do @rem
I even modify the getroot.sh script just to change back to the old su command and modify its permissions:
Code:
cd /data/local/tmp
echo >/data/local.prop
toolbox mount -o remount, rw /system/
cat su >/system/bin/su
ln -s /system/bin/su /system/xbin/su
chmod 06755 /system/bin/su
sync ; sync ; sync
reboot
Good Luck...
I have deodexed the odexed apps and framework jars of Android 4.3 for M Dual.
Now how to move it to /system/ folder with the help of adb?
I tried flash Gordon by making a flash-able zip but it ain't working.
I have a locked boot-loader and I do not want to unlock it.
SArnab©® said:
I have deodexed the odexed apps and framework jars of Android 4.3 for M Dual.
Now how to move it to /system/ folder with the help of adb?
I tried flash Gordon by making a flash-able zip but it ain't working.
I have a locked boot-loader and I do not want to unlock it.
Click to expand...
Click to collapse
This method assumes you have adb set up as an environment variable on windows.
1) Rename the 'app' folder with the deodexed apps to 'done_app' and the 'framework' folder with the deodexed framework to 'done_framework'.
2) Copy both of the folders to the root of your SD Card, basically so when you want them on your phone it is /sdcard1/done_*/ (* being used as a wildcard).
4) Connect your device to the computer with USB debugging enabled.
5) Open up command prompt and then run the following code individually and line by line:
Code:
adb shell
su
stop
mount -o rw,remount /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard1/done_app/* /system/app/
cp /sdcard1/done_frame/* /system/framework/
mount -o ro,remount /system
reboot
This may cause the device to bootloop, just battery pull and restart. Android is upgrading will appear but that is normal.
The reason flash gordon isn't working is because it replaces some framework files and that could cause the device to freeze and then bootloop and it has a safeguard to prevent that.
gamer649 said:
This method assumes you have adb set up as an environment variable on windows.
1) Rename the 'app' folder with the deodexed apps to 'done_app' and the 'framework' folder with the deodexed framework to 'done_framework'.
2) Copy both of the folders to the root of your SD Card, basically so when you want them on your phone it is /sdcard1/done_*/ (* being used as a wildcard).
4) Connect your device to the computer with USB debugging enabled.
5) Open up command prompt and then run the following code individually and line by line:
Code:
adb shell
su
stop
mount -o rw,remount /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard1/done_app/* /system/app/
cp /sdcard1/done_frame/* /system/framework/
mount -o ro,remount /system
reboot
This may cause the device to bootloop, just battery pull and restart. Android is upgrading will appear but that is normal.
The reason flash gordon isn't working is because it replaces some framework files and that could cause the device to freeze and then bootloop and it has a safeguard to prevent that.
Click to expand...
Click to collapse
Thank-you for your quick reply...
I tried this before too but without asking for root permissions and thus it failed each and every time.
Hope it works now.
Will edit the post with the result ones device boots up.
EDIT : IT GOT INTO A BOOT LOOP...
WHAT TO DO NOW?
FLASH THE FTF AGAIN?
EDIT 2 : MY MISTAKE. TRYING AGAIN.
SArnab©® said:
Thank-you for your quick reply...
I tried this before too but without asking for root permissions and thus it failed each and every time.
Hope it works now.
Will edit the post with the result ones device boots up.
Click to expand...
Click to collapse
I used that code for my single SIM and it worked perfectly, just the possible bootloop happened and then I battery pulled and then restarted and it worked. You need su permissions to remount.
gamer649 said:
I used that code for my single SIM and it worked perfectly, just the possible bootloop happened and then I battery pulled and then restarted and it worked. You need su permissions to remount.
Click to expand...
Click to collapse
Yeah I got your procedure.
I made the mistake in copying the deodexed files.
Will report after retrying when I get free.
gamer649 said:
I used that code for my single SIM and it worked perfectly, just the possible bootloop happened and then I battery pulled and then restarted and it worked. You need su permissions to remount.
Click to expand...
Click to collapse
This time I did everything correct yet the same problem...
Here's what I did :
D:\Working Folder\adt-bundle-windows-x86_64-20131030\sdk\platform-tools>adb shel
l
[email protected]:/ $ su
su
[email protected]:/ # stop
stop
[email protected]:/ # mount -o rw,remount /system
mount -o rw,remount /system
[email protected]:/ # rm /system/app/*.odex
rm /system/app/*.odex
[email protected]:/ # rm /system/framework/*.odex
rm /system/framework/*.odex
[email protected]:/ # cp /sdcard1/done_app/* /system/app/
cp /sdcard1/done_app/* /system/app/
cp: /sdcard1/done_app/*: No such file or directory
1|[email protected]:/ # cp /ext_card/done_app/* /system/app/
cp /ext_card/done_app/* /system/app/
[email protected]:/ # cp /ext_card/done_frame/* /system/framework/
cp /ext_card/done_frame/* /system/framework/
cp: /ext_card/done_frame/*: No such file or directory
1|[email protected]:/ # cp /ext_card/done_framework/* /system/framework/
cp /ext_card/done_framework/* /system/framework/
[email protected]:/ # mount -o ro,remount /system
mount -o ro,remount /system
[email protected]:/ # reboot
reboot
Click to expand...
Click to collapse
SArnab©® said:
This time I did everything correct yet the same problem...
Here's what I did :
Click to expand...
Click to collapse
I don't know what is wrong, you have followed the procedure correctly and I have even compared it to my own screencap and it is the same. Are you sure you deodexed properly?
gamer649 said:
I don't know what is wrong, you have followed the procedure correctly and I have even compared it to my own screencap and it is the same. Are you sure you deodexed properly?
Click to expand...
Click to collapse
Leave mate.
Thanxxx for your help.
I think I need to unlock the bootloader and deodex.
SArnab©® said:
I have deodexed the odexed apps and framework jars of Android 4.3 for M Dual.
Now how to move it to /system/ folder with the help of adb?
I tried flash Gordon by making a flash-able zip but it ain't working.
I have a locked boot-loader and I do not want to unlock it.
Click to expand...
Click to collapse
well i have a question to ask how did you deodexed as i am not able to find anything working
deodex error
i try to deodexed xperia m c2004 4.3 by this method
http://forum.xda-developers.com/showthread.php?t=2213235
with compression level 5
result:- "56 apk deodexed" and "0 rar deodexed" (i don't know may be right/wrong)
and then make it cwm flashable zip
then install via cwm
but i got "NFC force close" message
pls give me solution
sorry for my bad english
stalin.sk2 said:
i try to deodexed xperia m c2004 4.3 by this method
http://forum.xda-developers.com/showthread.php?t=2213235
with compression level 5
result:- "56 apk deodexed" and "0 rar deodexed" (i don't know may be right/wrong)
and then make it cwm flashable zip
then install via cwm
but i got "NFC force close" message
pls give me solution
sorry for my bad english
Click to expand...
Click to collapse
In cwm zip, in uodater script add the lines to delete all. odex files.
Flash n your problem wulill be solved.
Sent from my C2004 using Tapatalk
SArnab©® said:
In cwm zip, in uodater script add the lines to delete all. odex files.
Flash n your problem wulill be solved.
Sent from my C2004 using Tapatalk
Click to expand...
Click to collapse
you mean adding this "delete("/system/app/*.odex");" is correct script
and another doubt that 0 jar deodexed when deodex /system/framework will it work?
stalin.sk2 said:
you mean adding this "delete("/system/app/*.odex");" is correct script
and another doubt that 0 jar deodexed when deodex /system/framework will it work?
Click to expand...
Click to collapse
You need to seperately deodex framework files and then flash
also delete the framework odex files
SArnab©® said:
You need to seperately deodex framework files and then flash
also delete the framework odex files
Click to expand...
Click to collapse
Another doubt(may be final question in deodex)
in system/app more than 46 apks are there
in system/framwork more than 35 jars are there
but i deodexed 46 apks and 35 jars only
my question is i need to delete all odex files
or particular i mean delete deodexed odex file in system/app and system/framework
stalin.sk2 said:
Another doubt(may be final question in deodex)
in system/app more than 46 apks are there
in system/framwork more than 35 jars are there
but i deodexed 46 apks and 35 jars only
my question is i need to delete all odex files
or particular i mean delete deodexed odex file in system/app and system/framework
Click to expand...
Click to collapse
Ok.. I am gonna try to be as informative as possible in a short span of time.
There are almost 200 apks in the app folder but most of then are already deodexed.
I have deodexed dual sim firmware and there were 56 apps in total and not 46.
I can't remember the number of jars but ya 35 or near to that.
Now you just need to flash this 56 or 46 apps as per you and those 35 or so jars + 1 framework apk name sony.uxp.something.apk
and delete all the *.odex files in /system/app and /system/framework.
SArnab©® said:
Ok.. I am gonna try to be as informative as possible in a short span of time.
There are almost 200 apks in the app folder but most of then are already deodexed.
I have deodexed dual sim firmware and there were 56 apps in total and not 46.
I can't remember the number of jars but ya 35 or near to that.
Now you just need to flash this 56 or 46 apps as per you and those 35 or so jars + 1 framework apk name sony.uxp.something.apk
and delete all the *.odex files in /system/app and /system/framework.
Click to expand...
Click to collapse
i can't find "sony.uxp.____.apk" where to get and why it need?
stalin.sk2 said:
i can't find "sony.uxp.____.apk" where to get and why it need?
Click to expand...
Click to collapse
Its in framework folder.
There are only 2 apk files and this is one of them.
SArnab©® said:
Its in framework folder.
There are only 2 apk files and this is one of them.
Click to expand...
Click to collapse
in that location 2 apks are there named
1.framework-res.apk
2.SemcGenericUxpRes.apk ( i think you denote this apk)
2nd one already deodexed
am i complete?
stalin.sk2 said:
in that location 2 apks are there named
1.framework-res.apk
2.SemcGenericUxpRes.apk ( i think you denote this apk)
2nd one already deodexed
am i complete?
Click to expand...
Click to collapse
Yup...
Sent from my C2004 using Tapatalk
SArnab©® said:
This time I did everything correct yet the same problem...
Here's what I did :
Click to expand...
Click to collapse
well put the done_app folder in the internal memory card ie sd card
so code will be
adb shell
su
stop
mount -o rw,remount /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
mount -o ro,remount /system
reboot
change sdcard1 with sdcard
happened with me also changing this helped
trying lots but ab shell say system is read only ??
Krprem said:
trying lots but ab shell say system is read only ??
Click to expand...
Click to collapse
#1 you need to be rooted, if you're not this won't work
Mount system RW: mount -o rw,remount,rw /system
Mount system RO: mount -o ro,remount,ro /system
dicksteele said:
#1 you need to be rooted, if you're not this won't work
Mount system RW: mount -o rw,remount,rw /system
Mount system RO: mount -o ro,remount,ro /system
Click to expand...
Click to collapse
i try its work but when i reboot modifiy file gone away ...??
any premanet fix bro ??
thank u in advance
Krprem said:
i try its work but when i reboot modifiy file gone away ...??
any premanet fix bro ??
thank u in advance
Click to expand...
Click to collapse
You must not have saved it right or something.
Find a file manager in playstore that can do root privileges.
Or since you know adb. Pull the file, edit it then push it back.
Adb pull /system/build.prop
Edit the file
Adb push /system/build.prop
Bro can u give me step by step instruction about adb push and pull
Can i edit my efs folder because i lost my csc code and sn number
I am trying to add new folder in efs