yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II N7105 Android Development] Phrozin3215:
Hi all, maybe someone can help me here. I have Note2 Lte that is already rooted and have problem with miracast on a android tvbox known as a M8(which is also rooted with built in miracast,running katkat 4.4.2)

I get my note2 to connect with the M8, but only have a black screen, audio is heard on tv via "M8-droidtv box"

As far as I could tell, the problem is on the samsung mobile device. There seems to be a fix, but needs to be built into a kitkat rom.

The fix is that "audio.r_submix.default.so" must be included in the product_packages in the device.mk file.

My question is that is this fix already included in this rom and if not could "psndna88" be awesome to include on next release if possible?

Last question, could this be my solution to my mirroring problem?:silly:

Resources of problem discussed:

1. Samsung allshare problem: http://xdaforums.com/showthread.php?t=2661854

2. Solution of mirror cast/All share: http://xdaforums.com/hardware-hacking/chromecast/experimental-enable-mirroring-device-t2812193

3. Another discussion on similar problem: http://xdaforums.com/showthread.php?t=2421642

Any help in this matter will be appreciated:D
[Galaxy Note II N7105 Android Development] peterhugelberg:
Just flashed the Shift Kernel for dualboot and VPN works with it too.

So maybe it would be possible to collaborate with rogersb11 and find out how he fixed this problem
[Galaxy Note II N7105 Android Development] :
I think the kernels are based off completely different sources so it may not be that simple. But kernels are definitely not my specialty
[Galaxy Note II N7105 Android Development] Sheikx800:
Does this Kernel have the additions required to work with apps like DriveDroid that do CD-ROM emulation (I do emphasise NOT the hosted USB functionality...That works on most phones. I mean the true CD-ROM emulation support)?

See here: https://github.com/CyanogenMod/andr...mmit/46bd47757a9f34c1d95dd2620414893212fb0526

Also see here: http://xdaforums.com/showthread.php?t=2196707

Looking at going to DN3 but I am very attached to this functionality and would like to know if I can get it with the AGNi kernal on DN3.

Cheers!
[Galaxy Note II N7105 Android Development] rp4k:
This kernel gives me really bad mdm_hsic_pm0 wakelocks

---------- Post added at 09:34 AM ---------- Previous post was at 09:29 AM ----------

Kernel for 4.3 is causing the wakelocks
[Galaxy Note II N7105 Android Development] Ash359:
I'm having a Bluetooth issue where my music will suddenly be overtaken by a loud high pitched noise.

Are there any kernel settings I can try to address this?

I'm on the latest for 4.3

Sent from my Jedi MasterX Note 2
[Galaxy Note II N7105 Android Development] psycho4us4:
Agni 4.3 V.3.9.7 settings & viper4android v.2.3.3.0 settings

These are my AGNI KERNEL V.3.9.7:

These are my VIPER4ANDROID V.2.3.3.0 settings:

Hope this might help some :cool:
[Galaxy Note II N7105 Android Development] Ash359:
How are you using viper? Right we only had Boella or Wolfson too choose from?

Looks like you aren't using any zram, could that be the problem?

[EDIT] I meant the preload swap not the Zram

Sent from my Jedi MasterX Note 2

---------- Post added at 05:58 AM ---------- Previous post was at 05:44 AM ----------

Hmm, viper is in the play store but it's in Chinese

Sent from my Jedi MasterX Note 2
[Galaxy Note II N7105 Android Development] psycho4us4:
http://xdaforums.com/showthread.php?t=2191223
[Galaxy Note II N7105 Android Development] Ash359:
Kernel settings didn't help, I don't think installing viper will effect Bluetooth but I don't quite understand it so maybe it would.

I'm thinking it's a hardware issue.

Looks like I need to download viper to a PC and extract the apk before I can install it into my phone.

Sent from my Jedi MasterX Note 2
[Galaxy Note II N7105 Android Development] psycho4us4:
Try devil kernel just to see if your issue goes away.
[Galaxy Note II N7105 Android Development] Craniotomy:
Can you give me the link for the nfc fix on U.S.t-mobile Galaxy note 2? Thanks!
[Galaxy Note II N7105 Android Development] royalh:
Does anyone know why I'm getting the below error when trying to flash the 4.2.4 or 4.2.5 kernel? I searched the thread but no matches:

"set_perm: some changes failed"
[Galaxy Note II N7105 Android Development] robikonobi:
I recently ran into this issue due to a corrupted partition. I reformatted the kernel which solved the problem. are you using f2fs? I have since reverted back to ext4.
[Galaxy Note II N7105 Android Development] royalh:
I put this in the ROM thread:

I'm not sure how to reformat just the kernel - i used the format data option in TWRP on everything except External SDCard and still got the error message.

Has anyone been successful in reverting to the stock, or different, kernel after having agni installed? I've used the cleaning zip and then flashed the stock kernel and get soft brick. It seems that the agni kernel prevents you from using a different one... i think i've tried almost everything i can think of to get the stock kernel up and running on Zen's 4.4.2 ROM and just can't seem to get it to work. Tired of all the SOD with agni - even using default settings... i'm using the default file system format - i haven't changed it... ext4
[Galaxy Note II N7105 Android Development] Bajanman:
Ok cleaning Agni kernel setting below>

The SOD issue you've been having with Agni kernel, has to do with the dvfs.

Try this module below, Xposed needed for this!

http://goo.gl/4zdrT3

Hope this helps your problem..
[Galaxy Note II N7105 Android Development] royalh:
Thanks, i've tried manually deleting all the files, other than the SuperuserSu one and I still can't get any other kernel to install...
[Galaxy Note II N7105 Android Development] Bajanman:
Sorry to tell you but sounds like your going to do a wipe and start over!

Can't believe your restore won't fix the problem?
[Galaxy Note II N7105 Android Development] royalh:
I've tried wiping multiple times...
[Galaxy Note II N7105 Android Development] psycho4us4:
What recovery are you using?
[Galaxy Note II N7105 Android Development] royalh:
I normaly use twrp, but I've tried both twrp and Philz with no luck.

Update below:

I ended up odin flashing an old 4.1 stock unrooted tar I had laying around, and I can now get the stock kernel to install! The rub is that on the stock kernel, on DSv2 and Zen's stock deodex version, I get unknown baseband. I've tried flashing Zen's modem file and a couple other NE5 modems and no joy. I've even tried restoring the EFS and still no good... Soon as I dirty flash the agni kernel, baseband and network back.

On the other hand though, been 2 days and no SOD or RRs on the agni kernel! lol
[Moto G Themes and Apps] lowrider262:
The stock camera on this phone blows as we all know. But fear not... the AOSP camera is completely compatible with our Moto G!:laugh::good: I'll give a quick tutorial on how to replace your camera for people that are new to this. But for those of you that have been around the block, basically youre just going into system/priv-app and renaming the moto cam & gallery apk's to apk.bak, then copy/pasting the attached camera and gallery apks to the system folder, setting R/W permissions, and rebooting.

Now for the step by step... (i'll be using Solid Explorer for this example, because its free from the play store, but you can use any file exploring app you like as long as it has root access)

1. Download the zip file in the link https://www.dropbox.com/s/crpilccds52lmaw/AOSPcam&gallery.zip and extract it. Inside should be two files, GalleryGoogle.apk and GoogleCamera.apk. Copy them to the internal storage of your phone.

2. Download Solid Explorer from the play store. Open it up and hit the jump button at the bottom, then device, then system root.

3. Now scroll down to the system folder, tap it and go into the priv-app folder. Scroll down till you see four files - MotCamera.apk, MotCamera.Odex, MotGallery.apk, & MotGallery.odex. For each one, hold down on it until the option to Rename it pops up, then add ".bak" to the end of each one. (example, MotCamera.odex = MotCamera.odex.bak) SuperSU should pop up asking for root access, grant it of course.

4. When youre done renaming, hit the jump button again, then device> Internal Memory. Inside should be your two files you downloaded earlier. Hit the actions button at the bottom, then select, and highlight the 2 files and hit the copy button at the bottom (the 4th one that looks like two little papers). Now hit Jump> Device> System Root and go into the system folder, then the app folder. Hit actions again and Paste.

5.Stay in the system/app folder, now find you two files you just pasted, and hold down on one of them, then tap Properties, and where it says Attributes hit change. You should only have 4 checkmarks here: Read for Owner, Group, and Other... and Write for Owner. Anything else thats checked, uncheck it. Hit ok and do the same for the other one.

6. Follow the directions in this post to fix fc's in gallery editor (thanks tazlooney89 :thumbup: ) http://xdaforums.com/showthread.php?p=49263859

7. Now reboot and youre all done! Now you have a less crappy camera and a smoother gallery app! :highfive:
[Moto G Themes and Apps] NIB0R:
I can't rename the files for backup. he sais task failed
[Moto G Themes and Apps] lowrider262:
Sounds like an issue with root access,make sure you enabled root explorer in es settings and/or make sure your su binary is up to date
[Moto G Themes and Apps] kevin.26:
Does this camera have Google Sphere photos?
[Moto G Themes and Apps] tazlooney89:
Moto G doesn't have a gyro sensor, so this is the reason why Photosphere won't ever work.
[Moto G Themes and Apps] lowrider262:
Nope, no photosphere. It does have a lot more options, like selecting MP size, scenes, and ISO.

*as a side note, part of the reason the stock Moto camera takes such crappy pics is that by default it takes pics at 3.5 MP. Uncheck the 16:9 option to get the full 5 MP :thumbup:
[Moto G Themes and Apps] krucymucy:
Same here. ES has root access according to SU app, but when I try to rename it, I get task failed.

Running on 4.4.2 US retail.
[Moto G Themes and Apps] lowrider262:
Oops... Sorry guys, I didn't realize ES was having problems. I personally did it with Root Explorer app, but since it's a paid app I didn't want to recommend it...

But I suggest using Solid Explorer, it has a free trial version and I've tested it just now so I know it works, just follow the use basic instructions as before. I'll update the op a little later:banghead:
[Moto G Themes and Apps] krucymucy:
ES File explorer, Astro File manager and Root file Manager don't work. At least not in 4.4.2.

But root browser does, and its free on google play.

Thanks for this mod.
[Moto G Themes and Apps] lowrider262:
Yea, it must be a thing with Kitkat, they probably havent updated their apps to be fully compatible yet. Thanks for the heads up:cowboy:
[Moto G Themes and Apps] mangusmeister:
Installed and working as promised. Thanks coming your way mate.
[Moto G Themes and Apps] krucymucy:
Does it seem to you pictures are any better? I can't decide. :confused:
[Moto G Themes and Apps] mangusmeister:
I think so. Try taking a pic of something with writing on it with both cams.
[Moto G Themes and Apps] prosttyle:
Is slow motion recording enabled?

Enviado desde mi XT1032
[Moto G Themes and Apps] lowrider262:
To me, the focus seems to work better and also the pics look more natural, with a little less processing / saturation that the stock moto cam. Low light shots still look crappy, but I think that's more of a hardware limitation.
[Moto G Themes and Apps] mycontradiction:
I've done it with ES File Explorer, no problems at all. Thanks for the apps :D

For those who are having issues with ES File Explorer you must MOUNT R/W to make changes in "/system"

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Themes and Apps] tazlooney89:
If any of you have problems with the editor of pictures inside the gallery and problems with the panoramic photos, specifically FCs.

Download the zip file containing the libraries necessary to avoid these problems.

Download fix-galleryeditor.zip

Remove the lib folder and copy it to SDcard

Copy the files to / system / lib with RootExplorer or EsExplorer

* If you are instructed to replace some files will accept the option.

Finally give permissions RW - R - R

Restart their Moto entering G Galeria, edit photography and editor will be working properly.
[Moto G Themes and Apps] Ja_som:
[MENTION=4335062]tazlooney89[/MENTION]

Hi, if i replece original lib files, will Moto camera and gallery work?
[Moto G Themes and Apps] tazlooney89:
Yes :good:
[Moto G Themes and Apps] Ja_som:
[MENTION=3563575]lowrider262[/MENTION] & [MENTION=4335062]tazlooney89[/MENTION]

Thank you both.

I made flashable zip for this (apps & lib files) for easy installation.

If you have problem with this, i delete them...

To all

Chose your zip.

AOSP_Cam_and_gallery_delete_Moto_Cam.zip -> original Moto Camera & Gallery app will be deleted

or

AOSP_Cam_and_gallery_leave_Moto_Cam.zip -> original Moto Camera & Gallery app will NOT be deleted, and you will have two Camera and two Gallery apps

Copy zip dile to your device, flash it via CMW, TWRP or flashify

If someone used AOSP_Cam_and_gallery_delete_Moto_Cam.zip and want to have back MOTO Camera and Gallery, then flash this MOTO_Cam_and_gallery_delete_AOSP.zip. This will add back Moto Cam & Gallery apk with odex files, and will delete AOSP apk's.
[Moto G Themes and Apps] tomasignacioo:
works, thank you

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Themes and Apps] Sparubens:
Mate, could you tell me how you got that battery percentage and centered clock in your status bar? Can't find it nowhere; Thanks for the great camera app! Just a shame that 'location off' appears in the circle when you take pictures but that's something Google added.
[Moto G Themes and Apps] Ja_som:
Xposed Framework + GravityBox
[Moto G Themes and Apps] zeropants:
It works great, and the pictures do seem to focus better.
[Moto G Themes and Apps] jisse44:
Thank you for app, now I can access to camera options, and pics a better.

Send from my Atrix 4G
[Moto G Themes and Apps] smohanv:
Thanks. Great work. It works flawlessly..
[Moto G Themes and Apps] ricola1989:
Got a question about getting moto cam and gallery back. How would I go about getting it back on a deodexed ROM? Any thoughts out ideas?
[Moto G Themes and Apps] Ja_som:
I'm not sure... I don't know where files should be on deodexed rom....

Try to copy both apk files to /system/app/ and change permissions to rw- r-- r--

Or try to install from Google Play...
[Moto G Themes and Apps] Wadu436:
Hi!

Nice tutorial! But it doesnt work for non-rooted devices, and i dont wanna root my phone (warranty).

So i have a workaround for it!

Step 1: Download the package from the OP

Step 2: Extract it and put it in your device.

Step 3: Browse to the place where you put the files with a file explorer that can install apk's, i use ES File Explorer.

Step 4: Install them (or one of them)

Step 5: Verify it works

Step 6: Go to Settings>Apps

Step 7: Search the Motorola Camera.

Step 8: Disable it.

Step 9: Do the same for the Gallery

Step 10: Replace all your old shortcuts with the new ones.

Known Bugs with this method: Panorama FC, Editing FC.

For replacing AOSP with Motorola apps, you need to uninstall the Camera and Gallery from google, then go to Settings>App>Disabled and Enable the MotoCam and MotoGallery

If you want screenshots, ask me.
[Moto G Themes and Apps] cwkhong:
i used them but i couldn't get it. clock centre n battery percentage
[Moto G Themes and Apps] forgotter:
I tried it but didn't find any difference. Pics are of same size, colors are same. Only exposure and face detection are two extra features. And also Gallery didn't worked nicely for me, whenever I tried to edit picture the effects I applied seemed to make the photo blurry.
[Moto G Themes and Apps] BachuArg:
Did anyone make slow motion recording work with cm11?

Is motorola camera the only one with slo motion?

Thanks!
[Moto G Themes and Apps] jetray4468:
Can I just install apk and make it system app using titanium backup? Thanks
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] kel29738:
Can someone please send me a flashable v20d through cwm.
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Lukijs:
Start using search already http://xdaforums.com/showthread.php?t=2335287

You can easy flash v20e or v20f it doesn't matter.
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] kel29738:
Someone plz send me it
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] TahaX:
I think this is what you're looking for.
[Samsung Epic 4G Touch] MrKrunch:
I love this forum! For the first time, I can't find an answer to my problem here, so I am hoping someone can help.

Like the title says, I'm running Cyanogenmod 11 VILLUMINATI 12-7-13, and it's great. I have everything working, except for the gyroscope! When I flashed back to a 4.1.2 ROM, "Touched by an S4" the gyroscope worked perfectly. Then I bring it back to 4.4, and the gyroscope acts crazy. Am I missing something obvious?

Also, I'm running ART and I don't get any FCs at this point.

Any advice? Hope? Thanks.
[Samsung Epic 4G Touch] KingOz:
Have you tried the basic, Factory reset, reflashing the rom?

I have used this rom before with no problems.. hmmm..... what was the process of you getting to villuminati? and what recovery?
[Samsung Epic 4G Touch] MrKrunch:
Thanks for the reply. Here's basically what I did: Flashed CM10.2 nightly, booted the phone, rebooted to recover, wiped everything in mounts and davlik, Flashed CM11, gapps-kk-11192013, booted the phone, turned on ART, rebooted to recovery, flashed Linux Guy's Camera Fix, cleared cache and davlik, and rebooted the phone.

Had problems with Google Text to Voice force closing constantly, so I used Root Explorer to delete the apk, then re-installed it from the Play Store. I still get some random screen touches from the system, or the 3g will stop completely (fix by turning airplane mode on and off), or the panel buttons will be unresponsive (fixed by turning the screen on and off). Weird.

Now, when I use Android Sensor Box to see the Gyroscope Sensor, the box displayed doesn't rotate exactly with the motion of the phone. I'll flash back to another ROM and try the app there again. I tried flashing back to EL29 stock rooted to calibrate the gyroscope, but I don't think it helped... Is there a better app for looking at this?

Does anyone know where the gyroscope is physically located inside the unit? Maybe mine is defective, and I can just replace it?
[Samsung Epic 4G Touch] bilgerryan:
The only way to tell if it is a hardware issue is to Odin back to a stock ROM, or at the very least flash a TouchWiz ROM and see if the problem persists
[Samsung Epic 4G Touch] KingOz:
You did everything right..

I dont think this is a hardware problem if what you stated was true (When I flashed back to a 4.1.2 ROM, "Touched by an S4" the gyroscope worked perfectly)..... the only culprit i can think of would be the "Linux Guy's camera fix" ....try flashing the ROM without it..and see how it goes
[Samsung Epic 4G Touch] MrKrunch:
You're right, it's not a hardware problem.. I'm no expert, but the orientation sensor is not set up correctly. It only works with the phone is screen facing down! Haha Also I discovered that Google Glass cannot take phone calls with either KitKat ROM, but it works in JB. What's really strange is that my car and jawbone both have no problem with bluetooth phone calls.

I tried clearing everything and flashed Mokee's KitKat 4.4.2 and the current gapps, and I still had the same issues. I tried a couple of different sensor testing apps, and it's actually the orientation that is the most messed up. The gyroscope seems to mix up the X and Y axis on a few of the tests, but not all. Of course, back in JB the sensors are all functioning just fine.

For now I'm going back to a JB TouchWiz ROM... Bummed because I really like the way KitKat works, so unbelievably smooth and low memory use.
[Samsung Epic 4G Touch] bilgerryan:
Try calibrating the Gyro while you're on TouchWiz and then flash KK again. That's the only other thing I can think of. It's in Settings/Motion/Sensitivity Settings/Calibrate Gyro.
[Samsung Epic 4G Touch] bilgerryan:
Also maybe try this-http://xdaforums.com/showthread.php?t=2405849
[Samsung Epic 4G Touch] MrKrunch:
Convinced these are bugs

Thanks for the suggestion. I tried going back to TW calibrating it, and returning to KitKat as I explained above.

BUT Calibration can't correct the X and Y axis. The KitKat ROMS (VILLUMINATI and Mokee) are both switching the axis, so motion is behaving unexpectedly. If I tilt the phone back and forth the software interprets that as tilting right and left, and when I tilt it right and left the phone thinks it's tilting back and forth. This is probably why I couldn't get Photosphere to function correctly, even though I could get it to load.

Perhaps this will get fixed in a future release..
[Samsung Epic 4G Touch] mattzeller:
I'm having the exact same problem in VILLUMINATTI , I noticed it when I tried to use sky maps. It's Definitely a KitKat issue with our phones.
[Samsung Epic 4G Touch] MrKrunch:
Is this a hardware problem with my device? Is there a part I can replace?

I overlooked something going back and forth between Touched by an S4 ROM (4.1.2) and VILLUMINATTI CM11 (4.4.2). That is the gyroscope vs the orientation sensor in the Android Sensor Box app.

When I'm running 4.1.2 the gyroscope responds the opposite as I expect, the axis are switched. But that is the only place I can find anything weird. All of the other apps on my phone operate as expected.

When I'm running 4.4.2 the orientation sensor responds the opposite as I expect, the axis are switched. I have to hold the phone screen facing down to make it work. Google Maps orientation is all goofed up... etc.

I'm starting to think there is something wrong with my device?
[Samsung Epic 4G Touch] bilgerryan:
The only way to tell for sure if to Odin a stock ROM-http://xdaforums.com/showthread.php?t=1903252
[Samsung Epic 4G Touch] mattzeller:
I don't think it's your device, I have the same issue when running 4.4.2 ROMs
[Samsung Epic 4G Touch] Kjricker:
Add me to the list. I just noticed in Villuminati that my gyro is acting odd as well. It is backwards in some apps and just sketchy in others. I am also bummed. I was hoping I could stay in KitKat.
[Samsung Epic 4G Touch] mattzeller:
Dirty Unicorns 4.4.2 had no gyro problems or gas for that matter
[Samsung Epic 4G Touch] Kjricker:
What do you mean by no gas?
[Samsung Epic 4G Touch] MrKrunch:
Accelerometer Gyroscope Trouble

VanirAOSP & Commoti roms have this bug too
[Samsung Epic 4G Touch] MrKrunch:
FYI The VanirAOSP & Commotio Thread is discussing this issue starting here: http://xdaforums.com/showthread.php?p=51747471

and here in VILLUMINATI: http://xdaforums.com/showthread.php?p=51728055
[Samsung Epic 4G Touch] Kjricker:
I just loaded up CM11 nightly and I have this issue again. It is really a bummer. I can't imagine some E4GT phones work fine and others do not.
[Samsung Epic 4G Touch] bilgerryan:
Try calibrating your gyroscope (you gotta be on TouchWiz I think)

My ROMs: Wicked X & Wicked S5 Xperience
[Samsung Epic 4G Touch] Kjricker:
It works fine in Touchwiz. I have no problems there. Even if I calibrate it, it does not work in CM11 or any other ASOP ROM.
[Samsung Epic 4G Touch] bilgerryan:
That would be a kernel issue normally, have you tried other kernels?

My ROMs: Wicked X & Wicked S5 Xperience
[Samsung Epic 4G Touch] Kjricker:
Fixes have been done by Lanchon and submitted to the CM11 builds. The latest CM11 nightly 20150125 has the fix built in. See the CM11 thread for more details.