yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] ausch30:
Everyone has to appoint themselves the forum police, the OP asked a simple question and people need to be a bunch of a$$e$.

To answer the question, I still love having root and don't quite understand why anyone wouldn't want to freedom that comes with it. I also don't understand those that say they are waiting and might do it later. That being said, I haven't flashed a rom yet, I haven't felt a need to. There are a few apps that I like to use that require root and I like to get rid of the bloat, that's why I'm rooted. When I first got my OG EVO I went crazy flashing stuff and after 6-8 months I pretty much stuck to Fresh and CM7. As of now I don't really see any compelling reason to flash any roms, maybe in the future sometime, maybe when CM7 is released, I don't know. I still like being rooted though because I have the option to do whatever I want, whenever I want.
[LG Optimus Black] copenhagen tribe:
Hi

I can't get my Google Sky Map to work. When I'm starting it... the sky map jumps around, up and down, left and right, all the time.... on the screen, it fell's like im shaking my hand.

My Google map works fine, if that gives any clues.

Anyone got an idea about, what to do ??

Best regards

Michael

Copenhagen
[LG Optimus Black] copenhagen tribe:
No one having this problem with Google Sky Map on their LG Optimus P970 Black ??

Best regards

Michael

Copenhagen
[LG Optimus Black] arifirgi:
Unfortunately I have the same issue. :(

I tried different setting and all but still the same.
[General Questions and Answers] UnixRo:
Hello,

i have a problem with my Sony Ericsson Xperia X10 mini, I flash the rom and I got no error but after I did reboot I see the SE image and is remain like this for 30sec and after this the phone is rebooting again and take over again and again and again.

can someone help me please!!!

http://www.youtube.com/watch?v=8hiT7syquJk
[G2 and Desire Z General] kymlalu:
Hi,

I have a problem with a standard browser. Every time I switch from a browser somewhere else (eg SMS app), so every time loaded opened page is loaded again. Which is a problem if secure (internet banking) site. Is this problem solvable?
[G2 and Desire Z General] redpoint73:
Its the lack of memory. Sense 3.0 uses most of the memory, leaving very little for program usage. So every time you go from browser to another app, the browser gets dumped from memory, and needs to restart the next time you go back to the browser. There may be some ways to get back some memory, but I'm not sure you'll get back enough. One thing you might try is to use a more lightweight launcher besides the stock Sense one, such as Launcher Pro, Go Launcher, or ADW. But you will lose your Sense widgets. Otherwise, if its really an issue, you may need to use a ROM that is not Sense 3.0 based.
[G2 and Desire Z General] kymlalu:
Hi,

Thanks for reply. I use LauncherPRO since my first android phone. And in sense proces manager displayed about 22M ram. Unity is great ROM, but i think is better without sense garbage. And yes, i known RMK's politics about his ROM relases.

And here two things what is keep Sense ROM in my phone - camera and lovely Sense 3 lockscreen. Maybe i will try Vision, but i loss Sense 3 camera :/.

Anyway it's look like there no solution for low mem :(.

( sorry for my english )
[G2 and Desire Z General] pearse:
Try flashing this script: http://xdaforums.com/showthread.php?t=1111145 (wipe cache and dalvik prior).

I use it for this exact reason, it keeps the browser in memory so when you switch to another app and back its right there and doesn't have to reload the page again. Let me know if it helps, i found for most roms there is a noticeable speed improvement as well.
[G2 and Desire Z General] kymlalu:
I think about this script. I will try it on future.

Now i flashed Virtuous 2.0 and flashed Sense 3.0 lockscreen and camera. Everything seems work for me now.. And about 160M RAM free...

Anyway, ill do it some test with this "hybrid".
[G2 and Desire Z General] cjward23:
Where did you find a camera apk that works with virtuous 2.0

Do Androids dream of electric sheep?
[G2 and Desire Z General] kymlalu:
You is my inspiration to try flash some Sense 3.0 things into Sense 2.0 ROM.

I followed yours signature URL http://xdaforums.com/showpost.php?p=15751184&postcount=165 and use Camera apk from followed link http://xdaforums.com/showthread.php?t=1062962.

Video recording works only with 14mbps max ( read it in another post, for higher rate is needed another kernel maybe? )
[G2 and Desire Z General] cjward23:
Ha, I have that post bookmarked and I have never bothered to read through it properly. :p cheers :)

Do Androids dream of electric sheep?
[G2 and Desire Z General] kymlalu:
Morning,

after few hours running, few app used later it is same situation here. About 86M RAM free and tab in browser reloading.

Now i try Juwe11's script with Uninon. And after ill try it with Vision Sense 2.0 because it's faster :D and everything what i liked on Sense 3, have it.

EDIT: On Vision Sense 2 with some Sense 3 stuff, have about 80M RAM free and so far no tab reloading.
[G2 and Desire Z General] pearse:
Is that no tab-reloading with or without the script?
[G2 and Desire Z General] kymlalu:
With script. But only on Vision 2. On Unity have reloading tab almost imediantely after reset / power on. But RMK have some his improvements, so i commented his values.
[G1 Accessories] axlastro:
My back cover cracked near the camera key a while ago, so I decided to order a replacement from E-bay. I Ordered from e-cell and it was crap. It lasted about a month, then peeled off and cracked at the same place as the original but 10 times faster.

I'm now looking for an original cover to replace the old one but I can't seem to find one at a reasonable price. Any Ideas?
[G1 Accessories] Maxamillion:
http://www.amazon.com/HTC-T-MOBILE-GOOGLE-BATTERY-DOOR/dp/B001NRVFXU

this one looks legit and is veery cheap..
[G1 Accessories] axlastro:
Thanks!

The "Very cheap" part bothers me though...
[G1 Accessories] Maxamillion:
yea true, but its only 5 bucks but idk.. up to u man
[Galaxy S II Android Development] brightidea:
Update 14th Aug 2011: JesusFreke has released a new version of baksmali (v1.2.7) which seems to have fixed the bug above

You may download it from here http://blog.jesusfreke.com/2011/08/smalibaksmali-127.html - Thank you JesusFreke for a great tool and support

Please feel free to report any bugs or issues with this tool here or on his blog.

-------------

Good news to all modders out there - I finally found the bug for real this time - unfortunately, it's in baksmali.jar" .. The fault occurs when it attempts to build deodex framework.jarodex from into smali files

specifically this file "android/view/SurfaceView.smali"

I believe baksmali (v1.2.6) just fails to realize that the class variable it wants to access belongs to the super (parent) class .. instead it simply accesses the local class variable.

But I have a work-around fix to the bug (guranteed to work as long as the order of class fields mLeft and mTop are the same in android/view/SurfaceView.smali as android/webkit/WebViewCore$ShowRectData.smali)

The solution:

1. replace

.method private super_mLeft()I
.registers 2

.prologue
.line 911
iget v0, p0, Landroid/view/SurfaceView;->mLeft:I

return v0
.end method

with

.method private super_mLeft()I
.registers 2

.prologue
.line 911
iget v0, p0, [strike]Landroid/webkit/WebView;[/strike][COLOR="Red"]Landroid/view/View;[/COLOR]->mLeft:I

return v0
.end method

2. and this

.method private super_mTop()I
.registers 2

.prologue
.line 914
iget v0, p0, Landroid/view/SurfaceView;->mTop:I

return v0
.end method

with

.method private super_mTop()I
.registers 2

.prologue
.line 914
iget v0, p0, [strike]Landroid/webkit/WebView;[/strike][COLOR="Red"]Landroid/view/View;[/COLOR]->mTop:I

return v0
.end method

3. and

iget-object v0, v0, Landroid/view/SurfaceView;->mLocation:[I

move-object v5, v0

const/4 v6, 0x0

move-object/from16 v0, p0

iget v0, v0, Landroid/view/SurfaceView;->mLeft:I

move v7, v0

add-int v7, v7, p4

aput v7, v5, v6

with

iget-object v0, v0, Landroid/view/SurfaceView;->mLocation:[I

move-object v5, v0

const/4 v6, 0x0

move-object/from16 v0, p0

iget v0, v0, [strike]Landroid/webkit/WebView;[/strike][COLOR="Red"]Landroid/view/View;[/COLOR]->mLeft:I

move v7, v0

add-int v7, v7, p4

aput v7, v5, v6

4. and last peice

iget-object v0, v0, Landroid/view/SurfaceView;->mLocation:[I

move-object v5, v0

const/4 v6, 0x1

move-object/from16 v0, p0

iget v0, v0, Landroid/view/SurfaceView;->mTop:I

move v7, v0

add-int v7, v7, p5

aput v7, v5, v6

.line 439

with

iget-object v0, v0, Landroid/view/SurfaceView;->mLocation:[I

move-object v5, v0

const/4 v6, 0x1

move-object/from16 v0, p0

iget v0, v0, [strike]Landroid/webkit/WebView;[/strike][COLOR="Red"]Landroid/view/View;[/COLOR]->mTop:I

move v7, v0

add-int v7, v7, p5

aput v7, v5, v6

.line 439

*NOTE* please keep my nickname in references for this solution.

Happy Modding,

- Brightidea
[Galaxy S II Android Development] ringrover:
Thanks

But how we change the code
[Galaxy S II Android Development] mostyle:
Assuming you have a deodex'd rom, baksmali browser.apk make the listed change and re-smali the code.

If you asking how to bakssmali etc, thats more drawn out..
[Galaxy S II Android Development] BMWpokerAce:
I cant wait to try this, later this evening :)

I m just wondering how, just this one line can fix the laggy browser?

But anyway if this realy works, i m happy.

Thank you for sharing your work.
[Galaxy S II Android Development] criskelo:
I think these misguided

the problem is in the framework.jar

example:

if you use a rom with the folder system / framework ODEX

and system / app deodex

The browser deodex not lose acceleration

but if you, deodex framework.jar, lose acceleration
[Galaxy S II Android Development] BMWpokerAce:
So if i understand u right, this mod makes no sense with deodexed ROM?
[Galaxy S II Android Development] mostyle:
He's saying that the fix wont work. It isn't an issue in the smali code of the Browser but rather an issue in the deodexed framework.

Also, the OP edited the original post:
[Galaxy S II Android Development] GanGs_KiD:
OMG :eek: :eek: :eek: :eek:

You are the MAN :D

It works ....works .....works

Thank you :rolleyes:

Edit: it worked for 5 min's and now keep FC :(
[Galaxy S II Android Development] brightidea:
You're partly right - I found problems in the deodexed Browser that I am going to share after I fix the bugs in framework.

I am currently digging it up - hope to find the glitch soon.
[Galaxy S II Android Development] brightidea:
Sorry to disappoint - but I am still working on the fix.

- Brightidea.
[Galaxy S II Android Development] criskelo:
Do not know if it was understood

I say look in framework.jar

The problem is framework.jar
[Galaxy S II Android Development] brightidea:
I found the bug for real this time - unfortunately, it's in smali.jar .. :(

and you were right. The fault occurs when it attempts to build framework.jar from smali files

specifically this file "android/view/SurfaceView.smali"

But I have a work-around (guranteed to work as long as the order of class fields mLeft and mTop are the same in android/view/SurfaceView.smali as android/webkit/WebViewCore$ShowRectData.smali)

Go to the first post in the thread to get the solution.

- Brightidea
[Galaxy S II Android Development] intronauta:
HAHA you did it!!

Works like a charm!

Maybe would be interesting to report this issue to jesusfreeke ;)

very good job.

why isn't thist threat in "Original Android development" subforum????
[Galaxy S II Android Development] un9a7y:
Wow ..

U R the man ;D
[Galaxy S II Android Development] criskelo:
Well actually works
[Galaxy S II Android Development] Azdian:
Perfect!

great job brightidea!
[Galaxy S II Android Development] kalpik:
Wohoo! You're the man! Waiting for this to be incorporated in all the ROMs :)
[Galaxy S II Android Development] Hacre:
Well done.
[Galaxy S II Android Development] antiochasylum:
Hacre being nice...whoa. epic post. :-P

Epic fix as well!

Sent from my 119.2 linpack SGS2
[Galaxy S II Android Development] madmack:
brightidea.. you're a genius ! thank you sir
[Galaxy S II Android Development] mostyle:
<sarcasm>

Because the author isn't in the gold ole boys club. :rolleyes:

</sarcasm>
[Galaxy S II Android Development] kalpik:
Erm.. The OP *posted* it here.. This wasn't moved here..
[Galaxy S II Android Development] kalpik:
brightidea: Would you mind posting the fixed deodexed browser for XXKG6? :)
[Galaxy S II Android Development] saifbechan:
Congratulations, great work and great post. I hope this will roll out soon in the roms.
[Galaxy S II Android Development] sebarkh:
We have a genius here. Yesterday got myself a brand new sgs2 and what a news for a good start..

.

Sent no matter where from

Concentrate on the topic...
[Galaxy S II Android Development] TheSaw:
Thanks, nice job. I want to get back to stock :(
[Galaxy S II Android Development] mostyle:
Hence the sarcasm references.. I assumed posted here.. Just being grumpy.. Sorry :)
[Galaxy S II Android Development] kahvitahra:
Awesome brightidea!

Good find :)
[Galaxy S II Android Development] brightidea:
Thank you guys for the compliments; I am glad that you found my work useful.

Actually, I had to spend a lot of time and effort in order to reach this solution and now my eyes burn like hell and my wife won't talk to me anymore :o

Anyway, smali.jar needs to be fixed - I am going to attempt to create my own version which addresses this issue; just wish me good luck

- Brightidea.
[Galaxy S II Android Development] BMWpokerAce:
So if i understand your How To right, al i have to do is:

change the 4 steps from 1. Post in:

framework.jar/android/view/SurfaceView.smali ???

But what about the WebViewCore$ShowRectData.smali you r talking about?

Need any changes here?
[Galaxy S II Android Development] mccune:
Great! Now let's slam that "" button ;)
[Galaxy S II Android Development] brightidea:
No change in WebViewCore$ShowRectData.smali - I am just being extra verbose and cautious with the provided solution
[Galaxy S II Android Development] mostyle:
Thanks!

I just finished deodex'ing Exynos 4.2 and applying this patch.

Works perfectly!
[Galaxy S II Android Development] mariotme:
brightidea your a geneous man!

first you sorted out the RTL in stock ROM's and now this.

We are so lucky to have such a genius in our community.

Seriously your the man!

keep up the hard work,
[Galaxy S II Android Development] BMWpokerAce:
Exactly my Words!!!!!

I just modified the lines and flashed the framework.jar back.

And here we go, an absolutely laggy free Browser.

Thanks m8!
[Galaxy S II Android Development] $omator:
i second the idea to fix baksmali/smali

jesus talked in his issue tracker about it

maybe you can share ideas to speedup process?
[Galaxy S II Android Development] brightidea:
I can see that someone had already reported my progress to him here http://code.google.com/p/smali/issues/detail?id=75 :)

- Brightidea.
[Galaxy S II Android Development] $omator:
lets cross fingers for a bugfix then =)

thank You!
[Galaxy S II Android Development] DjLegolas:
good work brightidea :)

just to make sure, there is only one line in each line set that needed to be replaced, right?

changing the string:

Landroid/view/SurfaceView

with:

Landroid/webkit/WebView

am i right?
[Galaxy S II Android Development] brightidea:
That's correct.
[Galaxy S II Android Development] DjLegolas:
great tnx :)

just replaced it and still got the RTL fix :D

browser with no lag, just like it should be :cool:
[Galaxy S II Android Development] sicopat:
Thank you so much brightidea. I confirm it is working perfectly :D
[Galaxy S II Android Development] DSA:
Works perfectly, thanks sooo much for this mod
[Galaxy S II Android Development] sotipay:
worked for me too, thanks a lot brightidea!
[Galaxy S II Android Development] sicopat:
Hey brightidea, I canno't donate to you as paypal said me your account wasn't configured for donation :(
[Galaxy S II Android Development] hEEGy:
Hey, can someone tell me how to do this code modification ?

I downloaded all these files : http://code.google.com/p/smali/downloads/list

Then, I used "./baksmali framework.jar", edited "out/android/view/SurfaceView.smali" but I dont know how to re-create the framework.jar file from the "out/" folder.

Thanks ;)
[Galaxy S II Android Development] brightidea:
That is so kind of you; Actually nobody has ever tried to send me money via paypal. I don't really know what is required to activate that though I think that I had previously accepted a prompt which should've activated receiving money feature. Maybe because I am in Saudi? I dunno but I'll PM u if I have it sorted out

Thank you,

Brightidea
[Galaxy S II Android Development] saifbechan:
For now, if you not have done so already, just register an account at paypal. Be sure to use the same email adress ad you used to put in the xda prompt you were talking about. When you have registered an account you can start recieving immediately.

When it's all set up you can start recieving donations, then you can take your time to see how you can use the money online, or transfer it to a bank account.
[Galaxy S II Android Development] Wilko2010:
This is good news:)

Thanks for your time investigating at this.

Greetings from germany
[Galaxy S II Android Development] onurboj:
I don't know how to do this . I would be happy if someone post a zip for CWM :)
[Galaxy S II Android Development] A$h x:
+1. I don't want to tinker with files that may screw up my ROM. If someone can post a CWM-flashable zip or .tar file or even a .apk then I will be very grateful.
[Galaxy S II Android Development] euphoria47:
I too would appreciate this, as I don't know how to apply the mod properly, thanks to brightidea for discovering this! Maybe you could put an apk in the market with a donate version? I'd give you a few dollars for the work, and I am sure countless others would too....
[Galaxy S II Android Development] sicopat:
You can use my KG5 ROM, SicOpaT's ROM v3.1 with the brightidea browser fix.

But you need to know that the fix is not located in browser.apk but in framework.jar.
[Galaxy S II Android Development] norpan111:
Just wait for it to be implemented in your favourite rom. No need to break stuff
[Galaxy S II Android Development] brightidea:
Actually applying the patch is a bit "advaned" topic and I couldn't do that without having the same system files that you have in your system as there is a good risk of trouble in case of any mistakes (version differences in system files, their state odexed or deodexed, wrong packaging, wrong signatures, etc..).

I am pretty certain that custom ROM developers will be releasing the required CWM flashable update packages to go with their released products. I think it is wiser for normal users to go with a fully packaged proven-to-work finished product.

If you still feel that you need to do that youself then read carefully a few threads about manually deodexing, modding and redexing system/framework - this is just off-topic here

Sorry and hope you understand,

- Brightidea
[Galaxy S II Android Development] BrunoRafa:
Yep it's true , i grab the browser .apk from a costum rom that use your fix and push it to /system/app on cognition and end up with a lag browser . So it depends on the system
[Galaxy S II Android Development] brightidea:
Maybe you were misinformed - my patch is applied against classes.dex inside system/framework.jar

- Brightidea
[Galaxy S II Android Development] Hacre:
Understand completely. I do wish people would stop treating the development forums as tech support, they're for development. You've done something great and let other developers know who can now put it into their ROMs. If people are going to reply asking for you to provide flashable zips and ****, they shouldn't be posting in the development section and should wait for ROMs to release with your fix applied.

Again, well done, this was a damn good catch.
[Galaxy S II Android Development] JesusFreke:
PLEASE. Don't create you're own version. I happily accept patches ;) In fact, if you want to chat with me about the issue, I would be happy to code up the fix in smali (unless you want to, which is certainly your prerogative, since you figured this one out). Feel free to email me or catch me in #smali on freenode :)
[Galaxy S II Android Development] brightidea:
Alright then it's a race who finds the glitch first. :)

I noticed your call on my talk client which you made when I was asleep; you know in the middle east it was alittle early to be awake at that time.

Sure we could talk let's setup a time that's good for us both then? The time difference between Dallas and Riyadh is 9 hours; I assume you must be asleep now, so i'll open up freenode after 10 hours

- Brightidea
[Galaxy S II Android Development] Hacre:
Highly recommend you work with JesusFreke.
[Galaxy S II Android Development] DSA:
Hi, i used your original fix:

Landroid/webkit/WebView

and it made the browser work perfectly, but i now see you have changed that to:

Landroid/view/View;

But you havent posted anything stating why you have changed it...What does that mean for the original fix? Is it not actually fixed? Should i not use it?

Sorry for multiple questions, just trying to understand the fix rather than just use it...
[Galaxy S II Android Development] $omator:
there is some information added regarding, shush and let him work =)
[Galaxy S II Android Development] brightidea:
It doesn't make much of difference :)

The original fix was a "work-around" but now that I have understood the mechanics behind the fault I came up with a definiteive bug-fix

- Brightidea
[Galaxy S II Android Development] DSA:
errr...whatever :rolleyes:

Thanks very much for the reply
[Galaxy S II Android Development] brightidea:
Even better news: Me and JesusFreke had alittle chat today and he told me that he is planning to release his new (fixed) version of smali/baksmali in the next weekend.

So stay tuned guys.

- Brightidea
[Galaxy S II Android Development] Tricky103:
Thank you for your findings. Great work here. I will be trying this out.
[Galaxy S II Android Development] mostyle:
Amazing. Awesome work you did here.

Should be very proud friend. You just helped improve a tool that countless people will use.
[Galaxy S II Android Development] JesusFreke:
I have some fixes for baksmali that I'm relatively sure will fix the problem. However, I want to make sure that it doesn't introduce any *new* problems, but I don't have a device to test this on :)

Would someone mind giving the new version of baksmali a go on this rom. When you do, please do a full de-odex of everything, not just framework.jar. Please flash and boot into the de-odexed rom, and do a quick smoke test of basic functionality, as a quick test to make sure that nothing else broke :)

You can download the new (beta) version at http://smali.googlecode.com/files/baksmali-1.2.7-dev-jar-with-dependencies.jar
[Galaxy S II Android Development] brightidea:
On behalf of the android development community I thank you for the fixes.

This version has really fixed the bug in the class android.view.SurfaceView

but the problems in com.android.internal.telephony.gsm.stk.CommandParamsFactory are still there (it's not able to determine the type of certain object references so it's just replacing the calls with "throw"'s which causes the GSM debugging screen to fail at certain commands)

I came up with fixes to these throw operations but there are many of them (attached).

Wierd thing is baksmali replaced some instructions with throws only in deodexing two files services.jar and framework.jar

- Brightidea
[Galaxy S II Android Development] JesusFreke:
FYI: I've released a new official version of smali/baksmali with this fix (v1.2.7)

http://blog.jesusfreke.com/2011/08/smalibaksmali-127.html

Big Kudos to brightidea for figuring out the problem :)
[Galaxy S II Android Development] brightidea:
Thank you very much for the tool and the support.

You make so many people happy.

- Brightidea
[Galaxy S II Android Development] GanGs_KiD:
Thnak you

:D now i am happy :rolleyes: