How to re-odex a rom - HTC One X

odex again is not so easy...for system/app i use this:
http://forum.xda-developers.com/showthread.php?t=734236
but if you want also framework odexed...?! that is tricky...(coolexe helped me and maked a odex script for me..was written for desire..changed it to work on one x...) because you must look at the boothclass order (find in the kernel init.rc....if the order is a other then in the script you get a not booting rom....
if you want booth apps and framework odexed...you must make framework first odexed ""important"" or you will get a not booting rom...
here´s the new scxript for framework
for jb version of the script..take the one attached..and remove the txt...not the sourceforge version which is for ics
https://sourceforge.net/projects/alexvhtcroms/files/odex.sh/download
steps for framework:
adb push odex.sh /data
adb push dexopt-wrapper /system/bin +xbin (can be found in system app odex link)
adb shell chmod 755 /data/odex.sh
adb shell chmod 755 /system/bin+xbin/dexopt-wrapper
adb shell /data/odex.sh
adb pull /system/framework reodex-framework-onex
now you must manual cut the classes.dex file from the jar files...(be sure you have a meta-inf in each file)
after that make a new-half odexed rom..flash and do the rest with system app...
with kind regards...Alex

how about this one?
http://forum.xda-developers.com/showthread.php?t=1514576

zerozoneice said:
how about this one?
http://forum.xda-developers.com/showthread.php?t=1514576
Click to expand...
Click to collapse
never seen...not bad.. but it seems that is only for system app..system app can also be re-odexed using titanium backup pro...main part is the framwork
with kind regards

I think this way should be the easiest. I've been using it for a few months now and it worked every time without any issues. Just need to remember that every *.jar file in framework folder needs to have it's classes.dex inside (you can drag'n'drop the one from any other .jar that has it into ones that don't using 7zip). The script itself reads your boothclasspath and removes dalvik afterwards so you ultimately boot into a fully odexed rom. As always, it's recommended to make a nandroid before attemting to do this.

PlayPetepp said:
I think this way should be the easiest. I've been using it for a few months now and it worked every time without any issues. Just need to remember that every *.jar file in framework folder needs to have it's classes.dex inside (you can drag'n'drop the one from any other .jar that has it into ones that don't using 7zip). The script itself reads your boothclasspath and removes dalvik afterwards so you ultimately boot into a fully odexed rom. As always, it's recommended to make a nandroid before attemting to do this.
Click to expand...
Click to collapse
can you look again to the link...get the site is not availeble...sounds interesting
with kind regards

big thanks to playpetepp for the site
http://themikmik.com/showthread.php?12988-Tool-App-Dexo-the-Universal-Odex-Utility
i tryed lots of scripts and other things but nothing work as good as this one (the One from the link above)
first try all is re-odex viperx 1.0.1 (take me only 10min.) to do
when it is done it wont reboot stuck with black screen (freeze)
hold the power button till the phone goes off and then bootup again
and your done
so big thanks for this

sebastiaan15 said:
big thanks to playpetepp for the site
http://themikmik.com/showthread.php?12988-Tool-App-Dexo-the-Universal-Odex-Utility
i tryed lots of scripts and other things but nothing work as good as this one
first try all is re-odex viperx 1.0.1 (take me only 10min.) to do
on when it is done it wont reboot stuck with black screen (freeze)
hold the power button till the phone goes off and then bootup again
and your done
so big thanks for this
Click to expand...
Click to collapse
Seems like very nice script..
But i can't find the files needed (dexo) on that page...

swemoza said:
Seems like very nice script..
But i can't find the files needed (dexo) on that page...
Click to expand...
Click to collapse
At the bottom of that post there's a highlighted "did you read everything". Click on it.
Btw, those scripts are the work of tommytomatoe. My part was negligible.
-. typewrited .-

PlayPetepp said:
At the bottom of that post there's a highlighted "did you read everything". Click on it.
Btw, those scripts are the work of tommytomatoe. My part was negligible.
-. typewrited .-
Click to expand...
Click to collapse
so big thanks to tommytomatoe
and also big thanks to you for posting it here

PlayPetepp said:
At the bottom of that post there's a highlighted "did you read everything". Click on it.
Btw, those scripts are the work of tommytomatoe. My part was negligible.
-. typewrited .-
Click to expand...
Click to collapse
Aha.. Thank you mate...

Tried your method in the 1st post , and it worked ! 100% .

The Mikmik method works great.Thx for the link. ARHD is a dream in odex
Sent from my HTC One X using xda premium

PlayPetepp said:
At the bottom of that post there's a highlighted "did you read everything". Click on it.
Btw, those scripts are the work of tommytomatoe. My part was negligible.
-. typewrited .-
Click to expand...
Click to collapse
Ah ha... your favorite subject mate

ckpv5 said:
Ah ha... your favorite subject mate
Click to expand...
Click to collapse
Ah ... you caught me. :highfive:

PlayPetepp said:
I think this way should be the easiest. I've been using it for a few months now and it worked every time without any issues. Just need to remember that every *.jar file in framework folder needs to have it's classes.dex inside (you can drag'n'drop the one from any other .jar that has it into ones that don't using 7zip). The script itself reads your boothclasspath and removes dalvik afterwards so you ultimately boot into a fully odexed rom. As always, it's recommended to make a nandroid before attemting to do this.
Click to expand...
Click to collapse
I used this one and I'm very happy with it. So easy to launch and the HOX is a little more reactive now.

Probs
I tried your script with bootclasspath adjusted to SGS3.
Just did bootclasspath jars.
Still no luck - bootloop.
dexo Tool worked from the get go. But - SystemUI doesn't work. No notification bar whatsover. At least I can boot. Retrying...
Alex-V said:
here´s the new scxript for framework
https://sourceforge.net/projects/alexvhtcroms/files/odex.sh/download
Click to expand...
Click to collapse

C:\fastboot>adb shell
[email protected]/# chmod 755 /system/bin/dexo /system/bin/dexopt-wrapper /system/xbin
/zip /system/xbin/zipalign /system/xbin/busybox
/system/xbin/zipalign /system/xbin/busybox <
/system/bin/sh: chmod: cannot execute - Permission denied
getting this error message when in adb shell, any ideas guys? commands were copied from site

Do "adb remount" before "adb shell".
-. typewrited .-

PlayPetepp said:
Do "adb remount" before "adb shell".
-. typewrited .-
Click to expand...
Click to collapse
thanks man, so thats use adb remount again after using the adb push commands? i have pushed the neccesary files
still getting the permission denied message : (
---------- Post added at 10:25 PM ---------- Previous post was at 10:21 PM ----------
C:\fastboot>adb remount
remount succeeded
C:\fastboot>adb shell
[email protected]/# chmod 755 /system/bin/dexo /system/bin/dexopt-wrapper /system/xbin
/zip /system/xbin/zipalign /system/xbin/busybox
/system/xbin/zipalign /system/xbin/busybox <
/system/bin/sh: chmod: cannot execute - Permission denied
126|[email protected]/#

Try "mount -o rw,remount /system" after entering "adb shell"
If you have root explorer app installed you could change permissions for folders from phone.
-. typewrited .-

Related

Drizzy's Blur some changes NOW WITH BLUE!

Big ups to Drizzy for making such an awesome ROm.
Here are 3 modified apk's; framework-res, Rosie, and HtcClockWidget.
I didn't change all the pictures just the status bar, Rosie Bar and WeatherClock Background. If people like my work I might just start posting more visuals on the demand of what people would like changed. Font color is going to stay because I can't edit the xml files.
To Install:
adb remount
adb push framework-res.apk /system/framework/framework-res.apk
adb push Rosie.apk /data/app_s/Rosie.apk
adb push HtcClockWidget.apk /data/app_s/HtcClockWidget.apk
adb shell reboot
http://www.mediafire.com/download.php?jzrykjnv2oy
Now with BlUE accents/highlights! (I think, I'm color blind so blue and purple look the almost the same, either way I think it looks nice.)
Blue Blur http://www.mediafire.com/download.php?y4y4gzjcyvn
push com.htc.resources.apk to /system/framework/com.htc.resources.apk
looks good
ok when i unzip the file where do i put them so they cn be push to my phone
jacsonmoore3 said:
ok when i unzip the file where do i put them so they cn be push to my phone
Click to expand...
Click to collapse
on your computer put them in your working path so that you can do adb push whatever.apk /data/app_s/whatever.apk
or if you don't have adb do this with them on the root of your sdcard
Code:
mount /system
mount /data
mount /sdcard
cp /sdcard/framework-res.apk /system/framework-res.apk
cp /sdcard/Rosie.apk /data/app_s/Rosie.apk
cp /sdcard/HtcClockWidget.apk /data/app_s/HtcClockWidget.apk
(use the mv command it cp doesn't work)
reboot
david1171 said:
on your computer put them in your working path so that you can do adb push whatever.apk /data/app_s/whatever.apk
or if you don't have adb do this with them on the root of your sdcard
Code:
mount /system
mount /data
mount /sdcard
cp /sdcard/framework-res.apk /system/framework-res.apk
cp /sdcard/Rosie.apk /data/app_s/Rosie.apk
cp /sdcard/HtcClockWidget.apk /data/app_s/HtcClockWidget.apk
(use the mv command it cp doesn't work)
reboot
Click to expand...
Click to collapse
well i dont know what u mean by [working path] but i think i can do it from my phone..do i do it in recovery or can i use the terminal..i have adb but im not getting what u talking bout cuz im still learning
jacsonmoore3 said:
well i dont know what u mean by [working path] but i think i can do it from my phone..do i do it in recovery or can i use the terminal..i have adb but im not getting what u talking bout cuz im still learning
Click to expand...
Click to collapse
If you have adb then put the apks in you're sdk/tools folder or where ever you're adb is located
Use the commands David gave you in the terminal or recovery, doesn't matter.
AdrianK said:
Use the commands David gave you in the terminal or recovery, doesn't matter.
Click to expand...
Click to collapse
actually it would be the recovery console because i do not believe that you can type "mount data" or "mount system" in the terminal and have it work, it will tell you the device or resource is busy.
also i use windows and i have adb.exe and AdbWinApi.dll in my system32 folder so i can use adb from any directory on my computer.
the working path is what appears by default when you open up command prompt (which for me is C:\users\david\ i use for adb commands do adb push desktop/what.ever [dir on phone] or adb push downloads/what.ever [dir on phone])
but as stated before drop the files into your tools folder and cd to your tools folder then adb push from there.
Rosie for some reason isn't working for me... adb or console, going to try root explorer and see if it works, good work regardless
Will this work for other Hero roms?
bigchi2000 said:
Rosie for some reason isn't working for me... adb or console, going to try root explorer and see if it works, good work regardless
Click to expand...
Click to collapse
that was me, I had zipped the original Rosie.apk instead of the one I modified I updated the zip so everyone download and tell me what you think.
kabluey said:
that was me, I had zipped the original Rosie.apk instead of the one I modified I updated the zip so everyone download and tell me what you think.
Click to expand...
Click to collapse
cool loks great. do you think you can change the selection highlights from red to green or blue
w0rd said:
Will this work for other Hero roms?
Click to expand...
Click to collapse
i pushed this on to mligns hero and it worked fine. im in the process of flashing the new jachero so i will try it on that one and post my results.
great work i like this!! +5
learningmore said:
i pushed this on to mligns hero and it worked fine. im in the process of flashing the new jachero so i will try it on that one and post my results.
Click to expand...
Click to collapse
Thanks appreciate it!
cp: cannot create /data/app_s/Rosie.apk (or any other file) : Path does not exist.
i also made sure those files were there
have any idea on how to get Plurk onto blur?
full lockscreen? Thanks.
Now has blue selection highlights!
I think if you wanted plurk you would need to find a non-odex plurk apk and push it to you data/app_s/ folder. I don't know if drizzy put out a build with plurk so look at some of the other hero roms.
kabluey said:
Big ups to Drizzy for making such an awesome ROm.
Here are 3 modified apk's; framework-res, Rosie, and HtcClockWidget.
I didn't change all the pictures just the status bar, Rosie Bar and WeatherClock Background. If people like my work I might just start posting more visuals on the demand of what people would like changed. Font color is going to stay because I can't edit the xml files.
To Install:
adb remount
adb push framework-res.apk /system/framework/framework-res.apk
adb push Rosie.apk /data/app_s/Rosie.apk
adb push HtcClockWidget.apk /data/app_s/HtcClockWidget.apk
adb shell reboot
http://www.mediafire.com/download.php?jzrykjnv2oy
Now with BlUE accents/highlights! (I think, I'm color blind so blue and purple look the almost the same, either way I think it looks nice.)
Blue Blur http://www.mediafire.com/download.php?y4y4gzjcyvn
push com.htc.resources.apk to /system/framework/com.htc.resources.apk
Click to expand...
Click to collapse
Thanks for the blue it right on time. I'm running it on the new jac.

sony bravia engine on xoom

just saw this in a chinese forum
i m bad in english.. but i ve tried my best to translate it so that u guys can try it
i think it may help us to improve our display quality
download the attachment
extract zip
using root explorer
move be_photo and be_movie to /system/etc
edit the permission for both files to : r-w-e
r- -e
r- -e
"change owner" wner:0 - root
group:0 - root
(apply to both files)
open and edit the
/system/build.prop
add these on the end of it
#Bravia Engine Service
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
reboot ur device
*sry for my bad english
Does this work in tiamat rom?
i saw this for the Galaxy S2 just for stock rom
yup. I m using it with tiamat
could somebody just reiterate those instructions a little clearer, perhaps in code tags?
Any confirmation about this if it works on xoom
Sent from my MZ601 using xda premium
beepoo83 said:
Any confirmation about this if it works on xoom
Sent from my MZ601 using xda premium
Click to expand...
Click to collapse
Read above, already answered your question which is a yes it works on xoom if you read the instructions.
I'm not 100% sure exactly what it does but from the looks of the description (from what I can read from the broken English) it''s supposed to make the display better but who knows, I'll hold off until more about it and possibly see screen shots.
scsa20 said:
Read above, already answered your question which is a yes it works on xoom if you read the instructions.
I'm not 100% sure exactly what it does but from the looks of the description (from what I can read from the broken English) it''s supposed to make the display better but who knows, I'll hold off until more about it and possibly see screen shots.
Click to expand...
Click to collapse
Just one who confirmed that it work wish to see more people involve in
Sent from my MZ601 using xda premium
I can confirm that this works on my Xoom (Euro 3G running Tiamat Moray 2.2.2)
Basically the Bravia Engine boosts images and videos, read this review from GSMArena for more information: http://blog.gsmarena.com/heres-what-sony-ericsson-mobile-bravia-engine-really-does-review/
*Edited Moray
how much improvement are you noticing? Is it worth it?
I don't really see a difference. I compared it to my co-worker's tiamat xoom.
These stuffs really work. the screen has better contrast (just a little)
I took 2 picture, you can see black color become deeper
Is this hack only for images and video exclusively?
Or will it always run in the background
Sent from my ADR6350 using xda premium
beakeroo said:
could somebody just reiterate those instructions a little clearer, perhaps in code tags?
Click to expand...
Click to collapse
1) Download post#1 attached file
2) extract somewhere
3) connect XOOM via USB
4) in cmd.exe window navigate to path specified in 2)
5) execute in cmd code below
Code:
adb remount
adb push be_movie /system/etc/be_movie
adb push be_photo /system/etc/be_photo
adb shell chmod 0755 /system/etc/be_movie
adb shell chmod 0755 /system/etc/be_photo
adb shell echo -e \#Bravia Engine Service\\nro.service.swiqi.supported=true\\npersist.service.swiqi.enable=1\\n^>^>/system/build.prop
adb reboot
Thanks for that, I was a bit worried about OPs language barrier
_TB_TB_ said:
1) Download post#1 attached file
2) extract somewhere
3) connect XOOM via USB
4) in cmd.exe window navigate to path specified in 2)
5) execute in cmd code below
Code:
adb remount
adb push be_movie /system/etc/be_movie
adb push be_photo /system/etc/be_photo
adb shell chmod 0755 /system/etc/be_movie
adb shell chmod 0755 /system/etc/be_photo
adb shell echo -e \#Bravia Engine Service\\nro.service.swiqi.supported=true\\npersist.service.swiqi.enable=1\\n^>^>/system/build.prop
adb reboot
Click to expand...
Click to collapse
If we follow this method do we still need to do this part after -
open and edit the
/system/build.prop
There seemed to be extra editing steps in the OP's post and I wasn't sure if they were needed. I am also using the Tiamat ROm and the files pushed fine but I don't notice a difference really.
Isun said:
If we follow this method do we still need to do this part after -
open and edit the
/system/build.prop
There seemed to be extra editing steps in the OP's post and I wasn't sure if they were needed. I am also using the Tiamat ROm and the files pushed fine but I don't notice a difference really.
Click to expand...
Click to collapse
Nope. If you follow the adb method there's no need for opening and editing the build.prop file. The second to last command in the adb method will echo the necessary text to the build.prop file for you.
once again sry for my bad english.. i m just trying to share this with u guys so that we can make our xoom better
omnia1994 said:
once again sry for my bad english.. i m just trying to share this with u guys so that we can make our xoom better
Click to expand...
Click to collapse
Though I don't think I notice the change I do thank you for sharing the info.
Just for kix ill take a look at this. If its cool ill make a nice clean zip package
So is this going to become a zip?

[ICS][Deodex] stock system apps and framework [2.007.04_COM_GEN1]

This will have to be "flashed" through adb and your a100 needs to be on the newest update.
[STOCK ROM] Official Packages It's the first link on that post. We can thank vache for that.
All bloatware is still included, also acer's MusicA.odex did not deodex and is included.
Code:
$ adb shell
$ su
# stop
# mount -wo remount /system
# rm /system/app/*
# rm /system/framework/*
# cd /mnt/external_sd/path_to_tar
# busybox tar xvf A100_2.007.04_COM_GEN1_deodex.tar -C /
Permissions should be fine as it is in tar format otherwise:
Code:
# chmod 644 /system/app/*
# chmod 644 /system/framework/*
dalvik cache will be about 20MB larger and it should be wiped
Code:
# busybox rm /data/dalvik-cache/*
# exit
$ exit
$ adb reboot
It will take a bit longer on the first boot while the cache rebuilds
For anyone that doesn't know deodexing is only useful for creating a ROM/theme.
After any theming of the apps permissions will have to be set and keep the official stock ROM in hand in case of a bootloop.
Code:
# chmod 644 /system/app/apk_package
or
# chmod 644 /system/framework/jar_package
I've been running this for a few days and have had no issues at all.
Using this method we can start building some ROMS. I would suggest using tar and maybe include a small script to flash it.
Let me know if anyone wants a full ROM package as this is only the apps and framework.
A100_2.007.04_COM_GEN1_deodex.tar - 191.05 MB
[edit] As it turns out MusicA does not work at all, it doesn't even show up in the app drawer. Some guy named Jeff Lee compiled some of the framework wrong. com.acer.android.clearfilib_tablet.jar/C:/Users/Jeff_lee/Desktop/_acer/Jeff/clearfilib_tablet.java will not work. It should be a classes.dex file in the jar archive. Oh well it looks like its fixed in ICS.
02/22/12
Here's Deodex ICS, everything deodexed without issues. But without root this will be useless. [edit] We now have root so this will be very useful
A100_0.002.00_WW_GEN1_deodex.tar - 206.06 MB
Pending...
I was meaning to do this for a few days now and I am glad to see it works.
Did you do some more testing to see how it is, performance-wise?
Icewyng said:
I was meaning to do this for a few days now and I am glad to see it works.
Did you do some more testing to see how it is, performance-wise?
Click to expand...
Click to collapse
Nothing more than opening the stock apps and using it as I normally do. Just ran linpack, it got the same result as before deodexing. It really shouldn't run any better or worse. Though odex is supposed to be faster than using the dex format. It's also zipaligned so that can also speed things up a bit to compensate.
eww245 said:
This will have to be "flashed" through adb and your a100 needs to be on the newest update.
[STOCK ROM] Official Packages It's the first link on that post. We can thank vache for that.
All bloatware is still included, also acer's MusicA.odex did not deodex and is included.
Code:
$ adb shell
$ su
# stop
# mount -wo remount /system
# rm /system/app/*
# rm /system/framework/*
# cd /mnt/external_sd/path_to_tar
# busybox tar xvf A100_2.007.04_COM_GEN1_deodex.tar -C /
Permissions should be fine as it is in tar format otherwise:
Code:
# chmod 644 /system/app/*
# chmod 644 /system/framework/*
dalvik cache will be about 20MB larger and it should be wiped
Code:
# busybox rm /data/dalvik-cache/*
# exit
$ exit
$ adb reboot
It will take a bit longer on the first boot while the cache rebuilds
For anyone that doesn't know deodexing is only useful for creating a ROM/theme.
After any theming of the apps permissions will have to be set and keep the official stock ROM in hand in case of a bootloop.
Code:
# chmod 644 /system/app/apk_package
or
# chmod 644 /system/framework/jar_package
I've been running this for a few days and have had no issues at all.
Using this method we can start building some ROMS. I would suggest using tar and maybe include a small script to flash it.
Let me know if anyone wants a full ROM package as this is only the apps and framework.
A100_2.007.04_COM_GEN1_deodex.tar - 191.05 MB
Click to expand...
Click to collapse
Great work eww245! I am definately interested.....just noticed your thread today.
Is there a way to do this on the tablet itself?? Thanks for the work....
Sent from my ADR6400L using xda premium
BrothaJINC said:
Is there a way to do this on the tablet itself?? Thanks for the work....
Sent from my ADR6400L using xda premium
Click to expand...
Click to collapse
Probably but be prepared for a lot of force closings. I suggest you immediately end it with reboot ex: # busybox tar x.... ; reboot
and don't use stop, the screen will go black. Good Luck
So just put in the code above on a terminal then reboot. And have the file on the sdcard
Sent from my ADR6400L using xda premium
BrothaJINC said:
So just put in the code above on a terminal then reboot. And have the file on the sdcard
Sent from my ADR6400L using xda premium
Click to expand...
Click to collapse
Yep, not sure if your on ICS but I haven't tested it yet.
No I'm trying to get to ics... I'm on gen2.... Will post back how it went.... Thanks for the help...
Sent from my ADR6400L using xda premium
Using this method we can start building some ROMS. I would suggest using tar and maybe include a small script to flash it.
Let me know if anyone wants a full ROM package as this is only the apps and framework.
A100_2.007.04_COM_GEN1_deodex.tar - 191.05 MB
hello eww245, i am not familiar with this and at the risk of sounding like a total newb, how would one go about this....what i mean is could you just give the basics to get me started....how would we get past the acer signature and checksums? thanks so much for your hard work
oneovakindoldys2 said:
Using this method we can start building some ROMS. I would suggest using tar and maybe include a small script to flash it.
Let me know if anyone wants a full ROM package as this is only the apps and framework.
A100_2.007.04_COM_GEN1_deodex.tar - 191.05 MB
hello eww245, i am not familiar with this and at the risk of sounding like a total newb, how would one go about this....what i mean is could you just give the basics to get me started....how would we get past the acer signature and checksums? thanks so much for your hard work
Click to expand...
Click to collapse
As far as signatures, all the apks and jars are signed but unless you sign them with all the same keys, files will have to be added / replaced in the archive. They are just zip files.
One tool baksmalli code.google.com/p/smali/ allows the code to be extracted into smalli code, which is quite difficult to read. That's what I used to deodex the files, but something like adding a reboot menu to the long press power button is possible.
Another, ApkTool code.google.com/p/android-apktool/ Will decode all the xml files and extract the images. With that it's possible to change or add string values. Like new translation values or changing text that's already there.
The eaisest edit would be just replacing images. So using 7zip or if you use linux xarchiver works good. As I mentioned above if the apks/jars are unzipped and rezipped the signature changes. So the images will have to be replaced in the archive.
I haven't experiment much yet my self, I tried to change the autobacklight values without any effect, but I did manage to add a CRT power off effect to the framework-res.apk.
Good luck hopefully this helps.
eww245 said:
As far as signatures, all the apks and jars are signed but unless you sign them with all the same keys, files will have to be added / replaced in the archive. They are just zip files.
One tool baksmalli code.google.com/p/smali/ allows the code to be extracted into smalli code, which is quite difficult to read. That's what I used to deodex the files, but something like adding a reboot menu to the long press power button is possible.
Another, ApkTool code.google.com/p/android-apktool/ Will decode all the xml files and extract the images. With that it's possible to change or add string values. Like new translation values or changing text that's already there.
The eaisest edit would be just replacing images. So using 7zip or if you use linux xarchiver works good. As I mentioned above if the apks/jars are unzipped and rezipped the signature changes. So the images will have to be replaced in the archive.
I haven't experiment much yet my self, I tried to change the autobacklight values without any effect, but I did manage to add a CRT power off effect to the framework-res.apk.
Good luck hopefully this helps.
Click to expand...
Click to collapse
Thanks alot Eww, I will do some research on this and see what I can come up with. In the meantime, I have a question [mission actually...lol] for anyone that might have some knowledge. I have been working on cracking fastboot and nvflash on our a100 so we can flash custom roms. I have come to the conclusion that our fastboot/nvflash is locked/disabled in the default prop and init. I have been working on this in my spare time....anyway, this is the progress i have made so far ....i have extracted the leaked ics release, decompressed it, extracted the boot image, unpacked it and used split_boot to seperate the ramdisk from the kernel and made the changes that I thought were necessary. I then used mkboot and finally got it gzipped up without any errors. I now have an edited boot.img for the a100 that should enable fastboot operation, however I have no way to get it back on to the tablet.....tis is the dilemma! Any suggestions with merit will certainly be appreciated. thanks again
How do get cm7 to boot? i flashed it on safestrap 3.05 but all i get is black screen. also check y D3 rom Collection filled the best D3 roms https://www.mediafire.com/folder/b0gq735hrqxx6/Droid_3_ROMS

"rm -rf" command cannot run on the device

"rm -rf" command cannot run on the device
I've got an new device LG Optimus LTE II (LGE F160L) and install "Better Terminal Emulator Pro"
The Android version is 4.0.3
The kernel is 3.0.8-00001-g65e7cd3
1. I properly rooted the device
2. I used "su" command before runnig follow the commands.
3. When I try to run "rm -rf /sdcard/.ads" command, it showed "No such file or directory"
I've found the command "-rf" has been trade as a diretory but parameters.
How does it happened?
How can I resolve this?
I think it's because the folder /sdcard/.ads doesn't actually exist because /sdcard is a symbolic link to /mnt/sdcard. So to answer your question, I think the following might work:
Code:
rm -rf /mnt/sdcard/.ads
If that doesn't work, I dunno...
THK Malnilion,
I have also tried "rm -rf /mnt/sdcard/.ads", but didn't work with a respond of "rm failed for -rf, No such file or directory."
the "rm" command thought "-rf" is a file or a directory., and the "-rf" should be parameters.
Ah, I see, this might be a limitation of busybox, then.
Malnilion said:
I think it's because the folder /sdcard/.ads doesn't actually exist because /sdcard is a symbolic link to /mnt/sdcard. So to answer your question, I think the following might work:
Code:
rm -rf /mnt/sdcard/.ads
If that doesn't work, I dunno...
Click to expand...
Click to collapse
Malnilion said:
Ah, I see, this might be a limitation of busybox, then.
Click to expand...
Click to collapse
Oh, really?
I need to run a lot of testing scripts in "Gscripts". I see, why those scripts don't work on this device.
Then, how can I update the busybox? Those testing is my work!! Otherwise, I need to change back to HTC Desire which scripts are working well.:crying::crying: OH, Nooooo........:crying::crying::crying:
aswasw said:
Oh, really?
I need to run a lot of testing scripts in "Gscripts". I see, why those scripts don't work on this device.
Then, how can I update the busybox? Those testing is my work!! Otherwise, I need to change back to HTC Desire which scripts are working well.:crying::crying: OH, Nooooo........:crying::crying::crying:
Click to expand...
Click to collapse
Are you using the same terminal emulator application and version on the Desire?
drumist said:
Are you using the same terminal emulator application and version on the Desire?
Click to expand...
Click to collapse
Yes, of course. But the andorid version is 2.3.7.
I use "rm -r /mnt/sdcard/.ads" without parameter "f" as a mistake, and the script runs without a respond of error. ^_^
I used R.E browse to /mnt/sdcard , I found directory "/mnt/sdcard/.ads" has been removed !!!!!!!
I try to remove other directory with the "rm -r" command which seems non-forced remove command, but in fact, the command remove the folder, and everything in the folder, too.
OMG...Is there something has been modified in the kernel??

[GUIDE] DEODEX Xperia S Stock Rom (6.1.A.2.45 ~ 6.2.B.1.96) - 27/8

Warning: This is very advanced, if you do not know what it is, dont play play.
I'm not responsible if your device bricked during deodexing process.
This method has been commonly used, I just improved it and included important cautions and precautions.
Requirements:
- Rooted firmware (Search XDA)
- Busybox installed (included when root with Root Many Droid)
- ADB correctly set up on computer *(sdk + environment variables setup)* ? - if u dont know what it is, as long as sdk installed is ok *(only sdk installed)*
- Xperia S with coresponding firmware version.
- In phone, usb debugging enabled, unknown sources enabled
- Downloaded app and framework zips
Downloads:
LT26i - 6.2.B.1.96 deodexed **not tested** by zhuhang
http://www.androidfilehost.com/?fid=23060877490002553​LT26i - 6.2.B.0.200 deodexed **not tested** by @davidbar93
https://www.dropbox.com/s/saog0fip6m8gsyf/done_app.rar
https://www.dropbox.com/s/d8s6rll8esatzny/done_frame.rar​LT26i - 6.1.A.2.55 deodexed **working** by zhuhang
http://www.androidfilehost.com/?fid=9390244042945593433
http://www.androidfilehost.com/?fid=9390244042945593434​LT26i - 6.1.A.2.50 deodexed **working** by zhuhang
http://www.androidfilehost.com/?fid=9390244042945593431
http://www.androidfilehost.com/?fid=9390244042945593432​LT26i - 6.1.A.2.45 deodexed **working** by zhuhang
http://www.androidfilehost.com/?fid=9390244042945593350
http://www.androidfilehost.com/?fid=9390244042945593351​
Instructions:
1. Extract downloaded zips
2. Copy done_app and done_frame to /sdcard/ (via MTP acceptable)
3. Make sure debugging mode connected
4. (i) Open Command Prompt on PC (Ctrl + R > cmd) *(sdk + environment variables setup)*
4. (ii) Go to /android-sdk/platform-tools/ folder, hold Shift button and right click mouse, 'Open Command window here' (Win 7) *(only sdk installed)*
5. Enter lines ony by one:
Code:
adb shell
su
stop
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. Wait for phone to reboot, you'll see "Android Upgrading, Optimizing aplications..."
8. If optimizing aplications succeed, congratulations, ur stock rom is deodexed! Done.
Note: Every time u put apks into /system/app/ and restart, Android Upgrading will appear for once.
Donations:
Its also recommended to make donation using Paypal balance. (lower transaction fee)
My Paypal Account is ready! Malaysian please PM me for local bank account.
I would appreciate if you can donate to me so I can maintain this OP. I'm also making IRS for you guys.
Credits:
Deodexed using dsixda's kitchen
Compressed using Winrar
Is it as simple as that?
eScapeeXc said:
Is it as simple as that?
Click to expand...
Click to collapse
Definitely yes if u know the commands and steps.
Try it yourself then, i've done hundred times on acroS and XS
Link to acroS in my sig.
zhuhang said:
Warning: This is very advanced, if you do not know what it is, dont play play.
I'm not responsible if your device bricked during deodexing process.
This method has been commonly used, I just improved it and included important cautions and precautions.
Requirements:
- Clean Rom (best with data wiped, orelse FCs)
- Rooted firmware (Root with Root Many Droid : here)
- Busybox installed (included when root with Root Many Droid)
- ADB correctly set up on computer *(sdk + environment variables setup)* ? - if u dont know what it is, as long as sdk installed is ok *(only sdk installed)*
- Xperia S with: usb debugging enabled, unknown sources enabled
- Downloaded app and framework zips
Downloads:
LT26i .45 deodexed
http://www.androidfilehost.com/?fid=9390244042945593350
http://www.androidfilehost.com/?fid=9390244042945593351​
Instructions:
1. Extract downloaded done_app and done_frame zips
2. Copy done_app and done_frame to /sdcard/ (via MTP acceptable)
3. Make sure debugging mode connected
4. (i) Open Command Prompt on PC (Ctrl + R > cmd) *(sdk + environment variables setup)*
4. (ii) Go to /android-sdk/platform-tools/ folder, hold Shift button and right click mouse, 'Open Command window here' (Win 7) *(only sdk installed)*
5. Enter lines ony by one:
Code:
adb shell
su
stop
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
busybox mount -o ro,remount /system/ /system/
reboot
Note: Do not change permissions of files to 644 or folders to 755! We'll do it later.
6. Leave Command Prompt open
7. Wait for phone to reboot, if optimizing aplications succeed, congratulations, ur stock rom is deodexed!
8. Now let's manually fix some permissions
9. Return to Command Prompt
10. Enter lines ony by one:
Code:
adb shell
su
mount -o rw,remount /system/ /system/
chmod 644 /system/app/*
chmod 644 /system/framework/*
busybox mount -o ro,remount /system/ /system/
reboot
11. After phone reboot, there should be no more "Android Upgrading, Optimizing aplications..."
12. Viola, Done!!
Note: Every time u put apks into /system/app/ and restart, Android Upgrading will appear for once.
Credits:
Deodexed using dsixda's kitchen
Packed using Winrar
Click to expand...
Click to collapse
Is this what u used for AC!D V6? is the internal speaker volume low?
darkace007 said:
Is this what u used for AC!D V6? is the internal speaker volume low?
Click to expand...
Click to collapse
This is deodexing stock ICS rom, nothing to do with any mod or acid v6
Do u know what's deodexing?
I dont exactly know but its about theming possibilties right but I saw one of ur posts that AC!D works for stock .45.
Sent from my LT26i using xda app-developers app
darkace007 said:
I dont exactly know but its about theming possibilties right but I saw one of ur posts that AC!D works for stock .45.
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
Deodex is not for theming. U can understand it somewhere else
I will add advantages of deodexing to 1st post.
Acid v6 not working yet, I haven't really tested. V5 works.
It doesn't matter whether ur Rom is odexed or deodexed, the advantage is no android upgrade loop on deodexed Rom.
Sent from my LT26i using xda app-developers app
You can actually a package, which used here man. Sdk, busybox, etc. It would be better. And one more question. Is it exactly at .55?
eScapeeXc said:
You can actually a package, which used here man. Sdk, busybox, etc. It would be better. And one more question. Is it exactly at .55?
Click to expand...
Click to collapse
Sdk has to be installed (few hundred Mbs) + Java
Root+busybox link given.
I can't make a package for that. Maybe links. I will consider.
Its .45, I'll do .50 and .55, can anyone provide me the app and framework?
There was another Deodexed .45 thread here.... if it was .55 would been better...
s-X-s said:
There was another Deodexed .45 thread here.... if it was .55 would been better...
Click to expand...
Click to collapse
Very soon...
Sent from my LT26i using xda app-developers app
zhuhang said:
Sdk has to be installed (few hundred Mbs) + Java
Root+busybox link given.
I can't make a package for that. Maybe links. I will consider.
Its .45, I'll do .50 and .55, can anyone provide me the app and framework?
Click to expand...
Click to collapse
s-X-s said:
There was another Deodexed .45 thread here.... if it was .55 would been better...
Click to expand...
Click to collapse
Just a thought why don't take .55 deodex both app and framework from the ROM I post long ago. It is in zip format so you could easily extract app and framework then follow instruction in first post to inject to your ROM.
tosa.th said:
Just a thought why don't take .55 deodex both app and framework from the ROM I post long ago. It is in zip format so you could easily extract app and framework then follow instruction in first post to inject to your ROM.
Click to expand...
Click to collapse
Where did u posted it?
zhuhang said:
Where did u posted it?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2005595
tosa.th said:
http://forum.xda-developers.com/showthread.php?t=2005595
Click to expand...
Click to collapse
U modified a little things.
zhuhang said:
U modified a little things.
Click to expand...
Click to collapse
Yes, I delete few app that recognize as bloat ware (this is recommended by rom kitchen) I see that you also use rom kitchen I believe you should see that as well.
The other change is not relate to app and framework.
tosa.th said:
Yes, I delete few app that recognize as bloat ware (this is recommended by rom kitchen) I see that you also use rom kitchen I believe you should see that as well.
The other change is not relate to app and framework.
Click to expand...
Click to collapse
Nope, i didnt saw which is recognized bloatware.
Which one?
zhuhang said:
Nope, i didnt saw which is recognized bloatware.
Which one?
Click to expand...
Click to collapse
Didn't write it down so can not tell you exactly which one.
It said some thing like do you want to remove bloatware ? I just say yes.
May be you could try to deodex .55 ROM then see if it detect any bloatware.
tosa.th said:
Didn't write it down so can not tell you exactly which one.
It said some thing like do you want to remove bloatware ? I just say yes.
May be you could try to deodex .55 ROM then see if it detect any bloatware.
Click to expand...
Click to collapse
I never encounter bloatware detected, anyway i will remove any apps.
Updated 27/12/12
Added:
LT26i - 6.1.A.2.50
LT26i - 6.1.A.2.55
Both not tested, let me know the result.
EDIT: Should be LT26i

Categories

Resources