yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] caseymanyo:
Hi. I was just browsing on my rooted galaxy s2. Suddenly the whole screen froze. It would not do anything, so i decided to take the battery out. When i put it back in, it turned on and was stuck on the "samsung galaxy s2 i9100" screen. So i decided to take the battery out and try again. This time it wouldnt turn on or charge. When i plug it in, it just gets hot, but there is no sign of life. I tried holding the power button and entering recovery and download mode. But its not recognised. I dont think its the battery because when i plugged it into a pc without the battery, it still wasnt recognised.

Before this happened, i was running the solo launcher and i was using a kindle paper charger for it.(first time i used this).

Please help me find a way to fix it without jtag. Usb jig won't work, its totally not functioning to anything except getting hot when plugged in.

Signs of life:

Gets hot when plugged in.
[Galaxy S II Q&A, Help & Troubleshooting] TheImpossibleEnemy:
sadly bro,but it sounds like a motherboard is dead

if you have access to usb jig - atleast try it

if no joy - motherboard replacement
[Galaxy S II Q&A, Help & Troubleshooting] caseymanyo:
oh ok thanks, i am not under warranty, so could i just send it to a local repair store, or do i need to send it to samsung. If so, how much would it cost?
[Galaxy S II Q&A, Help & Troubleshooting] TheImpossibleEnemy:
sent it to your local repair shop - it will be less expensive than samsung's service

you can also buy the mobo at ebay etc,and pay only for the procedure

idk about the price,mail the repair shop about that.
[Galaxy S II Q&A, Help & Troubleshooting] surfintauranga:
USB ports

When my phone was newer I had a lot of usb port trouble, overheating, failing to charge properly, even apparent bricking. I heard there was an issue with this port. I narrowed it down by sticking a small object into the USB port and levering the pin slot back up to the middle (preventing the short).

That fixed it for a while. Also fluff can create a short, so blowing it out can fix it.

It finally failed again, so I bought a $5 piece from ebay, watched a youtube video and fixed it properly.

So, try firstly blowing out the usb port, then using a toothpick to push it around a little. If that fixes your phone then all good :)
[Galaxy S II Q&A, Help & Troubleshooting] MistahBungle:
Yeah, that'll fix it :rolleyes:
[Galaxy S III Q&A, Help & Troubleshooting] KingPiccy:
My phone is rooted and it runs Liquid Smooth on 4.3

Problem 1: Random restarting

Started around 3 days ago when charging it would go off when I was using the phone. This started to happen frequently now for example, opening an app, playing music and scrolling or randomly at most. Another time it happens is in recovery mode when trying to flash recovery or a rom.

Problem 2: Android OS drainage

Not too sure about this but takes up most of the percentage of the battery and sometimes Media takes up most of the percentage
[Verizon HTC One (M8)] chriskader:
I was able to take a base from another XDA Dev (Thanks graffixnyc)

Script Modifications:

Mount points

Build.Prop check was removed until I find the correct ID for the Verizon M8

boot.img was removed

Working:

Boots

Bluetooth

Not working:

Camera

No cellular connection (No Data/Text/Calls)

GPS

Download: Link

MD5: bc44801ce43752e36375cfa6fb43ae1d

I think this will make a good base to help with further GPE development on the Verizon M8!

Flash at your own risk - I am not responsible for bricked devices. CWM Backup is HIGHLY recommended.

Correct ro.build.product name: htc_m8wl (Will be added on next update)

SELECT YES WHEN CWM ASKS YOU ABOUT RECOVERY REPLACEMENT.
[Verizon HTC One (M8)] krazie1:
Originally from [MENTION=692686]myn[/MENTION] in your other thread OP
[Verizon HTC One (M8)] JWhetstone02:
If you needed the mount points for our device, I pulled them a while back.

http://xdaforums.com/showthread.php?p=51479859

[MOUNTPOINTS] HTC One M8

Not sure if they are different from the base device in which this gpe base came from

-HTC One m8-
[Verizon HTC One (M8)] Clownzer:
I was waiting for this! Thanks for kicking it off, I will be more than happy to test for you when it gets to that point.
[Verizon HTC One (M8)] androidoholic:
I will get working on this tonight when I get home.
[Verizon HTC One (M8)] chriskader:
The needed mountpoints where modified in the install script but thanks for the info!
[Verizon HTC One (M8)] BFirebird101:
And here we go.

Sent from my HTC One M8!

U WOT M8?
[Verizon HTC One (M8)] sgtmedeiros:
Will this work with data for a Verizon m8 on tmobile
[Verizon HTC One (M8)] androidoholic:
Data is not working period....will be soon though. Give it time.
[Verizon HTC One (M8)] sgtmedeiros:
I didn't know if gsm was broken as well. No problem man take time
[Verizon HTC One (M8)] androidoholic:
It is not the cdma or the gsm radio.......basically it is like the drivers for it. The hardware it there and it works, but without the drivers you can't use it. But we will have it working soon...I'll be on it all night and tomorrow since I finally get a day off. So unless someone beats me to it you can expect most of it to be working tomorrow.
[Verizon HTC One (M8)] digitalhigh:
Hey, you beat me to it! I started working on a GPE port last night, but didn't get anything finished. I'm downloading this now, and have gobs of experience fixing data between carrier versions of HTC devices - down to rewriting most of telephony-common.jar from scratch for my MIUI port.

In short...today is my birthday so I'll be out celebrating, but I'll see what I can do with this if time allows. I've got a good idea which bins and libs are required to make data happen, so I'll see if I can't help out. :D
[Verizon HTC One (M8)] chriskader:
I have been copying .lib files from stock to GPE without luck. Since this is my main device I have to be careful about how much down time this phone has :(
[Verizon HTC One (M8)] GetRipped:
There's been occasions where the drivers have to be written from scratch for HTC because they are not open source. Hopefully we don't get stuck there
[Verizon HTC One (M8)] Evolutionmods:
happy birthday!! i have it downloaded ima take a peak inside also. thanks for the bring up Op!
[Verizon HTC One (M8)] androidoholic:
Is it just me or is this like a 4 hour download?
[Verizon HTC One (M8)] digitalhigh:
Pick a different mirror. Il number eight is usually pretty quick.
[Verizon HTC One (M8)] androidoholic:
Ok
[Verizon HTC One (M8)] chriskader:
I ordered a SIM adapater. Once it comes in I can swap between my M8, S4 and Galaxy Nexus. That will let me work and get this thing going faster as I Do not need to worry about my phone being down. 2 M8s would be even better though
[Verizon HTC One (M8)] jparasita:
This wouold be aweseome [MENTION=426561]scrosler[/MENTION] would be good at this I know it has to do with porting modems and such he needs to stop slacking :)
[Verizon HTC One (M8)] JasonJoel:
[MENTION=426561]scrosler[/MENTION] released a Rom for my Samsung tab pro a few days ago, he isn't slacking. :) I do agree that a CleanRom for m8 would be nifty though.
[Verizon HTC One (M8)] jparasita:
Ohhh I am well aware looks great on my tab pro as well :) lets stay on topic remember he is a machine
[Verizon HTC One (M8)] nitsuj17:
porting modems? really?

:sigh:
[Verizon HTC One (M8)] jparasita:
I forget what it is called but i know there is a way to get the radio working for data and phone calls I am a little n00bish do not mind me
[Verizon HTC One (M8)] chriskader:
We will all be working on getting this thing up. Hopefully we do not hit another Thunderbolt RIL situation :)
[Verizon HTC One (M8)] digitalhigh:
Haven't had time to do a proper build yet, but one glaring issue I noticed was the fact that build.prop is using "9" for the preferred network, whereas stock uses "10". You ain't gonna get data or voice if it doesn't know what network to use. ;)
[Verizon HTC One (M8)] Keithn:
I saw that too. I tried to do a quick port a couple nights ago but haven't had the time to figure out why it wasn't booting.

I Opened up both build.prop files side by side and went down them to find the differences.
[Verizon HTC One (M8)] Zarboz:
Build prop edit framework res edit a xml in customize #done data works
[Verizon HTC One (M8)] chriskader:
Can you provide a modified zip and I can update the OP?
[Verizon HTC One (M8)] coldconfession13:
Hmm so close to gpe I can't wait.
[Verizon HTC One (M8)] Zarboz:
I haven't sat at a pc in a few days let me put the little guy down for a nap make a back up and work on this

Should be simple
[Verizon HTC One (M8)] chriskader:
Ahh, I had thought you already did it :)

I would love a brief log of what you did as well to help expand my knowledge a bit, if possible.
[Verizon HTC One (M8)] Zarboz:
If I give you the patched files you think you can diff them ? I can take a little notes as much as I know at least
[Verizon HTC One (M8)] chriskader:
That works too
[Verizon HTC One (M8)] Evolutionmods:
bump
[Verizon HTC One (M8)] digitalhigh:
Probably not necessary. I think we're all thinking about this. I just booted GPE with working LTE. Now I just need to fix wifi and figure out what else is wrong...will upload whatever I got tonight and post a link to my Gdrive before I go to bed. :D

To re-iterate...I've got working data, but it's laggy as hell (the phone, data is screaming fast) and wifi is broke, although I probably know how to fix that. One step at a time.
[Verizon HTC One (M8)] digitalhigh:
Well, I take that back. It doesn't want to come back up after a reboot right now, and I've gotta get some sleep. Hopefully someone else has better luck on this, else I can try some more tomorrow evening.
[Verizon HTC One (M8)] ericerk:
I LOVE YOU.

:good:
[Verizon HTC One (M8)] chriskader:
I would love to be kept in the loop in what changes are made so I can expand what I know and be more of a help.
[Verizon HTC One (M8)] sigshane:
Hey, can I ask a complete N00B question?

What is the allure of a Google Play Edition ROM? I am assuming that it is basically our HTC One with Android MINUS HTC apps MINUS Verizon stuff MINUS other bloatware, correct?

Please clue me in! I am not blasting those who prefer this setup, so please no abuse or flames, I just want to know!

Thanks!

Shane
[Verizon HTC One (M8)] webeougher:
Basically, you get a kick-ass phone with top-of-the-line hardware, running essentially stock Android. Basically HTC's version of the Moto X or a Nexus.
[Verizon HTC One (M8)] sigshane:
Ok, I understand that. Lean and mean.

So you start with lean and mean, and add apps as you want/need, without the unwanted fat...is that right?
[Verizon HTC One (M8)] sgtmedeiros:
So I flashed this build with the elemental x gpe kernel and data works fine for me. however you are right it is laggy as all hell.

Gps also seems to work as well
[Verizon HTC One (M8)] chriskader:
Do you have a link to the kernel?
[Verizon HTC One (M8)] sgtmedeiros:
sorry forgot to mention I am unlocked on tmo.

this is the kernel however.

http://xdaforums.com/showthread.php?t=2705613
[Verizon HTC One (M8)] chriskader:
After a data wipe and install of the GPE provided an the Elemental Kernel, I am staring at a boot screen.
[Verizon HTC One (M8)] sgtmedeiros:
Took me like 5 minutes to start up. I can provide screens hots
[Verizon HTC One (M8)] chriskader:
I believe you, but please do provide some screenshots.
[Verizon HTC One (M8)] sgtmedeiros:
Apparently it doesn't like a second boot. After first boot it hangs at boot screen.

I also get lte
[Verizon HTC One (M8)] digitalhigh:
That's what I ran into last night.
[Verizon HTC One (M8)] ericerk:
Please tell me that development is still active.
[Verizon HTC One (M8)] paullson:
So impatient young padiwan. (sp?)
[Verizon HTC One (M8)] ElChibo:
lol.

as much as i want AOSP... I want everything to work perfectly first.
[Verizon HTC One (M8)] digitalhigh:
I've been poking at this as time allows...hoping I can make some progress this weekend.
[Verizon HTC One (M8)] androidoholic:
I've got data working, still laggy as hell, and you can't reboot it, unless you want to reflash the whole thing.
[Verizon HTC One (M8)] Keithn:
What are you guys using for a kernel?
[Verizon HTC One (M8)] digitalhigh:
Can you grab me a full logcat? Maybe I can track down some of the problems with the laaaaaaag.
[Verizon HTC One (M8)] Zarboz:
Your missing two symlinked binaries

Shutdown and restart

That'll fix those
[Verizon HTC One (M8)] Evolutionmods:
I'm working on it. im actually pushing to device again.

---------- Post added at 08:57 PM ---------- Previous post was at 08:46 PM ----------

[MENTION=1615671]Zarboz[/MENTION], what bins is it, I'm having trouble finding them.
[Verizon HTC One (M8)] Evolutionmods:
I bet its flars from what i read before hand, which makes alot of sense why there are issues with camera and lag. they may be close to our device but not entirely the same defconfig when making the kernel. so we may get a boot but borked other other stuff
[Verizon HTC One (M8)] ericerk:
Coolio Can't wait. I'd love to test. I've been missing some AOSP for the last 4 months.
[Verizon HTC One (M8)] digitalhigh:
So, in looking more closely at the source ROM we're trying to work with...specifically at system/bin, what I'm seeing tells me that this is a system dump?? I diffed it against another M8 GPE ROM, and that one had a lot less in /bin. So, I'm thinking that this is an adb pull, with all the busybox components/symlinks still there. The fact that they all have the exact same filesize is another dead giveaway.

My suggestion to everybody else working on this would be to try a different GPE from M8...port it from scratch. At least...that's what I'm gonna do. I'm grabbing the version by graffixnyc here:

http://xdaforums.com/showthread.php?t=2706441

Gonna port from scratch, as I've already got data working on my version, but the same glitchyness and failure to boot twice. We shall see...I think I should have some time tonight to just tinker. If I can get it to boot and give me ADB, then I should be able to sort out where the problems are. :D

EDIT: LOL...I see that the ROM link I posted is where this comes from. So maybe not a system dump? IDK. Gonna look at the other GPE's out just to see what I can see...
[Verizon HTC One (M8)] androidoholic:
I downloaded the stock system.img from the gpe, was gonna try to make my own, but I can't seem to extract it with unyaffs, any other tools out there to extract a system.img?
[Verizon HTC One (M8)] Zarboz:
Just gotta fix camera and ill upload a 100% version :P
[Verizon HTC One (M8)] Chuckd610:
Wow!....What else do you guys strip down and rebuild....Stealth Fighters?....friggin amazing!
[Verizon HTC One (M8)] digitalhigh:
I love you. What was causing the lag?
[Verizon HTC One (M8)] krazie1:
That's great, sounds good
[Verizon HTC One (M8)] Zarboz:
starting to run out of time to play for tonight

fixed up most everything but my phone is stuck in roaming so i need someone to look at my build.prop edits

calls work voice works text works data works (roaming only) wifi works bluetooth works

camera still doesnt work

everything pretty much works

Bugs:

Camera

Stuck in roaming

working:

everything else

uploading NEeeow

uploading here

its like 10% uploaded ... about 1-2 hours till done

watch that folder

http://www.androidfilehost.com/?w=files&flid=13769

hopefully someone can fix0r data and cam for you guys
[Verizon HTC One (M8)] ericerk:
It's up right now. If anyone cares.
[Verizon HTC One (M8)] androidoholic:
I do lol....been waiting passed my bedtime, but need something to do. So I'll get working on the roaming issue and the build.prop if you wanna tackle the camera. ;)
[Verizon HTC One (M8)] ericerk:
I'm such a noob when it comes to java...
[Verizon HTC One (M8)] androidoholic:
So far I have changed in the build.prop

ro.com.android.dataroaming=true

to

ro.com.android.dataroaming=false

then called *228 and did the activation. That seems to get us on the Verizon network (the CDMA-4 or whatever it was in the status bar now says Verizon.) It still says that it is roaming but I don't ever remember getting LTE while roaming which I definitely do now.

I am also getting EPST.apk FC,tired swapping with the one from stock rom, to no avail. Possibly an APN setting??? But for the life of me I can not find the APN settings menu. Used to be in Settings/Mobile Networks/ but it is definitely not there now.

---------- Post added at 01:40 AM ---------- Previous post was at 01:38 AM ----------

Another amazing thing that I just noticed.....double tap to turn the screen on still works??? That isn't on the GPE devices right?
[Verizon HTC One (M8)] ericerk:
Wrong, Motion Launch Gesture controls are in GPe

*228 isn't really for LTE devices...

My 3G just kicks back and forth Between 3G and R.
[Verizon HTC One (M8)] androidoholic:
I just noticed the Motion Launch Gesture.

Before I did *228 I was on CDMA-4 network, afterwards it shows Verizon Wireless. Maybe a coincidence maybe not.

And I do not get any 3G or anything, just R all the time. But I just did a speedtest.net test and got 22.30 down. So that is definitely LTE.
[Verizon HTC One (M8)] ericerk:
I wish my LTE was better than It is. They just need to put more in the Residential areas of L.A.
[Verizon HTC One (M8)] lucky_strike33:
Bringing viper to m8?

My All New One
[Verizon HTC One (M8)] Keithn:
I've heard of people loosing 4g by doing a 228, good thing you didn't it sounds like. Since we are using a sim we shouldn't need to do that.Things look okay in the build.prop for network with a quick inspection (but I could easily be wrong) so I'll flash and see how it goes soon.

Shows that I'm on tcdma 64 and the roaming icon. Have to be on verizion though I am getting lte.
[Verizon HTC One (M8)] Zarboz:
The phone build is stuck in roaming Idk why Because sometimes on mine it says vzw but then it shows roaming mode

I'm working on it guys I'm just a busy guy

The camera is just lib swapping till it works

Idk why Epst crashes or of its needed I just did how I would for a sense Rom and it worked mostly

Dialing *#*#4636#*#* hit phone information and you can see there you are in roaming
[Verizon HTC One (M8)] coldconfession13:
[MENTION=1331268]santod040[/MENTION] might be able to help. I know m7 showed r on gpe ROM as well but had data.
[Verizon HTC One (M8)] Zarboz:
Shoot him a message see if he's willing to give input I think its a build prop edit fail
[Verizon HTC One (M8)] coldconfession13:
I would but it would be better if y'all did. I would assume he would need to look at it
[Verizon HTC One (M8)] digitalhigh:
Allright, I'm awake.

Why, what are we missing? I just got roaming fixed, diving into camera now. The magic in Zarboz' build, it seems, really is just in the build.prop, boot.img/modules, etc/firmware, and updater-script, apparently. No offense bro...you beat the rest of us to it...but I tossed that stuff into the one I'd been working on (sans all the VZW radio stuff,epst,etc.) and I'm now showing proper LTE Signal icon, and no roaming. :D:D

So, it's smooth, it survives reboots, LTE goes, phonecalls work...haven't tried MMS, but I'd imagine we're fine.

Just needs camera. Got ADB rolling now...will see what I can see.
[Verizon HTC One (M8)] Zarboz:
Could have been my framework res apk edits then .

The boot needed the gpe init binary and bootclasspath ofc then it smoothed up

Try the liboemcamera.so and supporting libs

Although I saw in logs cam hooks up n reads then returns wrong skuid for firmware

If you can up your build I can probably get cam working tonight
[Verizon HTC One (M8)] digitalhigh:
I will upload when I call it quits today.

What ROM were you files from? Might help in trying libs...I've been using skyfall as the donor for now.

I have tried liboemcamera in vendor/lib, as well as lib/hw/camera.msm8974.so and lib/libcameraservice.so. No luck. The logcat error is always:

V/CAM_PhotoModule( 4155): On resume.

V/CAM_PhotoModule( 4155): Executing onResumeTasks.

V/CAM_PhotoModule( 4155): Open camera device.

V/CameraHolder( 4155): open camera 0

E/CameraService( 401): Camera HAL module not loaded

W/CameraBase( 4155): An error occurred while connecting to camera: 0

E/CameraHolder( 4155): fail to connect Camera:-1, aborting.

E/CAM_PhotoModule( 4155): Failed to open camera:0

I've also tried grabbing between framework.jars, but that is tricky because the stock ones obviously require htcjavaflags. But I don't think it's there...I think you're right that it's just a lib somewhere.

Either way, I'll throw my version on Gdrive here for everybody else to play. If you don't mind no camera, it seems to be quite functional. :D
[Verizon HTC One (M8)] krazie1:
[MENTION=3400685]digitalhigh[/MENTION] [MENTION=1615671]Zarboz[/MENTION] you guys are doing some good team work
[Verizon HTC One (M8)] digitalhigh:
I'm down to help anybody I can when it comes to getting us ANY other option aside from Sense. :D
[Verizon HTC One (M8)] digitalhigh:
Kay...brain hurts and I'm out of ideas for the moment. Gonna take a little break and think on the issue for a while.

Uploading to here:

https://drive.google.com/folderview?id=0B0OpOqUNqeKkWXI2S0RScmM1S0k&usp=sharing

Filename is gpe5b.zip.
[Verizon HTC One (M8)] Zarboz:
Should have some time to look at it tonight :D

I am hoping i can finagle everything together tonight
[Verizon HTC One (M8)] ITGuy11:
I gave it a go. ROM Installed no problem, but got several random reboots while restoring my apps from the play store. Tried to get a logcat, but phone kept rebooting. I had to restore my stock backup.

Keep up the great work! I can't wait to get rid of sense.
[Verizon HTC One (M8)] Zarboz:
Idea : camera firmware switch

And lib swapping to get hal to load or just port the gpe kernel
[Verizon HTC One (M8)] digitalhigh:
I have basically done a filter for *camera* in beyond compare, then dumped EVERY matching file from Sense onto my build. No dice.

I'm leaning more toward the kernel being the issue. But...didn't you build one for this? The kernel version in about phone shows it being your build.

Either way, yes, I'm in agreeance that we probably need a proper GPE kernel. The fact that it's looking for cameras at -1 and 0 doesn't quite seem right to me...although I've never looked to see what it's looking for in sense either. But I've gone over the ramdisk of this and sense, and I don't see anything apparent that would cause camera to not work at that level.

I too have the issue with reboots while installing apps from Play Store. Specifically, it seems to be paid apps. I have not had a chance to hunt that one down yet, but I am aware.

Edit: Ooooooh...you mean flashing gpe firmware through fastboot...hmmm...

Lemme look for that.
[Verizon HTC One (M8)] :
The reboots with the paid apps happened on the s4 as well. It turned out to be the encryption if the paid apps, or something like that.
[Verizon HTC One (M8)] Zarboz:
Ill port the kernel tonight that's just a sense kernel running now
[Verizon HTC One (M8)] digitalhigh:
How goes the kernel?

I got the protected app installation figured out...it was the crypto modules for the kernel. :P I grabbed everything with "crypt" in it and pushed them over, and root explorer installed without an issue.

Gonna keep plunking at anything I can see that's camera related...hopefully a proper kernel port shouldn't be too tough to whip up. :D
[Verizon HTC One (M8)] digitalhigh:
Any luck there, [MENTION=1615671]Zarboz[/MENTION]?

It's been a while since I built my own kernel, so I'm downloading a linux VM and the sources for sense and GPE now...gonna see if I can't make my own. Either way, I'll want that VM for potentially building CM...so no big deal if you've got it already.

VM should be done downloading in about an hour...
[Verizon HTC One (M8)] digitalhigh:
Oh $hit.

Who just fixed camera?

Yeah baby...

I'm done bogarting this thread. Will create a new one once I'm satisfied with a releasable version...
[Verizon HTC One (M8)] :
How I saw this post. "Create a nandroid backup, stuff is about real".

Great job on the camera. Looking forward to using the GPe as a long-term DD.
[Verizon HTC One (M8)] coldconfession13:
I'm anxious also. I'll test for u