yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 Q&A, Help & Troubleshooting] IHC:
Finally got it to connect, it took 17 reboots in a row on the tablet and it finally connected without an authentication error.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] techiepiano:
Any idea why that would happen? I've never encountered such a thing.
[Android Q&A, Help & Troubleshooting] androrealnoob:
I have a chinese Android tablet and after moving a lot of applications on my sd card (80 out of the 120 apps), when I go to my settings / Apps section, if I open each app settings in order and back quickly after 5 or 6 it will hang for around 60s.

Looking into the logs I found this "NDC Command {494 asec fspath com.xxx/xx} took too long (600012ms)", and indeed this appears in the log every time this issue happens.

So xxx/xx obviously changes all the time, and I can make it happen on any app stored on sd card. Basically clicking the app, then back, then the app again. This does not happen for any app not on the internal SD card.

Any idea what it is or how I could fix it?

Things I tried without success:

1. Reformating my internal sd card with different cluster sizes

2. Trying all the sd card accelerating apps available

3. Moving more apps back to system instead of sd card

Any help is greatly appreciated.

Thanks in advance.
[Android] UtCollector@gmail.com:
I did a small search on how to logcat and fix the problems found. I thought wy dont put this in a thread sow others can find some good links and info on 1 place. I mainly put in the links and info i found using the search option: ¨logcat¨

Yes use the search option first before you go and ask things.

This thread/post is alsow just great for my self to haha. I´ll post it in my main thread and be able to find this good stuff fast.;)

Here go´s my small guide i put to gether reading on XDA. This will go about logcat bootloop and logcat on device.

Sow i almost got my cm9 rom working.. But still get a bootloop.:crying:

I start the command when the bootanimation starts. Ore it wont work. ADB needs to be started on the device.(To be clear on this i start terminal in Linux.) This is the command i use to start logcat:

adb logcat *:E, *:W > errandwarn.txt

For me the file is made in the home dir.:good:

-To stop running a logcat you can use the option: control + C stops adb log.

Logcat on you´re device:

This can be usefull if you have Android running.

Download terminal if you dont have one.

type this in your terminal emulator :

adb logcat -v long > name of problem.txt

If you managed to get the logcat you could google the errors in it. Ore post on XDA if you cant find all the answars.. Probably a post about logcat might be best to ask!?

I made a new thread my self here:http://xdaforums.com/showthread.php?p=36808921#post36808921

I wanted to see if i get respons this way and hopefully fix my problems.

Guides:

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

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

[GUIDE] Installing ADB/SDK and How to make a logcat: http://xdaforums.com/showthread.php?t=1616059

guide How To Logcat: http://xdaforums.com/showthread.php?t=1726238

guide: http://xdaforums.com/showthread.php?t=1123129

Guide and tool. Logcat on pc ore device: http://xdaforums.com/showthread.php?t=1987232

Logcat enable/disable Application: http://xdaforums.com/showthread.php?t=1355331

[Article]Workaround for grep and Logcat, dmesg, and last_kmsg on Windows: http://xdaforums.com/showthread.php?t=2076377

Tools:

logcat reader. This is for WIndows: http://xdaforums.com/showthread.php?t=1618882

All in One Android Logger. For Windows and Linux: http://xdaforums.com/showthread.php?p=32994107

There should be a lot more nice tools but i did not look into it more for now. Post some links if you like!

If there are any other nice guide and tools to use i really would like to ad them here. Sow please let me know;)
[Android] UtCollector@gmail.com:
Some fixes on commen problems.

Space for me.. If posible some info on how to fix some commen problems.

To early to bumb haha;)

Problem 1 dpi setting:

W/SurfaceFlinger( 1042): ro.sf.lcd_density not defined, using 160 dpi by default.

Fix:

the values =120,140,160,180,200,220,240 for changing

You can use lcddensity.apk (root user) for this.

you must be added this ro.sf.lcd_density=240 in build.prop at the end.

I have this in my device.mk:

PRODUCT_PROPERTY_OVERRIDES += \

ro.product.locale.language=nl \

ro.product.locale.region=NL \

ro.system.hdmi_max_resolution=fullhd \

ro.system.hdmi_active=true \

ro.system.composite_active=true \

persist.sys.composite_resize=3 \

ro.system.component_active=false \

tcc.output.component_mode=0 \

ro.system.hdmi_portable=true \

ro.opengles.version=131072 \

persist.sys.timezone=Europe/Amsterdam \

tcc.hdmi.720p.fixed=0 \

tcc.video.call.enable=0 \

tcc.only.play.mode=1 \

tcc.show.video.fps=0 \

tcc.hwc.disable=0 \

dalvik.vm.dexopt-flags=m=y \

dalvik.vm.dexopt-data-only=1 \

ro.sf.lcd_density=240

Ore you can ad this in buid.prop of you´re already build rom.

Problem 2 write failed:

E/dalvikvm( 1914): Zip inflate: write failed: Bad file number

E/dalvikvm( 1914): Unable to extract+optimize DEX from '/system/framework/services.jar'

E/dalvikvm( 1914): Dex cache directory isn't writable: /data/dalvik-cache

E/dalvikvm( 1914): Dex cache directory isn't writable: /data/dalvik-cache

Fix:

-put:

dalvik.vm.dexopt-data-only=1 in build.prop ore in buildfile: *_device.mk

Look ad PRODUCT_PROPERTY_OVERRIDES += \ of answar 1.

-Wipe dalvik?

I did not see the error again. Im not sure if the reason for this error is 100% fixed.

Link: http://forum.cyanogenmod.org/topic/...t-cm-6-nightly-tests/page__st__-20#entry20228

Problem 3 missing file:

E/Sensors ( 1375): couldn't find 'compass' input device

E/Sensors ( 1375): open error.

E/Sensors ( 1375): AccelSensor: gsenportrait ()

E/Sensors ( 1375): couldn't find 'lightsensor-level' input device

E/Sensors ( 1375): couldn't find 'proximity' input device

W/UsageStats( 1375): Usage stats version changed; dropping

W/PackageManager( 1375): Library not found: /system/framework/com.google.widevine.software.drm.jar

Fix:

-add permission com.google.widevine.software.drm.xml to system/etc/permissions/ Continue to see logcat. Put com.google.widevine.software.drm.jar in framework folder.(com.google.widevine.software.drm.jar needed for gapps?)

I do change this stuf in my make files/device folder. In the file *.device.mk again! Could dump those 2 files in a already build rom and repack i gues.

-flash gapps..?

- I did not have the file com.google.widevine.software.drm.jar in my stock rom.. Strange.

-There seem to be more problems in this problem part but this is what i fixed sow far..
[Galaxy S III Q&A, Help & Troubleshooting] chuckie2909:
Hi all, just got my s3 for a week now. Everything is working good untill i was trying to find a song. So i used shazam to listen to it. When i tried it it keeps searching, without recognizing anything. And than after 10-15 seconds, the phone freezes and restarts again :(

I thought maybe it was the app, so i installed a different software called soundhound, same problem!

Don't know what to do now, those programs worked on my s2! Should i return the phone? It's not rooted and updated to 4.1.2.

Any help will do!
[Galaxy S III Q&A, Help & Troubleshooting] RCranium666:
I have the same problem. Haven't found a solution yet.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] domethiuos:
Hello:

New to Android just updated to the new JB on my 8013 and wanted to know if there is a Root like a CM one for the new firmware and OS?
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] the great heisenberg:
http://autoroot.chainfire.eu/

Find the tar or md5 file and install through odin, further instructions at the link.

Worked for me :)
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] jamesc760:
Cf-root by chainfire still works.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] johnboyjr:
I just updated with mobile odin and it was rooted
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] RandomAwesomeGuy:
I also believe that the CWM method still works too.

http://xdaforums.com/showthread.php?t=1831152 (Method Two).
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] jjflemin:
It does work. I did it after flashing 4.1.2 over the german rom. No problems whatsoever.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] jdne5b:
Are there benefits to choosing one method over another?
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] RandomAwesomeGuy:
The ClockWorkMod method will give you root and the ClockWorkMod recovery to install zips and do nandroid backups/restore from recovery, while the cf-root will only install root.
[Transformer TF300T Q&A, Help & Troubleshooting] Pimstam:
I don't see the remove button

I made this for a problem but it is already solved
[Verizon Droid Incredible 2] Helitenks:
My friend has a Verizon droid incredible 2 rooted, but it's flashed through cricket.

Will it be okay to flash roms on it?

She'll probably flash viper inc if that helps.
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
Anyone tried to write android in c
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
Heard you can do it but its less efficient and slower.
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
Its more efficient I thought anyone else with input
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
If you are talking about java language that's what I am studying now in college
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
C# c sharp
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
Object-oriented programming language?
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
Actually you are right. I think the main hangup would be the millions of lines of code that would need to be converted. It would take a small army at Google to do it I think. And I think that during the while Oracle fiasco, they found that they could actually convert it to c# if need be.
[T-Mobile Samsung Galaxy S II SGH-T989] algorhythm:
Am I the only one thinking wtf?

Do you understand how difficult it is to port something as massive as Android from Java to C#, without even understanding basic programming ideas?
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
It is more efficient but takes alot of work and dedicated people
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
I say let's do it on a xda device one day ....dreams
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
Its not really a port its a whole remake piece by piece
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
Hence the small army at Google... It could technically be done but probably not by the devs on xda just for the shear size of the project that it would be
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
Yeah so its faster with less memory
[T-Mobile Samsung Galaxy S II SGH-T989] algorhythm:
It is nit just "hmm let's randomly pick a language and code it" there are many decisions before jumping in. Do you even know the differences between java and c#, other than the names?
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:


---------- Post added at 08:59 AM ---------- Previous post was at 08:55 AM ----------

Anything is possible maybe some day. Don't know if it would benefit us or not though.
[T-Mobile Samsung Galaxy S II SGH-T989] PJcastaldo:
Do you? C# is a windows based programming language, Like Visual Basic.. another windows programming language..

I think the OP is referring to writing in C++ which is different (not by much) than C#.. and from what I understand the native Android system has some libraries that support C++,and has an NDK that allows you to do some programming in C++... and more than likely those complicated bad ass games are not written in Java..
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
You got that right. I am studying web design and java programming. It is mind blowing some of the coding involved. Some of it is easy to follow and some of it is like a foreign language.
[T-Mobile Samsung Galaxy S II SGH-T989] algorhythm:
C# is one of a few languages I work with on a daily basis for my job. Unless I misread, the OP is asking why not port Android from Java to C#, not CPP.

There is a lot more to consider than just saying "hmm C# look prettier why not port a massive mobile OS in it."
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
A majority of the code has already been ported bud. It is possible.

http://www.theinquirer.net/inquirer/news/2172090/xamarin-ports-googles-java-android
[T-Mobile Samsung Galaxy S II SGH-T989] PJcastaldo:
Yeah, I have so far done a Java class, a Visual Basic class and this semester I am taking a C# class.. It can be cray but its fun!!
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
Right now they got me designing my own applications with Netbeans. Alot of codes mostly object-oriented stuff. Some is fun and sometimes I am like argh!!!
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
Lol net beans is awesome but why not c# its a lot cleaner imo
[T-Mobile Samsung Galaxy S II SGH-T989] algorhythm:
This I did not know. Is this a "just for s&gs" kind of thing or what?
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
Yeah if someone could get a hold of that I want to start a revolution here at xda
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
Thats what the school wants not me
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
From what I've read yeah it was just to see if it could be done but then they started going deeper into the OS and found some drastic performance improvements with c and their Mono VM over Java and the Dalvic VM
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
They have a github with all their work on it.

https://github.com/xamarin/XobotOS
[T-Mobile Samsung Galaxy S II SGH-T989] algorhythm:
Actually pretty interesting.

But I highly doubt someone with 1 college class under their belt will be able to go nuts with this...
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
Let get some more devs In Here I can't do this by my self
[T-Mobile Samsung Galaxy S II SGH-T989] cwillison94:
This is a kind of project google could takle, hmm maybe 5.0 will be something entirely different, just a thought.
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
This with linaairo yum
[T-Mobile Samsung Galaxy S II SGH-T989] jim93:
Dont see the point and im not sure people know much about the OS.

Apps are written with the Android SDK in Java.

The kernel is c/c++ and deals with all the low level stuff.

Android is on top and interacts with programmers so it is in a higher level language Java to make it easier.

The NDK allows lower level access if the app dev wants it.

So why exactly would you want to write Android in C and have code which is harder to maintain and program apps for while not getting any significant performance gains since the kernel is already in C/C++ anyways?

Its not like XDA is overflowing with C++ devs (there are like 10+ Java/XML devs to every one C/C++ kernel dev).

If programming was as simple as "C always faster and better" everything would be written in C.
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
Even if the kernel is written in C, the Java VM Dalvik is much slower than one written in C# like Mono. It would just speed things up is all. It obviously isn't a make or break difference since Google hasn't made the switch
[T-Mobile Samsung Galaxy S II SGH-T989] jim93:
The problem is that the people saying Dalvik is slower than the C# variant are the Mono people themselves just like the Linaro people said their build crushed other builds but the difference isnt obvious which is why every build isnt a Linaro build.

I usually dont take something a salesperson for an idea is a fact until it is confirmed by an unbiased source.

As long as Dalvik is comparable it will be the way google does it because Java is just easier to program hence the amount of apps and devs.
[T-Mobile Samsung Galaxy S II SGH-T989] PJcastaldo:
C# is a Microsoft Windows programming language.. Why the hell would you take the time to try and compile it to run on Android? That's dumb.. C/C++ are totally not the same thing as C#...
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
C# was developed by Microsoft as a universal programming language. Just because windows is written mostly in C,C++, and C sharp does not make it proprietary to windows. C sharp is actually pretty similar to Java.
[T-Mobile Samsung Galaxy S II SGH-T989] likaboss:
Studied and used Java as an undergrad CS student almost exclusively. While we had to also LEARN C, C++, and x86 ASM, Perl, Python etc. - Java was core

Funny, after 2-3 years of Java, I graduated and went and was immediately hired writing C#/.NET for the next 5 years and had no trouble at all getting up to speed on it after all that Java.
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
My point exactly. Google looked at C# as a very viable option should they lose their battle with Oracle. They found that they could move the entire platform to C sharp if need be.

---------- Post added at 10:34 AM ---------- Previous post was at 10:32 AM ----------

I agree completely that more research needs to be done but it is nice to know that the option is there and could possibly be better than the current implementation. :)
[T-Mobile Samsung Galaxy S II SGH-T989] TimeMonkey:
Ok I may be very wrong but doesn't android run in a virtual machine and if we converted android to C it would be running of the hardware at full potential and games would run a lot smoother
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
Yes it runs on the Dalvik VM. There have been attempts to convert and run it on a C# based one called Mono and that company says the performance is increased substantially.
[T-Mobile Samsung Galaxy S II SGH-T989] TimeMonkey:
I thought so it would be like taking it out ofvtge vm and boot it from the hdd like say windows hosting a Linux box
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
More or less yes.
[T-Mobile Samsung Galaxy S II SGH-T989] jim93:
Its closer to changing compilers from gcc to borland c++

since at the end of the day something will need to interpret your apps written in Java unless google is the one making the changes.

Assuming nobody is going to go out and reprogram every app in the play store into c#.
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
There are a number of programs that can convert java to C sharp. That could tackle a lot of the code and one could clean up the rest that cannot/won't convert properly. I really doubt any of this will happen on a global scale but its still fun to talk about :)
[T-Mobile Samsung Galaxy S II SGH-T989] jim93:
Cleaning up converted code is not easy. Finding a bug that compiles right is a hassle and multiplying the possibility of this happening by all the apps in the playstore.

There is also the fact that code from the playstore is proprietary so a lot of apps arent going to hand you their source code to turn it into c#.
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
Very true but if Google made the move to C then the app developers would no doubt convert as well. If someone was just going to do this as a side project then yes you would run into issues.
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
That would suck all Goole play store apps not work it would kill I think they should sell and then buy mono and work with a fresh start ...but I am crazy drunk right now
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
I feel you Let's go Bmore!!!! 28-13 yesss!!!! Sick of N.E. Kraft mac & cheese is going down. Tom Brady playing like Marsha Brady. Ravens SB Bound!!!
[T-Mobile Samsung Galaxy S II SGH-T989] PJcastaldo:
Non of this matters.. At least in our section.. We don't have any talent or real devs.. Just fake asses that "port" ROMs that already worked in the first place.. I'd say its a sad day... A sad day indeed.... :rolleyes:
[T-Mobile Samsung Galaxy S II SGH-T989] icenight89:
Now hold on a second, that's some harsh criticism. Have u ever contributed anything of REAL VALUE to the community? Kernel, rom, port? Even a port isn't necessarily such an easy task. So before u go bashing understand that all Devs on xda do this for free. Some receive donations but all give their work for free regardless.
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
I'd say all you do is browse threads and try and stir the pot whenever you can and give no valuable information in the process. The devs here are fine and I haven't seen a ROM from you or even a port so don't knock what you don't contribute to.
[T-Mobile Samsung Galaxy S II SGH-T989] jim93:
And this is why we need a thumbs down button
[T-Mobile Samsung Galaxy S II SGH-T989] corwest:
I'd give it two.
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
That has nothing to do with anything I am trying to say off topic and bro really people like you ...I just got 2 iPod touches omg they are so fast for being such a low end device {iPod 4th gen 32gb}!!!...now I feel like I should be flamed {iOS is written in c#)
[T-Mobile Samsung Galaxy S II SGH-T989] algorhythm:
actually dude iOS is written in Obj-C and is nothing like CSharp.

Please know what you are talking about before you attempt to flame someone otherwise you will be flamed for being an idiot :good:
[T-Mobile Samsung Galaxy S II SGH-T989] don728871:
It is written in c#
[T-Mobile Samsung Galaxy S II SGH-T989] jim93:
iOS

Its probably C on the kernel level

but

yeah the rest is objective-c

Apple even tried to reject code/apps which they think was automatically converted using programs off of source in JAVA or C# because of claims of code quality control.

http://www.imore.com/apple-updates-iphone-40-sdk-agreement-block-flash-cs5-mono-touch-compilers

and objective-c is an annoying language.
[T-Mobile Samsung Galaxy S II SGH-T989] algorhythm:
Dude it's Objective-C.

https://developer.apple.com/library...ingStarted/RoadMapiOS/chapters/Languages.html

Objective-C is an elegant object-oriented language that powers all iOS apps. You write Objective-C code to create your app, and you need to understand this language in order to use most application frameworks. Although you can use other languages for development, you can’t build an iOS app without Objective-C.
[Galaxy Note 10.1 General] Thomasrox3:
Hi,

If at all possible, could someone post the complete CSC for their 8010 that is running 4.0.4 (If there's any of left that haven't installed a 4.1.1). Im trying to revert back to the Canadian base firmware and cannot for the life of me locate the CSC anywhere on the internet.

Thanks,

Thomas
[Galaxy Note 10.1 General] Thomasrox3:
Hi agin,

I hate to bump my own thread. I'm just trying to figure something out. If any could please post the CSC for this it would be of great help to me.

As it stands I'm trying to figure out a problem I'm having where when I try updating through kies it gives me an error message. It appears my CSC has changed when I installed the German JB 4.1.1. And I have yet to find any indication of what the Canadian CSC may be, on the web.

Now us Canadians are good people, and when another Canadian is in need we help out. I beg of you help me. I've attached a screenshot of what Kies tells me.

Thanks again,

Thomas
[Galaxy Note 10.1 General] methaq:
Try this page

http://www.sammobile.com/firmware/?page=1&t=1
[Galaxy Note 10.1 General] samir_a:
Canadian Rom is not on Samfirmware for some region check the Australian firmware that is the nearest one. Try installing it and see if you can check for updates
[Galaxy Note 10.1 General] methaq:
The page I posted lists csc codes. Scroll down. There are three for Canada.
[Galaxy Note 10.1 General] SuperDuckWC:
JB update is avalaible for Canadians?
[Galaxy Note 10.1 General] klau1:
Found it!
[Galaxy Note 10.1 General] samir_a:
Like I have said earlier its nearest rom is Australian as I had done an extensive search while trying to help out a member. But did not have a confirmation of the same as I do not have a device and no one owning it could confirm that.