[ICS][Deodex] stock system apps and framework [2.007.04_COM_GEN1] - Acer Iconia Tab A100

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

Related

[Q] ADB Push/Install Cyanogenmod 6 settings.apk

Would this work? Would it give us the ability to change the clock and notification text to white so that we can use black metamorph themes?
SuperDave81 said:
Would this work? Would it give us the ability to change the clock and notification text to white so that we can use black metamorph themes?
Click to expand...
Click to collapse
try it. i know the CMwallpaper app works.
if some1 posts the apk, i'll try it. feeling lazy at 2am. can ya blame me?
This is from 6.0.0 for N1
SuperDave81 said:
This is from 6.0.0 for N1
Click to expand...
Click to collapse
cant install via app manager. i dunno if it would work thru a adb push.
adb install fails: file already exists. Do I need to chmod the existing file in a shell first?
SuperDave81 said:
adb install fails: file already exists. Do I need to chmod the existing file in a shell first?
Click to expand...
Click to collapse
could work.
okay, I've mounted system as rw and chmodded Settings.apk as 04775, but I keep getting permission denied. How do I kill running apps in adb shell?
doubt you'll be able to do the customizations but you can use the stop and start commands in adb shell.
Tried it, nothing worked after issuing the stop command in adb shell. Had to battery pull.
Sent from my T-Mobile G2 using XDA App
adb shell
$ su
# stop
# mount -o remount,rw /dev/block/mmcblk0p25 /system
# mv /system/app/settings.apk /system/app/settings.bak
# cp /sdcard/settings.apk /system/app
# start
assuming you've put the new settings.apk in your /sdcard folder.
That worked, it did push the new settings.apk. It even changed the icon when I click menu from the home screen. But when I click on settings, nothing happened . Oh well, Enomthr updated his rom so I'm happy again!
I'm not positive but I'm pretty sure the cyan settings are involved with the custom framework on cyan roms. Because the xml in order to edit things such as clock color are located in the framework-res.apk. if some of you guys are new to android or have never reallly messed areoud with apks or ne thing here's something fun to try while waiting for root. Take the framework res apk from a rom and put it on ur computer and rename it to .zip instead of .apk. and you can see you things work visually wise on your phone. This will help you a ton if you ever want to get into themeing to make custom themes when we have root.
I have actually the same question. Does it work if a push a Setting.apk into my ROM, or there are something related in framework?

[GUIDE] Update CM without losing custom /system changes (ex Swype, keymap)

There's a really simple way to prevent CyanogenMod from overwriting your custom /system changes during an update. Create the file '/system/etc/custom_backup_list.txt' with a list of files within /system that you don't want to be overwritten.
For example, to prevent CM from wiping out Swype, open adb shell and type this:
Code:
mount -o remount,rw /system
cd /system/etc
echo lib/libSwypeCore.so >custom_backup_list.txt
echo app/Swype.apk >>custom_backup_list.txt
cd /
mount -o remount,ro /system
If you use teferi's custom keymap, do this:
Code:
mount -o remount,rw /system
cd /system/etc
echo lib/libSwypeCore.so >custom_backup_list.txt
echo app/Swype.apk >>custom_backup_list.txt
echo usr/keylayout/vision-keypad.kl >>custom_backup_list.txt
echo usr/keychars/vision-keypad.kcm.bin >>custom_backup_list.txt
cd /
mount -o remount,ro /system
Then the next time you flash CM, your changes to /system will still be there. If you want to see why this works, take a look at /system/bin/backuptool.sh
Hope this helps
Thanks! This is great; now I can easily keep my Email.apk that doesn't require me to enter a alphanumeric password every time I want to use the phone.
CM probably needs to overwrite build.prop but I've been changing the LCD density in this file. Is there a way to use a seperate file to override the lcd density so that i can let CM overwrite build.prop but still maintain lcd density after a flash?
Whatever commands you put in /data/local/userinit.sh will run at boot. So in adb shell, type this for a density of 215:
Code:
cd /data/local
echo setprop qemu.sf.lcd_density 215 >userinit.sh
awesome! thank you!
Don't suppose you would know how to get the CM update to not install/auto delete after installation apks like ADWLauncher and wifi calling?
Thank you!
This may be the long lost solution to my Swype and Cyan Problems. The new Release Candidates are destroying my swype and not liking it's return after installing the new Cyan. So, if this can basically help me update without losing much, it's a god send. Especially the LCD density.
You're a genius.
Thank you.
Hmm, seems the issue is still persistent. Thanks though.
Should userinit.sh and custom_backup_list.txt survive the upgrade or should they both be included in the backup list file?
Sent from my HTC Vision using XDA App
If you look at the actual script, it seems that it ignores the backuptool if .installscript exists, and in practice, I've noticed that nothing gets saved when flashing via ROM Manager. Is this, in fact, what's happening, and is there a way around it?
sundar2012 said:
awesome! thank you!
Don't suppose you would know how to get the CM update to not install/auto delete after installation apks like ADWLauncher and wifi calling?
Click to expand...
Click to collapse
You can put the following in /data/local/userinit.sh:
mount -o rw,remount /system
for apk in ADWLauncher.apk MS-HTCVISION-KNT20-02.apk
do
rm -f /system/app/$apk
done
for package in com.android.launcher
do
pm uninstall $package
done
mount -o ro,remount /system
exit 0
Click to expand...
Click to collapse
I haven't tried this for removing the Wifi Calling app, so ymmv. I remove a much larger set of apps myself (facebook, email, live wallpapers, amazon mp3 store, DSPManager, FileManager, Browser). http://wiki.cyanogenmod.com/index.php?title=Barebones has a list of apps that can be removed safely.
@cparekh -- what e-mail app is that? Or did you just use the pre-OTA's Email.apk app?
Rc4 has the trackpad wake fm radio and speaker led fixed its workng very smooth better than rc3
Sent from my HTC Vision using XDA App
sundar2012 said:
awesome! thank you!
Don't suppose you would know how to get the CM update to not install/auto delete after installation apks like ADWLauncher and wifi calling?
Click to expand...
Click to collapse
Just delete them from the cmupdate.zip before flashing. Cwm recovery doesn't require sig so u don't have to worry about resigning it.
OP: nice find, I'm sure ill use it at some point.
This is driving me crazy because I know I have used this command before but i cannot get it to work now... What is the deal?
Code:
$ mount -o remount,rw /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Rooted using gfree on this phone. On my previous phone I used wpthis and did not have a problem. Anyone know what I need to do to mount rw?
cparekh said:
Thanks! This is great; now I can easily keep my Email.apk that doesn't require me to enter a alphanumeric password every time I want to use the phone.
Click to expand...
Click to collapse
I need that apk
Sent from my HTC Vision using XDA App
Used this method to when going from stock to CM 6.1.1 and could not get it to work. I had to push/install manually from ADB.
Anyone had any luck? I did what the OP said then flashed. Was I supposed to do anything after flashing wiping and then flashing (CM & gapps)?
rraxda said:
This is driving me crazy because I know I have used this command before but i cannot get it to work now... What is the deal?
Code:
$ mount -o remount,rw /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Rooted using gfree on this phone. On my previous phone I used wpthis and did not have a problem. Anyone know what I need to do to mount rw?
Click to expand...
Click to collapse
Make sure you have root in the shell by typing su.
cparekh said:
Thanks! This is great; now I can easily keep my Email.apk that doesn't require me to enter a alphanumeric password every time I want to use the phone.
Click to expand...
Click to collapse
IConrad01 said:
@cparekh -- what e-mail app is that? Or did you just use the pre-OTA's Email.apk app?
Click to expand...
Click to collapse
chubb16 said:
I need that apk
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
I am also interested in that apk
How can I backup progress on Angry Birds? Drives me nuts starting back over when I reflash CM
Titanium backup. You can use it to restore the app and the data. Usually i just restore the data to a fresh install.

[DUMP] SGH-T989 System Dump

SGH-T989 System Dump (Odexed)
Here you guys go, a system dump, thanks to luckyduck69.
luckyduck69 said:
dump: http://dl.dropbox.com/u/21231693/T989odex.zip..
Click to expand...
Click to collapse
I have also mirrored this on my website, here.
I will have it deodexed here later tonight.
Reserved.
as;dflkjas;ldfkja;sldfkj
So, the dump would be useful if one needed to put the phone back to just the way it was out of the box, correct? One could use it with Odin to fix, say... a soft brick?
Ty for this!! this means what exactly? easier to root and set up for odin?????curious
movieaddict said:
Ty for this!! this means what exactly? easier to root and set up for odin?????curious
Click to expand...
Click to collapse
once it deodexed... the real def fun begins as far as modding or cooking up personalized roms.
but we really need to get a modded kernel somehow and get root. that must be our main priority cuz nothing else matters without it. maybe someone has a trick up their sleeve... i hope.
Awesome........ now the ball gets rolling
Ty sir Please remove all the ridiculous t-mobile bloat.
Ty luckyduck!
sence im at school and cant up u all my original build ill root this for u all and upload it back to my sf page
RaverX3X said:
sence im at school and cant up u all my original build ill root this for u all and upload it back to my sf page
Click to expand...
Click to collapse
Nice greatnews and good to see familiar faces from the gs4g thanks raver
Sent from my SGH-T989 using xda premium
Raver always comes thru so glad to see him here!
Sent from my SGH-T989 using XDA App
Ty to all of u guys!! cant wait
Hey fellas i was on sammy's open source site yesterday and nothing was there for the SGH-T989 and today there is an SGH-T989 open source.zip file up on the site just in case this helps in any way with getting things going with rooting this bad mutha!
https://opensource.samsung.com/
Sent from my SGH-T989 using xda premium
Was this dump made using "adb pull"? If so, it's next to worthless for the purposes of building a prerooted system image - no permissions, no symlinks.
Someone needs to dump system using tar. I have attached a binary of busybox (which includes tar) compiled using the instructions given at http://arighi.blogspot.com/2011/08/install-busybox-from-source-on-samsung.html
Extract it from the zip and install it as follows, I am assuming that whoever does the dump is comfortable with ADB:
Code:
adb push busybox /data/local/tmp/
Then start an adb shell or an Android Terminal Emulator session, and within it:
Code:
cd /system
/data/local/tmp/busybox tar czvf /sdcard/system_dump_t989.tar.gz *
Then grab /sdcard/system_dump_t989.tar.gz and upload it here.
To avoid having 308403434 different people do this, I suggest you guys name a volunteer
IMPORTANT: If the attempt to tar up /system above gives any errors about access denial or permissions, post the name of every file that was a problem.
Would love to but at work atm.
Sent from my SGH-T989 using xda premium
Entropy512 said:
Was this dump made using "adb pull"? If so, it's next to worthless for the purposes of building a prerooted system image - no permissions, no symlinks.
Someone needs to dump system using tar. I have attached a binary of busybox (which includes tar) compiled using the instructions given at http://arighi.blogspot.com/2011/08/install-busybox-from-source-on-samsung.html
Extract it from the zip and install it as follows, I am assuming that whoever does the dump is comfortable with ADB:
Code:
adb push busybox /data/local/tmp/
Then start an adb shell or an Android Terminal Emulator session, and within it:
Code:
cd /system
/data/local/tmp/busybox tar czvf /sdcard/system_dump_t989.tar.gz *
Then grab /sdcard/system_dump_t989.tar.gz and upload it here.
To avoid having 308403434 different people do this, I suggest you guys name a volunteer
Click to expand...
Click to collapse
"/data/local/tmp/busybox tar czvf /sdcard/system_dump_t989.tar.gz *" gives permission denied error
/system itself? That's VERY odd.
zaventh is working this now, talking with him on IRC
Edit: Looks like adb push didn't make busybox executable, as I mentioned in IRC:
Code:
adb shell chmod 755 /data/local/tmp/busybox
Finally the ball gets rolling
Sent from my SGH-T989 using xda premium
Entropy512 said:
Was this dump made using "adb pull"? If so, it's next to worthless for the purposes of building a prerooted system image - no permissions, no symlinks.
Someone needs to dump system using tar. I have attached a binary of busybox (which includes tar) compiled using the instructions given at http://arighi.blogspot.com/2011/08/install-busybox-from-source-on-samsung.html
Extract it from the zip and install it as follows, I am assuming that whoever does the dump is comfortable with ADB:
Code:
adb push busybox /data/local/tmp/
Then start an adb shell or an Android Terminal Emulator session, and within it:
Code:
cd /system
/data/local/tmp/busybox tar czvf /sdcard/system_dump_t989.tar.gz *
Then grab /sdcard/system_dump_t989.tar.gz and upload it here.
To avoid having 308403434 different people do this, I suggest you guys name a volunteer
IMPORTANT: If the attempt to tar up /system above gives any errors about access denial or permissions, post the name of every file that was a problem.
Click to expand...
Click to collapse
Dump using this method available here: http://www.multiupload.com/MKCNJTUTRW
zaventh said:
Dump using this method available here: http://www.multiupload.com/MKCNJTUTRW
Click to expand...
Click to collapse
Another dump ---- http://www.multiupload.com/424YLKAN90

How to re-odex a rom

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 .-

Deodexed Help!

I want to have a Deodexed ROM without going and installing a different ROM. Is it possible to Deodex the 4.1.2 stock rom? Im sure it is. Im SGH-1317m on 4.1.2.
Thanks :fingers-crossed::good:
Pirlo#21 said:
I want to have a Deodexed ROM without going and installing a different ROM. Is it possible to Deodex the 4.1.2 stock rom? Im sure it is. Im SGH-1317m on 4.1.2.
Thanks :fingers-crossed::good:
Click to expand...
Click to collapse
u can use any of the deodex tools and kitchens, or just smali/baksmali like I do.
if u have link for this rom, I can do it for you.
Pirlo#21 said:
I want to have a Deodexed ROM without going and installing a different ROM. Is it possible to Deodex the 4.1.2 stock rom? Im sure it is. Im SGH-1317m on 4.1.2.
Thanks :fingers-crossed::good:
Click to expand...
Click to collapse
In titanium back up you can odex o4 deodex in settings
Sent from my GT-N7105 using xda premium
Android The Greek said:
In titanium back up you can odex o4 deodex in settings
Sent from my GT-N7105 using xda premium
Click to expand...
Click to collapse
How do i do that?
Sent from my GT-N7105 using xda premium
Android The Greek said:
Sent from my GT-N7105 using xda premium
Click to expand...
Click to collapse
Oh yeah. I tried that. It didn't work on the stock rom
djodjoni said:
u can use any of the deodex tools and kitchens, or just smali/baksmali like I do.
if u have link for this rom, I can do it for you.
Click to expand...
Click to collapse
How do i use the smali or baksmali? i have android kitchen. I just cant run any of the .Jar files. If thats even what your supposed to do. sorry. im usually not this lost
Pirlo#21 said:
How do i use the smali or baksmali? i have android kitchen. I just cant run any of the .Jar files. If thats even what your supposed to do. sorry. im usually not this lost
Click to expand...
Click to collapse
I havent used any kitchen actually, just do things manually with some small dirty scripts
So smali/baksmali:
1) to run a jar you can just exe "java -jar baksmali.jar" for example
for that of course you need to have java installed and it needs to be in your path
the (bak)smali jars normally come with a script wrapper so you dont need to bother for the java thing. I ll explain later
2) to deodex you need to baksmali, then smali then pack the classes.dex back into the apk/jar, then zipalign (optional but recommended)
3) to backsmali: baksmali -a {API} -x {APP.odex} -d {Dependencies ex: framework} -o {OUT_DIR}
4) to smali: smali -a {API} -o {output.dex} {smali DIR-got from baksmali}
5) to pack: aapt a -v {the package to put it in apk/jar} {the.dex file got from smali}
note u may use any archiving tool i just reuse the tools i get from AOSP
6) to zipalign: zipalign -f 4 r {the package apk/jar} {the out zipaligned package apk/jar}
ur done.
You normally also need to deodex framework and then app folder.
So if this is a bit complicated to do it urself if you have linux environment you can:
1) download:
smali
baksmali
baksmali.jar
smali.jar
aapt
zipalign
deodex.sh
from: http://web.djodjo.org/?a=download:android:tools:x86_linux:alltools
2) put those in your ~/bin and chmod them to 777
3) get your system dir(or just system/app and system/framework) to some place
4) execute deodex.sh {fullpath to the system dir} {API for you it is 16}
and wait ...
In case you've got the ext4 sparsed image i.e. system.img
you can download deodexsystem.sh from the same link and execute:
sudo deodexsystem.sh system.img 16
this one will even pack it back to an ext4 sparsed image file so you can tar it and flash it with odin
enjoy
djodjoni said:
I havent used any kitchen actually, just do things manually with some small dirty scripts
So smali/baksmali:
1) to run a jar you can just exe "java -jar baksmali.jar" for example
for that of course you need to have java installed and it needs to be in your path
the (bak)smali jars normally come with a script wrapper so you dont need to bother for the java thing. I ll explain later
2) to deodex you need to baksmali, then smali then pack the classes.dex back into the apk/jar, then zipalign (optional but recommended)
3) to backsmali: baksmali -a {API} -x {APP.odex} -d {Dependencies ex: framework} -o {OUT_DIR}
4) to smali: smali -a {API} -o {output.dex} {smali DIR-got from baksmali}
5) to pack: aapt a -v {the package to put it in apk/jar} {the.dex file got from smali}
note u may use any archiving tool i just reuse the tools i get from AOSP
6) to zipalign: zipalign -f 4 r {the package apk/jar} {the out zipaligned package apk/jar}
ur done.
You normally also need to deodex framework and then app folder.
So if this is a bit complicated to do it urself if you have linux environment you can:
1) download:
smali
baksmali
baksmali.jar
smali.jar
aapt
zipalign
deodex.sh
from: http://web.djodjo.org/?a=download:android:tools:x86_linux:alltools
2) put those in your ~/bin and chmod them to 777
3) get your system dir(or just system/app and system/framework) to some place
4) execute deodex.sh {fullpath to the system dir} {API for you it is 16}
and wait ...
In case you've got the ext4 sparsed image i.e. system.img
you can download deodexsystem.sh from the same link and execute:
sudo deodexsystem.sh system.img 16
this one will even pack it back to an ext4 sparsed image file so you can tar it and flash it with odin
enjoy
Click to expand...
Click to collapse
thanks but none of the downloads work for me and i tried to do it with Cygwin but i cant keep a terminal open for more than 3 seconds before it crashes sorry. ive been busy. why it took me so long to get back. and i also tried doing the android kitchen in Ubuntu. but every time i try. that terminal also force closes. i don't know what going on!
Pirlo#21 said:
thanks but none of the downloads work for me and i tried to do it with Cygwin but i cant keep a terminal open for more than 3 seconds before it crashes sorry. ive been busy. why it took me so long to get back. and i also tried doing the android kitchen in Ubuntu. but every time i try. that terminal also force closes. i don't know what going on!
Click to expand...
Click to collapse
what do you mean "none of the downloads work for me".
You use those in ubuntu not in cygwin.
What exactly do you do when it crashes? do you see any messages?
djodjoni said:
what do you mean "none of the downloads work for me".
You use those in ubuntu not in cygwin.
What exactly do you do when it crashes? do you see any messages?
Click to expand...
Click to collapse
okay. Well. I cant seem to run the ./menu on ubuntu. ive tried several commands.
Success!
djodjoni said:
what do you mean "none of the downloads work for me".
You use those in ubuntu not in cygwin.
What exactly do you do when it crashes? do you see any messages?
Click to expand...
Click to collapse
Okay! im sorry for the really long wait reply. But i got everything to open well. I extracted the system.img, boot.img, cache.img and modem.bin from a stock rom .tar... I gave it root, gave it busybox. did all that stuff. but before i build it. whats the API level i need to deodex? is it 16?

Categories

Resources