yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] :
Yeah baby!

Oh, that's a dmesg output....

Ok, so here's the quick and dirty of how I got the Stock Camera working... (well not working but... further along...)

Modify frameworks/base/core/java/android/hardware/Camera.java

public void setParameters(Parameters params) {

String p = params.flatten();

p = p.replace("cam_mode=0;","");
p = p.replace("recording-hint=false;","");
p = p.replace("focus-areas=(0,0,0,0,0);","focus-areas=(-1000,-1000,1000,1000,1000);");
p = p.replace("flash-mode=auto;","flash-mode=off;");
p = p.replace("picture-size=3264x2448;","picture-size=1280x960;");

native_setParameters(p);
}

Afaik, this is the last place you can catch the parameters before the go to proprietary blobs... It may be that not all of these are necessary to make it work and as you can see this is not a proper fix of anything...

---------- Post added at 11:12 AM ---------- Previous post was at 11:01 AM ----------

I think it's because you originally build with mka backon....

Notice:

WriteIncrementalOTAPackage

there is a function in there

WriteFullOTAPackage

I assume that an incremental build would only have the changes from one build to the next. I think it's looking for your previous build for info and you don't have a previous build hence OPTIONS.source_info_dict is null.

If you look at WriteFullOTAPackage, you'll notice that it does not use OPTIONS.source_info_dict...

All that being said, I've never build aokp and I'm not sure what you should do about it....

---------- Post added at 11:36 AM ---------- Previous post was at 11:12 AM ----------

oh, I think I got it.. I remember you posting that you had to change some file in the device folder to exhilarate.mk. try renaming it full_exhilarate.mk...
[Miscellaneous Android Development] chuck864:
Hate to interrupt camera progress but I felt this was on the same subject. I flash the 4/25 slimbean and am having the camera rotation problem. The preview looks good but when you take a picture some of them are rotated 90 degrees. I was wondering if this was a known issue because I couldn't find anything in the thread other than the old kernel doing it.
[Miscellaneous Android Development] Unjustified Dev:
Used CameraMX from the market?
[Miscellaneous Android Development] :
Kernel fix for the log you posted

[MENTION=2448661]kte[/MENTION]mp

if you look @ https://github.com/TeamChopsticks/a.../cm-10.2/drivers/media/video/msm/sec_isx012.c lines 1758 - 1783, you'll find the offending code..

static int isx012_set_focus_mode(int value1, int value2)
{
switch (value1) {
case FOCUS_MODE_AUTO :
ISX012_WRITE_LIST(ISX012_AF_Macro_OFF);
if(value2 == 1) {
ISX012_WRITE_LIST(ISX012_AF_ReStart);
isx012_ctrl->setting.afmode = FOCUS_MODE_AUTO;
}
break;

case FOCUS_MODE_MACRO :
ISX012_WRITE_LIST(ISX012_AF_Macro_ON);
if(value2 == 1) {
ISX012_WRITE_LIST(ISX012_AF_ReStart);
isx012_ctrl->setting.afmode = FOCUS_MODE_MACRO;
}
break;

default :
printk(KERN_DEBUG "[ISX012][%s:%d] invalid[%d/%d]\n", __func__, __LINE__, value1, value2);
break;
}

return 0;
}

I'm not sure what focus mode it's trying to set but we can force it to be FOCUS_MODE_AUTO by changing it to this

static int isx012_set_focus_mode(int value1, int value2)
{
switch (value1) {
case FOCUS_MODE_AUTO :
ISX012_WRITE_LIST(ISX012_AF_Macro_OFF);
if(value2 == 1) {
ISX012_WRITE_LIST(ISX012_AF_ReStart);
isx012_ctrl->setting.afmode = FOCUS_MODE_AUTO;
}
break;

case FOCUS_MODE_MACRO :
ISX012_WRITE_LIST(ISX012_AF_Macro_ON);
if(value2 == 1) {
ISX012_WRITE_LIST(ISX012_AF_ReStart);
isx012_ctrl->setting.afmode = FOCUS_MODE_MACRO;
}
break;

[B]case 256:[/B]
[B] ISX012_WRITE_LIST(ISX012_AF_Macro_ON);[/B]
[B] if(value2 == 1) {[/B]
[B] ISX012_WRITE_LIST(ISX012_AF_ReStart);[/B]
[B] isx012_ctrl->setting.afmode = FOCUS_MODE_AUTO;[/B]
[B] }[/B]
[B] break;[/B]

default :
printk(KERN_DEBUG "[ISX012][%s:%d] invalid[%d/%d]\n", __func__, __LINE__, value1, value2);
break;
}

return 0;
}

This should serve as a diagnostic fix but a proper solution is to find out what focus mode it's trying to set write code to support/see if it's supported, find where FOCUS_MODE_AUTO is defined and define the proper mode there then add the proper case statement for it.

---------- Post added at 01:41 PM ---------- Previous post was at 01:33 PM ----------

I ran that very version for a long time and I don't recall having any camera problems but then again, I don't think I used the camera very often... I would think that if their were issues, someone would pointed it out in the last 4 months... but you never know..;)
[Miscellaneous Android Development] chuck864:
No I am using the stock camera. Should I be?

Also instagram seems to glitch out. Picture disappears and reappears on screen repeatedly

---------- Post added at 03:36 PM ---------- Previous post was at 03:23 PM ----------

It is weird because it only does it occasionally. It's like it gets in a bad mood and starts rotating pictures and then it is fine. I can try and get a logcat of it if anyone is interested in working it out. Just let me know.
[Miscellaneous Android Development] Unjustified Dev:
[MENTION=4789347]chuck864[/MENTION]

Use cameramx
[Miscellaneous Android Development] InkSlinger420:
I'm sure the instagram issue is more of an app bug than firmware issue..and third party cameras are fixing small bugs on our phone quite a bit..may wanna try one..
[Miscellaneous Android Development] Dieselsmok:
Chuck864 is running slimbean 4.1 I used this one months with no problem did you use a multi DPI play store?
[Miscellaneous Android Development] InkSlinger420:
Not to sound rude..

but what would that matter with his camera issues? Just curious..now he may want to wipe the big 3 and reflash...but i dont see how the dpi playstore would matter with camera..
[Miscellaneous Android Development] InkSlinger420:
so...

I'm finishing up a carbonrom 4.3 build right now and will up a link when built..I still do not have my device back so I will need a tester or 2 to shoot a run through...If their are any takers, let me know...
[Miscellaneous Android Development] ktempleton:
Hey guys you should try the cm build out the wake up bug is fixed one thing clean flash on these while they are working out the bugs because if you don't the bug may stay b the only way to know for sure what they have fixed is by clean flashing
[Miscellaneous Android Development] :
I thought I'd let everyone know that I created a new thread for SlimBean 4.3 and the work I'm doing on the hardware issues here
[Miscellaneous Android Development] InkSlinger420:
hey hey

Appreciate you throwing the thanks bro...Big thanks back to you..
[Miscellaneous Android Development] ktempleton:
Liquid-JB-v3.0-UNOFFICIAL-exhilarate.zip - 116.96 MB

pa_exhilarate-3.99-20130908.zip - 150.59 MB

thought i would drop these off here enjoy
[Miscellaneous Android Development] jnar:
Looking for advice

Hi all, I would like a nice clean and fast JB rom for this awesome phone I just got these days what would you recommend for daily usage? I tried CM10 and its ok except for some random reboots but I think has some big issues with battery duration, I lost something like 20% or more at nights while I sleep and I think is too much for an "idle" device.

Or should I just stay in the stock ICS for the device rooting and debloating?

Please I would like to hear (ok read) your recommendations. :good:
[Miscellaneous Android Development] malikfaraj96:
The liquid smooth from the bottom of the page is really good. And did u change the overclock speed from 1.8ghz? That could be what's draining your battery

---------- Post added at 03:51 PM ---------- Previous post was at 03:50 PM ----------

http://d-h.st/RE5
[Miscellaneous Android Development] jnar:
Thank you for tour answer, I didnt touch any advanced setting like OC or things like that.
[Miscellaneous Android Development] malikfaraj96:
U should change it down to 1.5 or something. Do u know how?
[Miscellaneous Android Development] jnar:
Yeah, i know how to do that im gonna try that with the one you linked.

Thank you again.
[Miscellaneous Android Development] InkSlinger420:
Thanks

Appreciate the appreciation ;) thats my favorite 4.1.2 also.. :P You can also try the app greenify. It helps hibernate background processes and save battery and ram...fyi..
[Miscellaneous Android Development] malikfaraj96:
I think I might try that app. I could use the battery life especially when on LTE
[Miscellaneous Android Development] jnar:
I just installed that liquidsmooth rom but it comes only in english that is not my main language. Any other option please?
[Miscellaneous Android Development] InkSlinger420:
these are good

ktemp built these from source and should have what your looking for...Slim is nice and lightweight leaving more free space...Rootbox has a few more options...

4/25/13

SlimBean

http://d-h.st/0S9

root box

5/6/13

fixed menu button and rom control

RootBox-JB-i577-Nightly-20130506.zip - 141.89 MB

http://d-h.st/3Nw
[Miscellaneous Android Development] malikfaraj96:
What's your native language? Theres a setting under settings/language & input/ language
[Miscellaneous Android Development] jnar:
It is spanish, and I looked there but its just english nothing else there.

Im sorry to as for these things here, you know we dont have a whole forum for our loved phone. I installed slimbean, the only issue i found so far is that I cant disable NFC.
[Miscellaneous Android Development] malikfaraj96:
The android 4.3 ROM? And when I tap it on my phone I get dozens. Maybe it's only in the 4.3 ones
[Miscellaneous Android Development] InkSlinger420:
In the 4.1.2 liquid port i built there is only english.There are language apps in the play store i have referred to people before to help change that. Did you factory reset,wipe cache and dalvic before flashing slim ROM? Pretty sure that's a necessity..just asking..
[Miscellaneous Android Development] jnar:
Yeah, I always do full wipes and format system before installing any rom.
[Miscellaneous Android Development] InkSlinger420:
Cool..just checking because I don't remember having NFC issues on slim...but I may be wrong..:cool:

---------- Post added at 03:37 PM ---------- Previous post was at 02:47 PM ----------

FYI..meticulous (that bad dude) has flash/torch fixed on his slim build in his thread posted earlier..;)
[Miscellaneous Android Development] jnar:
Im sorry can you link me where to get those language apps? Im searching but can find only keyboard dictionaries but not language for all system
[Miscellaneous Android Development] InkSlinger420:
You can try language enabler or set language in the play store..those have worked for Spanish on my liquid smooth..
[Miscellaneous Android Development] InkSlinger420:
I'm upping a pac 4.3 v4

I'm upping a pac 4.3 v4 that should have working flash/torch. The camera bugs are present but flash/torch should be fixed ( THANKS METICULOUS ) ..link shortly..

http://d-h.st/LQs

If anyone tries this please let me know if the torch is working..My phone is under quality control and hasnt shipped back yet so I cannot test..Thanks fellas...
[Miscellaneous Android Development] ktempleton:
Liquid-JB-v3.0-UNOFFICIAL-exhilarate.zip - 117.09 MB

there were a bunch of updates so i ran it again
[Miscellaneous Android Development] :
Can someone who is running 4.1.2 or Stock ICS/GB tell me; What is the highest resolution image you can take with the front facing camera?
[Miscellaneous Android Development] ktempleton:
2mp I believe
[Miscellaneous Android Development] :
I mean that actual... you know 640x480,1600x1200...:laugh:
[Miscellaneous Android Development] ktempleton:
I'll be able to check around 315 when my wife gets home she still runs stock
[Miscellaneous Android Development] :
Normally, I'd just hit the thanks button but I'm out already. Thanks man!
[Miscellaneous Android Development] InkSlinger420:
its

its actually 1.3 mp..and i'll check the res right now..

---------- Post added at 01:31 PM ---------- Previous post was at 01:28 PM ----------

its 1.3mp and on ultra my camera app says 1280x960...i think thats what your looking for..
[Miscellaneous Android Development] ktempleton:
Liquid-JB-v3.0-UNOFFICIAL-exhilarate.zip - 117.12 MB

this has a different kernel its not oc yet but that is coming this is carvsdrivers moretz kernel it has fast charge and a couple of other little goodies you can use incredicontrol from the playstore i built this using his source if you have any issues im the one to talk to about it not him lol i did run it for a day on cm and it improved my batt quite a bit enjoy
[Miscellaneous Android Development] malikfaraj96:
Think we can get carbon ROM?
[Miscellaneous Android Development] InkSlinger420:
I'm working on it..Just having a hard time with syncing their 4.3...I believe they are still buttoning things up..It is being worked on...
[Miscellaneous Android Development] malikfaraj96:
Thanks. It looks like a cool ROM to try
[Miscellaneous Android Development] xWolf13:
I believe somcom is already working on it :D
[Miscellaneous Android Development] ktempleton:
He's working on it for the blaze
[Miscellaneous Android Development] ns17:
I'm running it now, torch is still force closing.

Sent from my Samsung Exhilarate SGH-I577
[Miscellaneous Android Development] InkSlinger420:
Yeah..Meticulous notified me after build that there was issues upping to git so it didnt make it in...Its done now and will be rebuilt tomorrow...
[Miscellaneous Android Development] ktempleton:
OK guys I'm upping another liquid build with the new kernel I could use some feed back with it still no oc but CVD told me what to look at to fix that this build has several new govs and a couple of io scheads also some other changes I made its snappier and smoother I'll post a link in a bit

Liquid-JB-v3.0-UNOFFICIAL-exhilarate.zip - 115.52 MB
[Miscellaneous Android Development] InkSlinger420:
Running a pac build with updated kernel..but still cant try it as I got this from Samsung 10 minutes ago

*09/13/2013//12:12:14//0001773863//Telephone//ASC*

9/13/2013 11:11 AM-Arturo Hernandez: The unit has left the technician. SOLUTION: Replaced Component - Replaced PBA

*09/13/2013//12:09:38//0001773863//Telephone//ASC*

9/13/2013 11:09 AM-Arturo Hernandez: The Unit did not pass Quality Assurance Check.

*09/09/2013//17:38:15//0001773863//Telephone//ASC*

9/9/2013 4:37 PM-Daniel Gonzalez: The unit has left the technician. SOLUTION: Replaced Component

*09/07/2013//11:55:15//0001773863//Telephone//ASC*

Looks like another week.. :mad:
[Miscellaneous Android Development] InkSlinger420:
One more for the books..

heres a pac with updated cm kernel. i believe cm hasnt adopted the torch fix yet but some other changes as in the nightly forum are there..

http://d-h.st/SJf
[Miscellaneous Android Development] byrdtulsa:
Do our phones have an official cm nightly. If so does anyone have a link
[Miscellaneous Android Development] car vs driver:
I haven't pushed any CM changes for torch yet, only rotation on the camera and some other kernel fixes. I'm still doing analysis on Torch to determine the best way to update the drivers for it.
[Miscellaneous Android Development] ktempleton:
Search back a few pages look at carsvsdriver post

http://xdaforums.com/showthread.php?t=null
[Miscellaneous Android Development] InkSlinger420:
And you said you were backing off nightlys until cameras get up right?just checking..
[Miscellaneous Android Development] car vs driver:
Yep - no real point in them, I'll drop alphas as necessary along the way. When I'm good with the stability and functionality in the ROM, I'll turn on the official CM10.2 nightlies.
[Miscellaneous Android Development] byrdtulsa:
Link not working
[Miscellaneous Android Development] InkSlinger420:
here ya go..

http://xdaforums.com/showthread.php?t=2426405
[Miscellaneous Android Development] chuck864:
UPDATE

Just thought I would throw this out there. I have been trying to fix the instagram issue I'm having where the pictures keep flashing (disappearing and reappearing) when you open them in the editor. I tried wiping and re-flashing slimbean and no luck so I started trying other 4.1 roms and still got the same results. I can't figure it out. If I restore the backup of the factory image I made before I changed anything it works fine. :confused:

Does anyone else use instagram?

Here is a list of the roms I've tried and the gapps and cwm I am using.

4/25/13

SlimBean

Slim-3.1.0-i577-20130426-1514-UNOFFICIAL.zip

LiquidSmooth

UPDATED 12/14/12

LZ:http://d-h.st/4z1

cm10 sgh i577 exhilirate zip unofficial(Powered by LightningZap Kernel)

updated 2/8/13

http://d-h.st/2Pd

LiquidSmooth Rom Port

http://d-h.st/RE5

G-apps. JB

http://goo.im/gapps/gapps-jb-20121011-signed.zip

recovery cwm

cwm-6.0.1.4-exhilarate.tar
[Miscellaneous Android Development] ktempleton:
ok guys i have put together the oc kernel for 4.3 carvsdriver added the stuff to the source and i built it last night here you go

moretz_exhilarate.zip - 6.04 MB

i plan on updating some of my threads today

as far as instagram goes on those older builds the only way for you to get it to work is if there are workarounds out there since 4.1 is dead in the water developement has stoped on that, however if you exercise a little patients 4.3 may hold the solution ...
[Miscellaneous Android Development] chuck864:
Pardon the interruption

Yeah I know everyone is working on 4.3 now and I hate posting here about what is apparently an app problem but..... I've got nowhere else to go :crying::crying: If only we had our on forum. ;)

Anyway... I don't expect(or want) any devs to divert from progress on new stuff I was just wondering if anyone used instagram on any of these roms without any problems. Maybe someone has and older version that works fine and can send me the apk or something?
[Miscellaneous Android Development] ktempleton:
updated the op guys if you think i should add something let me know thanks
[Miscellaneous Android Development] malikfaraj96:
The only problem I had with instagram was recording video never had the disapearing photo problem on 4.1
[Miscellaneous Android Development] InkSlinger420:
I have a similar issue with xda app..Where i do not get pictures of screenshots just empty squares..But it doesnt bother me enough..I can always use web view and open it in browser if need be...

---------- Post added at 12:28 PM ---------- Previous post was at 12:23 PM ----------

Ktemp, Could you link up my latest pac build in the op..I saw you hit the credit there but didnt make it easy to find...If you could, it would be cool...Thanks bro..

http://d-h.st/SJf
[Miscellaneous Android Development] j3r3goss:
you guys are animals with the builds
[Miscellaneous Android Development] jnar:
I would recommend clarify the known bugs there so people can be aware and to no not get lots of messages asking for that.

In fact, that is my next question, what are the known bugs of those roms in our device
[Miscellaneous Android Development] ktempleton:
Any thing related to the camera and sensors are jacked you can use a third party app for the camera

Of course this is for 4.3
[Miscellaneous Android Development] InkSlinger420:
Ok... I just got word I am now the pac maintainer (officially) from pac-rom..I will be keeping up with updates and features for all of us and will be releasing new builds constantly as our bugs get worked out...And as ktemp said, i didnt know linux from a hole in the wall 2 months ago...Just glad to be giving something back....
[Miscellaneous Android Development] Unjustified Dev:
See you on hangouts bud
[Miscellaneous Android Development] ktempleton:
Go ahead and start you an official thread in this same forum here the more we get going the more we will get noticed
[Miscellaneous Android Development] InkSlinger420:
my phone shipped out today so it will be a couple days...But i'll be there!!!!

---------- Post added at 08:52 PM ---------- Previous post was at 08:50 PM ----------

Sure will...Probably tomorrow when i have the time to sit down and do it...Thanks again for ALL the help you guys (all of you) have given me to get here..
[Miscellaneous Android Development] ktempleton:
OK guys quick update. I have to download the repos so be patient. Lol:eek:
[Miscellaneous Android Development] Spark1223:
Can't wait! Lightning Zap is nice kernel!
[Miscellaneous Android Development] ktempleton:
LZ

ok guys fingers crossed its running right now:fingers-crossed::cool:
[Miscellaneous Android Development] jstiel:
Never.
[Miscellaneous Android Development] ktempleton:
OK guys sorry fell asleep. I had some difficulty getting everything set up. Ill be making another run later today. But if everything I've heard about this kernel is true its worth the wait.
[Miscellaneous Android Development] Spark1223:
better not to rush anyways. That way we can make sure everything works right. Btw, I'm fairly certain the kernels for this phone and the blaze are different.at one point I flashed cm9 for blaze and the sound didn't work.
[Miscellaneous Android Development] ktempleton:
They are a little different but I'm not doing this with a blaze kernel I'm building a exhilirite kernel using team fah-q source. :screwy:

Edit: Quick update. Had to wait till I got near a internet connection still working on it. Have a good idea on what I need to do. Ill keep you posted
[Miscellaneous Android Development] ktempleton:
OK guys don't get to excited but I just posted a build I ran this morning I am not sure how many changes took effect on this build but some things such as boot animation and the name of the kernel itself but it is stable have fun
[Miscellaneous Android Development] j3r3goss:
Flashed :D
[Miscellaneous Android Development] Spark1223:
How come we can't overclock?
[Miscellaneous Android Development] ktempleton:
Because this is the preliminary build. I still have somethings to set up before its complete. Working on it though
[Miscellaneous Android Development] j3r3goss:
Awesome job Ktemp! Kicking some ass with these builds. Thanks for all the hard work. I hope you're working at your own pace and not overdoing it to please us. :D
[Miscellaneous Android Development] ktempleton:
Is it any different? It seems a little snapier to me but that could be wishful thinking. And to answer your question I'm not trying to please anyone just want people to be able to enjoy this phone. Besides this phone is like my bootcamp for Linux. LOL. Really want to be able to overclock it a little lol
[Miscellaneous Android Development] Spark1223:
How high can safely overclock this phone?
[Miscellaneous Android Development] ktempleton:
Well I'm not sure but the blaze is very similar and it clocks at 1.5 ghz
[Miscellaneous Android Development] j3r3goss:
It does seem a little snappier to me as well.

You should be pleased with yourself, you're putting out some great work.
[Miscellaneous Android Development] ktempleton:
I have a good teacher. He is thinking about changing his name to bada** lol

I'm running another build hopefully this time the kernel changes will make it in there..

Well my build finished and for some reason its back to normal so I have missed something but don't worry I'm getting good at this. Lmao :cool:
[Miscellaneous Android Development] j3r3goss:
I haven't been able to confirm, but I think it's the same chip but for some reason ours is under clocked. Might just be wishful thinking though.
[Miscellaneous Android Development] Spark1223:
It is the same chip. It's the Snapdragon S3 APQ8060. Same CPU is in the HP TouchPad, HTC Jetstream, HTC Vivid, HTC Raider 4G, Le Pan II, LG Nitro HD, Samsung Galaxy S II (SGH-T989), Samsung Galaxy S II LTE, HTC Amaze 4G, and of course the Samsung Galaxy S Blaze 4G. Can be clocked up to 1.7 ghz. I wouldn't suggest bringing it up that high though.

Source:

http://en.wikipedia.org/wiki/Snapdragon_(system_on_chip)
[Miscellaneous Android Development] j3r3goss:
I've had 2 reboots now. Was checking out some hardware identification apps. Got a reboot during uninstall on 2 different apps.
[Miscellaneous Android Development] :
That's effing awesome dude!!!:highfive:
[Miscellaneous Android Development] j3r3goss:
Good job man.