yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] Brotuck:
Ok a new problem with the framework.jar

In the method to odex on the FP there was mentioned to use the dependency framework stuff.

When doing that trying to odex framework.jar i only get bootloops. aka the created odex file is wrong. The weird part is that the odex file created is 6,8 mb

When using the method i proposed in including the modified framework.jar in the dependencylist a bigger framework.odex is created. This one is about 7,14 mb

And it boots !

But it seems to be messed up because when trying to do some settings i get fc or it just exits. It appears to focus on phone settings. (try adding a apn and it closes)

Does anyone know of a solution for this ?

I did try to add the java.awt.jat in the dependencylist, but it does not seem to matter at all.
[Galaxy S II Themes and Apps] sicopat:
Yes you need to use your modded framework.jar in bootclasspath dependencies of dexopt wrapper.

If force close, perhaps you did not erase dalvik cache or made a mistake when modding framework.jar

Did you use the last Smali version out today x.7 to make your mod ? cause smali.jar was buggy with framwork.jar deodexing.

If you just want to odex a theme with more than 1 framework file, you should need to do by step : first you copy 1 file and odex it back then you do the same for second file ... You should only use 1 deodexed jar in your bootclasspath corresponding to the file you try to odex back.

Hope this will help, i cannot help much cause my GS2 doesn't really love the beautifull sand of the mediteraneen sea :) I am on vacation ...
[Galaxy S II Themes and Apps] Brotuck:
Thanx for the reply, i did just that.

The framework.jar file works flawlessly on a deodexed system, so i guess this file is ok.

But it does not work correctly when trying to odex back. I keep getting (thesame ) errors. Even doing a binary compare of the odex files when trying different methods to odex back is identical.

But the endresult is always thesame. The phone does boot but there are issues inside the jarfile.
[Galaxy S II Themes and Apps] sicopat:
I just remember that original developper of overscroll glow for Galaxy S has stopped to dev odexed owerscroll glow cause of same errors (MMS)

I believe this due to a dexopt wrapper bug on odexing back framework.odex ??
[Galaxy S II Themes and Apps] MCOGW:
smali / baksmali v1.2.8 is available ;)
[Galaxy S II Themes and Apps] Mekrel:
Hi Sicopat,

I'm having issues with this.

I'm currently running XXKG6 ROM that I've successfully deodexed and after reading your thread, I've wrote the below shell script that successfully runs.

#!/system/bin/sh

chmod 755 /system/bin/dexopt-wrapper
chmod 755 /system/bin/zip

coreframework="/system/framework/core.jar /system/framework/bouncycastle.jar /system/framework/ext.jar /system/framework/framework.jar /system/framework/android.policy.jar /system/framework/services.jar /system/framework/core-junit.jar"

echo "Odexing /system/framework/*jar files"

for i in $coreframework
do
filename=$(basename $i .jar)
dexopt-wrapper $i /system/framework/$filename.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
zip -d $i classes.dex
done

for i in /system/framework/*.jar
do
if [ $i == "/system/framework/core.jar" -o $i == "/system/framework/bouncycastle.jar" -o $i == "/system/framework/ext.jar" -o $i == "/system/framework/framework.jar" -o $i == "/system/framework/android.policy.jar" -o $i == "/system/framework/services.jar" -o $i == "/system/framework/core-junit.jar" ]
then
echo "Already odexed in sequence"
else
filename=$(basename $i .jar)
dexopt-wrapper $i /system/framework/$filename.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
zip -d $i classes.dex
fi
done

echo "Giving permissions to all *odex files"
chmod -R 777 /sdcard/original-framework/*.odex
chmod -R 777 /system/framework/*.odex

echo "Copying signatures from original odex files"
for i in /sdcard/original-framework/*.odex
do
filename=$(basename $i .odex)
busybox dd if=$i of=/system/framework/$filename.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
done

rm -r /data/dalvik-cache/*

The script does the following process:

Sets permisions for the dexopt-wrapper and zip binaries.

Odexes the core framework in the same order they're listed in BOOTCLASSPATH in init.rc.

Odexes the other framework files that were not previously odexed

Copies the signatures from the original XXKG6 .odex files, to the ones that have just been created (the origials are stored on the sdcard)

The only difference in the script I wrote is the classes.dex are removed from the .jar files using the zip binary.

I can see the .odex files created when running a ls /system/framework command and pulling the .jar files reveals that the dex file from inside has been removed.

I've also tried copying the original .jar files over, rather than removing the .dex files on the fly.

However, the phone doesn't even boot, i.e. it doesn't even get past the splash image.

Can you see anything wrong with my logic/shell script? :confused:

Many thanks

Mark
[Galaxy S II Themes and Apps] Mekrel:
Okay, I actually got this to work by removing the copying of signatures from the stock .odex files to the new ones.

I find that a little weird seeing as that step is specifically mentioned in your guide and that the phone is supposedly unable to boot without copying the signature.
[Galaxy S II Themes and Apps] NitroOnTheRocks:
After deodexing (and not odexing back) my framework and app folder of my custom ROM in my kitchen (before flashing),

is it necessary to sign/resign apks?
[Galaxy S II Themes and Apps] Arhtard:
ok i have a few questions if you wouldnt mind helping.

i've been using androids since July of this year, only 2 months now, so i'm really new to modding...

i'm trying very hard to catch on and to learn...

unfortunately, i purchased a device with absolutely no development

anyway, assuming that you'll help, i'll proceed...

i'm not on a galaxy s II - i'm doing this on a gravity smart.

our bootclass path is different:

system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar

your bootclass path:

/system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar

so i removed the difference in your command example to this:

java -Xmx1024m -jar baksmali.jar -c :core.jar:framework.jar:android.policy.jar:services.jar -x android.policy.odex

all is fine, i get an "out" folder created with files in it

i then use your command example:

java -Xmx1024m -jar smali.jar out -o classes.dex

and a classes.dex is created

i then opened the android.policy.jar with 7zip and dropped the classes.dex file in its root

i'm assuming the process is going as its supposed to at this point.

question 1: am i doing this right?

question 2: do i do this to all the .jars in the /system/framework/ directory to have a completely deodexed system (and of course all the /system/app/files)?

question 3: do i also use these methods or the apk methods listed on your 2nd post to do the twframework-res.apk file?

question 4: do i create a new "out" folder for each .jar (run the command line for each .jar) or do i use the first created classes.dex for all the .jar files in /system/framework/ directory?

question 5: after i create the deodexed files i can safely delete the .odex companion files correct? (this may be a dumb question with an obvious answer, but i don't want to screw up)

question 6: can i place the deodexed files on the sdcard and move them with root explorer or do i need to push them thru using ADB?

any help or suggestions would be greatly appreciated!
[Galaxy S II Themes and Apps] sicopat:
Nope :)
[Galaxy S II Themes and Apps] sicopat:
Q1/ yes

Q2/ yes if you want a deodexed Rom

Q3/you don't need to deodex twframework and framework-res ...

Q4/ you need to backsmali every files. You can rename out folders to core, android.policy, ... And replace out with the "name of folder" in smali command. Classes.dex is specific of 1 file

Q5Yes, you can delete odex files. This is the point of deodexing

Q6/ you can do the 2 ways, to try if deodexed files are correct, then correct the permissions and then backup and delete odex file. But for entire rom, the better is to use a non wipe script and to flash the entire deodexed Rom.

Finaly, there are many deodexing auto kit. I made an How to deodex resign and zipalign a customRom, try the kit-Deodexage included.

Or look for more used deodex script cause there are many apks to deodex, doing this manually will be very long ...
[Dell Streak 7] jackedint:
What is the max read/write speed on the SDHC slot for the DS7?

I saw Amazon's gold box deal of the day for $20 on a Kingston 16GB card with 20MB/s read and 15MB/s write speeds. & I am sure there are other/better deals on there for SDHC cards but it made me question what is the speed on this DS7 reader?
[Dell Streak 7] trungtuyen66:
i am using Kingmax 8GB class 10 . it's read/write best now .:laugh:

---------- Post added at 10:50 AM ---------- Previous post was at 10:31 AM ----------

i am using Kingmax 8GB class 10 . it's read/write best now .:laugh:
[Droid Pro General] tigerszheng:
Hi there,

just own one droid pro, got trouble at micro sd issues.

the micro sd slot in my droid pro is not the same as other machine with micro sd slot, (this is the first one from motorola), the micro sd slot in droid pro seems have no spring on it, I just directly push in/push out the micro sd card, not like other machine, like samsung i9000, the micro sd slot seems have a spring on it, push in will attached, and push it , the micro sd card with eject a little bit, then you can safely take it out.

But droid pro is different from others, it like flat, no spring , I just push in/push out.

The result is that droid pro can't recognize the micro sd card randomly, sometime it will recognize it, sometimes not.

Can someone classify is it normal or faulty micro sd slot?

All the best!
[G2 and Desire Z Q&A, Help & Troubleshooting] Meiz-:
Hi,

Since the latest upgrade, replying or forwarding to exchange mails doesn't work anymore. Same thing with Desire S. Anyone else experienced this issue? Running Exchange 2003.
[G2 and Desire Z Q&A, Help & Troubleshooting] dkmurphys:
I assume you're talking about Exchange by TouchDown?

If so, I think your best bet would be to contact them directly here.
[G2 and Desire Z Q&A, Help & Troubleshooting] Meiz-:
No, stock mail app of HTC (Exchange ActiveSync)
[Eee Pad Transformer Q&A, Help & Troubleshooting] akameswaran:
So I'm too new to post this to the dev thread, otherwise I'd have posted to the rom post.

I have been trying to install the netflix, netflix_mediaclient_246.apk. Before updating the prime 1.7 I was on the stock 3.2 update, without netflix installed. I updated to Prime1.7 and added the pcb theme (Wicked cool theme BTW)

I've tried a couple of sources, but when I attempt to install the netflix app, it says installing, then goes I get an error, "Application not Installed"

When reviewing the thread, some people referenced downloading netflix from the market, but I don't see it in the market, so I used downloaded copies.

Prime ostensibly already has the netflix patch, but I do need to get the basic software installed. Why would an app not install? I've never seen this type of error before.

Thanks
[Eee Pad Transformer Q&A, Help & Troubleshooting] AustinMartin:
Have you enabled apps from third-party sources in the settings?
[Eee Pad Transformer Q&A, Help & Troubleshooting] akameswaran:
Yes, and I've sideloaded other apps since I went prime.
[Eee Pad Transformer Q&A, Help & Troubleshooting] AustinMartin:
try using an app installer, and make sure that you don't have a bad version of netflix already installed.
[Eee Pad Transformer Q&A, Help & Troubleshooting] akameswaran:
I had done a full nvflash restore before going to honeycomb 3.2 so there is no previous NetFlix Install. I've tried easyInstaller, apk installer and appInstaller from the market all result in the same thing.

I've tried installing the .apk from an SD card mounted in the keyboard, from microSD on the tablet itself, and from the tablets own internal sdcard. All have the same result.

The application starts to install, says installing, then I get the red x with Application Not Installed.

I'm wondering if I should reimage prior to adding prime, try installing netflix and the reinstall prime - but I don't want to have to rebuild my data again :(
[Eee Pad Transformer Q&A, Help & Troubleshooting] slipshft:
I was having the same issue, but ran the apk from total commander on my micro sd and it installed from there. However I am on rooted stock 3.2.
[Eee Pad Transformer Q&A, Help & Troubleshooting] akameswaran:
Total commander seems a cool little app- sadly like everything else. i get Application not Installed.

boo :(

I'm thinking at this point it's cwm restore, install netflix, re-prime. bah, I'll wait till the weekend, when resyncing touchdown will go much better.
[Eee Pad Transformer Q&A, Help & Troubleshooting] akameswaran:
SOLVED:

Grabbed the .apk from this link http://xdaforums.com/showthread.php?t=1076150

Named mediaclient_1. I was trying the 246 apk that I found on a few other threads.

Happy netflixing.
[Android Software/Hacking General [Developers Only]] adude247:
I'm looking for a guide or help trying to decompile an apk that has dependencies, what do I do to use option 10 using apk manager 4.9, I've tried all I know to do and still can't find the apps dependency, please someone help...
[Defy General] ankit_harry1992:
Hey,

Whenever I try to pair my defy with my laptop(sony vaio vpccb15fg), windows 7 tries to install a driver "Bluetooth peripheral device driver" but is not able to find it and therefore the phone doesn't get paired and no file transfer takes place.

Does somebody know a solution for this?:(
[Dell Streak 7] BobRusso:
I can't seem to install Honeystreak on a DS7. I was able to root the it with GingerBreak and have Superuser.

I've downloaded Honeystreak, placed it in fastboot, my Win7 x64 system sees it but won't load the driver that came with it. I tried a Win XP system with the same results so I found that PDA Net had the driver so I got it from there.

Device Manager now sees it but when I run Download.bat I receive the message that the USB Device is not found.

Thanks in advance.

Bob
[Dell Streak 7] keith.valdez:
Perhaps you should read the post more clearly. Do not put it in fastboot... you have to hold both volume buttons down while plugging it in. Puts it in a different mode (ATX or something like that) then you can install HOneystreak... BTW, you don't have to be rooted to install Honeystreak.
[Dell Streak 7] BobRusso:
Well that's embarrassing. You are correct, that resolved the issue and have it installed.

Thanks for your reply, I was way over thinking this.

Bob
[Android Q&A, Help & Troubleshooting] Maxymo123:
I've got a few questions about Gfree.

1. What is it?

2. Is it a part of Android SDK or do I get it as stand alone tool?

3. Do I use it on the phone or on the PC in the command mode?

thanks.
[Android Q&A, Help & Troubleshooting] Symbola:
this may give you a clue:

http://xdaforums.com/wiki/index.php..._Root_.2F_.22Permaroot.22.29_using_gfree_v0.7

if not try looking here: stfw
[Android Q&A, Help & Troubleshooting] Maxymo123:
NO. I've been at that link already.

It does not explain what Gfree is.

It only says to use commands like this:# ./gfree -f -b hboot-eng.img -y recovery.img

No explanation.

And Google does not give any good links either.
[Android Q&A, Help & Troubleshooting] Maxymo123:
bumping up.
[Android Q&A, Help & Troubleshooting] lowandbehold:
G-free is an application to gain permanent root access to your phone. The commands are what determines what you want the application to do such as sim unlock, s=off and such.
[Android Q&A, Help & Troubleshooting] lowandbehold:
Also it is a standalone tool but adb is used to push the file to the phone. Commands are done through terminal emulator on the phone.
[Android Q&A, Help & Troubleshooting] Maxymo123:
lowandbehold - thank you very much.

So this is something like z4root or SuperOneClick -a stand alone rooting app...

It just needs commands through terminal emulator.

The same concerns Rage?
[Samsung Galaxy 5 I5500] culkaran:
Hi, I am new to this android world and I got a g5 with stock 2.1 eclair. I now want to root this phone and use customize roms using rom manager but it does not show galaxy 5 as a supported handset and so I dont get which is the best stable rom for g5. I actually want to get cyanogenmod7 but dont know which version is stable. Please help me getting the best rom for g5 and how to get it easily by upgrading my g5 to 2.2 froyo or if possible 2.3 gingerbread.

Please help people..
[Samsung Galaxy 5 I5500] Jordanooo:
Hi, rom manager does not work for our phones yet.

The cyanogen roms:

Latest : http://www.madteam.co/forum/development/(development)-cyanogenmod-7-1-'galaxy5'-port/

Most stable : http://www.madteam.co/forum/development/(release)-motafoca-2-0-9/
[Vibrant Android Development] alienator88:
Hey everyone, I'm not sure why all of the 3rd party apps on MIUI Revamped are installed as system apps and we can't remove, so I made a little script to remove all those. Here's how:

Download my script attached and remove the .txt ending so it ends in .sh

- Download Gscript Lite from the market.

- Start Gscript, leave it to take Superuser access, and close it

- a new folder called "gscript" was created on your internal sdcard;

- Copy my script in gscript folder on internal sdcard:

/sdcard/gscript

- Start Gscript and then press:

Code:

Menu --> Add script --> Load file

select the script, and check 'Need SU' if not already clicked, then save;

- A new script is added!

- Press on the script you want and it will run thru and remove those apps!

**If you want to customize which apps get removed**

Open the script with a text editor and remove lines from there or add more.

To find the name of the app, you can open the MIUI Revamped ROM download and go into the System/app folder and look at the app names.

HAVE FUN!!!
[Vibrant Android Development] nickmcminn60:
I appreciate your effort but sounds like using adb or rootexplorer would be easier. If this causes problems with my rom it will be removed. Download revamped for what it is.if you don't like what's in revamped then run stock. You really should have asked before having peopl altering my rom. If you uaw this and encounter problems DO NOT REPORT IN ReVaMpED thread.
[Vibrant Android Development] alienator88:
You are entirely too offended by this. We all use your rom because we love how it runs, but all the live wallpapers and extra apps, A LOT of people don't use. And until now I have been removing them via adb or other root uninstallers. It takes too long since you update your rom every friday. Quick question, why put all these 3rd party apps in the system/app folder? You completely missed the point of my post. It could very well have something to do with how you build your rom, I don't know I'm not a developer. Again, I'm not sure why you are so offended. If I was tweaking the hell out of your rom or something I could understand but its just removing some apps. Why the hostility?
[Vibrant Android Development] Tha Maxx:
Because sir for you never asked us to make these mods. Second there's no hostility just speak the truth. There are proper ways to go about things and this sir isn't. I am standing 100% behind my partner, except he doesn't want this take down and i do. All this does is cause problems and confusions.

IF YOU USE THIS TO ALTAR OUR ROM, PLEASE DON'T REPORT BUG'S.

once again no personal attack just there is a proper way of doing things thank you.
[Vibrant Android Development] M_T_M:
Thread in hiatus while we investigate...

Regards,

M_T_M

@OP...I will contact you via PM soon.
[Galaxy S II Accessories] x.Orville.x:
looking to buy a memory card u thinks that' it's really good ?

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=130484586527&ssPageName=STRK:MEWAX:IT
[Galaxy S II Accessories] leogeeko:
I would buy a Class 6 minimum. The reason for this is that I dont really know how a Class 2 SD would handle the 1080p videos. I am using a Class 10.
[Galaxy S II Accessories] x.Orville.x:
i am cheeking on ebay and i not found a class 6
[Galaxy S II Accessories] Declan79:
well in my opinion for not to need it the most video or such media it would be fine to running on this class 2/4. I tried to using class 2 8gb in my SGT P1000 and it worked fine
[Galaxy S II Accessories] Declan79:
Trying to transfered a video file copying from pc to this class 2 8gb micro sd, need sometimes to having 4gb file. Eventhough im considered to had 16gb class 4/6,heres of what thought about class:

Example in photography,class is need it the most to saving data everytime we hit the shuttercount to hit another one shutter. The gap between previous and next to savingthe images its the main different between class.

Class 2:200kbp/sec

Class 4:400kbp/sec

Class 6:600kbp/sec

Class 10 is above from it, the more higher pf the class is more fastest it could save the data.

So, for normally data use such as copying file(foto,music,video,office and music) is moderated class 2-4 would be fine.

Photography and hd movies start need it class 6-10

sent from my 2.3.3|dxjpe DJGTabs7
[Galaxy S II Accessories] Declan79:
From test result using sd tools apps it happened even class 2/4 can read more faster

sent from my 2.3.3|dxjpe DJGTabs7
[Milestone XT720 Themes and Apps] mchlbenner:
Puffin browser

It support flash.

It very fast.

You can find it at the market.

It cost only 99¢ usually i dont support these thing but in this case i do.

I feel its a must buy.
[Milestone XT720 Themes and Apps] roath78:
I agree this is my browser of choice very fast.
[Droid 2 General] aplus01:
I periodically get my sdcard to a state where it is read only. Not sure what causes this but a fix is to remount the sdcard. Currently I've been going into CWM and remounting it that way, but would like to do it via the terminal or adb. I found what I thought was the correct command online but I'm getting a usage error when I try it out.

Error:

Usage: mount [-r] [-w] [-o options] [-t type] device directory

Is this command correct for a Droid 2 (A955):

mount -o rw,remount -t /sdcard

Thanks!
[Droid 2 General] rickatnight11:
I'll need to test this when I get home, but I believe you're missing the device before the directory. (ie. /dev/whatever)
[Droid 2 General] rickatnight11:
Interesting. Copying and pasting your syntax worked fine for me. Sounds like you need a different copy of busybox. I'm running v1.16.2.
[Droid 2 General] aplus01:
Huh? So it worked for you? Odd.

I just flashed the latest zombiestomped ROM (1.71) a few days ago and that has resolved the issue I was having that necessitated remounting my sdcard all the time. I never did figure out what was causing it to get locked into read-only mode.

Well I appreciate you verifying my syntax. At least now if I ever need to do that in the future I'll know what to do.
[Droid 2 General] rickatnight11:
No problem. I can almost guarantee it was the version of busybox you had installed, as that's what provides the common linux tools like mount. They aren't the real binaries, but they're meant to be super-small applications that work just like the real thing, intended for small embedded systems.