yashsingh1/xdaforums huggingface dataset:
[Android Studio] alberthier:
You can use a android.os.Handler for that. It allows you to interact with the event loop and post a Runnable that will be executed after a given delay

In your Activity's onCreate() method:

final int delayMs = 1000;
final Handler handler = new Handler(this);
final Runnable runnable = new Runnable() {
@Override public void run() {
// Call your refresh method
Refreshing();
// Restart the timer
handler.postDelayed(runnable, delayMs);
};
}
handler.postDelayed(runnable, delayMs);
[Android Studio] loren3737:
Thanks, this is exactly what I'm looking for. I add the code to the onCreate but I had an semicolon error. So I added another semicolon but its having trouble with a few other parts. Here is what I have.

final int delayMs = 1000;
final Handler handler = new Handler([B]this[/B]);
final Runnable runnable = new Runnable() {
@Override public void run() {
// Call your refresh method
Refreshing();
// Restart the timer
handler.postDelayed([B]runnable[/B], delayMs);
};
};
handler.postDelayed(runnable, delayMs);

The error listed is:

Error : (134, 33) error: no suitable constructor found for Handler(MainActivity)

constructor Handler.Handler(Looper,Callback) is not applicable

(actual and formal argument lists differ in length)

constructor Handler.Handler(Looper) is not applicable

(actual argument MainActivity cannot be converted to Looper by method invocation conversion)

constructor Handler.Handler(Callback) is not applicable

(actual argument MainActivity cannot be converted to Callback by method invocation conversion)

constructor Handler.Handler() is not applicable

(actual and formal argument lists differ in length)

The words I bolded are underlined in red in Android Studios.

this ----------------has a constructor error

runnable ----------has a initialization error

I tried troubleshooting for a little bit and took out the this and the only error left is with runnable. It says: Error: (141, 37) error: variable runnable might not have been initialized
[Android Studio] alberthier:
Yep, I wrote the code without testing it. It might need some adaptation.

Here is a version that should work:

final int delayMs = 1000;
final Handler handler = new Handler([B]this[/B]);
final Runnable runnable = new Runnable() {
@Override public void run() {
// Call your refresh method
Refreshing();
// Restart the timer
handler.postDelayed([B]this[/B], delayMs);
};
};
handler.postDelayed([B]runnable[/B], delayMs);
[Android Studio] loren3737:
Thank you so much, it worked. I just had to change

final Handler handler = new Handler(this);

to

final Handler handler = new Handler();
[JAMin, XDA Neo, S200 ROM Development] lemmz:
Hi,

i've got the windows-boot-freeze issue on my wifes phone. Problem is, there are some important files stored in the main flash. as it is possible to gain access to the flash partitions via the bootloader, i think there should be a way or even a tool to access the files stored within. My problem is, i cant find such a tool / way :D

Maybe some of u guys can help me out ;)
[JAMin, XDA Neo, S200 ROM Development] mestrini:
If the phone is CID unlocked you can use mtty to make a dump of the User Area to an SD card with the command: r2sd (something i can't recall now)
[JAMin, XDA Neo, S200 ROM Development] lemmz:
its a locked G4 device :(
[Wileyfox Swift] krodelabestiole:
hello

i have an issue with the mini jack audio out :

it sends signal when i plug headphones, but when i'm trying to pass music to a party, using cable such as jack/rca to amp, mixing table or external effect, the phone acts as there is nothing plugged : the sound still comes from its internal speakers.

i tried this in many situations, using all kind of cables and have really no explanation about that (maybe the impedance differs ?)

i found a workaround using a double jack adapter : i can plug both cable and headphones, it continues to work when i remove the headphones, as long as i don't remove everything.

do you have any idea about what could cause this issue or do you experience the same ? do you think it could be software related ?

i use cyanogenmod 13 latest nightly (android 6.0.1)

thanks ! :)
[Wileyfox Swift] pjut1:
I'm having the same problem and also on cyanogenmod 13. Didn't try it on factory firmware so don't know if it's software related.
[Wileyfox Swift] krodelabestiole:
thanks for your feedback i feel less alone ! :)

please people if you have this phone and can try to plug it to an external sound system by jack, can you tell us if it works or not and what is your os ?

thanks, that would be much appreciated !
[Wileyfox Swift] fredda2:
I have this problem with some setups too.

The latest nightly (20160408) seems to have a fix for this problem. I haven't tried it yet though.
[Wileyfox Swift] krodelabestiole:
just tried and it works, thanks a lot !
[Nexus 5 Q&A, Help & Troubleshooting] DavidBaghaturia:
Story:

I broke my nexus 5 camera and replace it with LG G2 13 MP camera instead of using original 8 MP module.

Nexus 5 and G2 have same Chipset "Qualcomm MSM8974 Snapdragon 800" and similar motherboards (camera port is same).

So I had no problems to fitting everything together.

Problem:

After this my camera app crushes when I try to use main camera. (when I use front facing camera everything works).

Question:

As I understand Android uses isolation layer (HAL) to separate Android Camera API and Camera driver layers.

I need to update Camera Driver and HAL will do the rest. At this point it is using old camera driver and camera app crushes.

How can I get LG G2 camera driver and how install it to my nexus 5 ?

Android version is 6.0.1 marshmallow.
[Nexus 5 Q&A, Help & Troubleshooting] Tagtag123:
Would be so cool if it works.

Try this: little to no chance of the working.

It surely needs compatible drivers.

http://xdaforums.com/lg-g2/themes-apps/snapdragon-camera-t3213605

They may be available in cm's source.

This needs a dev's attention.

Also, the ISP may not be able to handle the camera modules output.
[Nexus 5 Q&A, Help & Troubleshooting] kontini:
Nexus 5 has camera.hammerhead.so inside /lib/hw/ so at least you have to replace it with the one from LG G2 (remember to set same file permissions) to have a chance to make it work and import settings from media_profiles.xml to support bigger resolutions but there could be a lot more, and to improve compatibility flash Lollipop 5.0 on your nexus 5 and get files from LG G2 Lollipop 5.0
[Nexus 5 Q&A, Help & Troubleshooting] :
can I ask you some advice in private?
[Nexus 5 Q&A, Help & Troubleshooting] kontini:
I'm sorry but this discussion was made long time ago, I have no more a Nexus 5 and I've forgotten almost everything of that device. I guess I can't give you any help :(
[Samsung Galaxy S7 Edge Questions and Answers] *Telcontar*:
Hi, can anyone explain to me this app and how to make it work? Didn't find any good up to date tutorial.

Here is some info:

-I have TWRP rooted stock rom (SM-G935F)

-SanDisk extreme pro 64gb microSD card

-Plus version of Link2SD

-Pro version of MiniTool Partition wizard

Just can't make it work...So here are my questions:

-Can I use whole SD card as internal storage link? Or do I need 2 partitions, one classic mass storage, second one for linking? I am not planning to remove card from phone.

-Do I have to make some storage label in MiniTool, or can I keep it blank? And what about partition letter? For example G: , or can I set None?

-Can I use linked storage partition from computer via cable as MTP?

-What partitions are viable for S7 edge? And is there speed difference? (ext2/ext3/ext4) ... I was trying Fat32+ext4 and then whole card as ext4, phone always tells me card is broken and need format and I am at beginning again.

-If I somehow manage to make this phone to recognise it, how to actually use Link2SD app?

There are some topics and videos out there, but I didn't find anything up to date or in english.

Keep in mind I am just ordinary user who somehow managed to root his phone only becouse of this app - to expand low internal storage, without any knowledge about android, linux and filesystems. I just need to move some huge games to SD completly with obb.

Thanks for any advice.
[Samsung Galaxy S7 Edge Questions and Answers] AnOnYmOuS2006:
Im having the the same issue with using Link2SD on my SM-G935F... Ive tried partitioning the sd card in every possible combination and still get a 'corrupt storage'' issue from the ext extention partition when rebooting my handset. From what I can tell its the actual Samsung firmware thats been rewritten to read the external storage differently due to their lack of foresite of allowing adoptable storage (code written out of their versions of Marshmellow 6.0 +, same as Sony for the Xperia range)... Fingers crossed a work around is found sooner rather than later as Link2SD is a lifesaver for releasing data and obb files from internal storage
[Samsung Galaxy S7 Edge Questions and Answers] Geoz:
I don't really know but I think the ext SD card is used as storage and even with solid explorer and similar file managers you have to grant permission before deleting or even creating a folder else it'll fail so I think you have to configure adoptable storage in order to be recognize as part of SD card to be used with Link2SD and also I haven't seen an update for Link2SD for a very long time.
[Samsung Galaxy S7 Edge Questions and Answers] kimezra:
I also have the same problem. I tried ext2 and ext4 as the second partition. Allowing 4GB until 1.5GB partition because according to the old guides, it can only process up to 1.5GB of second partition. But still, it always says it's corruted, there was a time when It was successfully read by the app but after restart, the problem returns. There was even a time where the FAT32 partition was the one that is not recognized
[Samsung Galaxy S7 Edge Questions and Answers] CrippledCamel:
Sooooooooooo....

is there any solution to this yet ? cannot find Anything STILL !
[Samsung Galaxy S7 Edge Questions and Answers] Mkhant30:
Same here. Link2sd is not working (mount script error) anymore on S7 Edge (SM-G935FD). System crashed and did factory reset. Hope this issue could resolve soon.
[Samsung Galaxy S7 Edge Questions and Answers] SullyPanda:
I have the same problem, witch I think is specifically for this model (SM-G935F). Its seems that even rooted, it has some security on system folders, that prevents necessary mounts be done
[Samsung Galaxy S7 Edge Questions and Answers] hykhleif:
I tried a mod where I can use the sd card to be seen as internal memory, but that mod pushes all apps to the sd card, and if affect performance of apps like facebook and other apps I use daily

in my previous phones I used to use linl2sd and I was in control which apps to link to sd card, and I would never choose facebook or whatapp , I used to link big games only

Is there a way to make link2sd work on s7e instead of the silly mod that pushes all apps to sdcard
[Galaxy S3 Neo Original Android Development] German Developer:
[IMG="Cyanogenmod"]http://www.cyanogenmod.org/wp-content/themes/cyanogenmod/images/logo-cid.png[/IMG]

CyanogenMod 13.0 for Samsung Galaxy S3 Neo ( GT-I9301I, GT-I9301Q and GT-I9300I )

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

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

Bugs, changelogs and fix are in 2nd post !

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

Installation

1. Download the ROM from the link below

2. Reboot to recovery mode ( Vol UP + Home + Power )

3. Optional: Do nandroid backup

4. Wipe data / Factory Reset

5. Install CyanogenMod 13

6. Reboot

Enjoy!

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

This Rom is WIP it's not stable yet and it's not for daily use I shared this Rom to get help from Devs

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

The links are removed because its too unstable

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

Credits

TeamCanjica

oranaise2412 Developer

Cyanogenmod team

Rox

ImTheMr for debugging

nikita36078 for testing

If i missed someone contact me!​

XDA:DevDB Information

[ROM][6.0.1][UNOFFICIAL] CyanogenMod 13.0 for S3 Neo [Testing], ROM for the Samsung Galaxy S3 Neo

Contributors

German Developer, oranaise2412

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.10.x

Version Information

Status: Testing

Created 2016-04-01

Last Updated 2016-04-01
[Galaxy S3 Neo Original Android Development] German Developer:
For now its not working but it will be fixed in the future

Because its at the moment buggy dont install gapps it will not work

Bugs

-Ril for duos

-Camera

-FC Trebuchet and Dialer

-NFC (will be not fixed)

To decrease the graphic glitches flash this https://mega.nz/#!3RAmnLZa!X6Azw2_EhTSJy8WT_rA-Lg5-8-xreR2HNPnBYK_swKQ

working

Back camera with camera fix users

ril for single sim
[Galaxy S3 Neo Original Android Development] German Developer:
Don't ask for eta I will fix this in the future and read the op carefully before you post any questions I want to keep the thread clean
[Galaxy S3 Neo Original Android Development] German_Malik:
Looks nice, I will test it. ;)
[Galaxy S3 Neo Original Android Development] FurFur_:
Its finally out! ^•^

I will test this definitely and thanks for putting so much effort into our device!

*presses every thanks button*
[Galaxy S3 Neo Original Android Development] Ali Asgar:
this rom working Gt-i9300i dual sim or not ????
[Galaxy S3 Neo Original Android Development] adityaupreti:
@German Developer

if u want i can help u jst post ur source device tree so i can help u
[Galaxy S3 Neo Original Android Development] AshiqueXda:
Good Job @ GermanDeveloper
[Galaxy S3 Neo Original Android Development] Klopskopf:
First i like to say, thank you for development [MENTION=6359650]German Developer[/MENTION] and [MENTION=7280544]oranaise2412[/MENTION] ! :)

tried to get your rom to work, wiped system, data, caches (as usual) flashed the rom and after a surprisingly short booting time ... there we go, CM13 booted up! :)

wifi was good but no sim detected. ui feels nice and fluid, no glitches at all. then i decided to install open gapps 6.0 but it killed it completely. "setup has stopped working" alternated with "google play service has stopped working". it was not possible to get any access to the phone from there.

i reflashed rom and did a logcat (i hope) (without open gapps of course, screenshot shows exact gapps version i tried).
[Galaxy S3 Neo Original Android Development] triplex92:
+1
[Galaxy S3 Neo Original Android Development] ziad311:
Dude [MENTION=5209380]Klopskopf[/MENTION]

You have to flash gapps before booting the rom

I tried yesterday the rom + mini gapps package

It works fine except the bugs listed
[Galaxy S3 Neo Original Android Development] GT-X:
Great effort Devs.

Will try this ROM soon...

Thanks..
[Galaxy S3 Neo Original Android Development] Klopskopf:
i dont think so, it must be possible to use cm13 without gapps. and when i deceide to use gapps i flash them at any time i want without reflashing the whole rom ...

and i tried that method you mentioned but still got the same problem, open gapps 6.0 just don't work for me.
[Galaxy S3 Neo Original Android Development] rflma:
ta very unstable yet ...
[Galaxy S3 Neo Original Android Development] Ahmad Tawfik:
[MENTION=6359650]German Developer[/MENTION]

That is not a place of posting unstable cm13

Users can brick their devices

Rox didn't want that to happen

He didn't want to post unstable builds to normal users

If you want to help Rox, Nikola and all S3 neo devs are in a telegram group were we develop cm13

You can join and let other developer join too if you want but remove the download link of cm13

PM me
[Galaxy S3 Neo Original Android Development] Klopskopf:
i think its ok to let the community beeing part in the development. more testers can find more possible bugs.

and bricking a device by flashing a rom? how? worst could be a softbrick and testers should know about fixing things like that.

so please, let the users decide for themselves if they wanna give it a try.
[Galaxy S3 Neo Original Android Development] babyyeobo14:
and atleast it gives us hope that CM13 will come and ongoing process .
[Galaxy S3 Neo Original Android Development] stelio_kontos:
Thanks a lot to al of the developers! I will test it after making a backup, can't wait for a stable release. Good job guys ?
[Galaxy S3 Neo Original Android Development] Ahmad Tawfik:
We have plenty of testers we need developers who have time Rox and Nikola don't

Users are left to test after having a stable release from the developers so they can find minor bug not major ones

Thanks for understanding :)
[Galaxy S3 Neo Original Android Development] rahmankr:
s3 neo i9300i

Dual sim work or not?
[Galaxy S3 Neo Original Android Development] babyyeobo14:
Anyway goodluck to our device cause im going to change my device to Note 3 :)
[Galaxy S3 Neo Original Android Development] MarcusBS:
Nope (I tested on I9300I)
[Galaxy S3 Neo Original Android Development] b0baz:
Nahhh, download link not available. :(
[Galaxy S3 Neo Original Android Development] igor40151:
I've waited so long for test, and now link is removed :(
[Galaxy S3 Neo Original Android Development] Klopskopf:
wow really? .. just because one or two people tell you to do so you do? ... OPEN YOUR DEVELOPMENT TO PUBLIC! ... noone cares that its unstable! mark it as pre-alpha! ... what the f is wrong? is this a dictatorship? ... you developers working with OPEN SOURCE code! so do it in public! ...

this is not the spirit of open source ...
[Galaxy S3 Neo Original Android Development] sreinst1:
This is 'xda-developers', which is <for developers>. You can make it explicit by adding "unstable" or "developers-only" in the title of the forum - which I guess is what "[Testing]" was supposed to mean, except it doesn't. [Testing] means that the version is ready for testing, but it seems that it's far from being ready from testing.

Unless the devs that work on it prefer to keep it closed source (which would be strange given that they don't have time to continue working on it), I think it's great to post it here with something like [not ready, dev help needed] in the title.

That said, I'm sorry I can't help development, but at least this would open the chance for other devs to join.
[Galaxy S3 Neo Original Android Development] sahilkhan9557:
download link not available :(

Plz provide me a download link i really want to try it now on my i9301i !!!!
[Galaxy S3 Neo Original Android Development] Ahmad Tawfik:
The development is in a telegram group now

We are already getting help from other developers

Note:

All S3 neo devs are in our group and it is useless to post build for developers who doesn't own the device or normal users but they can take a look at the sources
[Galaxy S3 Neo Original Android Development] Enry997S3:
Please make avaiable the download link.. If we brick our devices is not your guilt hahah.. And anyway i dont think everyone here is a nob.. Let us test it too :)
[Galaxy S3 Neo Original Android Development] Matsjo:
Untwist your panties, dip****.

Disagree all you like, but don't you dare get entitled when it comes to the diligent work of someone like Rox or GD who busts his <expletive> ass FOR FREE so we can enjoy CM13 on our devices. There is something to be said for keeping the ROM up but tagged with serious warnings (although we know people will still install it, blame the devs and then spam this forum with questions) but you are obliged to voice your concerns respectfully.

I've seen too many excellent developers quit their work due to the attitudes of entitled worms like yourself. Cut it out.

Thanks for your work GD (& Co. of course), I'm eagerly looking forward to a more stable follow-up. Once you're sure enough the ROM will at least no brick devices, I'll be happy to put up with intermediate hindrances until the port is complete. Good luck.
[Galaxy S3 Neo Original Android Development] German Developer:
First of all as I see some of you cant wait till we release it as stable, the point of removing the link is because some noobs will brick their device. I made also this Thread to talk about fixing the bugs and not just reporting them, I want also to get CM13 stable thats why I am working on it, if the bug isn't written in the op than you can post it here. Respect our work! If you want to help me with Development than PM me I dont need testers

Here is the source:

device tree: https://github.com/MSM8226-Samsung/android_device_samsung_s3ve3g

kernel: https://github.com/MSM8226-Samsung/android_kernel_samsung_s3ve3g/tree/n1cm13beta?files=1
[Galaxy S3 Neo Original Android Development] Fallenwitcher:
Is the NFC Bug still a missing Source problem or anything else?
[Galaxy S3 Neo Original Android Development] b0baz:
So delete this thread, it has no reason to have it here now.
[Galaxy S3 Neo Original Android Development] claudiuSarbu:
I agree

I agree!
[Galaxy S3 Neo Original Android Development] Matsjo:
And go through the effort of re-making it again later? Why?
[Galaxy S3 Neo Original Android Development] MikeChannon:
Closed for now at OP request.
[Sprint Samsung Galaxy Note 3] itouchables:
Hi I have a note 3 n900p from freedompop ( a sprint mnvo?) I would like to know what custom roms i can install while still being able to connect to the network (especially lte and cdma) I have verified that it is running a freedompop customrom and it has 2.8.7 twrp installed. It is not rooted. Since this is my first samsung device, I am not sure how knox works and would not like to brick my device. Could any of you give some advice?

Thanks in advance
[Nexus 7 (2013) Accessories] mikethebos:
Hello,

I use a Nexus 7 all the time which is getting full now. The Meenova Dash Micro looks like a great alternative to buying a new tablet.

One thing I am wondering is if I can somehow permanently mount the Dash Micro on the MicroUSB slot on the tablet.

Any ideas?
[Nexus 7 (2013) Accessories] blueberry.sky:
Epoxy.

But I can't understand why you would wish to permanently mount anything to the microUSB port. It's a very bad idea.
[OnePlus X Real Life Review] XDA_RealLifeReview:
Yes, yes, it's possible to love a phone. Heck, you sleep next to it, don't you? Rate this thread to indicate your love for the OnePlus X, all things considered. A higher rating indicates that the OnePlus X is an incredible phone that you enjoy tremendously. You love it. :o

Then, drop a comment if you have anything to add!
[OnePlus X Real Life Review] 1G0R83:
Best smartphone I've owned and it's affordable :)
[OnePlus X Real Life Review] ze7zez:
Administrators and Moderators!

Please take up the order in the old forums.
[OnePlus X Real Life Review] shivam250:
Nice performance and premium looks..
[OnePlus X Real Life Review] Exodusche:
Nothing not to love about oneplus X. And so much development its amazing. :)
[OnePlus X Real Life Review] CertifiedBlyndGuy:
You mean people love their phone? What is this world coming to. Pretty soon I'm going to be walking around saying, "When I was your age we used to sleep and bang chics but nowadays virtual pornhub handles that'
[OnePlus X Real Life Review] Mr.BG:
Not perfect, but a lot of bang for the buck.