yashsingh1/xdaforums huggingface dataset:
[Motorola Droid 3] mhelm23:
Major Battery Drain & Gmail Non-Functional

Wish I could post these bugs in the development forum for the Kexec ROM. Should this info be passed along to Hashcode or anyone? If so, what's the best way since I can't respond in the proper thread?

The first day and a half of using this ROM everything was great. All apps worked, the device ran cool and no bugs.

This morning my battery has drained about 80% in an hour. Not sure what caused that.

Other Notes:

Yesterday the Gmail app failed and will no longer work. "Sorry, Gmail has failed...." The screen flashes something so quick I can't read it and returns me back to the Home Screen. I have resorted to using a AquaMail for now. Seems like after the Gmail app failed when I reboot the device now I get some message about Droid is updating. This happens right after the Cynogen screen and before the Home screen loads.

Trivial - System Settings: Battery Usage time is always off.

EDIT: So after going back through the 42 pages on the thread....I am going to reduce the overclock on mine and see if that helps. I also didn't catch that I needed to recalibrate the battery. I will do that after the battery is back up to 100%.
[Motorola Droid 3] djbolden:
I also can't post in the development forum (yet - one more post after this and I can so that's part of the reason for posting this :) ) and wanted to add one item to the above:

The car dock USB audio doesn't work. I wouldn't call this a bug so much as a not yet implemented feature. I assume it could be related to the whole audio routing involving missing phone speaker audio with Bluetooth on, etc.

I've been running alpha 4 for nearly a week and it's been surprisingly solid. A few reboots and freezes, but far less than I expected going in.
[Motorola Droid 3] rchdroid3:
another user who can't post in development forum.

due to camera issues, shorter battery and random boots i have switched back to CM9 from the Kexec Alpha 4.

hoping to switch back to CM9 Kexec once it get more stable and/or out of alpha
[Motorola Droid 3] keithk23:
The very bad stability with the stock rom is what lead me to look to alternatives about a year ago and I haven't looked away from Hash ever since! All in all, the instability in Kexec #4 is a little frustrating, but I can deal with it since I know it's not "ready for prime time" like the stock rom claimed to be!
[Motorola Droid 3] ztehee1:
The new jb preview from hash is quite impressive, although not usable at the moment.
[Motorola Droid 3] joelharter:
Jb is much smoother on my d3 as well. Ics has a force close issue on mine.
[Motorola Droid 3] cgee23:
Im thinking about trying it out latter. Wish me luck
[Motorola Droid 3] McBeanTIO:
Anyone done a factory reset on their JB Droid 3 and been unable to pickup service?

For some reason I'm unable to pickup Verizon as my carrier and establish phone service after a factory reset. The phone just sits here and "Searching for Service"..

I'm thinking I just need to re-flash the latest KEXEC JB build and see if that brings me back to service functionality.

I just did a re-flash, and I'm still sittin on the "Searching for Service" screen.

--McBean

(Likewise dev-forum impaired!)
[Motorola Droid 3] ztehee1:
To my knowledge, there are no working "jb" builds for the d3. If you are referring to hashcode's cm10 preview, well the answer is in the title, its just a preview. I suggest wiping and flashing non kexec cm9 or aokp till development on the kexec process furthers.
[Motorola Droid 3] MrObvious:
Hash is working on data for Jellybean. Until then nothing will work.
[Motorola Droid 3] McBeanTIO:
I must have done something weird my first time through as phone and normal services worked under the preview. (Not trying to ***** or start a flame out of it... just stating a reality.)

I'll go take a crack at CM9 then and see what's up. Maybe I can get Service back up under that and then flash to CM10 to restore phone service....

--McBean
[Motorola Droid 3] keithk23:
Not sure what you managed to do, but if you could replicate it, that might be useful to Hash (and the rest of us). Even on the "it might work" release today, I am not getting anything.
[Motorola Droid 3] McBeanTIO:
Devil's in the details

I'll see what I can do. I'll have go figure out how to go completely stock again and start from the ground up. That's where all the magic began for me. And I'll need to find the ROM from 2-3 weeks ago when I first got the guts to flash CM onto my phone. I don't know what in the hell possessed me to do a factory reset other than sheer stupidity. Totally jinxed a good thing. :mad:

--McBean
[HTC Desire S] Pride4u:
Hi,

I'm currently using ICE DS 4.3 ROM and I've noticed I can only search for the terms that appear as search tips. Any idea how to fix this?

Thanks
[HTC Desire S] rain987:
If i am not mistaken only items that is compatible with the DS will appear. What were u trying to search for?

As for you camera issue u posted in dev section, i dun have such issue, try going to apps and force close it and clear data. if not try wiping delvik and cache. not sure if it helps.

But if u wan try a clean install.
[HTC Desire S] Pride4u:
I tried what you suggested and the problem seems to be gone. Thanks!

What I had in mind with the Play Search is that I cannot perform custom text search - I cannot, for example, search for SearchMarket as it isn't shown in the search tips that appear as you type.
[General Questions and Answers] mrjonnyrock:
No love for the Ace 2 on XDA? :(

Its a really nice phone and i am surprised that there is no support for it here yet:crying:
[General Questions and Answers] forbidden8:
Yup.I'm surprised too.Hope the developers recognize him soon.Many other phones with lower specs have better development. :(
[Epic 4G Q&A, Help & Troubleshooting] certifiednoob93:
Hi when I flashed CM9 my LED flashlight no longer works. I don't have a problem with it I was just wondering if other people have this problem too. I love cyanogenmod and it would be better if everything works.

Sent from my SPH D700 ICS 4.0.4
[Epic 4G Q&A, Help & Troubleshooting] DurhamHusker:
I use Tiny Flashlight from the market and it works just fine.
[Epic 4G Q&A, Help & Troubleshooting] certifiednoob93:
Thanks it works like a champ now

Sent from my SPH D700 ICS 4.0.4
[Epic 4G Q&A, Help & Troubleshooting] sacaudill:
Flashlight Issue

I tried CM9 and had no problems except the flashlight. I upgraded to CM10 with Jellybean and it's flawless except NONE of the flashlight apps will work with the LED light. The tiny flashlight app works with "Strobe" mode, but not LED continuous mode... Has anyone else experienced this issue, or have any insight on it? Any help would be greatly appreciated!

-Shawn
[Epic 4G Q&A, Help & Troubleshooting] certifiednoob93:
Maybe a reflash

from my phone
[HTC Rezound] trizzypballr:
I noticed late last night that my rezound downloaded a system update. I was half asleep and wasnt sure how to stop it, so I ignored it assuming it woulnt work anyway since I was rooted. I woke up this morning, send 2 texts and boom my phone restarted. It started trying to install the update. It looked like it said there was an error but I couldnt read it before the phone rebooted again. Now I am stuck on the white HTC screen. Ive been reading around all morning trying to fix this, all I can find is that apparently I was supposed to relock the boot loader after I rooted? Which I dont think I did. Can someone please help me get my phone working again?
[HTC Rezound] LunaticSerenade:
Are you S-Off?

And were you running a custom ROM of any kind?
[HTC Rezound] trizzypballr:
Im not sure what S-Off is? I rooted, but only really use it for my screen shot app and wifi hotspot. No custom ROMs
[HTC Rezound] GrayBoltWolf:
Most likely no.
[HTC Rezound] trizzypballr:
When I go into H Boot, I noticed that it says PH98Diag is missing, no image. Is it possible that the verizon update just deleted those files and all i need to do is put them back onto my phone and it will be usable again? If thats a possiblilty, where can I grab these files from and what folder do they need to be put into?

ALso I just realized HBoot says S-On

RA- Vigor- v3.13 is what I have also.

EDIT:

I was thinking about it, and since Hboot was saying it was missing the image, I thought maybe installing a rom would fix that. I grabbed Scotts clean ROM and went threw the install on it. After doing this the phone now starts up, and everything seems normal EXCEPT: There is no connection, calling or data. How can I fix this? Im so close to having a usable phone again, just hopefully this last little bump in the road.... I double checked with Verizon and its nothing on their side that is keeping me from service....
[HTC Rezound] feralicious:
If you can get into hboot you can run/flash the RUU and get yourself back in action. It will put you back to stock. You might have to relock your phone if it is still unlocked.
[HTC Amaze 4G] KnowledgeBroker:
I will update on different methods to pull a proper logcat in the near future, for right now please post what rom you are on, and what you expect the log to contain such as "I was enabling data"..
[HTC Amaze 4G] KnowledgeBroker:
Also reserved just in case
[HTC Amaze 4G] Maelfus:
As posted in the previous thread, there are probably 250+ more constants in the base rom than there is the in the cm9 RILConstants.smali file. Are these the kinds of glaring differences we need to look for, or is this just the difference between sense/aosp...

I'm pushing your framework.jar and seeing how it works out. I'll get back to you in a moment.

Just boot loops...
[HTC Amaze 4G] craigtut:
Hey, just wanted to throw this out there. I found an amazing studio that makes digging around in apk and jar files incredibly easy to do.

You can check it out here - http://www.virtuousrom.com/p/ten-studio.html

I haven't tried any jar files with it but it says they are supported. Might be worth checking out.
[HTC Amaze 4G] bos2333:
Ok I just tried switching it our with your framework.jar and it got to upgrading the 82 apps now it's stuck in a bootloop after that
[HTC Amaze 4G] Spastic909:
Sure wish we could get some if those Kats over here. The virtuous team always had something cool for the g2
[HTC Amaze 4G] KnowledgeBroker:
Yep, I saw that and saved it to my read it later account.. but I never even boot into windows anymore, lol. If someone wants to try it out, if it streamlines things.. would definitely be pretty awesome. I didn't know it did jars, I thought it just did apks.

Learning how to do it still has its own value I think tho ;) Thanks for sharing craig :)

I noticed afterwards that I included a few too many files, I should have done just the one file rather than 3.. I think we will have much more success by making single changes, seeing if it improves things, or at LEAST continues to boot, rather than making broad sweeping changes.

Even if it gets stuck in a bootloop, see if it will post a logcat, the errors it puts out will help figure out what was too much.

Also, I think the mentioned guide would be MUCH more direct for porting sense4- as both have all proprietary htc files, and therefor the different flags in the smali file will help a ton.. as far as porting cm9, we will likely have to be much more concise about the changes- it likely won't take much, just a few changes here and there.
[HTC Amaze 4G] bos2333:
Here's the logcat from replacing framework.jar with the one you supplied...I had to zip it though because it's too big apparently
[HTC Amaze 4G] EclipzeRemix:
i guess ill give it a go
[HTC Amaze 4G] ziggy46:
ill mess with it too once i get my straight talk plan. (cause right now i dont have a plan so i cant check data :p )
[HTC Amaze 4G] rikishef:
you can use Winrar to extract .jar files so you don`t have to rename to .zip http://www.rarlab.com/download.htm download it here
[HTC Amaze 4G] bos2333:
Ok, so again, very new to this...I just merged the 4 MobileDataStateTracker files from Android/net from speedrom 5.1 to the cm9...same thing, boot loops.
[HTC Amaze 4G] KnowledgeBroker:
Then you likely have the cause of the original boot loop. Two things you can do, check the logcat - it may tell you something useful.. another thing to do is get software to compare the files, I think for windows there's a free one called winmerge... The output files are usually text, and you may see some specific lines that would help us from the stock file and change those(things relating to data), leaving everything else alone.

Someone recently posted how to do a log for data errors, but I have a really good tutorial in the bible in my signature, logcat like a pro.
[HTC Amaze 4G] paperWastage:
i'm trying to learn my ways around the android ecosystem... please correct me if I have any incorrect info below

bascially, what you're doing for this tutorial is trying to decompile and debug problems, only going up to the assembly level (smali)

jar/apk = container like a zip... contains resources like compiled binaries and images etc

dex = compiled binary for the android system

you first disassemble the dex files to smali ("assembly") files

-> a developer here would make changes to the smali... lets say you don't make any

you reassemble back to dex, gather it into a jar/apk file to put on the phone

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

for porting a phone to use CM9/10/aokp, you basically use the base CM9/10/aokp system, copy over relevant jar/apk, and debug to fix any problems (like function calls, data etc)?

using logcat, you can see where function calls fail (or when you have a exception), and then try to fix it?

how good is debugging? basically you can see most of the source code?

would it be also possible to go dex->smali->java? like this post, though it says its not ideal either http://stackoverflow.com/questions/5582824/decompile-smali-files-on-an-apk
[HTC Amaze 4G] bos2333:
Yeah, I attached a logcat last page and looked at it, saw the errors. I'll do some searching tomorrow to see if I can work my way through some of them.
[HTC Amaze 4G] KnowledgeBroker:
Everything above the line=yes(ish). That is a fair explanation of things. If you mean how good is the debugging on smali'd files.. you should do it to some and find out :)

I'm not sure I understand what you mean by dex>smali>java.. dex is the compiled, smali is decompiled, it can't be more decompiled than smali to the best I can see. What that link you posted was talking about was different tools to get the job done- some can be helpful, tho many don't work properly with ICS as of yet.

Sorry if my answers are unclear, I wasn't sure of the questions perhaps..
[HTC Amaze 4G] KnowledgeBroker:
So there are some smali edits in this miui4 porting guide that can be looked at to help understand how/what files matter.. furthermore, all ril specific edits could be looked at for our phone http://xdaforums.com/showpost.php?p=28885450&postcount=2

Also, the third post has some great info on debugging and reading logs.. http://xdaforums.com/showpost.php?p=28885450&postcount=3

That entire guide is extremely comprehesive, and the language isn't more complex than what you are already doing, so you will learn quite a bit. I may pull relevant info from that guide to the second post when I have more time.
[HTC Amaze 4G] paperWastage:
my question is whether we decompile all the way back to the Java source instead of stopping at the assembly(smali) stage

from doing more searching, it looks like you might be able to get readable Java source code, but you can't recompile them as it'll be incomplete and as you said might not work on ics

I assume one would need to to flash the cm9/10 and then get those logcats
[HTC Amaze 4G] bos2333:
Ok, so I tried again this morning by only adding "HtcMobileDataStateReceiver.smali" to the port in the android/net, and I got the boot loops again. Checked the logcat and found this...

I/ServiceManager( 144): service 'media.audio_flinger' died

I/ServiceManager( 144): service 'media.camera' died

I/ServiceManager( 144): service 'media.player' died

I/ServiceManager( 144): service 'media.audio_policy' died

I/Netd ( 496): Netd 1.0 starting

D/AndroidRuntime( 497):

D/AndroidRuntime( 497): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<

D/AndroidRuntime( 497): CheckJNI is OFF

I/dalvikvm( 497): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory

D/dalvikvm( 497): Unable to process classpath element '/system/framework/framework.jar'

I/ ( 498): ServiceManager: 0x1293958

E/JNIHelp ( 497): Native registration unable to find class 'android/debug/JNITest', aborting

Any ideas? It seems like it's not taking my new classes.dex file for some reason.
[HTC Amaze 4G] ziggy46:
R.I.P media.audio_flinger...
[HTC Amaze 4G] bos2333:
Lol, whoa...Oregon Trail flashback...
[HTC Amaze 4G] :
Are you packing it right?
[HTC Amaze 4G] bos2333:
Based on the instructions I believe so, but I guess I can't know for sure.
[HTC Amaze 4G] KnowledgeBroker:
Yea, the way many zip programs UNzip, it will put all the files inside a directory.. but when it is repackaged, you zip the actual files, not the directory they were unpacked in.

So in the framework.jar file there was a classes.dex, a preloaded-classes, and a meta-inf folder.. you would actually rezip those and not the directory they are inside, then rename it. Trying to use programs like winrar to replace files without unzip/rezipping them will also commonly corrupt the file structure.
[HTC Amaze 4G] ziggy46:
when you recompiled the classes.dex did you put it back into the framework.jar?
[HTC Amaze 4G] bos2333:
Yeah, I put the new-classes.dex in framework, renamed it, then re-zipped framework and renamed to .jar
[HTC Amaze 4G] ziggy46:
try doing it without changing the file extension of the framework.jar. (winrar can open .jars)

and as long as you name the .dex file "classes.dex" you'll be good
[HTC Amaze 4G] KnowledgeBroker:
But you are rezipping the actual files correct, NOT inside of a directory? That error says the the file is not in the expected location, not the the file has something wrong with it.

And ziggy, using winrar and other programs without unpacking/repacking can definitely corrupt the file structure of the file, I had that problem with every single one I tried. Never had a problem with the renaming/unzip/rezip method.
[HTC Amaze 4G] ziggy46:
open the jar and drag the .dex file out. it never causes problems.
[HTC Amaze 4G] bos2333:
Ok, so most of them I did right but that one I did not. Just replaced with a good version, it upgrades the apps and boots. No change as far as I can tell with data though.

Ok so looking at the logcat for it I see a lot of these;

I/dalvikvm( 240): DexOpt: mismatch dep signature for '/cache/dalvik-cache/system@framework@framework.jar@classes.dex'

How does that get fixed?
[HTC Amaze 4G] KnowledgeBroker:
Did you wipe dalvik when you reboot? I think it automagically wipes cache, but that makes me think it is expecting something else..

And before you replace a file, you may want to use a program like winmerge to compare the files to make sure there is a difference between them.
[HTC Amaze 4G] bos2333:
I didn't before I rebooted but I did after looking at the dirty logcat. I'm trying another and downloading winmerge now.

---------- Post added at 04:01 PM ---------- Previous post was at 03:31 PM ----------

So a dalvik wipe before boot fixed that issue on the next one, but replacing the MobileData ones the right way caused the boot loop again. I noticed these errors in the logcat.

E/MobileDataStateTracker( 240): default: Ignoring feature request because could not acquire PhoneService

E/MobileDataStateTracker( 240): default: Could not enable APN type "default"

W/ThrottleService( 240): unable to find stats for iface rmnet0

W/StatusBarManager( 240): warning: no STATUS_BAR_SERVICE

I attempted to merge the statusbarmanager and same thing, boot loops/logcat errors. The other I'm wondering if maybe we need to merge both PhoneService and ThrottleService to help MobileData??
[HTC Amaze 4G] KnowledgeBroker:
I wouldn't know, but that sounds like good deductive reasoning to me :)

On my mac I can search multiple files for text, I think winmerge might do it too.. but if you had some way to search all the files at once for "apn" you might find what sets the default service, if it is part of that jar file. It could be some other system config in the system tho, and I wouldn't think it matters as long as in settings you can change the apn. But it also might be the reason behind "E/MobileDataStateTracker( 240): default: Ignoring feature request because could not acquire PhoneService"

It also sounds like you are on the right track.. if we could get a few more people working on these things we would prolly have fully working data in a few days. You definitely deserve props for being willing to put in the effort!

On a side note, did you check the decompiling app that someone posted on the first page to see if it shortens the process? And when you get bootloops I hope you just reflash the system partition with the rom rather than do a restore, it is much quicker..

I sort of want to re-examine the differences between stock and cm9 ext.jar, I only changed a single character in one file for data to work at all, I wonder if a few more edits may be helpful too..
[HTC Amaze 4G] bos2333:
Thanks, I appreciate it! I've always been impressed with your willingness to help people here, as you have more than most. I'll keep digging tomorrow (at work) and see what else I can **** around with. I did take a quick look at that app but not much more than that so I'll look at that and winmerge as well.

I was thinking the same thing about ext.jar, thought about taking a look around in there too (for what that would be worth). And yes, I just do a quick reflash not restore, that would be brutal!
[HTC Amaze 4G] paperWastage:
if you are working on windows, i'd just download Cygwin (unix utilities on windows)... I'd install vi, emacs, grep and diff... all free

Inside Cygwin, I'd go to the directory, and do

grep -rni "apn" *

r = recursive folders

n = show the line number

i = ignore case

For diff, you can compare files, or even entire directories

diff -r <directory or file > <another directory or file>
[HTC Amaze 4G] KnowledgeBroker:
Bump because people keep asking for results on all these projects, but they have this tutorial and plenty of people willing to teach them how to contribute..
[HTC Amaze 4G] bos2333:
I wish I had more time to sit down and work on this more. Maybe this weekend. Even if nothing gets worked out from it...it's still fun.
[HTC Amaze 4G] KnowledgeBroker:
If in the experimental roms with partially fixed data, if people posted logs, this thread/project could be more productive.. so even if you don't have time to get into the modifying of files, if you can pull/post a good log, then you'd be helping others, and giving yourself a direction for how you might get some good edits..

The last log I saw(not sure which thread), it looked like the issue was how it scans for signal, rather than the data signal itself.. if that is the case, a few simple edits of a few jar files might give totally stable data. But that is sort of a large assumption based off ONE log file.. but that is the best answer I have so far.
[HTC Amaze 4G] dubt17:
To help get this moving along, I have radio logcated while the phone had data, I hope this helps, while it was on for the 30 seconds it showed 3G and H I used maps!

It's 10MB so I uploaded it to media fire, I hope this helps you guys! I have 3 more that are just me trying to enable data, let me know if you would like those!

http://www.mediafire.com/?15vvzsnjfj4qpd6
[HTC Amaze 4G] KnowledgeBroker:
What rom were you running? And until we get proper methodologies for these things, you may want to post a link to your thread that has the logcat in the relevant rom thread.. if it were CM9 for example, it may help sportsstar to see what errors you're getting compared to his own or others.
[HTC Amaze 4G] dubt17:
It was Speed ROM RC 1.5, just a version I downloaded that had the ext.jar already installed. But it's based off of Sports CM9