yashsingh1/xdaforums huggingface dataset:
[LG Optimus Black] Huexxx:
Your post maybe is not useful itself, but I'm pretty sure that is 100% related to my problem... Stock browser, in its first launch, connects to the stored goocle account... and google is the home page...

I'll look into that...

Maybe it would be the opposite... to submit my logcats... I'll try to obtain two fresh logcats... one without problems, and one with the problem, both in the same situation (fresh start, pin, open gmail and open browser), to compare them and to share it with you...

As I said before, I've fixed the keyboard despite the FC, editing its smali code... It's 100% working P970 version, that maybe is identical to P990 one... but I allways prefer to use the included stuff. Other options doesn't satisfy me to replace it... that's the reason why I spend time in fix it. But the problem is... if my deodexig procedure is breaking the LGIME... maybe is breakin too some parts of the main frameworks... That's the interesting question...

I noted also a problem related to Forced GPU rendering... I saw some errors on logcat related to EGL with the option enabled trying to run gmail and broser... and I disabled it and did the trick... but it failed again without it...

DownloadManager... disable and re-enable? Can you point me to the issue with a link?

Maybe I can ignore the gmail issue by now, create a sample an send it to you Gab... let see.

Regars and thanks to everybody!
[LG Optimus Black] gabwerkz:
No I was implying that the KB around here that was deodexed might have came from P990. :p

Here: There were two logs taken as far as half I read.

https://productforums.google.com/forum/m/?fromgroups#!topic/gmail/jb9zyCni3pc

One was:

Exception class name: java.lang.IllegalStateExeption

Source file: Gmail.java

Source class: com.google.android.gm.provider.Gmail$LabelMap
[LG Optimus Black] TejanGoel:
Hi hue!! I m a huge fan and regular user of your rom v7.. but I come here to ask u something - can u make flashable zip file for Zeus rom to restore LG home and original icons?? I believe its fairly easy task... cause once my laptop is back I will develop a from solely based on gb (v20 series).. and restore LG home and maybe delete bloatware.. and if u do this it will save me from getting my hands dirty!!!! .. plz reply
[LG Optimus Black] Huexxx:
Then I need to know if tantrum's deodexed keyboard is P990's one or if it's a self-deodexed app...

The main concerning for me is a framework problem, and I want to know if I should re-deodex all with a different smali/barcksmali version.

Looking into the problems that people have with gmail... maybe my problem is related to my account... and then I have been wasting a lot of time...

Tantrums... can you give aa a bit of light in the matter?
[LG Optimus Black] dflt:
Naive proposition: clear all caches in CWM.
[LG Optimus Black] 1adamek:
1. Remove the memory card

2. Reboot

3. Try to launch gmail
[LG Optimus Black] Huexxx:
First attempt ok, second one fail... Good attempt.

Enviado desde mi LG-P970 usando Tapatalk 2
[LG Optimus Black] Ilko:
following isn't checked when it fails :

D/ConnectivityService(1552): getMobileDataEnabled returning true

here some errors. these are diffs between attempts 3 & 4 before the bug occurs :

W/ActivityManager(1565): Unable to start service Intent { act=com.android.ussd.IExtendedNetworkService }: not found
I/ActivityManager(1565): Process com.android.vending (pid 1991) has died.
I/ActivityManager(1565): Process com.lge.defaultaccount (pid 2253) has died.
W/ActivityManager(1565): Unable to start service Intent { act=com.google.android.gms.analytics.service.START (has extras) }: not found
I/dalvikvm(2968): Could not find method com.google.android.gm.provider.MailEngine$MailStoreOpenHelper.setWriteAheadLoggingEnabled, referenced from method com.google.android.gm.provider.MailEngine$MailStoreOpenHelper.<init>
W/dalvikvm(2968): VFY: unable to resolve virtual method 9226: Lcom/google/android/gm/provider/MailEngine$MailStoreOpenHelper;.setWriteAheadLoggingEnabled (Z)V
D/dalvikvm(2968): VFY: replacing opcode 0x6e at 0x0017
I/dalvikvm(2968): Could not find method android.app.Notification$Builder.setSubText, referenced from method com.google.android.gm.Utils.configureLatestEventInfoFromConversation
W/dalvikvm(2968): VFY: unable to resolve virtual method 222: Landroid/app/Notification$Builder;.setSubText (Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
D/dalvikvm(2968): VFY: replacing opcode 0x6e at 0x0090
W/dalvikvm(2968): VFY: unable to resolve virtual method 222: Landroid/app/Notification$Builder;.setSubText (Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
D/dalvikvm(2968): VFY: replacing opcode 0x6e at 0x0244
D/dalvikvm(2968): DexOpt: unable to opt direct call 0x00e1 at 0x97 in Lcom/google/android/gm/Utils;.configureLatestEventInfoFromConversation
D/dalvikvm(2968): DexOpt: unable to opt direct call 0x00cf at 0x259 in Lcom/google/android/gm/Utils;.configureLatestEventInfoFromConversation
F/libc (2968): Fatal signal 11 (SIGSEGV) at 0x00000001 (code=1)

honneslty, I don't know if these errors could make such a bug, but what I understand here, is that it's related to memory or JM. I suspect that you're using a wrong gmail version. Did you updated the apk from a gapps package ? if yes, ensure the gapps package you used is compatible with ICS. gapps package designed for GB and JB are not compatible and will do various errors like closes, bugs etc....

one time, I was unable to set brithgness. Maybe it has absolutely nothing to do with the bug you encounter, nor related, but if it helps....
[LG Optimus Black] gabwerkz:
Besides libwebcore.so

01-04 18:16:32.210 F/libc (2968): Fatal signal 11 (SIGSEGV) at 0x00000001 (code=1)
01-04 18:16:32.218 V/webview (2968): setCertificate=null
01-04 18:16:32.617 I/DEBUG (1396): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-04 18:16:32.617 I/DEBUG (1396): Build fingerprint: 'lge/blackg_open_eu/blackg:4.0.4/IMM76L/P97030b-EUR-XX.4832D2C3:user/release-keys'
01-04 18:16:32.617 I/DEBUG (1396): pid: 2968, tid: 3002 >>> com.google.android.gm <<<
01-04 18:16:32.617 I/DEBUG (1396): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000001

SIGSEGV

The SIGSEGV signal is sent to a process when it makes an invalid virtual memory reference, or segmentation fault.

Might help:

http://en.wikipedia.org/wiki/Segmentation_fault

With OK attempts, they didn't have libc SIGSEGV on them.
[LG Optimus Black] 1adamek:
I think you have deleted to much files from new rom. Something is missing...

Try this to confirm that everything is on right place.

1. Download gapps

http://goo.im/gapps/gapps-ics-20120429-signed.zip

2. Reboot into recorvery

3. Install gapps

4. Reboot

5. Try to launch gmail

Now you will know where is problem. If will be everything ok. This means you have deleted some stability files which requires gmail. If still not, so this is rom configuration problem.
[LG Optimus Black] Huexxx:
Sorry but I've tried this some time ago... same problems.
[LG Optimus Black] DaemonOnx:
Huexxx did you tried to put the original gmail app + odex file and then try if it will crash?
[LG Optimus Black] Huexxx:
Once the framework folder is deodexed, all the files must be deodexed...
[LG Optimus Black] agritux:
so maybe your (kitchenI) deodex method is not for ob. i was tried it with 20d turkish rom, it fails too. it deodex everything but somthing goes wrong. notification bar not droping, mobile data not switching 2g etc.

maybe you should try something different from kitchen.

only saying.

i am not developer you know.
[LG Optimus Black] Huexxx:
Well, my rom seems to be well deodexed.

My random problem is in the boot.img for sure.

I've tried NOOBY's kernel six times and no problems neither with gmail nor with browser.

I'll look into it and comment.
[LG Optimus Black] N00BY0815:
So with my kernel you dont face any problems at all? Cause i am still facing sods and random reboots...
[LG Optimus Black] rrgrrg:
hey heuxxx you can try me nemesis #1 boot.img ,, its still based on N00BY'S kernel along with mods ,the leds are fully working and i have never had a reboot or sod ;)
[LG Optimus Black] Huexxx:
With your boot.img (kernel + RD) I haven't problems with gmail and stock browser, that are my main concerns right now... I haven't tested it enough to see if there are SODs or random reboots.

Thanks for the offering, but my intention is to find the problem and solve it in my own kernel.

Right now i'm testing my RamDisk with nooby's zImage to see if the problem comes from kernel itself or from RamDisk.

Thanks.
[LG Optimus Black] Huexxx:
F u c k ...

With my ramdisk and your zImage gmail has failed on third attempt...

There are few changes on my ramdisk...

Stay tuned.
[LG Optimus Black] N00BY0815:
What toolchain did you use? I used the 2010 one.
[LG Optimus Black] rrgrrg:
thats good new more than bad ,, you now know where the bug comes from :good:
[LG Optimus Black] Huexxx:
it has just failed with nooby boot.img ... Right now I'm really desperated.

Enviado desde mi LG-P970 usando Tapatalk 2
[LG Optimus Black] Edvin73:
Have you contacted Tantrums?Two heads know more than one.;)

Or at least, look if it's true that in his rom Gmail and browser are not failing.
[LG Optimus Black] gabwerkz:
Hey bro, any news?

check this also https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/jQg6DM6-D6o

His SIGSEGV prob concerns libc.

What about your build.prop, any changes on dalvik.vm?

Try also replacing "libwebcore.so" (a fresh one) from your extracted files. Can it be checked libwebcore.so's md5sum via shell (currently installed) and from your extracted files if they are the same?
[LG Optimus Black] crystallogenesis:
Hope that huexxx find solution for gmail problem. Is it possible that huexxx drop support?

Sent from future...
[LG Optimus Black] Huexxx:
After check that the problem isn't related to boot.img (getting the same error with nooby's kernel), I've installed the odexed version over my phone with my actual boot.img without problems... Yesterday I rebooted the device at least 20 times, and allways gmail and browser worked fine.

I've re-deodexed the ROM with an older smali version and I'm working on it. I hope I have a safe base to re-start my work.

Be calm dude, I'll stay here...
[LG Optimus Black] gabwerkz:
That's good. Perhaps redeodex it without modding .apk's and .jars first to see if deodexing is the problem. I mean without adding features and options like reboot to recovery etc.

If it was good you can do it incremental modding of apk/jar. Or copying over what you already modded little by little.
[LG Optimus Black] Huexxx:
That's the way... For now deodexed seems to work fine... fingers crossed...

The amazing of this history is that once the problem arrised, I tried to flash an deodexed older version without mods and keep failing...

... so the problem MUST be on dedexing procedure...

Newer smali version checks dependencies by itself, simplifying a lot the deodexing procedure... but I don't know if this new feature can create problems...

I'll comment.
[LG Optimus Black] gabwerkz:
I'm still on 1.3.4 versions of smalis, via dsixda under Linux, I just update the api level. Even deodexed the Nexus 4 dump before to get the apps without problem. My standalone for editing smali files is at Windows however.

Good luck and I hope this time it would be successful.
[LG Optimus Black] 1adamek:
Huexxx are going foward with rom ?
[LG Optimus Black] ogremount:
Hopefully he is. Whenever he is happy with the result we will have a go too.
[LG Optimus Black] Huexxx:
Well, the problem seems to be fixed... fingers crossed...

Is not related to smali 1.4.1, is not related to my kernel, in not related to my ramdisk... is related to my stupidity...

I cannot understand why the problem is generated, but I know where is the source of the problem.

In LG ICS, there are two framework.jar files... framework.jar and framework2.jar.

Every .jar has a limit to the number of classes, so when the max number is reached, a new framework file is created to include more classes.

To make the new reboot submenu on power menu, I needed to add two new classes, but it was impossible becuase framework.jar is full.

Then, I swapped some classes from one file to another, and checked that all classes are stored in dalvik. Then made my mods to bring up the new feature.

Well, in a try to optimize, I put all /com classes on framework2.jar, and the rest on framework.jar. Well, by any reason that I don't understand that movement was generating the google issue... maybe framework.jar has different priority on dalvik than framework2.jar, and some needed google classes were overwritten by google .jars or .apks...

Why I'm stupid? Because I'm almost sure that I checked this... but it seems that I DON'T checked this well... and I've lost several days repeating the same, deodexing in zillion different ways, etc, etc...

CONCLUSION: Be methodical and do everything slow and thinking in what you're doing... you will save a lot of time if you get in troubles!!!
[LG Optimus Black] Huexxx:
By the way... in all this process... I've detected an issue on apktool 1.5.1 that is being fixed by developers... While the issue isn't resolved, I cannot finish my work... because I want to mod settings and I cannot do it in the way I want.

Regards.
[LG Optimus Black] 1adamek:
Next version of apktool can be realase mininum after 1 month but maximum after 4 months. Maybe you will make a version of Zeus ICS just with Rom Manager. And later easisly add option Reboot into recorvery when new apktool will be available.
[LG Optimus Black] theaks30:
heuxxx...i know am not supposed to ask but are you theming as well o_O :D

and...THANK YOU :D
[LG Optimus Black] George Jetson:
Hi Huexx,

Did you look at the lockscreen apk's? Is there any hope enable lockscreen effects feature?

I looked to the apk files and I convert apk dummy things in xml files what they should be(I look at the real names from optimus g lockscreen apks).But it didnt make any sense.I think it should be need some smali editing.
[LG Optimus Black] ErnuB:
I guess you've done this but just in case http://code.google.com/p/android-apktool/issues/list may help the developers to solve that issue you found
[LG Optimus Black] Huexxx:
ID 391 ... I hope that they bring me a test version with a possible fix...

I can do the things without that, but is a lot of work... I'll do other things while they answer something...
[LG Optimus Black] ErnuB:
Looking at the issue I can tell it is a lot of work indeed. I'm glad to see the issue is accepted
[LG Optimus Black] 1adamek:
Huexxx not a lot of work. Only what you need is a good idea.

Crtl+H

find >& replace ><
find ;/ replace </
find lt; replace [nothing]
find &lt replace [nothing]

finish :)

Try this in notepad - just make a new text dokument and insert your data.
[LG Optimus Black] Huexxx:
The problem is not the procedure (I have apps to batch-replace), is the number of files (hundreds), and the more important... it has no solution because the problem is in the re-encoding... so if I do such, the result won't be what I'm looking for.

To solve this I'll have to create all the resources on another framework file and mantain the resources.arsc intact in this file...
[LG Optimus Black] xonar_:
It shouldn't be that hard to fix.

You can modify the jar to replace the character given a simple rule to make sure it's not in a string right after reading it from the file. That way when a proper fix comes out you don't need to change any of your files.

That is if I understand your problem correctly.

The fix will probably appear in source quite a while before next version is released.
[LG Optimus Black] tantrums:
Hi Huexx,

I'm using the latest version of dsixda and works fine in deodexing all the apks except for the LGIME.apk. All should work fine after deodexing. I just set the API level to 14.

I'm also not able to successfully decompile the settings.apk. Hope they will fix the issue you reported.

Hope you can release your ICS ROM soon. :)
[LG Optimus Black] Huexxx:
Glad to hear you!

smali 1.5.1 is fine and as you can read before, the problem was related to other stuff...

Why API 14? Since 4.0.3 is considered API 15... but I'm pretty sure that there's no diffs.

Regards and thanks for your answer.
[LG Optimus Black] N00BY0815:
So any progress yet? Or can anyone tell me if the issue has been solved in apktool/the smali tool already?
[LG Optimus Black] xonar_:
Not according to the issue tracker. We can help out by everyone starring the issue. Since it's affecting everyone indirectly ;).
[LG Optimus Black] dflt:
Direct link to star the issue: http://code.google.com/p/android-ap...tus Priority Milestone Owner Summary Modified
[LG Optimus Black] maludroid:
CMIIW, but I think Huexxx should consider re-reporting this bug. I see the bug description doesn't correspond to the issue anymore, since it's nature has changed over the in-comments talk. It would be better to have issue opened with a proper description.
[LG Optimus Black] ErnuB:
The issue is the more stared at the moment

Got this mail this morning

"Comment #4 on issue 391 by Vitos.La...@gmail.com: Problem with < character wrongly replaced with <

http://code.google.com/p/android-apktool/issues/detail?id=391

FWIW, I think you guys are off. It's up to the application's developer to escape the strings based on the application's needs and the way the resource string is used in the app. When decompiling/compiling, you must not change the strings, or you get the problem described in this report."
[LG Optimus Black] bigalli:
Test version of apktool v1.5.2. was attached to Comment #6 in Issue 382

Lets hope they solve also Issue 391
[LG Optimus Black] 1adamek:
What this mean exacly ? Heuxxx can now continue development of Zeus rom or he have to still waiting for apktool 1.5.2 ?
[LG Optimus Black] ErnuB:
I'm not sure since I haven't use the tool, that post was merely to post new information about the issue, we could ask last commenter in the tread
[LG Optimus Black] 1adamek:
Something is going on. Just look here

http://code.google.com/p/android-apktool/issues/detail?id=391

But still principle of that we have to wait for new version of apktool. No new Apktool = no new version of Zeus ICS rom.
[LG Optimus Black] Navios92:
So why did Huexxx said that IZS is so close?!
[LG Optimus Black] 1adamek:
So now do you belive in that Huexxx will give us underdeveloped rom ?
[LG Optimus Black] ykumar00:
Guys! Chillax. Maybe he meant that izs is so close to completion, not release. Let him breathe! He's doing his best.
[LG Optimus Black] theaks30:
Look at this post
[LG Optimus Black] raffux3:
http://xdaforums.com/showthread.php?goto=newpost&t=2115800
[LG Optimus Black] tudorbaros:
Izs is here:http://xdaforums.com/showthread.php?t=2115800
[Nexus 7 Q&A, Help & Troubleshooting] AngryGamer025:
I rooted my nexus 7 with WugFresh nexus toolkit. Afterthat I saw the app busybox. So I would like to know if I can unistall it because I do not want to flash anything, I only what root permission for my PS3 controller. :p

Send from my Nexus 7 using Tapatalk HD in Dutchy style

Devices: Nexus 7 - Rooted with stock OS
[Nexus 7 Q&A, Help & Troubleshooting] scott_doyland:
Busybox contains common Linux commands/utilities that android does not have built-in. Many apps that use root will make use of busybox. If you are using any root apps its best to keep it. I guess you could have Googled that yourself in the time it took me to write it!
[Nexus 7 Q&A, Help & Troubleshooting] AngryGamer025:
Ofcourse I googled it but couldend find anything :o

Send from my Nexus 7 using Tapatalk HD in Dutchy style

Devices: Nexus 7 - Rooted with stock OS
[Nexus 7 Q&A, Help & Troubleshooting] AngryGamer025:
Then I am sorry. XD

Send from my Nexus 7 using Tapatalk HD in Dutchy style

Devices: Nexus 7 - Rooted with stock OS
[Nexus 7 Q&A, Help & Troubleshooting] coolqf:
İ always wondered this myself and Scott doyland did a very good job at explaining it. It's used by apps that require root! Great piece of information!
[Nexus 7 Q&A, Help & Troubleshooting] Benjamin1966:
I was told it was necessary for Root. I have a S3 and it was installed automatically as well.

I don't think the OP needed to be slammed by IAMNICE for his Google searching skills. Internet tough guy talk is sort of gæ.

nexus 7/Tapatalk HD
[Galaxy Note 10.1 General] zwei_91:
Hi, wanted to ask why am i unable to enter clockworkmod after updating to 4.1.1 official firmware. I've already uninstall and reinstall clockworkmod a few times and the problem is still there. Will appreciate the feedback in the forum. Thanks in advance.
[Galaxy Note 10.1 General] mauricewal:
Did you do this:
[Galaxy Note 10.1 General] zwei_91:
Thanks for the help. Found out the problem from your reply; forgot to unchecked auto reboot.
[Galaxy Note 10.1 General] samir_a:
You dont require CWM anymore to root, you can root using exynos exploit patch apk with just a click
[Galaxy Note 10.1 General] zwei_91:
Thanks for the update
[General Questions and Answers] Matrix1999:
I have read a lot of threads regarding the battery life of Nexus 4. Does anyone have any good ideas on how to increase it's battery life other than the usual turn-off location tracking, notification, WiFi, etc?
[General Questions and Answers] micman7:
I bought this Chinese phone on eBay.

ahappydeal dot com/product-110750.html

When I try to use the camera it gives this error message (see attached photo), com.android.cameraswitch has stopped working. Does anyone know how to fix this?
[Nexus 7 Q&A, Help & Troubleshooting] billykxda:
Anyone know if there is any way to hide that annoying sidebar in Gmail? It would be great to view my emails in full screen view. Any ideas?
[Nexus 7 Q&A, Help & Troubleshooting] borkan:
I believe the only way to do that is to find a way to change the dpi for the mail program to phone size.

I am not around my device to check and see if it is available to change right in Gmail settings.
[Nexus 7 Q&A, Help & Troubleshooting] billykxda:
Thanks for the response. I looked and didn't see any dpi settings in GMail.

Any other ideas?

Maybe this can't be done??
[Nexus 7 Q&A, Help & Troubleshooting] kevin130:
Paranoid android has that option. Flash it. Then you can change the DPI off specific apps
[Nexus 7 Q&A, Help & Troubleshooting] billykxda:
Thanks for the info.

I've unlocked and rooted my Gnex, but I am keeping the N7 stock - in every way. So maybe I just have to live with it.
[Nexus 7 Q&A, Help & Troubleshooting] jaysus145:
the sidebar goes away when you open an email in portrait mode, right?
[Nexus 7 Q&A, Help & Troubleshooting] billykxda:
Yes.

I've seen a number of threads on the net about this. It seems like a questionable UI design decision by Google. When you open up the app, nearly half the screen is dedicated to listing all of your labels - imagine if that happend on your PC when you open your Gmail? Would be great (although maybe not possible now) to open to a full-page listing of your email, with the option of opening a view of your labels if needed.

I just didn't know if I was overlooking some setting, but apparently I am not.

Thanks for your reply.