yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Q&A, Help & Troubleshooting] thedune:
I am unable to use adb from either Windows7 or Ubuntu to my Samsung galaxy note II phone. Any ideas why? Also on Ubuntu when I connect my phone via the USB cable to the PC, my Ubuntu has problem openning the disks on the phone or openning the camera.

I can now connect via Windows 7 after having installed "Samsung Galaxy Note II Toolkit2" and the device drivers.

But my issues under Ubuntu remain...

Even though I managed finally to get my Samsung Note II to communicate with adb on Windows but I am still having problem with it working with Ubuntu.

I have also installed heimdall on my ubuntu but have not decided to flash my phone to make it ROOT. All I need is to communicate with it through adb via ubuntu.

I also attempted through WINE to install "Samsung Galaxy Note II Toolkit2 but still no joy.

the error I get when connecting my phone via usb to my ubuntu machine is:

Unable to mount SAMSUNG_Android

Error initialising camera: -60 :Could not lock the device

Any ideas?
[Galaxy Note II Q&A, Help & Troubleshooting] gtasmodder:
yes i got it to work and i do have a note 2

http://stackoverflow.com/questions/15055304/unable-to-mount-samsung-android-in-ubuntu

follow it
[HTC One S] dgwphotography:
I went through unlock, and root with no issue. After installing CM and gapps, I'm now just getting the spinning CM boot image.

I wish I could just pull the battery ;)

Any help would be appreciated.
[HTC One S] pbelcomp:
Which hboot do you have?

Which recovery are you using?
[HTC One S] dgwphotography:
I have CWM touch.

I also tried running reboot through fastboot, and just got "Waiting for device"
[HTC One S] pbelcomp:
Which hboot?
[HTC One S] dgwphotography:
I'm not sure - it must be the latest stock version. I just got this phone from Assurion this week as replacement for my daughter's Amaze.
[HTC One S] pbelcomp:
Did you flash the boot.img via Fastboot?

http://xdaforums.com/showthread.php?t=1752270
[HTC One S] dgwphotography:
I flashed CWM touch via fastboot, and then flashed CWM 8.2.3 zip before I flashed CM and gapps
[HTC One S] el_smurfo:
Read this thread and the cm10 op...you didn't install correctly and have ignored several relevant questions trying to help...
[HTC One S] ryanshew:
You have to extract the boot image from the ROM .zip file. Then you have to flash it with either fast boot ( on computer) or flash image GUI( On your phone In Android itself).

That is why your phone will not boot because the boot image has not been flashed correctly or at all.

You don't need to pull the battery obviously you can't. What you do is just hold down volume down and power and keep holding it until you see the bottom lights flashing keep keep holding it eventually your phone will turn off.
[HTC One S] dgwphotography:
Thanks everyone for your help.

I extracted the boot image from the ROM and flashed it. For good measure I also rewiped, and flashed CM10 and gapps again. Everything is working great now - this phone is really a beast without sense.

Thanks again!
[Nexus 4 Q&A, Help & Troubleshooting] ackliph:
Any one else had a Nexus 4 dream yet?

I was in a hotel room in my dream with the Nexus 4 charging on the nightstand. I woke up and the battery had expanded so large inside that the back glass was shattered in half. The phone was bulging and hot. Luckily I woke up to find my phone OK, but it was under the pillow next to me. Screen on. And very warm. Was the NFC calling out to me to unplug it??? :confused:
[Nexus 4 Q&A, Help & Troubleshooting] gagdude:
Whoa. Android on the loose
[Nexus 4 Q&A, Help & Troubleshooting] heliumrepublic:
okay thats just sad...
[Nexus 4 Q&A, Help & Troubleshooting] undercover:
Goonet will take over humanity!

But it looks you found a human friendly device, it warned you. Take care of it.
[Nexus 4 Q&A, Help & Troubleshooting] Babydollll:
Sent from somewhere....if I could only remember where....
[Nexus 4 Q&A, Help & Troubleshooting] werked:
Wait, where am I?! :confused::what:

---------- Post added at 07:13 PM ---------- Previous post was at 07:07 PM ----------

This is a dream, you are dreaming right now as you read this.... This isn't really happening.
[Nexus 4 Q&A, Help & Troubleshooting] jRi0T68:
Well played, lady.
[Nexus 4 Q&A, Help & Troubleshooting] Sleepy!:
Maybe it was the ghost of the missing LTE antennas?

Have you had any other telephonic paranormal experiences?
[Nexus 4 Q&A, Help & Troubleshooting] Prawesome:
Trolls.Trolls everywhere
[Nexus 4 Q&A, Help & Troubleshooting] sporez:
I'm trying to figure out if these speeds I'm getting on tmobiles $30/month plan are normal. They seem awfully slow to me! According to the settings it shows me on 'hspa+15' and network signal monitor tells me that it's on the 21.6Mb/sec connection.

Why are these speeds so slow?
[Nexus 4 Q&A, Help & Troubleshooting] capcanuck:
Call tmobile and have them boot you off the network and then reconnect you.. Worked for me.
[Nexus 4 Q&A, Help & Troubleshooting] sporez:
Well supposedly they "refreshed" my connection. Unfortunately, speeds are still the same. I guess I just live in an area with crappy service.

Sent from my ASUS Transformer Pad TF300T
[Nexus 4 Q&A, Help & Troubleshooting] Ajfink:
As long as you're sure you set everything up correctly (APNs, didn't bungle a SIM cutting), check it out again in a different geographical location. Like...the next town over or the other end of the city or whatever best applies to you.
[Nexus 4 Q&A, Help & Troubleshooting] Euler MD:
Precisely, why not check out a local city and test speeds there.
[Nexus 4 Q&A, Help & Troubleshooting] Dmw017:
Hey I have old mmssms.db files that I want to recover but can't figure out how to do so because the files are originally from older version of Android that apparently aren't compatible with the current software. I heard you can open it in some browser and save the table as .csv then use some app to import the texts into the phone. I tried that using sqLite browser or something but could never get it to work.

Is there another method, something simpler or... ?? if not, can someone outline the steps needed to recover my old texts, thanks.
[AT&T Samsung Galaxy Note II] madmack:
Hello everyone.

I've been working on the last few days on porting CM10 (or any AOSP rom really) to our device. I think I got the basics working for now so I'd like to share that with all of you.

1. download the attached file.

2. reboot into twrp

3. factory reset

4. wipe "system"

4. flash the file

5. flash gapps (find it in google).

6. reboot

What's been tested:

-Radio: phone calls work and 4G LTE speeds are intact.

-Audio: Bluetooth audio, A2DP, speaker, headphones and in call audio all work.

-GPS: no problemo.

-Camera: works without a problem if you use a third party app like Pudding Camera, Zoom FX.

What else?

Known issues:

- The stylus doesn't work. Need to investigate.

- Radio crashes every now and then.

- Audio in phone calls requires an initiation phase: make 2 phone calls to any number when you boot up to get audio functional on the 3rd call.

This ROM is tested and should work fine on the following devices:

1. AT&T Note 2

2. T-mobile Note 2

3. International LTE Note 2

Dev talk: The device tree was forked from N7100. Most of the board share the same peripherals so it was a matter of getting the correct defconfig and the correct initramfs. I'm uploading the stuff to my github now so you guys can have a look and perhaps fix the remaining bugs ;) Hopefully this will facilitate getting official support by CM10.

Download link:

initial release: http://www.mediafire.com/?n4occ5rwv2nra7p

Dec 08 update: http://www.mediafire.com/?h1h4658y5555k58 (note. this update is compressed using 7z. Use 7-zip to decompress the archive first and then flash the resulting zip file in TWRP)

Dec 13 update: http://www.mediafire.com/?a6hl8qlv5v261q1

Dec 26 update: http://www.mediafire.com/?lubkf4c7c4h4lzc

Jan 13 update: http://www.mediafire.com/?vafgo52b353pep9 Laggy UI? flash this kernel after flashing this rom
[AT&T Samsung Galaxy Note II] madmack:
Sources:

you'll need to get my sources to build this copy yourself:

1. vendor blobs. Yes I was nice and added the necessary binaries here. You don't need to adb pull em. Please also note that I did some changes to the smdk4412-common directory as well.

2. smdk4412-common device tree changes.

3. The device tree.

4. RILJ implementation

1. goes to ./vendor/samsung/

2. goes to ./device/samsung/smdk4412-common

3. goes to ./device/samsung/i317

4. apply the patch manually to frameworks/base

To compile, after sourcing the envsetup.sh file: "breakfast i317 & make"
[AT&T Samsung Galaxy Note II] jetrii:
Awesome! Currently downloading it, and will report back with my results.

SMS: Works

Calling: Connects, but no audio

Wifi: Works

4G: Works

GPS: Having a few problems...

Problems:

-AOSP keyboard crashes on boot and won't show up at all. Seems to be the only problem so far.

-Phone randomly froze once while opening the notification panel for around 50 seconds. (trebuchet FC afterwards)

-Unable to access Play store (Server Error messages) -- Flashing an older version of GApps fixed this (October version)

Going to try an earlier version of Gapps. I used the newest one.
[AT&T Samsung Galaxy Note II] madmack:
To the guys trying to compile the sources with their own custom vendor/device tree, did you run into an issue with the kernel compiling with an error due to not finding firmware/SlimISP_ZK.bin ? The kernel compiles just fine when you cd to that directory and run make but it refuses to do it correctly with a full CM make.

If you guys figured it out , lemme know ! it's the last step I need before publishing my code. That part of the kernel needs to compile correctly otherwise the camera just FCs. I tried changing the toolchain from 4.6 to 4.4.3 but that threw some other errors.

awesome. are you with t-mo btw? are you using the same exact device (i317) ?
[AT&T Samsung Galaxy Note II] jetrii:
I am on AT&T with the same device. I should probably update my carrier :D

EDIT: Flashed an older version of Gapps (October 2012) and the play store now works!
[AT&T Samsung Galaxy Note II] DarthPiggie:
Yes i did bro. You needed to edit the makefil in the kernel's firmware directory. I recommend that you take a look at the stock Makefile for the stock Kernel to see the difference. The SMDK4412 kernel makes certain assumptions about child devices that it shouldn't.
[AT&T Samsung Galaxy Note II] madmack:
Can you please show me your edits?
[AT&T Samsung Galaxy Note II] deeznutz1977:
Flashed on my tmo note2 and our modem . And it worked data, calls didnt check messages I must have had a bad gapps cuz it wasnt playing nice awesome work

Like above the keyboard wasnt working.. edit: dieu about posting about another device in this thread . Just excited
[AT&T Samsung Galaxy Note II] Jonathon1710:
I can also confirm that the AOSP keyboard crashes and the home button doesn't work.
[AT&T Samsung Galaxy Note II] jetrii:
GPS doesn't seem to be working. According to GPS test, it is able to see a few stateliness, and occasionally connects to them, but it's unable to provide a location in Google Maps.
[AT&T Samsung Galaxy Note II] madmack:
i'm not having any issues with the keyboard.. hmm

people with issues, make sure you the file isn't corrupted or anything

the md5sum is: 6d4426dc85110ff7a2abb6994e1fc53f
[AT&T Samsung Galaxy Note II] DarthPiggie:
Towards the beggining of firmware/Makefile:

ifdef CONFIG_MACH_T0
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_ZK.bin \
SlimISP_GK.bin
else
ifdef CONFIG_MACH_BAFFIN
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_ZK.bin \
SlimISP_GK.bin
else
ifdef CONFIG_MACH_GRANDE
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_GJ.bin
else
ifdef CONFIG_MACH_IRON
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_GJ.bin
else
fw-shipped-$(CONFIG_VIDEO_S5C73M3) += SlimISP_ZD.bin \
SlimISP_GD.bin
endif
endif
endif
endif

Just comment that out. It's hacky, but last I checked, our devices did not need those binaries. They weren't in there to begin with.
[AT&T Samsung Galaxy Note II] deeznutz1977:
Cm had a setting for which gps to use ie: internal bluetooth ect.... check that I knew that but over liked many times edit: noob mistake didn't read the whole post b4 comment my bad
[AT&T Samsung Galaxy Note II] jetrii:
MD5 checks out fine. Does your GPS work? No luck with mine.
[AT&T Samsung Galaxy Note II] madmack:
I tried that you see but the Camera FCs. These binaries are necessary. Do you actually have a functional camera?

It's really strange because if you just go to kernel/samsung/smdk4112 and make defconfig & make. You won't run into that issue. Seems like it's a path setup failure somewhere.
[AT&T Samsung Galaxy Note II] jug6ernaut:
Calling connects but i cant hear anything from the other line, they can not hear me ether.

Also radio seems to keep crash lol.
[AT&T Samsung Galaxy Note II] madmack:
it works fine here. it is able to triangulate me in gps status and in maps.

the daemon spells out a crap ton of info to logcat too though while I'm locked.
[AT&T Samsung Galaxy Note II] DarthPiggie:
In addendum, once we get a nice proper defconfig for the kernel we won't have to worry about such edits.

cmenard look at the defconfig:

#
# EXYNOS4 Machines
#
CONFIG_TARGET_LOCALE_USA=y
CONFIG_MACH_T0_USA_TMO=y
CONFIG_MACH_MIDAS=y
CONFIG_MACH_T0=y
CONFIG_T0_04_BD=y
CONFIG_EXYNOS_SOUND_PLATFORM_DATA=y
CONFIG_SAMSUNG_ANALOG_UART_SWITCH=1

That is what I have in mine. I borrowed that from the stock kernel. I don't get the build issues, however at runtime something is still trying to load that binary. At least that's what I see in the logcat.

---------- Post added at 06:03 PM ---------- Previous post was at 06:02 PM ----------

Post the exact error here so I can help. I had the same issues too.
[AT&T Samsung Galaxy Note II] jetrii:
Second this. I called my T-Mobile line, and although it's able to connect, there is no audio.
[AT&T Samsung Galaxy Note II] DarthPiggie:
If these binaries are necessary, then why aren't they present in the stock ROM? I can't figure that part out, but perhaps you're correct.

EDIT:

You're right! They are on phone. They are just in strange place: /data/cfw

I am not sure why they are not in /system/vendor/firmware like the others but that's what it is. That binary will load the camera.

---------- Post added at 06:11 PM ---------- Previous post was at 06:05 PM ----------

We'll have to edit the proprietary-files.sh script.
[AT&T Samsung Galaxy Note II] cashyftw:
On Tmobile, lost signal once, now it's being stable! Sweet ril fix!

Edit : lost signal when I went to unlock.

Edit again: a reboot seemed to fix my issue.

Sent from my JellyBean Galaxys3
[AT&T Samsung Galaxy Note II] madmack:
it's still not perfect. I had several rild crashes when i was out.

It's a little hard to log given that it refuses to happen when I have logging active. let's see if it'll be nice and crash a few times for me so I can have a nice snapshot of what's going on. I'm starting to think that it's kernel related somehow. Does rild crash ever while you guys are charging (either usb or a/c)?
[AT&T Samsung Galaxy Note II] chrisaw:
Strangely us n7105ers are still getting full reboots every few mins. Rebuilt your source with the n7105 binary blobs and don't get the GUI starting properly - all a bit strange tbh. Possibly the rild crashes cause reboots for us for some reason.
[AT&T Samsung Galaxy Note II] id10terrordfw:
Quite the opposite for me, it seemed to only crash when I was on deep sleep walking my pup. I had to flash back to my nandroid of stability for the moment due to family stuff, but I will try again tomorrow at work.
[AT&T Samsung Galaxy Note II] ASimmons:
Noticed that coming out of deep sleep that cpu 1 and 2 stay off line and don't come back until I go into deep sleep again, and this is when I see the rild crashes.
[AT&T Samsung Galaxy Note II] madmack:
possible cause. I don't understand why that would be the case in our device and not the n7100 though. We literally share the same exact CPU kernel code.

how are you checking which CPUs are online?
[AT&T Samsung Galaxy Note II] twolfekc:
Same thing here. I was using system tuner to check
[AT&T Samsung Galaxy Note II] madmack:
I wonder if the n7100 is having similar issues with the CPUs not coming back on
[AT&T Samsung Galaxy Note II] ASimmons:
Actually I think its the opposite of what I stated before. when the cpus don't come back online then rild seems fine and I see nothing in the logs. What should I see in logcat if rild crashes?
[AT&T Samsung Galaxy Note II] Entropy512:
Obviously I didn't? I'm the damn N7000 maintainer, and I know what fixed Bluetooth audio on the Note 1 (it also fixed BT audio on d2 variants)- It was http://review.cyanogenmod.org/#/c/20705/ - audio_policy.conf hacks would fix bluetooth but break many other things, and thus weren't a fix.

It was also not the fix for quincyatt BT audio, this was https://github.com/CyanogenMod/andr...mmit/8a41c77cfa447d42be589f284ba06ac48cc162f9

In fact, the thread you linked explicitly points out to why it's wrong - see http://xdaforums.com/showpost.php?p=31669313&postcount=37

It was wrong because it was WRONG (see above), and it would have been determined to be wrong if it had been submitted to gerrit instead of OMG I FIXED IT WITHOUT CHECKING TO SEE IF I BROKE ANYTHING LET ME SUBMIT IT TO THE XDA PORTAL! You clearly left out the part where I said that the "fix" was BROKEN because it caused regressions in other functionality.

That's standard. Supercurio did a good presentation on radio power states for UMTS a few months ago - but normally the radio is in a lower power state that's part of the original 3G standard. It only enables HSPA/HSPA+ states when it needs them because they consume more power. Edit: FYI, some of the state switching stuff is related to "fast dormancy" which is something you'll hear referred to occasionally. A mismatch in FD configuration between device and network can do a number on your battery.

And yes, both AT&T and T-Mo are calling HSPA+ 4G, which is why people call it "faux-G".

Madmack - Did you create a new RIL class, or just modify the smdk4210 RIL class? There's a chance the code you added may be backwards-compatible.

I would strongly recommend putting your frameworks/base and smdk4412 kernel changes up on gerrit for review rather than using your own github. This lets you amend a single patch as you work instead of having a pile of halfassed patches.
[AT&T Samsung Galaxy Note II] madmack:
you'll see the qc_kickstarter and at_distributor spawning a lot of text due to a modem reboot. No binary crash or segfault. These processes simply respond to a modem crash that I do think is caused somewhere in the kernel.

cat /proc/kmsg. I couldn't do it so far when the crash happens because it only happened to me while I'm away. (maybe I should just do it in term or something)

Something in there would probably give us the culprit.
[AT&T Samsung Galaxy Note II] ASimmons:
OK thats what I saw... At_distributor the other I see now I'm attaching a log cat filtered on error level, tell me what else to try ill try it tonight and tomorrow and report back.
[AT&T Samsung Galaxy Note II] madmack:
someone please test this kernel and let me know if a) reboots occur at all and b) if the modem reset behavior seems to change at all.

I haven't tested it thoroughly but I'd like to read your observations.
[AT&T Samsung Galaxy Note II] jetrii:
I'll test it after a quick backup
[AT&T Samsung Galaxy Note II] otisman:
Everything seem to be good so far with test kernel signal more stable

Update signal drops out after a minute on call but no reboots

Sent from my SGH-I317 using Xparent Red Tapatalk 2
[AT&T Samsung Galaxy Note II] jetrii:
-Calls seem to be just as unstable as before. Made 7 calls, and 5 dropped within seconds.-

-No reboots so far (although I didn't experience reboots with the previous version either)

-Mobile netwok signal is just as bad as before, sadly. Lots of random red sections in the signal quality bar.
[AT&T Samsung Galaxy Note II] ASimmons:
All for cores are firing now but it seen the phone is sleeping.I think the only reason we saw deep sleep before was that 2 cores never woke up or took a while to. Mhz wont drop below 1500 which had been mentioned. It seems you turned on since debugging so attached so logs I thought might be useful tell me if you want me to filter on some else.

This was start up and one screen of and on

Update

I'm pretty good reception don't think I had an issue with as I fluctuate between 79-89 dbm.
[AT&T Samsung Galaxy Note II] madmack:
thanks guys. the reception i can't do much about but i want to fix these ril crashes (the red lines in your battery graph) so I'm trying different things to see if anyone of them will stick. I think it's a timing issue in the kernel. Samsung is imposing some delays (10ms) here and there and they changed their location from the smdk kernel that cm10 uses and the i317 stock one. Migrating one delay and not the other is causing these ril crashes.
[AT&T Samsung Galaxy Note II] chrisaw:
I know I'm not on a i317 so my feedback is less useful really! However, from an N7105, I did see a HUGE improvement with this kernel but unfortunately am still seeing reboots. They are much further apart though so whatever changes you made in this kernel were very positive for us. I'm getting about 10mins between reboots now as opposed to 4-5mins.

As I said, not i317 feedback so take it with a pinch of salt but still, gets us all one step closer to a stable CM build. :)

Actually: I think the reboots may be sleep related. If I'm fiddling with the device it seems to be absolutely fine. A minute or so after the screen powers off I get a reboot nearly every time.
[AT&T Samsung Galaxy Note II] madmack:
just look at this crazy stuff.

ril crashes completely stop and signal quality turns green as soon as i plug the phone into my usb port.

it's a cpu/governor/power distribution issue.
[AT&T Samsung Galaxy Note II] jug6ernaut:
did you try placing any calls while plugged in?
[AT&T Samsung Galaxy Note II] madmack:
yea, no problems whatsoever. kept it talking to my skype account for 10m, no drop.

if we get these ril crashes gone, these dropped calls will stop as well.
[AT&T Samsung Galaxy Note II] ShotSkydiver:
madmack, what exactly did you change to get the audio in calls to connect? I'm working on porting ParanoidAndroid over from source/N7100 build (see my thread in the original development section) and after compiling it using clones from your git and files in your latest zip, I still have no call audio.
[AT&T Samsung Galaxy Note II] madmack:
That's the audio hal part that I didn't push to git yet because I'm not sure I will want that in the final build. The goal here is getting the open source audio to work eventually. What I did is move in /system/lib/hw/* from stock and all their dependency, calling libraries, and config files over.

I don't understand why you'd port another AOSP based project when we're making progress here though. You do realize that we still have a terribly buggy ril that crashes often. Checkout my sources, get ril to stop crashing, then porting other stuff is a matter of copying our changes in cm10 from the n7100 tree.
[AT&T Samsung Galaxy Note II] mjwhirly:
I respect where your coming from ShotSkydiver, one of my most missed roms from the skyrocket thread was Paranoid due to its plethrea of customizations and speed and I am very impatiently waiting for its release but madmack is right, everything will come easier and more stable once we have CM up and running for our device, and maybe with a little of your help madmack can get the problems ironed out. Personally there isn't much I can help out with due to my limited dev knowledge and being in finals week, but once its over I will be helping test whatever madmack throws our way
[AT&T Samsung Galaxy Note II] madmack:
anybody on a stock kernel (TW)? Please download SetCPU and tell me which gcc version it lists at the bottom. Is it 4.4.3 or 4.6?

We're definitely having a race condition that crashes ril when the USB hub suspends. I9100 users have been having this previously.
[AT&T Samsung Galaxy Note II] beng2k:
Using asylum core its 4.4.3 (I'm assuming that's a "stock" TW kernel)