[SCRIPT] D3xopt "dexopt-wrapper" script - Hero CDMA Themes and Apps

For reference. http://forum.xda-developers.com/showthread.php?t=561579
Advantages:
jubeh said:
...there are two latent benefits to having odexed apps; decreased usage of dalvik-cache (thus, more space in /data) and decreased first-boot time after a wipe.
Click to expand...
Click to collapse
Disadvantages:
jubeh said:
The disadvantage of odexed apps is that, unless the classes.dex is kept inside the .jar or .apk, the app and framework are bound to each other (though an odexed framework can still be used under a full set of non-odexed apks, but not the other way around). This removes mix-and match, and it was the reason why I was waiting for a more current hero-dump that didn't have all it's apps and frameworks odexed...
Click to expand...
Click to collapse
This is just something quick that I threw together after i was asked some questions regarding creating .odex files and the entire dexopt mechanism.
I searched for scripts that allowed me to do this quickly but I only found half assed ones that really didn't fit my needs.
So here's a rough preview of the script: http://pastebin.com/PKxvzMmR
How it works:
After you flash the update.zip below, you'll have both the d3xopt.sh script and the dexopt-wrapper binary. You'll then simply jump into shell
Code:
adb remount
adb shell
and type "d3xopt.sh" and it'll spout out a brief overview of the script:
Code:
Clearing dalvik-cache
Directions:
This script allows you to create .odex files
to optimize dalvik runtime
How to use:
FR - Framework
SA - System Apps
ALL - Framework/System Apps
WARNING! WARNING! WARNING!
DO NOT DEXOPT SYSTEM APPS THEN FRAMEWORK.
ALWAYS DEXOPT FRAMEWORKS THEN SYSTEM
APPLICATIONS.
WRONG ORDER WILL RESULT IN ANDROID
RUNTIME ERRORS.
WARNING! WARNING! WARNING!
Example: d3xopt.sh FR creates the .odex files for core.jar, ext.jar, framework.jar, android.policy.jar, and services.jar in boot order as to not create any problems with runtime. This follows the order set forth by Jubeh here.
I did put in a few 'checks' that will stop the script from running. Right now it's just rough. (checks for Phone.odex and core.odex before initializing, if present, it exits).
Make sure that you nandroid before you run this script, that way, when you get a spam of force closes, you don't have to cry yourself to sleep.
jubeh said:
Also, be sure that if you want to keep an app's ability to be upgraded, don't odex it (actually, don't even have it in /system, toss it to /data/app)
Click to expand...
Click to collapse
Download Here: http://www.4shared.com/file/gz0eJdeY/D3xopt.html

Gonna try it right now on jaybob's Dec17th BlackMod, Thanks Deca!
LOL @ Spam of FC's! I got them, about 30 of them, and they keep coming back! Did I do it wrong or what? It cleared Dalvik, then I tried entering cmd's but none worked, entered FR and got nothing????
OK I figured it out
d3xopt.sh FR
Looks like most if not all the Apps failed... Rebooting now
It did boot up but FC for everything Nandroiding back...

cordell12 said:
Gonna try it right now on jaybob's Dec17th BlackMod, Thanks Deca!
LOL @ Spam of FC's! I got them, about 30 of them, and they keep coming back! Did I do it wrong or what? It cleared Dalvik, then I tried entering cmd's but none worked, entered FR and got nothing????
OK I figured it out
d3xopt.sh FR
Looks like most if not all the Apps failed... Rebooting now
It did boot up but FC for everything Nandroiding back...
Click to expand...
Click to collapse
try odexing on a fresh install before installing anything, also the fc's after the script runs will happen atleast if its anything like the other odex script i used on the vogue, also clearing the dalvik cache AFTER the script runs wont do too much since the dalvik cache gets emptied by the odexing process

Also before you run the script make sure you have atleast 15% of system space left or bad things can happen, and like the Op said is more than a few words, once its odex'd you can never theme it
Sent from my HERO200 using XDA App

Yeah, I dont have much space due to fierats. The dalvik cleared first, I was just out of order on my posting I do to much with themes on phone for this. I didnt see that it wouldnt work, or cause themes in future from working. Boredom, see a new thing and I wanna try it! Anything that can help the Hero is worth a shot

Yea dzo posted a thread about it in the vogue forums, the OP here doesn't exactly say it here but its true and yea FR could cause a problem
Sent from my HERO200 using XDA App

When flashing the zip from recovery, the whole /system/bin/ directory is chmod to 0755 permissions. This causes problems with apps which need superuser permissions. It took me more than a day to figure this out...

Joskevic said:
When flashing the zip from recovery, the whole /system/bin/ directory is chmod to 0755 permissions. This causes problems with apps which need superuser permissions. It took me more than a day to figure this out...
Click to expand...
Click to collapse
herp derp, fail on my part. Took the lazy route and just recursively changed permissions on flash instead of just doing it for the individual files. My bad.

Decad3nce said:
herp derp, fail on my part. Took the lazy route and just recursively changed permissions on flash instead of just doing it for the individual files. My bad.
Click to expand...
Click to collapse
Think you can make an updated version of it to use on my nook? I think odexing one of the nightlies would be pretty awesome
Sent from my PC36100 using XDA App

thoughtlesskyle said:
Think you can make an updated version of it to use on my nook? I think odexing one of the nightlies would be pretty awesome
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I would love an update too, odexing aospCMod would be awesome.

thoughtlesskyle said:
Think you can make an updated version of it to use on my nook? I think odexing one of the nightlies would be pretty awesome
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
il Duce said:
I would love an update too, odexing aospCMod would be awesome.
Click to expand...
Click to collapse
Sure, just need to revise the odexing order for gingerbread. Stuck doing homework right now but I'll have some time later this week.

Decad3nce said:
Sure, just need to revise the odexing order for gingerbread. Stuck doing homework right now but I'll have some time later this week.
Click to expand...
Click to collapse
Also how would I run this via terminal, for some reason my nook isn't recognized via adb
Sent from my PC36100 using XDA App

thoughtlesskyle said:
Also how would I run this via terminal, for some reason my nook isn't recognized via adb
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I was just about to chip in with the same question, I've got a Flytouch 3, we also can't get into ADB via the usb port, if we could run this script as a stand alone working off a directory with the files on a PC it would be extremely useful

hey Deca, wondering if there is a way to use this for /data/app ? I have evo3D now, LOTS of apps, and it boots wicked slow :/

Hi did this ever get updated for GB ??
Very good idea, hope it can work on modded roms.
Thanks.

Dead Link?
Hi dead Link??! Need it for Dev purposes??

Decad3nce,
the link is dead, can you upload the script again ?
thanks

Related

Never wipe again after an upgrade!

It seems that quite often after an upgrade (especially when using Apps2SD), Android rebuilds the /data/system/packages.xml file because it thinks you have reinstalled all of your apps. This results in missing apps, force closes, etc, because UIDs have changed and they don't match whats in your /data/data directory. It's almost always fixed by a wipe, but screw that
Download this file: http://n0rp.chemlab.org/android/fix_permissions.sh
Push it to your sdcard, su, and run "sh /sdcard/fix_permissions.sh" and reboot. You should be good to go with NO WIPE!
Credit goes to this guy, I simply ported it to shell code: http://blog.elsdoerfer.name/2009/05/25/android-fix-package-uid-mismatches/
UPDATED: Now works with protected apps.
anddep said:
so when installed.. i dont have to wipe for a new build?
Click to expand...
Click to collapse
Well, there are some other factors, like app data that is stored in the same place but in a different format. You'd likely run into this going back and forth from an HTC based build like Hero or Sapphire and an Android based build like mine, Dude's, or JF's. I can't fix that situation, YMMV.
Except for that special case, this should do the trick.
I hope I don't sound like a complete idiot. Do you do this before or after the update and will this work with any update (like moving from ION to Rogers?
al74 said:
I hope I don't sound like a complete idiot. Do you do this before or after the update and will this work with any update (like moving from ION to Rogers?
Click to expand...
Click to collapse
second that about will it work on any update?
Powermaniac said:
You don't sound like an idiot. That's actually a good question. I'd say before, but I'm curious as well.
Click to expand...
Click to collapse
You would have to do it after the update, and reboot.
Bravo!!!
@Cyanogen: YOU **ARE** THE MAN! Woot!
Now I'm not so hesitant to test out new roms! Thanks cyan
so when installed.. i dont have to wipe for a new build?
damn your good..
Thank you very much
Out of curiousity, is it even possible to implement this into ROM Builds? it would seem simple enough. however I haven't built my own ROM so I'm going off of what I know from programming. ask the guy who created it if you can use his work. lol you're the man, as always.
ok i may of did something wrong but i couldnt get it to work. i used the terminal emulator on the phone and typed the command and it says
mount: permission denied (are you root?)
it continued to do the script but said not permitted for each app.
i definately have root as i just installed your latest rom so what am i doing wrong?
Did you SU first?
Woodard2589 said:
ok i may of did something wrong but i couldnt get it to work. i used the terminal emulator on the phone and typed the command and it says
mount: permission denied (are you root?)
it continued to do the script but said not permitted for each app.
i definately have root as i just installed your latest rom so what am i doing wrong?
Click to expand...
Click to collapse
Denkai said:
Out of curiousity, is it even possible to implement this into ROM Builds? it would seem simple enough. however I haven't built my own ROM so I'm going off of what I know from programming. ask the guy who created it if you can use his work. lol you're the man, as always.
Click to expand...
Click to collapse
Yeah, it should be possible. The script is a little slow, though, so it would need a way of detecting an upgrade in the first place, and it would have to run after all the apks are processed.
g2crx said:
Did you SU first?
Click to expand...
Click to collapse
sure didnt. thanks.
so may I ask... if I wanna go from Haykuro's Hero to JAC's 1.4... all I would have to do is... flash the new ROM and then run your script and I'm done?
That is the idea, yes.
Ran script and flashed from dude's to your build without wipe. I'm getting force closes on
android.process.acore
klaxon
weather widget free
I'm using marcus apps2sd.
Edit nevermind I'm a retard. Figured it out.
amazing, doing this after upgrading from 3.3.6 to 3.3.8 fixed all my issues so far! thank you sir!!
Ryanmo5 said:
Ran script and flashed from dude's to your build without wipe. I'm getting force closes on
android.process.acore
klaxon
weather widget free
I'm using marcus apps2sd.
Click to expand...
Click to collapse
You ran the script first, before the flash? I believe the script is to be run after the flash. Try that and see what happens.

Sprint Stock Rom with A2SD Support

This is the latest Sprint Rom based on the latest RUU leak with A2SD support (I used Darktremor A2SD 2.7 since it was easy to add it).
I have verified that A2SD is working as I downloaded and installed a couple of programs from the market. The programs are being stored in /system/sd/app.
Here's the link: http://www.darktremor.info/files/2.1/2.1-ruu-a2sd-signed.ziphttp://www.darktremor.info/files/2.1/sprintstock-21-a2sd-b-signed.zip
This one now has adb rooted (thanks to nfinitefx45 for his assistance) and does flash (heard complaints on the symlink issue...never sure what causes that, but ended up starting over and porting the files from the previous build).
This is for those people who want to keep with the stock installation but want the addition of A2SD. If you want a customized look, faster performance and A2SD support, I suggest a custom rom. Fresh 2.1.2 or FreshToast is a good one to use.
Note: It will not affect recovery.
Enjoy and I'll answer any questions you may have (if I can answer them).
did you manually edit the init.rc? and you should mention that this is a ROM, not an RUU
tkirton said:
This is the latest Sprint RUU leak with A2SD support (I used Darktremor A2SD 2.7 since it was easy to add it).
This is definitely an RUU as when I go into adb shell, I get the dollar sign as a prompt rather than the pound sign...I'm pretty certain it is not rooted.
.
Click to expand...
Click to collapse
<<<snip>>>
This makes no sense at all.
Good point about the Rom vs RUU. Edited to correct.
As for the init.rc. Mainly it was init.rc edit.
regaw_leinad said:
did you manually edit the init.rc? and you should mention that this is a ROM, not an RUU
Click to expand...
Click to collapse
Don't look at me...that's what I'm getting. Doesn't make much sense to me, either. I just know if I do adb shell, I don't have root access. But A2SD works fine.
I went ahead and released it since the goal was to get A2SD working...and I did that. Everything else is for a Rom developer.
wctom said:
<<<snip>>>
This makes no sense at all.
Click to expand...
Click to collapse
tkirton said:
Don't look at me...that's what I'm getting. Doesn't make much sense to me, either. I just know if I do adb shell, I don't have root access. But A2SD works fine.
I went ahead and released it since the goal was to get A2SD working...and I did that. Everything else is for a Rom developer.
Click to expand...
Click to collapse
Thanks, I'll just use your boot image for RegawMOD 2.5. saves me a few minutes
working perfectly all apps installed and 132 megs still open internal
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
sandboxlove said:
is it a general consensus that if you want to run a2sd successfully you should use a class6? i currently have a class4
Click to expand...
Click to collapse
right now, I switched back to my class 4 and its working great
nvmchars....
tkirton,
here is your exact rom that's in your first post, but I deodexed it. You can add that to the OP if you'd like.
Everyone else, here it is too:
http://www.4shared.com/file/Fm3pXapi/21-ruu-a2sd-deodexed-signed.html
I have not tested it, but it should work fine. Deodexed /system/app and /system/framework
sandboxlove said:
i just want to be clear...this is the latest sprint leak? you seriously deodexed the whole thing?
i thought vince was crazy for trying, your completely BANANNAS
Click to expand...
Click to collapse
yeah, i thought I'd post it in here. Didn't think since it's the same thing as he posted but deodexed that I should make another thread.
and yes, the latest sprint leak. you should test this. I can't right now.
Oooh...cool. Enhancements. I like enhancements.
regaw_leinad said:
tkirton,
here is your exact rom that's in your first post, but I deodexed it. You can add that to the OP if you'd like.
Everyone else, here it is too:
http://www.4shared.com/file/Fm3pXapi/21-ruu-a2sd-deodexed-signed.html
I have not tested it, but it should work fine. Deodexed /system/app and /system/framework
Click to expand...
Click to collapse
tkirton said:
Oooh...cool. Enhancements. I like enhancements.
Click to expand...
Click to collapse
Well, I like your work, so that's for you
did anyone test it out to make sure it boots?
Sorry to be such a noob, but what is "deodexed" a ROM mean?
regaw_leinad said:
tkirton,
here is your exact rom that's in your first post, but I deodexed it. You can add that to the OP if you'd like.
Everyone else, here it is too:
http://www.4shared.com/file/Fm3pXapi/21-ruu-a2sd-deodexed-signed.html
I have not tested it, but it should work fine. Deodexed /system/app and /system/framework
Click to expand...
Click to collapse
Well I flashed it and stuck on the HTC screen. Flashed the non deodexed version and loads fine.
So apparently i f***ed up deodexing lol. I guess that ROM that I did wont work..
well just loving this rom, but one question, can we get a updated boot.img with the adb enabled for access as root?
Now that the A2SD stuff is behind me, I'll take a look at that. Flipzmode or Toastcfh may be able to shed some light on how you get this image rooted correctly, especially Flipz since he's using the latest leak for Fresh 2.1.1.
The original goal was to get A2SD working on a stock rom, which I did....but it is rather annoying that it isn't rooted (or fully rooted).
Damage said in his point that it was rooted, but I got the same thing you did...no root when doing adb.
I'll talk to Flipz or Toast and see if they can point me in a direction to go.
nfinitefx45 said:
well just loving this rom, but one question, can we get a updated boot.img with the adb enabled for access as root?
Click to expand...
Click to collapse
well this is a piece from some of the reading I've been doing I beleice this needs to be done with in the boot image. I dont know if this will help in your research,
-------------------------
You also need to modify the ROM update script to change the default permissions for /system/bin/su so it can be used to elevate privileges to root. The script is in $WKD/dst/META-INF/com/google/android/update-script. Open it in your favorite editor and find the line starting with set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh and after it add the following set_perm 0 0 04755 SYSTEM:bin/su
=======================
Hi tkirton,
Nice job on this and thanks for all your hard work on everything! I am also wondering what dedoxed means? Is it like where application data is also stored on the SD card instead of on the phone itself?
Thanks!

Working su for all apps on gingerbread leaks

http://www.mediafire.com/?5dxoef8ib247ena
would you mind making a zip for your red theme to work on ef02 instead?
Maybe I'm missing something. A su that works for all apps... for gingerbread...What?
Noting the snippets from your updater-script (you might want to edit this in the future)
Code:
ui_print("Superuser 2.3.4 for Eclair/FroYo");
ui_print("Written by: ChainsDD");
su really hasn't changed much from eclair-gingerbread.. it's nearly the same binary just patched for a few different file system here and there.
Leaves me to ask again, working su? They all work.
If you want to link to anything, don't just link to an arbitrary updated superuser.
There's a huge problem with this as super user is signed by a public key that everyone has access too. Without having a hardcoded pid for the specific service, anyone on the market or any "developer" can grab said key, sign another malicious utility with it and brick nearly every android device.
But that's irrelevant as I don't even see you getting that far. I'm just confused by this post as it has 1) no detail 2) holds no merit.
actually to be fair its chain's from his post.. i snagged it and renamed it su.zip for the nexus s 4g one click. when i was testing rroting ef02 i uploaded just the zip.. its posted in that thread.. so decad3nce please forgive me.. ill try to kang better next time ;P
you guys dont understand, the old su.zip didnt have sh
sh? you mean that file thats on android to begin with? thats how oh.. EVERYTHING runs? trust me ive seen the effects of a phone without sh... there is no reason to add it in... unless its bash sh you're nicely replacing stock sh for everyone?
marcus your website is down
No. I had some problems with root in my rom because of a bad /system/bin/sh/
Sent from my SPH-D700 using XDA App
sounds like an error with the rom. not android
sounds like an error with the rom. not android
Click to expand...
Click to collapse
On this new release some people were complaining about root not working on done apps.same problem with my v6 rom. I applied the same fix.
Sent from my SPH-D700 using XDA App

[How to] Disable CarrierIQ on the Atrix 2

I am posting this in the Developer forum, because it is still a little more than a In-experienced user can handle at the moment, and the potential to get into a bootloop is a little higher if you are not familiar with what you are doing here.
If you are at all new / uncomfortable with Android, UNIX/LINUX, this phone, or adb, then: PLEASE DON'T TRY THIS AT HOME.
If you get into a bootloop I am not responsible for this, nor is this the place to complain if that happens. You can ask for support here though if this process has caused that.
If you do get into a bootloop, then try and help me out, with providing as much info as possible with what happened (any output or screen prints are VERY helpful). I am also posting the original /system/etc/init.goldfish.sh file here AT THE BOTTOM OF THIS POST. That way if it does all go wrong it is here to grab. So don't go asking for it someplace else, or even asking here for it.
You have been warned!
Now with that out of the way, on to the good stuff.
1) Go grab some kind of bloat freeze program, from the market. I have used bloat freezer from the market with great success.
Just download and install it, don't run it just yet, if you already have, and frozen the "Device Health Application", then unfreeze it, and reboot, before doing the next step.
It is VERY important that it is done in EXACTLY this order. The reason is, if the Device Health program is frozen when you let the init script run, it will not work exactly as it should and these services will restart, since part of it is frozen when it first runs, and it all has to be disabled in the proper way, so that it can not be restarted remotely, or we will HAVE to use cron to run checks. Cron is an elaborate hack, I don't want to have to do, unless we HAVE to. If you do it in the exact order noted here, cron will not be needed and this will not restart.
2) Go get the init.goldfish.sh file from http://dl.dropbox.com/u/45576654/init.goldfish.sh.tar
push this tarball to your phone:
Code:
adb push init.goldfish.sh.tar /data/local/
End code
Now is the command line part of this hack.
Code:
adb shell
su
mount -o remount, rw /system
cd /data/local
tar -xvf init.goldfish.sh.tar
cp /system/etc/init.goldfish.sh /sdcard/init.goldfish.sh
cp ./init.goldfish.sh /system/etc/init.goldfish.sh
chown root /system/etc/init.goldfish.sh
chmod 550 /system/etc/init.goldfish.sh
mount -o remount, ro /system
reboot
End code
Now when your phone comes back up:
3) Open your bloat freezer program and freeze the "Device Health Application"
Your phone will freak out, and tell you that Device Health has stopped and it will keep asking you to FC, all you can do is pull the battery.
Put the battery back in the phone an boot it up.
Now CarrierIQ should be 100% disabled on your Atrix 2.
As promissed, here is the Original /system/etc/init.goldfish.sh file in a tarball, just use the same code above to put this back in place.
DON'T USE ROOT EXPLORER TO COPY THESE FILES INTO PLACE!!!
Original /system/etc/init.goldfish.sh file:
http://dl.dropbox.com/u/45576654/init.goldfish.sh-orig.tar
The Jedi Master strikes again!
The force is strong in this one. Seriously Jim you absolutely amaze me. You are the Linux guru.
Sent from my MB865
Train us, he will.
Sent from my MB865 using Tapatalk
LOL....
Hopefully I have not scared everyone from trying this.... I just want to let all the newbies who just got this as thier first android phone yesterday, and rooted it today, and now think that this is a good hack to try, that this is not the best thing for them just yet. It can and will bootloop the phone if you get too excited and don't follow the directions exactly... I got mine in a bootloop testing this all out, and finding the exact steps, but it was not hard to get out of, because it gets into android enough to let you adb in, if you screw up...
quick question: Why would rooting followed by freezing not work for that application? I think I did that when I got the phone. I don't see anything called Device Health in my running or installed applications.
Is carrierIQ still running on my phone? Have you got a string I can look for in the 'ps' output in the Terminal to confirm? There are 100000 processes running on these phones these days, most with cryptic names.... I miss the G1 days....
devsk said:
quick question: Why would rooting followed by freezing not work for that application? I think I did that when I got the phone. I don't see anything called Device Health in my running or installed applications.
Is carrierIQ still running on my phone? Have you got a string I can look for in the 'ps' output in the Terminal to confirm? There are 100000 processes running on these phones these days, most with cryptic names.... I miss the G1 days....
Click to expand...
Click to collapse
No just freezing the device health app just stops the collection process.
The part where you run the commands to stop the services in android are where the data can and will be sent to CIQ or AT&T, there are other things collected that att does not care much about (ATT only wants what is collected with the dev health app), and that goes straight to CIQ, so the services at the OS level are VERY important to stop. There is really not a way to see them running, but I have found that these can and will restart if my instructions are not followed 100%. To find out if CIQ is doing anything take a look on youtube there is a video that explains how to look at the system logs and see what is being collected if anything, and what is being sent out. After a lot of trial and error, I found this is the ONLY way to stop it 100%.
Hey Jim. sorry I've been out of the forums for so long on this. I was going to dig around my atrix2 and see what I could find wrt carrieriq. I got stuck on missing shell tools and you gave me some advice wrt paths and such. I was wondering if you could point me in the right direction for fixing up my env when I shell in? I also don't seem to have grep anywhere... odd.
YOu mentioned doing some of the destructive work in an emulator, and I would like to try the same thing, but I've no idea how to get the atrix2 ROM into an emulator. How did you accomplish this?
I followed the instructions above precisely and verified that my init.goldfish.sh is indeed modified correctly with the carrieriq stuff, and have suffered no ill effects. I have not, however, attempted to determine if carrieriq processes have stopped running. I did notice that after having frozen and unfrozen device.health.monitor a few times, it doesn't ever register as a running app... wonder what's up with that.
thanks for the help.
I was wondering....could this be made into a handy dandy flashable zip?
Then after flashing just freeze the app?
Sent from my MB865 using XDA App
tylercarter said:
I was wondering....could this be made into a handy dandy flashable zip?
Then after flashing just freeze the app?
Sent from my MB865 using XDA App
Click to expand...
Click to collapse
Yep, working on it, should have it up for download tomorrow.... It will also be in my rom.
Jim
Sent from my MB865 using xda premium
jimbridgman said:
Yep, working on it, should have it up for download tomorrow.... It will also be in my rom.
Jim
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
Sent from my MB865 using xda premium
jimbridgman said:
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
NICE! you really are a jedi master!
Who wants to be the first to try this out? I have created a flashable zip to disable CIQ on every boot, all you have to do is grab the file below:
http://dl.dropbox.com/u/45576654/NoCIQ.zip
Then with CWM, flash it, don't wipe anything, except maybe dalvic cache, but nothing else. This will only flash one file to your phone.
You will still have to freeze the device health app as in the OP.
This is just a test right now, once someone other than me tests this, and reports back, that all is great, then I will update the OP, to this method.
jimbridgman said:
Who wants to be the first to try this out? I have created a flashable zip to disable CIQ on every boot, all you have to do is grab the file below:
http://dl.dropbox.com/u/45576654/NoCIQ.zip
Then with CWM, flash it, don't wipe anything, except maybe dalvic cache, but nothing else. This will only flash one file to your phone.
You will still have to freeze the device health app as in the OP.
This is just a test right now, once someone other than me tests this, and reports back, that all is great, then I will update the OP, to this method.
Click to expand...
Click to collapse
It said switch to edify scripting. Installation aborted. Something about gingerbread cwm 3. Not sure. Never see this before. I checked the zip and it has 2 updater scripts. One just has a ~ at the end. I know nothing of code but just trying to help.
Sent from my MB865 using XDA App
jimbridgman said:
Who wants to be the first to try this out? I have created a flashable zip to disable CIQ on every boot, all you have to do is grab the file below:
http://dl.dropbox.com/u/45576654/NoCIQ.zip
Then with CWM, flash it, don't wipe anything, except maybe dalvic cache, but nothing else. This will only flash one file to your phone.
You will still have to freeze the device health app as in the OP.
This is just a test right now, once someone other than me tests this, and reports back, that all is great, then I will update the OP, to this method.
Click to expand...
Click to collapse
Tried this. No go. Here is the error in CWM.
Installing Update...
Amend Scripting (update0script) is no longer supported.
Amend Scripting was deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recover.
Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
Installation Aborted.
There ya go. Hope this helps.
holeshot77 said:
Tried this. No go. Here is the error in CWM.
Installing Update...
Amend Scripting (update0script) is no longer supported.
Amend Scripting was deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recover.
Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
Installation Aborted.
There ya go. Hope this helps.
Click to expand...
Click to collapse
hes working on it. wont be much longer
Why not use the app by TrevE?
Sent from my MB865 using xda premium
1.18.12 said:
Why not use the app by TrevE?
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
That does not perform the hack, only detects if it is running. The voodoo ciq detection app works much better though.
Jim
Sent from my MB865 using xda premium
I just rooted my phone, applied the hack and used Titanium Backup to freeze the Device Health App but I didn't see any FC.
Although when I opened Ti Backup, it told me that my su right are wrong. They are 4755 instead of 6755 or something like that and TiBu told me that it will fix it. I fixed it then froze the app and no FC or nothing. Phone is running fine but not sure if it worked.
Is it really necessary for the app to FC in order to show that it worked?
Should I try it all over again?
Thank you.
noobsquared said:
I just rooted my phone, applied the hack and used Titanium Backup to freeze the Device Health App but I didn't see any FC.
Although when I opened Ti Backup, it told me that my su right are wrong. They are 4755 instead of 6755 or something like that and TiBu told me that it will fix it. I fixed it then froze the app and no FC or nothing. Phone is running fine but not sure if it worked.
Is it really necessary for the app to FC in order to show that it worked?
Should I try it all over again?
Thank you.
Click to expand...
Click to collapse
Go download and install this, and it will show you if it (CarrierIQ) is active or not.
https://market.android.com/details?id=org.projectvoodoo.simplecarrieriqdetector&hl=en

[DUMP] STOCK AT&T deodexed/zipaligned ICS

Here is a dump of my /system/app and /system/framework that is deodexed/zipaligned. Its just the directories; its not flashable in CWM. I'll try and put together a stock zip later, but I don't have time at work. If someone else wants to do it, feel free to PM me a link and I'll host it.
For now, developers will know how to use this. In addition, if you feel brave, you can use the following steps:
Prework:
Download the zip. Extract it. Copy the deodex_app and deodex_framework directories to your external SD card.
1) Boot your phone into recovery
2) Mount /system and /sdcard from the mount menu
3) adb shell rm /system/app/*.odex
4) adb shell rm /system/framework/*.odex
5) adb shell cp /sdcard/deodex_app/* /system/app/
6) adb shell cp /sdcard/deodex_framework/* /system/framework/
7) adb shell chmod 644 /system/app/*
8) adb shell chmod 644 /system/framework/*
9) Wipe Dalvik cache from the advanced menu
10) Make sure /system, /data, and /sdcard are unmounted in the mounts menu
11) Reboot. It took about 5 minutes for my phone to boot and then it said "Upgrading Android" or something like that and went through 175 apps or so.
Download here.
ROM developers, feel free to use this to base your ROMs on. Please give credit for the base source of your ROM as always.
Edit: Clarified its also zipaligned.
Awesome!! I wish I was brave enough to try this..
So rom does this mean you'll be whippin up a kernel?? : ))))))
Sent from my SAMSUNG-SGH-I727 using xda premium
pingfl00d said:
So rom does this mean you'll be whippin up a kernel?? : ))))))
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
I need the source which is not available yet. I suspect it will be shortly after this is OTA'ed. But yes, once it is, I will be updating my stock-ish
Procedure works perfectly.
At "Android is upgrading... " message now
Edit: Home button dead.
rjohnstone said:
Procedure works perfectly.
At "Android is upgrading... " message now
Edit: Home button dead.
Click to expand...
Click to collapse
My home button works fine. This seems to be a common problem if you restore with TiBu. Did you do that?
romracer said:
My home button works fine. This seems to be a common problem if you restore with TiBu. Did you do that?
Click to expand...
Click to collapse
Only user apps, no system data.
And the button worked prior to replacing files, so I'm curious what was deleted/changed that caused the button to stop working?
rjohnstone said:
Only user apps, no system data.
And the button worked prior to replacing files, so I'm curious what was deleted/changed that caused the button to stop working?
Click to expand...
Click to collapse
My guess would be something that "Android is updating..." did. I'm still not entirely sure what that is doing.
romracer said:
My guess would be something that "Android is updating..." did. I'm still not entirely sure what that is doing.
Click to expand...
Click to collapse
Most likely... no biggie.
Factory reset should take care of it.
Worst case, I have a nandroid backup.
Edit: factory reset didn't fix it... time for a restore.
I will try and add this too a zip. Thank you
EDIT:
I added this to my ROM. I am still working on ironing out all of the issues, but this helped!
http://forum.xda-developers.com/showthread.php?t=1566820
And if you want to mirror that would be amazing.
that actually worked perfectly! although you should probably add in there that people can use emmc instead of sdcard if they dont have an external card (i dont).
Thanks for this.
Sent from my SAMSUNG-SGH-I727 using xda premium
thanks
I waiting for .Zip flasheable
if you don't mind me asking, how did you come across deodexing this rom? I know others were having troubles doing so. Also how did you zipalign it? I zipaligned my leak by using rom toolbox pro, did you use the kitchen?!?!
Thanks romracer, always run into issues with the kitchen. I'm going to try your classpath includes in a sh script and see if it works where the kitchen hadn't.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2 Beta-4
mjwhirly said:
if you don't mind me asking, how did you come across deodexing this rom? I know others were having troubles doing so. Also how did you zipalign it? I zipaligned my leak by using rom toolbox pro, did you use the kitchen?!?!
Click to expand...
Click to collapse
I do most of it by hand. I'm a Linux/Windows System Administrator by day, so I'm comfortable with the command line I do use Cygwin for just about everything though rather than the Command Prompt.
promiseofcake said:
Thanks romracer, always run into issues with the kitchen. I'm going to try your classpath includes in a sh script and see if it works where the kitchen hadn't.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2 Beta-4
Click to expand...
Click to collapse
The one liner I pasted in the other thread should work for both app and framework. It has more includes in the class path than are necessary for framework, but I don't think it'll break it.
It assumes the following:
You are in a directory with app, framework, deodex_app, deodex_framework and tmp subdirectories. app and framework contain the originals from the phone. The one liner should be run from this top level directory. I'd recommend doing framework first. You'll also need to Google java.awt.jar and put it in the framework directory too. Don't upload this to your phone though, its just needed for deodex'ing.
finally abit stable with these deodexed files
flash ics leak through odin
boot into android and get past the attready2go
flash cwm through odin
copy your deodexed files to sd and boot into cwm
follow your adb commands to copy and replace
reboot
only problems were superuser being a pain to flash in cwm. someone else mentioned toggle signature verification which is just before choosing your zip to install in cwm. looks good now.
mjwhirly said:
if you don't mind me asking, how did you come across deodexing this rom? I know others were having troubles doing so. Also how did you zipalign it? I zipaligned my leak by using rom toolbox pro, did you use the kitchen?!?!
Click to expand...
Click to collapse
i think the problem most people are having isnt related to the deodexing (anymore) but trying to flash it in CWM. it seems that flashable zips are messing up everything, as i used the same files i tried flashing in a zip this way and it works now. the zip version was unusable.
quikt said:
finally abit stable with these deodexed files
flash ics leak through odin
boot into android and get past the attready2go
flash cwm through odin
copy your deodexed files to sd and boot into cwm
follow your adb commands to copy and replace
reboot
only problems were superuser being a pain to flash in cwm. someone else mentioned toggle signature verification which is just before choosing your zip to install in cwm. looks good now.
Click to expand...
Click to collapse
That's basically exactly what I did (and my phone seems stable). Thanks for typing out the parts I left out
I've always had to flash the Superuser zip twice for some reason. I just flash it twice right on top of each other (without rebooting, exiting CWM, etc). Never have any problems in the actual OS doing it that way.
Grab the official Superuser zip from goo-inside.me/superuser

Categories

Resources