Stock deodexed browser fix [kj6] - Samsung Galaxy S (4G Model)

I recently saw 6 or 7 threads about the stock deodexed browser lag on scrolling. Actually the fix is all over the web. It's about a bug in framework.jar. The idea is to get the class.odex file, decompile it, fix the bug and recompile.
Pretty simple stuff.
Attached is the fixed framework.jar file. This is the file I made to fix my own browser on stock deodexed kj6 with a stock kj6 kernel.
Feel free to try it if you like. Backup is suggested as there are no guarantees, although it should work for most.
To use -
1. overwrite the original file inside /system/framework/ with root explorer or any other file browser with root.
2. reboot
For Airfluip's AOSP rom see post 25
http://forum.xda-developers.com/showpost.php?p=19920236&postcount=25
For Octane 3 with PowerMenu installed see post 36
http://forum.xda-developers.com/showpost.php?p=20520412&postcount=36
Enjoy.
BTW, you'll notice that this file is actually smaller than the original... Winrar rules!!!

haha wow thanks, i just posted a question on that about 2 or 3 hours ago

I replaced the .jar file. Running kj1 kernel with kj6 stock. Never noticed lag before but seems fine either way. File recompiled is way bigger then the orig framework.jar
Sent from my SGH-T959V using XDA App

Dude, kj6 stock is not deodexed, so framework.jar is tiny and framework.odex is huge also, odexed version never had lag anyways. So if odexed, don't need to. replace
In deodexed, the framework.odex is repacked into a smaller classes.dex file, and is placed within framework.jar. So instead of 2 files 1 tiny(the one you commented on) and 1 huge, they are both combined into 1 medium-large file(framework.jar with the classes.dex)
Also, for the thread, I can't believe we didn't find that before. I am placing a link to it in my rom thread, and if you don't mind, may I please embed this within my rom?

Thanks for finding this fix, I don't use the stock anways, but nice to know we'll have a fixed broswer for future releases.

Airfluip: why would I mind? Feel free to use it any way you want.
Sent from my SGH-T959V using xda premium

turtlepa said:
I replaced the .jar file. Running kj1 kernel with kj6 stock. Never noticed lag before but seems fine either way. File recompiled is way bigger then the orig framework.jar
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
Don't fix something that is not broken. The file was intended to fix a bug in the deodexed rom. Not in the stock odexed one. The reason you didn't notice the problem is because you never had it.
Sent from my SGH-T959V using xda premium

do i del the copy version also or just the framework.jar and leave the copy alone?

ChadBFlores said:
do i del the copy version also or just the framework.jar and leave the copy alone?
Click to expand...
Click to collapse
Not sure what you mean, but all you need to do is to overwrite the existing file with this one. It really doesn't matter whether you delete the original first or simply overwrite it. The result is the same.
It's not a bad idea to copy the original to some backup folder first, just in case.

I posted earlier I never noticed difference. I put his framework in rebooted then the orig backup of framework.jar I put it back rebooted and bootloop. Had to flash gb rom again
Sent from my SGH-T959V using XDA App

airfluip1 said:
Dude, kj6 stock is not deodexed, so framework.jar is tiny and framework.odex is huge also, odexed version never had lag anyways. So if odexed, don't need to. replace
In deodexed, the framework.odex is repacked into a smaller classes.dex file, and is placed within framework.jar. So instead of 2 files 1 tiny(the one you commented on) and 1 huge, they are both combined into 1 medium-large file(framework.jar with the classes.dex)
Also, for the thread, I can't believe we didn't find that before. I am placing a link to it in my rom thread, and if you don't mind, may I please embed this within my rom?
Click to expand...
Click to collapse
Sure. And for that explanation about odex. Thank you
Sent from my SGH-T959V using XDA App

Okay so after keis update I was dumb like u said airflip and should not have replaced orig back but after gb flash I saw what the lag was. Wow that sucks. So pushed jar after the reflash and its good now
Sent from my SGH-T959V using XDA App

Chad, you might want to make a CWM zip to make the process easier. Thanks for the upload though.

Tried this fix twice. Every time I replace the original framework.jar file I get bootloop. Anyone else have this problem? I'm using the octaine rom if that matters.
Sent from my SGH-T959V using XDA App

twystn said:
Tried this fix twice. Every time I replace the original framework.jar file I get bootloop. Anyone else have this problem? I'm using the octaine rom if that matters.
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
Its only for kj6 roms octaine isn't a kj6 rom so it won't work on it.
Sent from my HTC Glacier using xda premium

cnote74 said:
Its only for kj6 roms octaine isn't a kj6 rom so it won't work on it.
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
Lol, I was so excited about a fix that I didn't see that. Thanks for the help.
Sent from my SGH-T959V using XDA App

twystn said:
Lol, I was so excited about a fix that I didn't see that. Thanks for the help.
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
No problem
Sent from my HTC Glacier using xda premium

Same here )=

Is anyone having issues with boot looping on airfluip1's KJ6 AOSP

I got this problem after moving the filw over, then putting the originl .jar back in which gavw me boot loops. I had to flash gb official rom didmt delete any cache data etc then it was fine but deodexed
Sent from my SGH-T959V using XDA App

Related

Looking for a good, recent bootanimation.zip tutorial

Been trying to make my own and I keep getting a black screen only. I'm not sure if it's the png files I'm winding up with, or my desc.txt but it's not really working for me. I know that my kernel supports bootanimation.zip, I've tested this with the angry android one, so it's not that there's no support.
HELP! Thanks in advance.
Can u tell me which kernel are u using mine doesnt work with boot animation
Sent from my SGH-T959V using XDA App
I'm using Bali 2.1 UV. It's had bootanimation support since its first release for the SGS though. I doubt you'd get that working with any stock kernel
Search this very forum for a thread started by bl4ckphenix about boot animations.
It's one of the older threads, back in the kb5 days, when all we had was krylon's kernel for it.
Sent from my SGH-T959V using Tapatalk
FBis251 said:
Been trying to make my own and I keep getting a black screen only. I'm not sure if it's the png files I'm winding up with, or my desc.txt but it's not really working for me. I know that my kernel supports bootanimation.zip, I've tested this with the angry android one, so it's not that there's no support.
HELP! Thanks in advance.
Click to expand...
Click to collapse
Be sure ur filenames in the .zip are numbered correctly. no zeros infrobt of numbers.
Sent from my SGH-T959V using XDA Premium App
I attached my current bootanimation.zip if anyone wants to take a look at it and tell me what I've done wrong. Thanks.

[UPDATED 7/29/11/Beta "3"][MOD][THEME]Version X GB THEME for KG4 AERODKNG

BETA 3
Version X of GB Theme is here!
Support for KG4 is here.
KF2 Support is coming soon
WHAT'S NEW!!!
_____________
More Realistic AOSP affects!!!
(systemui.apk is a status handled in a new way)
More Themed apps
How TO Flash
Should have fixed bootloop/framework error problem ... again
In order to flash due to lack of CWM support, you either have to push through a root file manager or flash immediately after flashing the CWM version of a GB Rom.
THIS A BETA AND I TAKE NO RESPONISBILITY FOR BRICKS
USE ON DEODEXED KG4
I DIDN'T TEST IT. IT MAY NOT WORK.
LINK
Credits
_________
Google
Corradokng/Robbbbit
Cyanogenmod
cANT WAIT...
Looking forward to this one
Sent from my SGH-T959V using XDA Premium App
Is this theme just for GB roms??
peek not peak
It is here for kg4
No screen shots yet though. Look at the froyo one. it should look like that.
I pushed the files using root explorer, rebooted my phone and I got stuck in a bootloop. I'm currently going to odin back to kd1 and try flashing kg4 and then flashing the cwm package. I'll post my results once I see what happens.
I just odined back to kd1, flashed deodexed version of kg4 and then the GB Theme Version X and I got the same result as pushing with root explorer. My phone is just in a boot loop. So I am going to odin back and wait to see if anyone has some suggestions. So if you guys got any suggestions, let me know, I'm down to test things.
I will test in a few days. I am busy right now.
Sent from my SGH-T959V using XDA App
For tests and giggles. PLEASE TEST FOR MY SAKE
To those who want to test.
First. Push the systemui.apk to /system/app.
If that works
Push the framework-res.apk to /system/framework
If that is the problem, then I will recompile a new framework. There may have been an issue where I may have accidentally signed it.
If it isn't the problem, then I will redo the apps.
Anyone test yet?
Sent from my SGH-T959V using XDA Premium App
Is there anything that is flashable via CWM or does it have to be pushed?
I don't think KG4 likes the modded frameworks. I cooked up something in the uot kitchen and it soft bricked mine
Sent from my Galaxy Tab running CM7
mistasyn said:
Is there anything that is flashable via CWM or does it have to be pushed?
Click to expand...
Click to collapse
Push
Sent from my SGH-T959V using XDA Premium App
chris.... said:
I don't think KG4 likes the modded frameworks. I cooked up something in the uot kitchen and it soft bricked mine
Sent from my Galaxy Tab running CM7
Click to expand...
Click to collapse
UOT always bricks my phone, it never works for me.
airfluip1 said:
To those who want to test.
First. Push the systemui.apk to /system/app.
If that works
Push the framework-res.apk to /system/framework
If that is the problem, then I will recompile a new framework. There may have been an issue where I may have accidentally signed it.
If it isn't the problem, then I will redo the apps.
Click to expand...
Click to collapse
Tested like this, after pushing the apps to /system/app I did a reboot and had no problems, all the icons and everything had changed successfully. But then I pushed the framework-res.apk to /system/framework and then rebooted and now I'm back into a boot loop, so I am going to odin back again.
But my guess is there is just something wrong with the framework-res.apk
airfluip1 said:
UOT always bricks my phone, it never works for me.
Click to expand...
Click to collapse
It worked for me until KG4
Sent from my Galaxy Tab running CM7
chris.... said:
It worked for me until KG4
Sent from my Galaxy Tab running CM7
Click to expand...
Click to collapse
It works for me on KG4 I just upload the KG4 framework-res.apk from the CRT animation post to UOT Kitchen and then I don't get the softbricks.
I updated the OP. It should be all good now.

[Theme][EP4D] BioCharge v1 [Debloater][12/01/11]

After an all-nighter, a day, and another all-nighter, I'm proud to present BioCharge; a touch of Bionic for your Charge. This is my first attempt at theming, and an attempt to port the Driod Bionic's UI to the Droid Charge.
NOTE! This theme is anywhere but done, however I consider it full enough to release a copy of it. Very few apps are themed and most apps included are only included for the icon. This theme is still very poopified and will be worked on casually by me over time.
What you need:
dwitherall's flashable EP4D + extras
The latest version of CWM
Bravery and backups
What's included:
A fully themed TouchWiz30Launcher.apk
A handful of icons for stock apps
AOSP Mms.apk (if you want the stock Mms.apk, make a backup of it before flashing)
A debloater in the install script (in case you left the bloat already or are flashing this over a fresh install)
What's to come:
More themed apps
I'll take requests, speak your mind!
Download here!
Screenshots!
Looks very good! Keep up the good work.
Sent from my mobile office.
thank you!
The theme looks great and I look forward to the next release.
Can this be flashed on any ep4 debloated?
Sent from my mobile office.
thanks! I was waiting for this!
Sent from my SCH-I510 using XDA App
mkarps said:
Can this be flashed on any ep4 debloated?
Sent from my mobile office.
Click to expand...
Click to collapse
I'm not sure. If you're feeling brave, make a backup and try it. I'd probably say no, since they're two different versions.
The link seems to be dead.
I flashed this and ended up with an ics theme...?
Sent from my SCH-I510 using XDA App
yahsaves said:
The link seems to be dead.
Click to expand...
Click to collapse
Working from here.
jkat797 said:
I flashed this and ended up with an ics theme...?
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
Then you're doing something wrong...
I did a fresh install of EP4D and flashed this right afterwards, no problems...
Is system mounting a must before flashing???
Sent from my SCH-I510 using Tapatalk
anyone else get an FC with the camera app after flashing?
Porkshanker said:
anyone else get an FC with the camera app after flashing?
Click to expand...
Click to collapse
I just tryed to open my camera and it force closed.
To everyone getting FC's: do a fix permissions and see if that clears it up. The only part of Camera.apk I changed was the icon.
i just fixed permissions and im still getting FC's
could you possibly post a version that does not run the debloat script?
Thanks!
For the problem with the Camera app, you can go into the original zip file for the EP4D update and find the Camera.apk and Camerafirmware.apk and extract them to your SDCard, and then use root explorer to copy and paste both back into your system/app folder. Of course, you should use Titanium backup to uninstall both those files before you copy the new files over. I have both the files on hand, but I don't know if the rules of the forum restrict posting stock apks
Can't wait until this is done. Make Sam look like moto.
Kick ass theme!!!
Sent from my SCH-I510 using XDA App
Can you make this work with infinity rom please?
Sent from my SCH-I510 using XDA App

Themed rosie

Hey xda its not really finished im running a OTA update of 4.67 or something like that and i used apktool to decompile a rosie from the newest OTA update for supersonic and i used the newest updated framework files (framework-res.apk and com.htc.resources.apk)
I sucessfully did everything right but it forecloses on me.
I think its because of The OTA update im running.
So im wondering if some of you can give me feedback if the apk is fully functionable and/or five me advise and help me.
Heres the link:https://www.box.com/shared/26f86df99cf3e38ffdc2
Sent from my PC36100
Make sure the apk is compiled and signed properly first off, I had an issue similar to yours. Also make sure there are no clashing files such as the original Rosie and framework files. No missing files within the Rosie or framework is necessary. I hope you saved all original files in a safe place?
V3ndetta Is Rising.....
death-by-soap said:
Make sure the apk is compiled and signed properly first off, I had an issue similar to yours. Also make sure there are no clashing files such as the original Rosie and framework files. No missing files within the Rosie or framework is necessary. I hope you saved all original files in a safe place?
V3ndetta Is Rising.....
Click to expand...
Click to collapse
Yes ues i did and i might flash ota update rom with root and everything and try to see if it works or restart the whole thing again which was a pain in the ass to do
Going through every xml file to change it so it can run without replacing the stock rosie.apk and should i just go theme something else i might become a themer i like changing stuff up.
Sent from my PC36100
lreyes15 said:
Hey xda its not really finished im running a OTA update of 4.67 or something like that and i used apktool to decompile a rosie from the newest OTA update for supersonic and i used the newest updated framework files (framework-res.apk and com.htc.resources.apk)
I sucessfully did everything right but it forecloses on me.
I think its because of The OTA update im running.
So im wondering if some of you can give me feedback if the apk is fully functionable and/or five me advise and help me.
Heres the link:https://www.box.com/shared/26f86df99cf3e38ffdc2
Sent from my PC36100
Click to expand...
Click to collapse
is this a flashable? also, you cant just name the rosie.apk "awesomeness", just doesnt work that way, it must remain rosie.apkfor it to work properly.
PHE-NOM said:
is this a flashable? also, you cant just name the rosie.apk "awesomeness", just doesnt work that way, it must remain rosie.apkfor it to work properly.
Click to expand...
Click to collapse
I didn't just slap a name I went through the android manifest.XML and changed everything that needed to be changed
Sent from my PC36100 using xda premium
lreyes15 said:
I didn't just slap a name I went through the android manifest.XML and changed everything that needed to be changed
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
OK, just making sure
Sent from my EVO 4G using xda premium
PHE-NOM said:
OK, just making sure
Sent from my EVO 4G using xda premium
Click to expand...
Click to collapse
Yeah I went through every XML file in the Rosie apk because apktool said there was a problem is Rosie.apk/example/example.XML
And it took awhile because I didn't search for com.HTC.launcher.
Sent from my PC36100 using xda app-developers app

Rom with spell checker?

I just got this phone yesterday to discover that the stock rom (rooted) doesn't have the red line show up under a misspelled word. I had this on my evo 4g running cm9 or 10.
Does anyone know of a rom, or roms, that would have this feature.
Sent from my SCH-I535 using Tapatalk 2
Or would anyone know of a way to add this feature to the stock ics rom?
Thanks,
Sent from my SCH-I535 using Tapatalk 2
bluezr1 said:
Or would anyone know of a way to add this feature to the stock ics rom?
Thanks,
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
never really paid attention to this.
id think this might be a keyboard feature more than a rom feature, no?
ddurandSGS3 said:
never really paid attention to this.
id think this might be a keyboard feature more than a rom feature, no?
Click to expand...
Click to collapse
I installed LantinIME.apk from a rom I extracted for the evo. The keyboard worked but still no spell checker. Did you happen to notice if any of the roms you've flashed had this feature, preferably an ICS rom?
Sent from my SCH-I535 using Tapatalk 2
I also think this is a keyboard feature. Try installing one of the different keyboards from the play store.
I'm using swift 3, no red lines on touchwiz, however my galaxy player 5.0 running cm9 w/swift 3 has it (did not on touchwiz). I assume this is a rom feature.
Sent from my VZW GS3 running Synergy/Trinity/Dark Horse Rises
I have been trying to ilfigure this out for a while. I haven't been able to get it to work with any of the roms. Someone said CM10 might do it but haven't tried.
Edit:
This is a better start: http://forum.xda-developers.com/showthread.php?t=1832126 the changes could be diffed from the stock rom
OR
Some info behind it: http://forum.xda-developers.com/showthread.php?t=1641988&page=2
con247 said:
Edit:
This is a better start: http://forum.xda-developers.com/showthread.php?t=1832126 the changes could be diffed from the stock rom
OR
Some info behind it: http://forum.xda-developers.com/showthread.php?t=1641988&page=2
Click to expand...
Click to collapse
Would you happen to know if that would work with the stock rom (rooted) for Verizon?
I just got the phone and even though I've been doing a ton of reading, I'm still a noob when it comes to the s3. And the last thing I want to do is mess anything up. Atlest with the evo 4g I didn't have to worry about different carriers and what not.
Thanks,
Sent from my SCH-I535 using Tapatalk 2
The changes made should work. So basically if you compared the changes of this to their stock rom here: http://forum.xda-developers.com/showthread.php?t=1825272 and then applied the same changes to our stock rom, it would work. BUT their files as is will not work.
Basically, it would probably take about 15 minutes for someone to do if they knew what they were doing. I however don't have 15 minutes to spend on this so I can't help right now lol.
con247 said:
The changes made should work. So basically if you compared the changes of this to their stock rom here: http://forum.xda-developers.com/showthread.php?t=1825272 and then applied the same changes to our stock rom, it would work. BUT their files as is will not work.
Basically, it would probably take about 15 minutes for someone to do if they knew what they were doing. I however don't have 15 minutes to spend on this so I can't help right now lol.
Click to expand...
Click to collapse
That's ok, as long as I know that it'll work. When I get to my PC I'll look it over and hopefully not break anything. Lol
Thanks bud,
Sent from my SCH-I535 using Tapatalk 2
so what I would do is download their stock deodex and extract the files that are included in the mod.
Then, decompile the .jars and apks that were modded and the stock version
Run winmerge on them to see exactly what they changed
Then make those exact changes to our stock deodex rom. So you will need to decompile 3 sets of files and recompile 1 set.
con247 said:
so what I would do is download their stock deodex and extract the files that are included in the mod.
Then, decompile the .jars and apks that were modded and the stock version
Run winmerge on them to see exactly what they changed
Then make those exact changes to our stock deodex rom. So you will need to decompile 3 sets of files and recompile 1 set.
Click to expand...
Click to collapse
Any luck on getting this to work?
bishop0114 said:
Any luck on getting this to work?
Click to expand...
Click to collapse
Not here, it's a little beyond my knowledge. I did learn some, just not enough to get it working.
Sent from my SCH-I535 using Tapatalk 2
I would love to get this working on my phone!!!
Unlocked just to piss off Verizon!
I know that it's possible, because maanz got it working on his rom.
http://forum.xda-developers.com/showthread.php?t=1854608
Sent from my SCH-I535 using Tapatalk 2
con247 said:
so what I would do is download their stock deodex and extract the files that are included in the mod.
Then, decompile the .jars and apks that were modded and the stock version
Run winmerge on them to see exactly what they changed
Then make those exact changes to our stock deodex rom. So you will need to decompile 3 sets of files and recompile 1 set.
Click to expand...
Click to collapse
I got apktool installed and decompiled framework.jar where it creates a folder called smali. The problem is, I can't view any of the contents from within it. If I go to properties it states contents "nothing" yet shows free space as being 66.7 GB. So I know that there's something in there, I'm just not allowed to view the contents. I read somewhere that you need a text editor?
I did all this on a Linux machine (Mint 13.) I'm gonna try it on a windows PC next just to see what happens.
Edit: I found out that by changing .jar to .apk and then decompiling it allowed me to view the contents. Now I'm sitting at trying to open the TextView.smali. lol
Edit 2: for some reason it's not working for the JellyWiz rom. It's still not showing the contents from within the samli folder.
Sent from my SCH-I535 using Tapatalk 2
To the original poster I know this is off topic but what method of root did you use.
Thanks
Sent from my SCH-I535 using xda app-developers app
dfoote626 said:
To the original poster I know this is off topic but what method of root did you use.
Thanks
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Ez root I believe its called.
Sent from my SCH-I535 using Tapatalk 2
bluezr1 said:
Ez root I believe its called.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Thanks, I will look it up on YouTube....
Sent from my SCH-I535 using xda app-developers app

Categories

Resources