NO LONGER ACTIVE PLEASE CLOSE [devs] deodex version of ivanmmj Eris_Official 1.0 - Droid Eris Android Development

All,
per positive response below is a link to a copy of ivanmmj Eris_Official 1.0 ROM that I have fully deodexed. This is more meant for devs for continued play time, but it is a flashable ROM. PLEASE NOTE that ivanmmj himself looks to be coming out with the next version of Eris_Official 1.0 per his thread http://forum.xda-developers.com/showthread.php?t=652044.
Hope this is helpful and Enjoy
Link: REMOVED FROM HOST SERVER
P.S. please let me know of any issues as this is my first full deodex also I would like to encurage using this tread to exploring moding some of the system files on Eris ROM builds as it has been fun to tweak things
P.P.S. If you want the Zanfer kernel let me know and I will look at adding it in however ivanmmj's new version should have it...

what is Deodex?

I'm definitely interested, but I also think Ivan is working on the same project himself. I'm pretty sure his "1.1" is deodexed and has Zanfur's kernel. Not sure what other changes he has in mind, but you might want to check with him before posting since you'll end up being the one getting all the PM's from people wanting help. ;-)

Yes please I'm looking for exactly that
-------------------------------------
Sent via the XDA Tapatalk App

That would be awesome.
Sent from my Eris using XDA App

BTW jcase's plain jane1.0 has zanfur overclocking kernel.....
i dont know what you think but it might be a better platorm than ivanmmjs
a deodexed version of that would be tight....

kernels are easy to compile and swap out, a different kernel isnt going to influence the build at all

i always seem to get better battery life from the non oc'ed kernel.

Morkai Almandragon said:
what is Deodex?
Click to expand...
Click to collapse
Yes, what does that mean ?

hallstevenson said:
Yes, what does that mean ?
Click to expand...
Click to collapse
it means you have a classes.dex file rather than a .odex file
it makes things easier, its also possible to metamorph these builds and its possible to install a deoexed app on multiple platforms.

anonomouse said:
it means you have a classes.dex file rather than a .odex file
it makes things easier, its also possible to metamorph these builds and its possible to install a deoexed app on multiple platforms.
Click to expand...
Click to collapse
Means I can finally modify Rosie.apk to my liking.

hallstevenson said:
Yes, what does that [deodex] mean ?
Click to expand...
Click to collapse
A more experienced developer can add more but a few quick basics:
.odex files are precompiled class flies that correlate to a .apk or .jar file. In an odex ROM an .apk/.jar file will not function without it's correlated .odex.
a deodex build takes all of the .odex files converts them to a classes.dex and puts them into the .apk or .jar file package
deodex ROM are easier to mod because each .apk or .jar is a "complete" package and can be more easily decompiled and ported (i.e. you do not have to worry about the .odex files)
A deodexed build requires less space in /system, but more space in /data
A deodexed build requires a longer initial boot because they must regenerating those odex files from the dex files in the .apks/.jars and save them to /data/dalvik-cache
Thats a quick list of what I know

odex only help speed up app loading time and first time boot. Think of this as Windows' prefetch.
If you want to re-create odex for apk for porting, etc... I suggest only do this to /system/app not /data/app because when you do update from market and your app will break, unless you wipe out dalvik-cache.

zach.xtr said:
This is more meant for devs for continued play time, but it is a flashable ROM.
Click to expand...
Click to collapse
Would this be ok for an every day ROM? Or should it just be used by dev's as a base ROM?

Hey guys I've been testing this for Ivan. same thing he has a version deodexed.
I edited this
http://forum.xda-developers.com/showthread.php?t=664951
to work for this rom. which works great, but I get an error of
com.htc.bgp because of it, does anyone have any idea why?

Romparoo said:
Would this be ok for an every day ROM? Or should it just be used by dev's as a base ROM?
Click to expand...
Click to collapse
Technically it is fine as an everyday ROM, however I do not recomend using it for such because it is not support and will have no additional features over ivanmmj origional 1.0.
So I guess, yes it meant to be used as a base ROM or "spare parts" for devs.

BlazeD OnE said:
Hey guys I've been testing this for Ivan. same thing he has a version deodexed.
I edited this
http://forum.xda-developers.com/showthread.php?t=664951
to work for this rom. which works great, but I get an error of
com.htc.bgp because of it, does anyone have any idea why?
Click to expand...
Click to collapse
Someone else did this, on androidforums.com. I haven't replied to his posting, but it's in like page 19 of the 'show off your UI layout' thread there. I'm working on a modified Rosie.apk right now, as soon as I get this de-odex'd Ivan's on my phone running. Titanium backup here I come.

FYI, I was able to flash the deodexed version over the original Eris_Official 1.0 Alpha without having to do a full wipe (just wiped dalvik-cache). Naturally, I went back and re-flashed Zanfur's overclock kernel after that.

Related

[ deodex script] deodexerious: all your base are belong to us!

Here's a script I've built for my own ROM cooking purpose
another purpose was to create a very easy to read script, so everyone can understand the magic of deodex
had some hard time figuring all the BOOTCLASSPATH and all the signing magic (if you want to do it manually, the secret is: don't pack and sign!, just add the classes.odex to the original jar or apk...whatever...
or use my script to automagically do all that)
after one brick and jtag reincarnation and a few bootloops
I present to you:
DEODEXERIOUS !! (the only spartan deodex script)
requirements:
Linux
zip
* tested on my Ubuntu 10.10
instructions:
1. extract the included script
2. put the content of system(including the system folder) inside the rom folder
actually you can create a folder named system inside the rom folder and copy framwork and app folder there, it does not require any other files from the rom
3. while in the console inside the extracted script directory execute from the console
Code:
./deodexrom.sh
4. wait and watch the console for errors (there shouldn't be any)
5. when it is done, you should find the deodexed files inside the deodexed folder
* if you want to start over just execute from the same place in the console
Code:
./cleanall.sh
tested and successfully deodexed:
I897 UCKB1
I9088 KP2
I9088 ZNKP5
I9000 XXJPY
I9000 XWJS3
I9000 XWJS5
I9000 ZSJPG
I9000 XWJV1 2.3.2, except email.apk
it does not support already deodexed rom's!!! (why should it?)
if you test other raw versions (even captivate ones) please inform the result, or problems found, I'll do my best to help
careful
the script is a very initial version
it does inform errors human readable so watch the console for them
oh! almost forgot , here's the script:
http://dl.dropbox.com/u/3595341/deodexerious/deodexerious_03.zip
change log:
04/03/2011 - deodexerius_03
added gingerbread XWJV1 2.3.2 - custom classpaths
smali and baksmali 1.2.6
case insensitive classpath helpers
note:
deodexerius can deodex all XWJV1 2.3.2, except email.apk
27/02/2011 - deodexerius_02
better support for the additional files in kp5 and kp2
good luck!!
To Be Continued
If someone could come up with one of these for windows they would be my hero
Sent from my GT-I9000 using XDA App
rob989_69 said:
If someone could come up with one of these for windows they would be my hero
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
kind of like this one?
http://forum.xda-developers.com/showthread.php?t=700904
omg
You saved my life man... thanks a billion! And add a donate link, I know I'd like to send a few bucks your way
Pirateghost said:
kind of like this one?
http://forum.xda-developers.com/showthread.php?t=700904
Click to expand...
Click to collapse
If this works you are my hero!!! LOL. I've found a number of different ones, either they don't work or I'm not using them correctly but this one is new to me. Thanks.
rob989_69 said:
If someone could come up with one of these for windows they would be my hero
Click to expand...
Click to collapse
sorry man no windows version.
ytt3r said:
You saved my life man... thanks a billion! And add a donate link, I know I'd like to send a few bucks your way
Click to expand...
Click to collapse
your'e welcome.
rob989_69 said:
If this works you are my hero!!! LOL. I've found a number of different ones, either they don't work or I'm not using them correctly but this one is new to me. Thanks.
Click to expand...
Click to collapse
oh it works....
Just used this on KP2, works great, thanks!
existz said:
Just used this on KP2, works great, thanks!
Click to expand...
Click to collapse
great news!
works great with xwjs3
This is great. Works on the new KB1.
I keep seeing this while the script is running
Compiling classes.dex from rom/system/framework/framework-tests
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.raiseBoundsError(libgcj.so.11)
at java.util.ArrayList.checkBoundExclusive(libgcj.so.11)
at java.util.ArrayList.get(libgcj.so.11)
at org.jf.dexlib.DexFile$2.placeAt(DexFile.java:783)
at org.jf.dexlib.DexFile.place(DexFile.java:659)
at org.jf.smali.main.fixInstructions(main.java:255)
at org.jf.smali.main.main(main.java:203)
Packing
Cleaning up
Done.
Cleaning up
Do I have to worry? I am going to try it again when it all completes, just want to make sure I am not missing anything
|OP|
it does not support already deodexed rom's!!! (why should it?)
Click to expand...
Click to collapse
what if you wanted to deodex a single new app? just redo the whole thing?
Trusselo said:
what if you wanted to deodex a single new app? just redo the whole thing?
Click to expand...
Click to collapse
To deodex a single app, you need to keep the deodexed framework files around. Then you can just do that app by pulling the code bits out of the framework.
Sent from my SAMSUNG-SGH-I897 using XDA App
Trusselo said:
what if you wanted to deodex a single new app? just redo the whole thing?
Click to expand...
Click to collapse
baksmali/smali + about 6 or 7 framework jars + cmd prompt = win!
How can I verify that the Deodex worked? I ran the script a couple times last night just to see what happens and then dropped the files in on my phone. Everything is working fine, just wanted to know how I can verify its deodexed.
nakedninja42 said:
How can I verify that the Deodex worked? I ran the script a couple times last night just to see what happens and then dropped the files in on my phone. Everything is working fine, just wanted to know how I can verify its deodexed.
Click to expand...
Click to collapse
do you see any .odex files named the same as your apks?
nakedninja42 said:
How can I verify that the Deodex worked? I ran the script a couple times last night just to see what happens and then dropped the files in on my phone. Everything is working fine, just wanted to know how I can verify its deodexed.
Click to expand...
Click to collapse
if you don't see errors like the one quoted bellow, then you should be fine.
nakedninja42 said:
I keep seeing this while the script is running
Compiling classes.dex from rom/system/framework/framework-tests
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.raiseBoundsError(libgcj.so.11)
at java.util.ArrayList.checkBoundExclusive(libgcj.so.11)
at java.util.ArrayList.get(libgcj.so.11)
at org.jf.dexlib.DexFile$2.placeAt(DexFile.java:783)
at org.jf.dexlib.DexFile.place(DexFile.java:659)
at org.jf.smali.main.fixInstructions(main.java:255)
at org.jf.smali.main.main(main.java:203)
Packing
Cleaning up
Done.
Cleaning up
Do I have to worry? I am going to try it again when it all completes, just want to make sure I am not missing anything
Click to expand...
Click to collapse
actually this is an error, it means it failed to deodex this file
please provide more information, the reason can be many things:
java version
base rom
did you provide the full rom or only the file you mentioned?
provide more information and ill see what can be done.
ih4ckback said:
This is great. Works on the new KB1.
Click to expand...
Click to collapse
awesome.
marcelo.waisman said:
if you don't see errors like the one quoted bellow, then you should be fine.
actually this is an error, it means it failed to deodex this file
please provide more information, the reason can be many things:
java version
base rom
did you provide the full rom or only the file you mentioned?
provide more information and ill see what can be done.
awesome.
Click to expand...
Click to collapse
I am use the same KB1 that hit the forums yesterday that i4ackback stated that works for him. I installed Ubuntu 10.10 and installed Java from the software manager, not sure if its the right one. I started copying the full system folder but ended up only extracting just app and framework just like the OP states. That message appears throughout the process but I end up with everything in the deodexed folder.
Sent from my SAMSUNG-SGH-I897 using XDA App

How to deodex a ROM?

I'm planning to create my own custom rom based on 2.1. I have tried the Android Kitchen but have had no luck, I get lots of errors about java exceptions, etc. Please could anyone tell me a WORKING way to deodex the stock rom.
JackG256 said:
I'm planning to create my own custom rom based on 2.1. I have tried the Android Kitchen but have had no luck, I get lots of errors about java exceptions, etc. Please could anyone tell me a WORKING way to deodex the stock rom.
Click to expand...
Click to collapse
Try wait some time... kitchen try use old smali version and deodex rom correctly
or
Try xUltimate deodexer (find in google )
JackG256 said:
I'm planning to create my own custom rom based on 2.1. I have tried the Android Kitchen but have had no luck, I get lots of errors about java exceptions, etc. Please could anyone tell me a WORKING way to deodex the stock rom.
Click to expand...
Click to collapse
Why don't you just remove the odexed apps? It's easier than deodexing.
despotovski01 said:
Why don't you just remove the odexed apps? It's easier than deodexing.
Click to expand...
Click to collapse
So that means removing, Phone.apk, Settings.apk, and pretty much every system app.
Search daneshm90
Mark
I am trying this script but getting bootclasspath errors. If I could retrieve the bootclasspath then i would have no trouble de-odexing. Thanks

[INFO] An update regarding the Browser issue on deodexed XXJVQ

An update about the browser issue and a temporary fix:
I managed to get the browser working on a deodexed JVQ.
Here is a temporary fix until we find how to fix the browser issue without the need for any odex files. You need to be on fully a stock firmware(non stock kernel is OK), means no modded apk files or framework files, because I have only tested it on a stock firmware, but if your firmware is modded and you don't mind re-flashing if it goes wrong then use at your own risk, making a CWM backup is a good idea on moded firmwares, you can copy the files using CWM or manually, choose what works best for you:
Flash via CWM: (You need around 16MB of free space on /system)
CWM Package: Download (6.3 MB) MD5:f5b8cbdde94be7cf6e4604f0051334eb
Click to expand...
Click to collapse
Click to expand...
Click to collapse
How to copy the files manually: (You need around 16MB of free space on /system)
*Extract and copy the extracted odex folder with the odex files to your internal SD-card: Download (6.3 MB) MD5:2cff4b99c08d7b84af9c7e6838daccaa
*Put the phone on 'Debugging-mode' and connect it to your PC
*Open a command prompt and brows to the adb directory, then execute the following:
adb shell
su
busybox mount -o rw,remount /system
stop
cp -r /sdcard/odex/* /system/framework
rm -r /data/dalvik-cache/*
reboot
Click to expand...
Click to collapse
Done, the boot will take a some time because the firmware will re-build the dalvik-cache but the browser will work fine after that.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
This is for developers and experienced users:
It's not that simple as it appears that 4 odex files must be on /system/framework in order to get the browser running as it should, these 4 files are:
bouncycastle.odex
core.odex
ext.odex
framework.odex
Remove one of these files and the circle collapses and the browser lags as you know.
I don't know if it's because the browser is programmed to look for the odex/classes files on /system/framework, if that is the case then it might be possible to change some lines in the browser classes files or the apk file itself.
I just wanted to share this with you so those with good-code-reader-eyes might have a clue on where to start looking.
Great, works on my modded deodexed rom with all mods still alive... you just need enough space in system and to wipe dalvik cache. Thanks!!!
diamond69 said:
Great, works on my modded deodexed rom with all mods still alive... you just need enough space in system and to wipe dalvik cache. Thanks!!!
Click to expand...
Click to collapse
Some members have reported that it does not work on deodexed modified firmwares, so making a nandroid backup is recommended before using the CWM package.
yeah, a nandroid is nice to have, thats for sure!
so listen to Ramad, you could also screw your config when using the odexed framework files together with deodexed ones!
i had luck
EDIT:
till i used the powermenu -- hot reboot and then fine
or changed the lockscreens --endless hot reboots
so it is not as easy as it seems at first (although autobrightness-mod, batterymod and rotary-lockscreen are working well)
hey Ramad,
You may have a look on the link below, where i explain why there's *no* lags with the browser.
http://forum.xda-developers.com/showthread.php?p=15330205#post15330205
Eric.
eric75004 said:
hey Ramad,
You may have a look on the link below, where i explain why there's *no* lags with the browser.
http://forum.xda-developers.com/showthread.php?p=15330205#post15330205
Eric.
Click to expand...
Click to collapse
Hi Eric
Did you try the browser on the deodexed version o XXJVQ, you will be able to deodex and use the browser, with or without modifications, on a stock firmware and it will behave normally, but the browser will not be smooth at all when the whole firmware is deodexed, this is why we say it lags, because it does not response as it should and lags behind the command when you scroll or click on a subject as a picture or a link. I think that you will get a better idea of what I wrote when you flash the deodexed firmware and try the browser.
Hello Ramad,
The first think i did after downloading the odex Firmware was to deodex it...
I thought as many that the browser was buggy/laggy until i decide to reflash to stock odex and debug it.
I'm then 100% confident that there's no lag on the browser itself and that it responds well. You feel that there is a an lag only because it do not render the zoom/scroll animation.
The issue come from the whole deodexing of apps and framework in batch. Guess that the apk use one of them (or many) to render the animation.
I got some similar unexpected visual effect when i began to study apk and compile them by myself.
I will add some tips to reproduce into this post related to the mod
http://forum.xda-developers.com/showthread.php?p=15330205#post15330205
Whatever,
It is nice and time saver to work together and see how to solve.
Regards,
Eric.
[Ramad] said:
Hi Eric
Did you try the browser on the deodexed version o XXJVQ, you will be able to deodex and use the browser, with or without modifications, on a stock firmware and it will behave normally, but the browser will not be smooth at all when the whole firmware is deodexed, this is why we say it lags, because it does not response as it should and lags behind the command when you scroll or click on a subject as a picture or a link. I think that you will get a better idea of what I wrote when you flash the deodexed firmware and try the browser.
Click to expand...
Click to collapse
Hi Ramad!
did you read this? http://forum.xda-developers.com/showthread.php?t=1132724
near the bottom you can find 07/03/2011 : How To FIX yourself the laggy deodexed browser.apk
It is for SGS2 but could work for SGS1 (with the right files from proper SGS1 browser to work with)
Still, I beleve for the SGS1 browser problem we have to look in correcty deodexing framework.jar file as for me that delivers the lagging problem...
Cheers!
Is the JVQ browser installable on JVP deodexed?
SamHaLeKe said:
Hi Ramad!
did you read this? http://forum.xda-developers.com/showthread.php?t=1132724
near the bottom you can find 07/03/2011 : How To FIX yourself the laggy deodexed browser.apk
It is for SGS2 but could work for SGS1 (with the right files from proper SGS1 browser to work with)
Still, I beleve for the SGS1 browser problem we have to look in correcty deodexing framework.jar file as for me that delivers the lagging problem...
Cheers!
Click to expand...
Click to collapse
Thank you I believe that it was the old method with an old browser that pulser_g2 referred to on his post here: http://forum.xda-developers.com/showthread.php?t=948790&page=81
But I will read the post in the link your provided, it could be helpful, thanks for the help my friend.
eric75004 said:
Hello Ramad,
The first think i did after downloading the odex Firmware was to deodex it...
I thought as many that the browser was buggy/laggy until i decide to reflash to stock odex and debug it.
I'm then 100% confident that there's no lag on the browser itself and that it responds well. You feel that there is a an lag only because it do not render the zoom/scroll animation.
The issue come from the whole deodexing of apps and framework in batch. Guess that the apk use one of them (or many) to render the animation.
I got some similar unexpected visual effect when i began to study apk and compile them by myself.
I will add some tips to reproduce into this post related to the mod
http://forum.xda-developers.com/show...5#post15330205
Whatever,
It is nice and time saver to work together and see how to solve.
Regards,
Eric.
Click to expand...
Click to collapse
I did read your post just now, sorry. I got my hands full now, uploading three stock firmwares, don't be so exited, they are all 2.3.3
Thanks again Ramad,i've put the files into the framework folder before flahing your stock deodex coming from the odex JVQ (plus the cfroot zimage and a little change in the updater-script to make a nowipe one as i always do,saying that just to be the more specific possible),and browser works indeed as it should.
I will try mods or little theme things step by step (as long as mods doesn't include framework.jar it should be ok?as for the odex mods without framework.jar preserve the browser?)
My noob's impressions already told me that the solution for that browser thing lies in the SamHaLeKe link.(browser new animations that must be well "declared" in the modified framework.jar...something like that?...)
Hum,sorry for thinking my opinion(sensation...)may belong here and for my surely difficult to understand english.
Hi SamHaLeke,
I went to read it...
Pulse-g2 did a regression by porting the classes from a older Browser.
Great if it work, but it is like to use the JVP Browser on JVQ...
If you don't mind the new features brought by the JVQ release, click to the following link. At the end of the post, there is my JVP modded browser.
http://forum.xda-developers.com/showthread.php?t=1148230
Let us know if it work on JVQ with the deodexed framework.
Eric,
In Sri Lanka
SamHaLeKe said:
Hi Ramad!
did you read this? http://forum.xda-developers.com/showthread.php?t=1132724
near the bottom you can find 07/03/2011 : How To FIX yourself the laggy deodexed browser.apk
It is for SGS2 but could work for SGS1 (with the right files from proper SGS1 browser to work with)
Still, I beleve for the SGS1 browser problem we have to look in correcty deodexing framework.jar file as for me that delivers the lagging problem...
Cheers!
Click to expand...
Click to collapse
Hi Bedja,
I do not get you.
Did you put the files and , then, reflashed your phone with the deodexed rom?
If exact, you're still running with deodexed, and challenged to fix the lag .
Please confirm: you may have the solution in your hand .
Eric.
Bejda said:
Thanks again Ramad,i've put the files into the framework folder before flahing your stock deodex coming from the odex JVQ (plus the cfroot zimage and a little change in the updater-script to make a nowipe one as i always do,saying that just to be the more specific possible),and browser works indeed as it should.
I will try mods or little theme things step by step (as long as mods doesn't include framework.jar it should be ok?as for the odex mods without framework.jar preserve the browser?)
My noob's impressions already told me that the solution for that browser thing lies in the SamHaLeKe link.(browser new animations that must be well "declared" in the modified framework.jar...something like that?...)
Hum,sorry for thinking my opinion(sensation...)may belong here and for my surely difficult to understand english.
Click to expand...
Click to collapse
hi eric!
that was the first i tried, after realizing that deodexed rom + jvq browser = a mess!
so i used your jvp version and had fc at launch, even after deleting browser-data.
so i went back to deodexed jvq (because of my mods) + your modded jvq browser + ramads 4 .odex files and it works well (browsing wiith jvq-browser), my mods are also "quite" okay:
- battery mods and theming: works!
- autobrightnessfix works
- tv animation works
- all 9 lockscreens are working (changing not)******
*****--> powermenu + 9-lockscreen switching is broken due to stock framework.odex but when i delete framework.odex and do a reboot, i can switch between all lockscreens and apply them (jvq browser laggs awfully now beause of that)
now i copy the framework.odex back & do a reboot: jvq browser is working again without lagging and i can use the new lockscreen aswell!
EDIT:
using dexopt (in the right bootclass order) to RE-ODEX my modded deodexed framework didn't help. now the browser laggs again.
maybe this might be helpful aswell
Yes it help a lot...
As , for sure, we now where to focus .
I just deodexed the framework by hand, and found something about opengl and jit, and the JVQ browser use openGl to render the scroll/zomm animation.
However it close to midnight in Sri Lanka, and i will resume the investigations tomorrow.
Have a good night/morning or afternoon depending your location .
Eric,
In Sri lanka
diamond69 said:
hi eric!
that was the first i tried, after realizing that deodexed rom + jvq browser = a mess!
so i used your jvp version and had fc at launch, even after deleting browser-data.
so i went back to deodexed jvq (because of my mods) + your modded jvq browser + ramads 4 .odex files and it works well (browsing wiith jvq-browser), my mods are also "quite" okay:
- battery mods and theming: works!
- autobrightnessfix works
- tv animation works
- all 9 lockscreens are working (changing not)******
*****--> powermenu + 9-lockscreen switching is broken due to stock framework.odex but when i delete framework.odex and do a reboot, i can switch between all lockscreens and apply them (jvq browser laggs awfully now beause of that)
now i copy the framework.odex back & do a reboot: jvq browser is working again without lagging and i can use the new lockscreen aswell!
EDIT:
using dexopt (in the right bootclass order) to RE-ODEX my modded deodexed framework didn't help. now the browser laggs again.
maybe this might be helpful aswell
Click to expand...
Click to collapse
i'm glad to hear i could point you into a nice direction for further investigations.
jit+open gl sounds good to me, in comparison to other browser-releases we never had any acceleration before
i whish you the best for tomorrow, maybe its gonna be a great jvq-day
works great on JVQ rooted with CF-root-v3.7
tested one two similar SG S i9000
flashed with CWM Manager
thanks for the zip, Ramad
Bejda said:
Thanks again Ramad,i've put the files into the framework folder before flahing your stock deodex coming from the odex JVQ (plus the cfroot zimage and a little change in the updater-script to make a nowipe one as i always do,saying that just to be the more specific possible),and browser works indeed as it should.
I will try mods or little theme things step by step (as long as mods doesn't include framework.jar it should be ok?as for the odex mods without framework.jar preserve the browser?)
My noob's impressions already told me that the solution for that browser thing lies in the SamHaLeKe link.(browser new animations that must be well "declared" in the modified framework.jar...something like that?...)
Hum,sorry for thinking my opinion(sensation...)may belong here and for my surely difficult to understand english.
Click to expand...
Click to collapse
I did not read your post until now, sorry
Your way of working things is correct, you try things separately or step by step on a stable platform to see what brings it down.
Opinions and ideas are needed, we are not going any where without the best of them.
What about this solution http://forum.xda-developers.com/showthread.php?t=1155129
snack23 said:
What about this solution http://forum.xda-developers.com/showthread.php?t=1155129
Click to expand...
Click to collapse
I was wondering the same.
I have yet run it his browser through the paces completely, but it seems to be running great so far. It is fast as heck and super smooth. I'm in the US using a Captivate on Continuum 6.1 (deodexed JVQ based).

[INFO] Note to all ROM makers

There seems to be issues with baksmali/smali v1.2.6 when deodexing latest samsung roms (2.3.4 maybe also some 2.3.3!).
If you baksmali framework.odex and smali it back to a dex file (without changing anything) your ROM will become laggy!
Some people say its the hardware acceleration that no longer works.
The web browser becomes unusable. There have been reports that video player and camera also seems laggy.
My suggestion is NOT to deodex framework.odex! I'm sorry to say this...
I know this means no custom deodexed roms! But I do believe you will run into more problems we don't know about yet!
But you can still do mods!
Just not deodexed framework mods. You can deodex apk files in the app folder. You can also try and deodex files in the framework folder as long and you dont deodex the framework.odex file! But here you have to convert them back to odex files!
As proof I have made this mod for stock XXKG1. I have the odexed the files back to odex using the dexopt-wrapper tool.
It is not just 1.2.6, I have built from the latest source and still has problems.
I disagree 100% fwiw with OP
I have no speed issues beyond that stupid browser, and that looks just like a baksmali bug. I don't do the "quit" attitude - I will fix it...
But anyway, there is no lag or anything here, even on 2.3.4 deodexed and underclocked.
So while there may be a browser issue, I would not suggest to people not to deodex. I can provide thousands of posts of people happy with a properly Deodexed and optimised ROM...
do we know why this happens? Is there an logic explanation
stian230 said:
do we know why this happens? Is there an logic explanation
Click to expand...
Click to collapse
Most likely minor baksmali bug
designgears said:
It is not just 1.2.6, I have built from the latest source and still has problems.
Click to expand...
Click to collapse
Maybe if we can debug using source we can figure out what goes wrong!
pulser_g2 said:
I disagree 100% fwiw with OP
I have no speed issues beyond that stupid browser, and that looks just like a baksmali bug. I don't do the "quit" attitude - I will fix it...
But anyway, there is no lag or anything here, even on 2.3.4 deodexed and underclocked.
So while there may be a browser issue, I would not suggest to people not to deodex. I can provide thousands of posts of people happy with a properly Deodexed and optimised ROM...
Click to expand...
Click to collapse
I hope you are right... But alot people also complains about all sorts of problems with the custom roms... and we dont really know if its related to this or not...
I spent all yesterday thinking about that...
The odex file is only valid when used with the exact BOOTCLASSPATH files. dalvik enforces this by storing a checksum of each file that the odex file is dependent on, and ensuring that the checksum for each file matches when the odex file is loaded.
When you are deodexing an apk, even if you don't need to set BOOTCLASSPATH for it (because you don't get any error msg while baksmali), by default these 5 jar are already included in the classpath: core.jar, ext.jar, framework.jar, android.policy.jar and services.jar. This means that an odex file has dependencies on every "BOOTCLASSPATH" file that is loaded when it is generated.
So i was thinking about to deodexing every apk in /system/app a part Browser.apk (i.e leaving Browser.odex) and try to figure out which jar file inside /system/framework has to remain odexed.
Maybe we can still have overscroll glow mod, renounce to have the extended power menu in order to get an HW accellerated Browser!
I don't know if it make sense for you as my english need to be improved
_JKay_ said:
I hope you are right... But alot people also complains about all sorts of problems with the custom roms... and we dont really know if its related to this or not...
Click to expand...
Click to collapse
You got any examples to hand?
The common issues I see are
- failing to read my install instructions
- trying to come from some other ROM without following the instructions
- trying to restore titanium backups entirely, depositing apps that are codes like half-polished turds in the phone
- pushing incorrect files into rom without knowing what they are doing
- stupid setcpu config
Am interested to see if you have found other issues, as camera and video player are confirmed by a fair number to be fine...
I swapped my phone with one running stock, and I had to tell my friend what I had done, as he was sure it was his oh, and I was underclocked to 800 max too at the time
pulser_g2 said:
You got any examples to hand?
The common issues I see are
- failing to read my install instructions
- trying to come from some other ROM without following the instructions
- trying to restore titanium backups entirely, depositing apps that are codes like half-polished turds in the phone
- pushing incorrect files into rom without knowing what they are doing
- stupid setcpu config
Am interested to see if you have found other issues, as camera and video player are confirmed by a fair number to be fine...
I swapped my phone with one running stock, and I had to tell my friend what I had done, as he was sure it was his oh, and I was underclocked to 800 max too at the time
Click to expand...
Click to collapse
The frameword.odex is not compiled correctly!! That's a fact!! The laggy browser proofs it. Framework.odex the largest most important file in the android framework!! And that does not concern you? Is that not a bit naive?
_JKay_ said:
The frameword.odex is not compiled correctly!! That's a fact!! The laggy browser proofs it. Framework.odex the largest most important file in the android framework!! And that does not concern you? Is that not a bit naive?
Click to expand...
Click to collapse
I believe what I see. I have asked HomerSp if he can take a look at it, when he can, as he knows a lot about the deodexing process.
But at the end of the day, while there is clearly something not working in baksmali or smali, this seems a good opportunity to fix it and pass on the fix to JF
I know what is in framework.jar, and that it covers most things...
I do genuinely have interest in seeing the issues you raised, as perhaps there is disparity between methods of deodexing??? I am interested to see if I can reproduce any here too, as that would highlight a wider issue.
pulser_g2 said:
I believe what I see. I have asked HomerSp if he can take a look at it, when he can, as he knows a lot about the deodexing process.
But at the end of the day, while there is clearly something not working in baksmali or smali, this seems a good opportunity to fix it and pass on the fix to JF
I know what is in framework.jar, and that it covers most things...
I do genuinely have interest in seeing the issues you raised, as perhaps there is disparity between methods of deodexing??? I am interested to see if I can reproduce any here too, as that would highlight a wider issue.
Click to expand...
Click to collapse
Well.... I will not use deodexed custom roms so I won't find any issues!!! But some people probably will or already has...
I'd rather spend my time on fixing this and create odexed mods until its fixed!
As soon as I see that the framework.odex can be compiled without breaking the browser... I might try some custom roms again..
That's weird. I'm using Lite'ning 1,5 ROM (which is deodexed) since i bought this phone and everything runs very smooth (including browser, video playback, gaming, launcher and so on). Before i had HTC Desire Z with CM7 on it and it was freezing slow if compared to my current setup. It's just flying.
AllWin said:
That's weird. I'm using Lite'ning 1,5 ROM (which is deodexed) since i bought this phone and everything runs very smooth (including browser, video playback, gaming, launcher and so on). Before i had HTC Desire Z with CM7 on it and it was freezing slow if compared to my current setup. It's just flying.
Click to expand...
Click to collapse
I know that version (2.2) does not include the original stock browser but a patched version.
Sent from my GT-I9100 using XDA Premium App
_JKay_ said:
I know that version (2.2) does not include the original stock browser but a patched version.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
You're basing all your points on 1 main problem, the browser.
That's hardly the way to go. Rather, they will work to solving the problem regarding the browser, then we can continue to have proper custom roms. Besides, KG1 is a leaked rom. Deodexing didn't affect KF2, it might not cause problems for later leaked or "official" roms.
Rather than directing others to your odexed mods, the way for things to move on is to see the problem being fixed. There's a reason why custom roms are almost always deodexed. Don't rock the boat if you don't like the status quo.
kenkiller said:
You're basing all your points on 1 main problem, the browser.
That's hardly the way to go. Rather, they will work to solving the problem regarding the browser, then we can continue to have proper custom roms. Besides, KG1 is a leaked rom. Deodexing didn't affect KF2, it might not cause problems for later leaked or "official" roms.
Rather than directing others to your odexed mods, the way for things to move on is to see the problem being fixed. There's a reason why custom roms are almost always deodexed. Don't rock the boat if you don't like the status quo.
Click to expand...
Click to collapse
That's actually exactly what I am saying!! Don't spend time on fixing the browser! Spend time on fixing the baksmali/smali tools!!
But until that's fixed I believe you can't really rely on the deodexed roms because framework.odex does not compile correctly!!
Some people said that you can't do mods that are odexed!! Thats the reason for the example! You actually don't need to deodex the framework!! But I admit.. it's easier not to odex files...
BTW guys, following the OP IDEA i got my own custom rom working with the odexed stock Browser (i.e. HW accellerated).
Basically all the apps have been deodexed apart Browser, and i left the framework jar files odexed!
Basically i got the same features/mod as before, the only think i have to renounce is the overscroll glow effect (i don't like it at all, i prefer the stock Samsung bounce effect) and the extended power menu (we can easily replace it by using quickboot).
That's it
thanks _JKay_ for the IDEA!
But I do think the problems wont fix itself in the future. The SGS facing the same problems with XXJVQ!!
LeoMar75 said:
BTW guys, following the OP IDEA i got my own custom rom working with the odexed stock Browser (i.e. HW accellerated).
Basically all the apps have been deodexed apart Browser, and i left the framework jar files odexed!
Basically i got the same features/mod as before, the only think i have to renounce is the overscroll glow effect (i don't like it at all, i prefer the stock Samsung bounce effect) and the extended power menu (we can easily replace it by using quickboot).
That's it
thanks _JKay_ for the IDEA!
Click to expand...
Click to collapse
No problem! Actually my mod gives you the extended power menu
_JKay_ said:
But I do think the problems wont fix itself in the future. The SGS facing the same problems with XXJVQ!!
Click to expand...
Click to collapse
I agree with you, but at least, since a lot of people complain about the stock browser, we can stay happy with it!
I reckon we need new tool for deodexing, smali backsmali are dated now...

Making roms and soft mods?

Dont know whether I should put this here or in general.....
Anyways, I do have a laptop now. I can make mods etc, but I do not know how. What is the best way to make soft-mods?
What devs allow softmods?
What do people want in a softmod?
Any suggestions would be welcome!
Thanks for your Offer.
I recommend you to make a Froyo Soft-Mod, cause we've a lot of GB CM7 on this forums, will be great to see more Froyo's ROM updated.
Take (with his permission) Miroslav's Utopia to start.
leoposas said:
Thanks for your Offer.
I recommend you to make a Froyo Soft-Mod, cause we've a lot of GB CM7 on this forums, will be great to see more Froyo's ROM updated.
Take (with his permission) Miroslav's Utopia to start.
Click to expand...
Click to collapse
So, what should I put in it?
What should I do?
Making mods without any ideas. It will be hard...
Sent from GT540.
haha this should be in general Either way 2.2 would be good i think i made a hell to many for 2.3 But for 2.2 its rather hard to theme but for tweaks its still fine.
bs828 said:
haha this should be in general Either way 2.2 would be good i think i made a hell to many for 2.3 But for 2.2 its rather hard to theme but for tweaks its still fine.
Click to expand...
Click to collapse
Well you can always edit png's in framework. You can use uot kitchen, dsixda kitchen, xultimate.
Init.d can be tweaked
If you want a complete ROM build you can try aosp froyo. You might use pcfighter / zice kernel .....
Sent from my GT540 using xda premium
Aosp froyo with notification bar togles, init.d script and ginger or some other theme would by nice.
When i created my soft-mod i didn't use a computer.
U don;t really need a computer to create a mod.
U just need root explorer. unless u want to create it into a recovery zip
Yes
androidboss7 said:
When i created my soft-mod i didn't use a computer.
U don;t really need a computer to create a mod.
U just need root explorer. unless u want to create it into a recovery zip
Click to expand...
Click to collapse
How did you decompile, and compile apk without windows?
bataya said:
How did you decompile, and compile apk without windows?
Click to expand...
Click to collapse
he just deleted apk's and added scripts etc
Hi.
I want start to make Rom .
Where should I start *?
Sent from my HTC Explorer A310e using xda app-developers app
Start by making soft-mods. Get a Rom flash it on your phone, dont add any personal stuff like contacts yet. Put in some nice apps themes tweaks and mods and after that use CWM to back it up and it "should" be ready to share... well at least that is somewhere to start from.
Edit: For those planning to make 4.0 softmods maybe you can also see this http://forum.xda-developers.com/showthread.php?t=1680328 i know its from the SGSII but i guess the way to do things is similar. (just dont use the flashable thing from the mediafire link!)

Categories

Resources