yashsingh1/xdaforums huggingface dataset:
[T-Mobile, Samsung Galaxy SIII] red rocket:
Doesnt look like you need any thing else just flash the rom and i guess the new modem and u should be ok. i havent yet flashed a rom yet. i will try in a lil bit. I have root and i have twrp installed and everything looks like its ready so i shall try.
[T-Mobile, Samsung Galaxy SIII] Give me a break:
Knox Question

As for selinux, I'll take a screenshot, but as to Knox you referred to it being enabled (¿Huh?).I never touched Knox, as it was meant for business users. How would I turn it off?
[LG Optimus G Pro] dhonzik:
Is there any native way to do a screenshot like on the G2
[LG Optimus G Pro] esimon311:
Power & volume down.
[LG Optimus G Pro] dhonzik:
Thanks, the first time I tried it, it didnt work...working now
[HTC Inspire 4G] Beastben13:
I bricked my HTC inspire and I've tried a bunch of things to try and fix it. I had md5sum error so I deleted my backup and now I need a different backup file. I'm using clock work mod recovery. Thanks to whoever can help me with this.
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] kenxda33:
serch before posting its already available in general section link

http://xdaforums.com/showthread.php?t=2552546
[Android Software Development] zantekk:
AndroPy

a python3 library to communicate with your phone

INTRODUCTION

FEATURES

EXAMPLES

Install adb via installer.py on Linux 64-bit machines

Show content of /sdcard

import andropy

with andropy.ADBInterface() as ai:
print(ai.exec_shell_cmd("ls /sdcard/"))

Get screen-resolution

import andropy

with andropy.ADBInterface() as ai:
build_props = ai.get_build_props()
print(build_props['ro.device.screen_res'])

Samle output from adb_util.py

marco@mk-think:~/src/andropy$ python3 adb_util.py
# Welcome to AndroPy #
----------------------
Number of devices detected: 1
Number of your downloaded apps: 41
Your phone's CPU: 1.7 GHz quad-core
Your phone's model: HTC m7ul

SOURCE
[Android Software Development] cybojenix:
hey saw this pop up in the portal. after a quick glance this can become a good concept for users, such as timed logs, or a function to dump information (build prop, kmsg, logcat, bugreport, tombstones, you get the idea)

I'd like to bring your attention to this though. the prop parser

def get_build_props(self):
build_props = {}
out = subprocess.check_output([ADB_EXE, "shell",
"cat /system/build.prop"],
universal_newlines=True)
self.check_output(out)
for line in out.split('\n'):
if line == '':
continue
prop = line.split('=')
if not prop[0].startswith('#'):
build_props[prop[0]] = prop[1]
return build_props

you don't need to fetch the whole build prop (for most of the time). this is an extra function that you can use

def get_prop(self, prop):
out = subprocess.check_output([ADB_EXE, "shell",
"getprop", "{}".format(prop)])
self.check_output(out)
return out

if you need any other help or tips, feel free to ping me on freenode, or drop a message here
[Android Software Development] Grondinm:
This is great. Thank you. Will be using and might contribute.
[Android Software Development] Beatsleigher:
Seems like I've started a trend here. Lol
[Android Software Development] cybojenix:
seems so. I've got the base layer of a python package that plugs directly into the adb server. none of these wrappers needed ;)
[Nexus 5 Android Development] zeroprobe:
ZeroCamera V1 | JPG100 Forced | 25/30 Mbps | 256k Audio | Based on 4.4.2 Camera

I have forced JPG100 for every picture taken.

Everything else in the Camera is standard apart from video/audio bitrates. I've also included JPG 10 for you to prove its forced.

4.4.2 Camera Mod

Also works on 4.4.1 Roms.

JPG100 Forced

25/30 Mbps Video Bitrate

256k Audio Bitrate

ZeroCamera JPG100 | 20mbps video - http://d-h.st/usI

ZeroCamera JPG100 | 25mbps video - http://d-h.st/xb6

ZeroCamera JPG100 | 30mbps video - http://d-h.st/vmY

JPG10 Low Quality Test - http://d-h.st/jKE

Stock Camera 4.4.2 | 17mbps video - http://d-h.st/IQX

If you install manually, ensure the /system/app/GoogleCamera.odex is deleted, and then restart phone. The install script deletes automatically.
[Nexus 5 Android Development] pert_S:
Trying them out now. :good:

Flashed via recovery and everything is working fine.

25Mbps is enough for me :)
[Nexus 5 Android Development] mchockeyvette27:
So the jpg100 is supposed to give better image quality?
[Nexus 5 Android Development] zeroprobe:
Good to try now.
[Nexus 5 Android Development] mchockeyvette27:
Ok. Always down for better pictures:)
[Nexus 5 Android Development] flashmp3:
What is that ? I'm on stock 4.4. Can i install this instead of having to put android 4.4.2 to fix my camera ?
[Nexus 5 Android Development] zeroprobe:
If your on a 4.4.1 kernel, I believe this will work.

4.4.2 Camera works on a 4.4.1 Rom.
[Nexus 5 Android Development] Hammer_Of_The_Gods:
Hi,

No need the libs from the OTA update too?

Like:

libmmcamera2_iface_modules.so
libmmcamera2_imglib_modules.so
libmmcamera2_isp_modules.so
libmmcamera2_sensor_modules.so
libmmcamera2_stats_algorithm.so
libmmcamera2_stats_modules.so
liboemcamera.so
libsensor1.so (not sure about this one)

It's just a question... Because these libs are in the OTA update.

:)
[Nexus 5 Android Development] flashmp3:
mmm.......cause i don't want to upgrade to 4.2.2 cause don't want to loose root and having to reinstall everything. I'll wait for a fix for the camera goes out without having to upgrade

Thank you for your precisions

---------- Post added at 02:50 PM ---------- Previous post was at 02:49 PM ----------

mmm.......cause i don't want to upgrade to 4.2.2 cause don't want to loose root and having to reinstall everything. I'll wait for a fix for the camera goes out without having to upgrade

Thank you for your precisions
[Nexus 5 Android Development] Ben36:
Are we still holding?
[Nexus 5 Android Development] zeroprobe:
Camera related libs seem to be identical.

It works on 4.4.1 as that's what I'm on. Probably best to upgrade to 4.4.2 to be 100% sure.
[Nexus 5 Android Development] zeroprobe:
No, its fine now. I thought the dimensions were off but thats how its always been; when you hold the phone landscape. The picture doesn't fill the screen.

Never changed anything related to that anyway.
[Nexus 5 Android Development] chugger93:
So what exactly is the 25/30MB for? Video recording? What is stock at? I'm unfamiliar with that whole side of things.
[Nexus 5 Android Development] zeroprobe:
Yes 25mbps increase video bitrate.

Stock is 17mbps.
[Nexus 5 Android Development] bsg411:
Is jpeg100 considered a raw photo? So how large does an 8mp photo end up being? Does this work on 4.4.0 roms?
[Nexus 5 Android Development] Ben36:
So surely 30 is better quality? And the one to go for?
[Nexus 5 Android Development] zeroprobe:
Yes but then you have to think about how much space your videos will take up. If you mainly take short videos then that's probably best.

JPG100 is not raw, if you point the camera zoomed in and focus on your monitor. It will produce a 7MB file, the detail will be captured if its there.
[Nexus 5 Android Development] ChongoDroid:
I guess this is only for deodexed?
[Nexus 5 Android Development] zeroprobe:
Just delete the related GoogleCamera.odex file reboot and it will work.
[Nexus 5 Android Development] Ben36:
I didn't even do that, I just flashed and it works fine
[Nexus 5 Android Development] zeroprobe:
I would double check its using the new one, if you flash the low quality file and take a picture, you will know straight away.
[Nexus 5 Android Development] ion_elgreco:
Could you make some pictures in low and dimmed light with stock and with the mod. So that soms can get an indication of this mod
[Nexus 5 Android Development] zeroprobe:
The difference is going to be minor, its just peace of mind to be forced 100 quality setting.
[Nexus 5 Android Development] Ben36:
Picture file size has gone up like 2mb over stock
[Nexus 5 Android Development] mrvirginia:
i work in video editing. if people need over 20mb bit rate for a video, they should not be using a cellphone camera. heck the bit rate for GPE S4 is 17mb and that is sufficient i think. only so much our cellphone cameras can do.
[Nexus 5 Android Development] zeroprobe:
I disagree, when viewing on a big big TV screen compression is noticeable.
[Nexus 5 Android Development] mrvirginia:
my point here was that if people care so much about compression, about the video they're about to shoot, it would be a better idea to use a professional camera because the results will be much better

an S4, a Nokia, an N5<<<<Pro Video Camera

nevertheless, nice mod for those who don't have better equipment at their disposal :)
[Nexus 5 Android Development] kevyli85:
I'm getting a FC on odex when I delete the .odex file and flash. Anyone got it working on odex?
[Nexus 5 Android Development] mrvirginia:
how are you getting a FC on odex if you've deleted the .odex file :confused:
[Nexus 5 Android Development] :
Is the video dark, or does it get fixed with this mod?
[Nexus 5 Android Development] :
Hi,

Video is dark... (tested on 4.4.1 rom).

Indeed the picture size is increased, about 2/2,5 Mo more compared to stock.

:)
[Nexus 5 Android Development] zeroprobe:
I've not changed any other settings so I'm guessing video on the stock camera is also dark?
[Nexus 5 Android Development] :
Not with the 4.4.1 camera, at least for me... But if I remember right some users have it on 4.4.1 and I read the same thing with 4.4.2 (always if I remember right).
[Nexus 5 Android Development] inspeckta_dek:
Dark video I only notice it in low light. I turn flash on n its better.
[Nexus 5 Android Development] kevyli85:
What I mean is that I am using the stock odex rom and I am still getting a FC even after deleting the .odex file from /system/app. I just cleared cache and rebooted to see if it will rebuild but it removed the camera shortcut from the launcher while the .apk still exists in the /system/app directory
[Nexus 5 Android Development] zeroprobe:
Just updated the installer to delete the .odex file.
[Nexus 5 Android Development] mrvirginia:
in that case, working on an Odex ROM here
[Nexus 5 Android Development] zeroprobe:
Did you delete the .odex file ? If you download the Camera again it deletes it in the script.

When I tried on an odexed rom, the old camera was still launching.
[Nexus 5 Android Development] kevyli85:
Strange, I reverted back to 4.4.2 stock camera and odex file, verified it was working, then flashed the new updater with the script to delete the .odex file and I am still getting FC.

I'm just on the stock 4.4.2 rooted/odex rom.
[Nexus 5 Android Development] gundamboy:
Picture quality is superb, but having issues recording any video at all...videos look dark before trying to record too...Running 4.4.2 stock, rooted, running Franco kernel r19.
[Nexus 5 Android Development] aergern:
1. Put the latest SU zip in the root of your /sdcard partition.

2. Update to 4.4.2

3. Boot into TWRP and flash SU

4. Enjoy rooted goodness.

Takes little time to do this. :)
[Nexus 5 Android Development] mrvirginia:
i never flash zips from other sources without breaking it apart and looking at it myself. nothing personal against anyone, it's just by habit/nature.

anyway, on our ROMs, we don't have an Odexed Camera. it came Deodexed.

i did however pull the 4.4.2 Stock Camera and it's Odexed counterpart and it also worked in my build.

so, stock 4.4.2 Camera with Odex file worked

and

this 4.4.2 Deodexed Camera worked (without Odex)
[Nexus 5 Android Development] DJ-Tumor:
And I disgree your disagreeing.

I reencode Blu-Rays at CLEARLY under 10 Mbit and you can´t see a thing. Only when I use my Epson FullHD Beamer on my 2m wide canvas I can see differences to real/full Blu-Rays. On my 55" Samsung LED Screen....NOTHING!

IF there is a difference then the problem is to be found elsewhere but not the bitate itself.

If might help covering the problem a bit...

Remember...Blu-Rays are encoded at about 15-20Mbit VBR though....

I would like to a see different versions!

1. 100% Jpeg

2. 90 % Jpeg

3. 80% Jpeg

I would like to see myself if its only all hype or real.

Only by this we may find a sweetspot which might be like 95% or maybe even at only 85%....but directly boosted to 100% Jpeg seems to me like shooting with cannons on bees.
[Nexus 5 Android Development] mrvirginia:
yeah bit rate isn't as big of a problem here as the hardware that's encoding. that is the limitation, or bottleneck if you will.

[MENTION=2516635]zeroprobe[/MENTION] i would have given you thanks on OP already but i'm out for the day. thanks again for the apk!
[Nexus 5 Android Development] zeroprobe:
I really don't mind an extra 1MB added onto pictures.

If you can why not.
[Nexus 5 Android Development] kevyli85:
Still trying to figure out why this isn't working for me. I am using ART runtime, could that be the issue?
[Nexus 5 Android Development] imneveral0ne:
Cataclysm 4.4.1, ART here as well. FC on camera. I'll get a log as soon as I get to a computer.
[Nexus 5 Android Development] DJ-Tumor:
If you have to send it via email and have 500mb data volume....you´ll get used to look after data amounts...

Easy as that!

I have 5GB but still I don´t see the point blowing out data volume for absolutely NOTHING!

Plus....you sometime may want to store the pictures....100.000 x 1MB = ???

Plus....smaller pics easily do load faster....

and so on....there are reasons enough not to blow up pictures BECAUSE YOU CAN....

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

Does stock 4.2.2 work with ART?
[Nexus 5 Android Development] zeroprobe:
Think I might have a fix for the ART issue. Hold on.
[Nexus 5 Android Development] imneveral0ne:
I'm assuming you mean 4.4.2, and yes, I don't see why it wouldn't.
[Nexus 5 Android Development] Donstil:
ZeroCamera JPG100 | 30mbps video link broken?
[Nexus 5 Android Development] monkboy24:
OK so after trying this mod im seeing that it will not work with art enabled. Works %100 on dalvik though
[Nexus 5 Android Development] maxamus007:
Wheres the download link to the file?
[Nexus 5 Android Development] Pens and DreamS:
Yeah, all download links are broken.
[Nexus 5 Android Development] mendozaram:
Ive flash 4.4.2 Stock Zip file and im still having Slim camera app. Dunno why
[Nexus 5 Android Development] zeroprobe:
Links will be back working,

Trying to fix on ART at the moment.
[Nexus 5 Android Development] UnknownzD:
Really looking forward to see that as soon as possible.
[Nexus 5 Android Development] crispi7:
Considered a raw photo?? Do you know what RAW means?

RAW is a professional non compression image format, so....

RAW will be avaible in hal v3(surely in Android 5.0)

Enviado desde mi Nexus 5 usando Tapatalk
[Nexus 5 Android Development] Donstil:
Thnx.
[Nexus 5 Android Development] Huey85:
Dude seriously.. He wasn't sure what it meant hence why he asked the question. Not everyone knows about professional photography and not everyone has a DSLR. I for one didn't know what it meant as well.
[Nexus 5 Android Development] tandxcstar1:
He has r20 (TEST) now that runs on 4.4.2. I think rev19 is still only up to 4.4.1 If I am correct... Try it out but its a boot.img file so you will need to adb it or flashify.

I am about to check this MOD out. Thanks
[Nexus 5 Android Development] gundamboy:
Thanks! Will do :)
[Nexus 5 Android Development] ChongoDroid:
No kernel changes from 4.4.1 to 4.4.2 so 19 will work too
[Nexus 5 Android Development] mchockeyvette27:
What exactly is meant by the .odex file being deleted? I am on the stock ROM so I'm guessing I have to worry about this?
[Nexus 5 Android Development] jaron7_11:
My question also
[Nexus 5 Android Development] zeroprobe:
Don't worry about it, you will either have a deodexed rom or if you install via recovery, the script deletes the .odex file anyway in /system/app.
[Nexus 5 Android Development] zeroprobe:
I'm struggling getting this camera app to run under ART.

Just seems whenever I recompile the deodexed APK, it breaks it somehow. Any ideas?
[Nexus 5 Android Development] mchockeyvette27:
So on an odexed ROM it's OK to just flash and be done?
[Nexus 5 Android Development] imneveral0ne:
He's redoing it for it to work with ART. That's definitely what I'm waiting for lol.
[Nexus 5 Android Development] monkboy24:
+1
[Nexus 5 Android Development] imneveral0ne:
I just realized you were the one who said this, and not some random person. So I don't really need to tell you, that you, are working on it.

Anyway! I don't suppose you'd need a log from me, since it seems like you're running ART as well.
[Nexus 5 Android Development] Johnsonyc:
After install this mod the low light photos getting a lot worst than the stock camera but the flash light look little bit better.
[Nexus 5 Android Development] Ben36:
Any chance you have the knowledge for this zero?

http://xdaforums.com/showthread.php?p=48364335
[Nexus 5 Android Development] zeroprobe:
I believe there was quite a big kernel change with 4.4.1 so not really possible.
[Nexus 5 Android Development] zeroprobe:
Looks like the focus is off. The only thing changed in the camera was to force Jpeg at 100, nothing else has been changed, I would have to put it down to conditions / focus.
[Nexus 5 Android Development] Ben36:
Ah.. Pooo
[Nexus 5 Android Development] Rob1ou:
Is there someone else able to put some other camera review?

I'd like to know the difference between this mod and the other one for 4.4.1??
[Nexus 5 Android Development] lolmachine4:
Just installed this mod via recovery. I can't see any difference at all. Shoudn't the pictures taken be bigger in size compared to stock? I took 2 Pictures on stock camera, flashed, and compared. Same size, maybe 200kb difference, and no (noticable) improvement. Something went wrong?

OT: why the heck doesn't any camera do 16:9 with 8 MP properly? Even my 2 1/2 year old phone could do that (and the pictures looked better then on the N5 too...)
[Nexus 5 Android Development] fethi2:
not recording video! seems it records but when u check it in gallery, there is no video!!!
[Nexus 5 Android Development] lolmachine4:
Works for me, just tested.
[Nexus 5 Android Development] zeroprobe:
It depends on how much detail is in the picture, if the detail can be captured it will.

A test to ensure its working. Focus to your monitor as close as you can. When you take a picture with the mod you should get around a 7Mb file. With stock you will get 4-5Mb.
[Nexus 5 Android Development] zeroprobe:
I checked the other camera and it seems the values that were changed there doesn't alter anything. So I hardcoded 100 compression.
[Nexus 5 Android Development] lolmachine4:
If I understood that right, I just did that. I opened camera, zoomend at maximum (4x) at my PC monitor and shoot. The picture is only 2.2MB in size :S also, the other pictures I took are only 1.5 MB in size. And before you ask: of course the picture size is set to 8MP in camera itself.

EDIT: Now I got it. The picture is only 5.75MB in size. I guess something went wrong.. Will flash again.

EDIT2: Still 5.x MB in size, I even manually deleted the .odex-file and then flashed. I guess either I did something wrong, or I have to deal with the camera being plain crap. A normal picture without zoom or anything, in HDR+ mode, turns out to be not even 2MB in size, more like 1.5MB. No wonder the quaility sucks that badly if the camera is to lazy to get some details flowing through...
[Nexus 5 Android Development] KennyDumah:
nothing changed in kernel code since 4.4.1 :fingers-crossed:

so any kernel from 4.4.1 will work properly.
[Nexus 5 Android Development] zeroprobe:
Strange. Flash the low quality JPG10 first, make sure that changes and then reflash.

Don't zoom in, just go as close to the monitor as you can when it still lets you focus.
[Nexus 5 Android Development] lolmachine4:
Thanks for your help, I appreciate it.

Flashed JPG10, filesize around 2.5MB now. Its doing something, but I'm not quite sure what.
[Nexus 5 Android Development] zeroprobe:
A normal photo on JPG10 should be about 600k
[Nexus 5 Android Development] lolmachine4:
What am I doing wrong then? I am using this rom and franco-kernel, cwm touch as recovery. Anything else I can do to check for a successfull flash? cwm didn't throw me any errors.

How do I install it manually? go to system/app, remove GoogleCamera apk&.odex, reboot, and be good to go (fix permissions if needed)?
[Nexus 5 Android Development] zeroprobe:
Sorry what I meant was with JPG10, up close to a monitor may produce 2.5MB, but a normal photo should be about 600k? is this the case?
[Nexus 5 Android Development] zeroprobe:
If anyone can help odexing this camera mod to work on ART, please help. I've tried many methods but always get force close.
[Nexus 5 Android Development] lolmachine4:
A normal photo without HDR+ turns out to be 480k, indeed.

Excuse my stupid question, but should I use normal photo mode or HDR+?
[Nexus 5 Android Development] zeroprobe:
Normal usually, HDR is when your in bright light but also when you want to take a picture of something dark in the frame.

That's it then, reflash the JPG100.
[Nexus 5 Android Development] lolmachine4:
Damnit, completly my fault then, I was using HDR+ mode by default, basically because I read it should be used by default somewhere around the interwebs. On JPG100 now, normal foto of monitor around 5MB in size.

Thanks for your help!
[Nexus 5 Android Development] zeroprobe:
Glad you mentioned that as HDR doesn't seem to be using JPG100 setting. Will have to search.
[Nexus 5 Android Development] imneveral0ne:
I've tried to odex, but I'm having no luck. I'll keep at it though.
[Nexus 5 Android Development] Shaky156:
[MENTION=2516635]zeroprobe[/MENTION], your jpeg quality 10 = 85 ;)
[Nexus 5 Android Development] notfaded1:
Raw image format may be coming in future android...

Crispi7 is correct... RAW is raw ie. no compression at all in raw format the imager sees. JPEG is compression.
[Nexus 5 Android Development] Ben36:
Whats that mean?
[Nexus 5 Android Development] Shaky156:
It means any number <85 will result in 85 jpeg quality, forcing 10 on jpeg is done via another method lol :)
[Nexus 5 Android Development] zeroprobe:
Have you taken any picture with JPG10 , that certainly is not 85.

This was taken with it, no way is that 85 lol.

http://s18.postimg.org/i8qr678tl/IMG_20131211_180600_2.jpg
[Nexus 5 Android Development] Shaky156:
I misread code, if quality is set to < 0 then output error & set default jpeg quality to 85

Also agree with other user... RAW format is a totally different stream than JPEG, we are only streaming jpeg format
[Nexus 5 Android Development] zeroprobe:
nm
[Nexus 5 Android Development] jaron7_11:
Video is definitely darker
[Nexus 5 Android Development] crackmulah:
JP10

RUNNING JPG10 VERSION --- ABSOLUTELY AMAZING THANK YOU! :p

On a completely serious note though:

Would it be possible to use some sort of varied quality rate? So for parts of an image that need high detail, it will use high quality, and for emptier parts of the image it would use low quality. My guess is this is not possible, as i have only seen it done with some pretty heavy encoding/conversion after the picture was already taken as an art project. I wish I could find the link to it now to share but I cannot. Does anyone get what I am talking about or know the artist who did the images I am referring to?
[Nexus 5 Android Development] Jishnu Sur™:
Zero, mate have you pushed the quality in apk or in media profiles?
[Nexus 5 Android Development] zeroprobe:
apk forced.
[Nexus 5 Android Development] IAreKyleW00t:
Using JPEG100 + 30Mbps Video and it's working great so far. I haven't done any testing or comparisons, but it looks a little better in videos and pictures. Camera, Video, Panorama and 3D Picture (whatever it's called) all appear to work just fine. Video is NOT dark as well (aka: same as how stock looks).
[Nexus 5 Android Development] treIII:
After installing this my camera is fine but when I choose camcorder and tap the red button nothing happens.

Sent from my Nexus 5 using Xparent Blue Tapatalk 2
[Nexus 5 Android Development] darkamikaze:
Any chance we can have the links back and just have a warning for those running ART :o