yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy SL i9003] loSconosciuto:
I'll post all the patches I'm using, I just have to find the time to clean up my local repos. My public repos are a little behind and all the framework changes I made are not available on Github.

That's probably something difficult to get. Also, I don't think it's a useful feature, that means I have no intention to work on it, surely not now when there are more important things to do.

There's no way for me to find a solution with no logs or without being able to reproduce the issue. I tried many times, but everything is fine here.

I'm sorry, but I used Flash Player only once, just to see how it works. After that (I was using Gingerbread), I've always avoided it.

I forgot to add in the first post that ROM replaces the modem (my build with XXLE4 modem, dhiru's with DDLF2) when it's flashed over CM9, CM10 Alpha3 or older or a stock ROM. You have to manually replace the modem taking modem.bin from the tar of your ROM and put it in /radio/ overwriting the existing one and reboot. This is necessary only for I9003L users, I9003 users don't have to do it necessarily. It has to be done only once because of the BML to MTD conversion.

I read the replies in the other thread you linked and if you flash this ROM over an I9003L ROM (as I wrote somewhere in this thread, it'll work with no "assert failed" errors), I'm sure there's no need to do any change to /efs. If you flashed an I9003 ROM, maybe you need to restore the files. I thought that /efs is not touched by ODIN, but maybe I'm wrong.

As for the APN settings, the APN list is here and it's maintened by CM devs. Obviously, if no one reports the problem or provide a patch to fix it, it will never be fixed.

EDIT: I added some information for I9003L users to the first post.

I confirm this. I don't know where's the problem. If that really annoys you, I can give you some directions to find the problem: start here. Look for STAY_ON_WHILE_PLUGGED_IN, it's the dev option you are using.

If you need to find something and you don't have the source code, use this.

Everything is working fine and your problem is different from ammar's. Maybe it's a bug of your ROM.
[Samsung Galaxy SL i9003] BachuArg:
Done!

Thanks!
[Samsung Galaxy SL i9003] LoLaTiOn:
test this please source 4.1.2 . ROM PHOENIX V9 GALAXY NOTE 2
[Samsung Galaxy SL i9003] loSconosciuto:
Instructions to build this ROM

All the patches I'm using are attached.

How to:

Place local_manifests/ inside .repo and the rest of the zip in the root dir of the sources.

Run build.sh

The script will ask you which branch you want to build (CM10 with kernel 3.0 or CM10 with kernel 2.6.35), it will create the roomservice.xml depending on your decision (it will overwrite the existing one!) and it will interactively patch everything.

kernel.sh will build instead the kernel. This script mostly derives from an old script made by Teamhacksung.

Tip: if you pass any argument to build.sh, it will start to build the ROM without asking you anything. Useful when the build fails. If you pass any argument to kernel.sh, it will create a flashable zip without rebuilding the kernel.

Tip 2: if you run "build.sh yes", the script will automatically answer "yes" to all the questions.

If you modified the content of .repo/manifests/default.xml, there might be conflict with my local_manifests.

There are two branches for the kernel 3.0:

latona-3.0: device specific code

latona-3.0.y: device specific code + upstream updates

Use latona-3.0.y to build kernels. latona-3.0 is there as reference.

For the changes to camera HAL, see this branch (2.6.35 only)

device, vendor and kernel must be manually taken from here, or add them to roomservice.xml which is in local_manifests.
[Samsung Galaxy SL i9003] cukierkas:
Thanks lolation, but still can't load it :( what I'm doing wrong? Can someone confirm its working?

Powered by cm10.1
[Samsung Galaxy SL i9003] Darktitor:
You're great LoSconoscuito :D

Envoyé depuis mon GT-I9003 avec Tapatalk
[Samsung Galaxy SL i9003] nicsptl:
Thank You sir....!!! It will help me lot in building ROM. :laugh:
[Samsung Galaxy SL i9003] BachuArg:
Can someone help me how to change my baseband to 850mhz in this Rom?

I read in other threads I had to press*#2263# but nothing happens.

Need to check if this is what´s causing my 3G not to work properly.

Thanks.
[Samsung Galaxy SL i9003] cukierkas:
Seems black alarm clock is gone after upgrading to gamers rom v2.4

Sorry for disturbing :)

Powered by cm10.1
[Samsung Galaxy SL i9003] abderrezak:
whay my pc (windows7) don't see my phone when i use cable. i m on v3.1 . i dont know but something is worng . i need help .
[Samsung Galaxy SL i9003] Darktitor:
Did you enable usb debug ??

Envoyé depuis mon GT-I9003 avec Tapatalk
[Samsung Galaxy SL i9003] abderrezak:
sur man :D
[Samsung Galaxy SL i9003] loSconosciuto:
I did a little change to the Camera HAL. I've added a rough "drop preview frame" policy (720p only) to decrease the CPU load. With this simple change I get 12/13 fps, the preview is not messed up (a bit laggy though, also because of the dropped frames) and the Camera app seems to be faster when 720p is selected because of the lower CPU load.

If I remember correctly the preview is resized in Gingerbread and that probably lowers the CPU load.

Anyway, if you want to try this modified libcamera:

libcamera-frames.zip - 182.45 KB

I'm not sure if what I did is correct, the patch is here.

____

That code is for stock ROMs. The correct code is *#*#197328640#*#*, or *#*#0011#*#*, which is easier, but it brings you to a submenu (press the back button).

From "MAIN MENU":

There you can change whatever you want.

I don't know what's the problem. Try v4.0, look for it in this thread. If you don't like it, you can flash v3.1 again.
[Samsung Galaxy SL i9003] abderrezak:
ok now it's ok for me
[Samsung Galaxy SL i9003] loSconosciuto:
Camera HAL - part 2

libcamera-dropframes-fps.zip - 182.73 KB

Not perfect maybe, but there's indeed an improvement.

The 720p preview is still intentionally limited because it's too heavy to process.

Patches attached.
[Samsung Galaxy SL i9003] cukierkas:
Update works fine, thank you. Preview is now acceptable :thumbup:

Sent from my GT-I9003
[Samsung Galaxy SL i9003] mathew1234:
After flashing the above stuff, I can't play any video properly...
[Samsung Galaxy SL i9003] arindammanidas:
Hi there.... nice work! :) I'm using your latest build and wanted to know which kernel is packed with the build. The kernel string just says qwerty@keyboard #1.

Thanks :D
[Samsung Galaxy SL i9003] loSconosciuto:
Even if the above libcamera improved video recording, I think some more improvements are possible.

With the above libcamera I get more or less 480p@27fps and 720p@15fps videos, while I get almost no drop with no preview at all. There are also some freezes while recording and an fps drop as soon as the recording starts. I'll do some experiments, but I'll be busy for a while.

The 720p preview with no changes is too heavy to process, even with half of the frames skipped.

PS: I noticed that this doesn't include WiFi modules (tiwlan_drv.ko, available in any of my previous kernel zip, for WiFi and tiap_drv.ko, available only in my ROM builds, for WiFi tethering). Take them manually, put them in /system/lib/modules and set their permissions to 644. I'll update the zip when I'll have some time.

_______

That's strange, I only modified camera.latona.so, which shouldn't have anything to do with the mentioned problem.

Usually my builds include the latest kernel released (currently this), sometimes the latest kernel with little changes to better fit with some ROM changes.

The problem is that I switched to the inline kernel building and still hadn't edited core/tasks/kernel.mk, hence .version is never manually changed.
[Samsung Galaxy SL i9003] alfrix:
Sacrificing accuracy for fps, you can remove the 1280x720 preview size from: Here. Or reverting 0f8f0a3

That would mess up a little the preview vs video recorded, 'cause the different aspect ratios (16:9 vs 16:9.6)

but it's what samsung did on their firmwares...
[Samsung Galaxy SL i9003] MR.Volkf:
there is no solution with instagram? someone can give me advise?
[Samsung Galaxy SL i9003] LoLaTiOn:
@ll Crazy flood with instagram in all topic !! Stop it will saying just 'why not work' Please

search for items on google and try to find help as instead of asking in all topics

difficult for a single developer to find a solution

without any element to understand and solve a problem

Time of need logcat error reporting

Personally I do not use instagram but I'll help proof yet

Devs can look OpenGL ES 2.0 view relationship instagram ?§! > https://code.google.com/p/opengles-book-samples/

https://code.google.com/p/opengles-book-samples/wiki/Instructions#Android
[Samsung Galaxy SL i9003] rodero95:
The problem with Instagram is that one which froze the phone when processing the picture? I thought that it was a problem of the 3.0 kernel...
[Samsung Galaxy SL i9003] MR.Volkf:
Opp sorry about that,great rom and smooth,and there is a little problem with whatsapp,whatsapp always fail to send verification code,the problem isn't in whatsapp,coz i was change the version,and after 30minutes the verification code came,very late
[Samsung Galaxy SL i9003] rodero95:
Maybe the mobile network was a bit overloaded at that time and so you received the sms late.

Anyway, you can also validate Whatsapp through a phone call method, didn't it show that option? (It shows the call method after ten minutes of waiting for the SMS).
[Samsung Galaxy SL i9003] alfrix:
There are some framerate peaks that are waaay too high, maybe a hard limiter could be put in place....

the codec should be 3gp4-h263 as avc is heavier

Codec ID : avc1

Codec ID/Info : Advanced Video Coding

Duration : 14s 599ms

Source duration : 14s 550ms

Bit rate : 2 857 Kbps <a bit low

Width : 720 pixels

Height : 480 pixels

Display aspect ratio : 3:2

Frame rate mode : Variable

Frame rate : 28.453 fps

Minimum frame rate : 11.211 fps

Maximum frame rate : 306.122 fps
[Samsung Galaxy SL i9003] BachuArg:
Thanks a lot!

I could fix GSM1900 and 3g is working perfectly.

I installed libcamera-frames-fps2.zip without problems, but patches.zip aborts installation.

Thanks again for your constant work!
[Samsung Galaxy SL i9003] MR.Volkf:
Also Didn't work
[Samsung Galaxy SL i9003] imjustafq:
finally cm10.1..

via Android
[Samsung Galaxy SL i9003] rodero95:
That zip is for developers, not a flashable zip. If you open it, you'll see the build scripts and patches for the source code, but nothing useful for users.
[Samsung Galaxy SL i9003] loSconosciuto:
Yes, there are definitely some issues. The recorded videos are not even smooth. Thanks for the detailed analysis by the way.

I kept using H264 simply because it's what Samsung used, but maybe some optimizations were done. Editing media_codecs.xml was one of the first thing I tried, but I had no improvements, only later I found the real problem (patch #4).

If someone wants to play with codecs to find the best combination, everything is specified in /system/etc/media_profiles.xml (look at /system/etc/media_codecs.xml to know what you can use. Wrong settings can cause bootloops). I think I'll keep working on the HAL implementation and in case I won't find anything I'll look again at the codecs, bitrates etc.

I'll say it clear now, cause it seems this CM10.1 build will be soon released. I won't support it, at least not soon.

I think CM10.1 with no updated GPU drivers is worse than CM10, even if the problem seems to be limited to menu scrolling. I really don't care about the new Android 4.2.2 features, some of them are nice (I like the new font rendering for example), but most of are really useless to me (multiuser, lockscreen widgets, quickpanel toggles). I've already built it back in november/decemeber (when it was still called mr1), the only problem was bluetooth (which I didn't even try to fix) and maybe there were some issues with video recording, I can't remember. I didn't give up immediately though, I tried few more times, but even with all the optimizations I'm using in CM10 (you can't deny my builds are fast), it was not as good as it.

That's why I decided to try to fix the major bugs of CM10 and I've got good results so far: missing WiFi signal fixed, WiFi scan (and disconnecting bug?) fixed, partially working WiFi tethering, slightly better video recording (WIP).

Anyway I can see that rodero95 is using all of what I did, that means you don't need me.
[Samsung Galaxy SL i9003] Hetalk:
No way buddy. You're the shining star here.

I'm on kernel 3.x but I still follow this thread, as I'll be eventually coming back to this.:good:
[Samsung Galaxy SL i9003] LoLaTiOn:
+1

great need of your help on a project CM10.1

This 2.6 Kenel you know well

David time of need support from the beginning

I can only test but I do not bring anything i am really bad

Please recognize that we strongly need you and your expertise

Not forget Kernel 2.6 has already spent several API

Android 2.2–2.2.3 Froyo (API level 8)

Android 2.3–2.3.2 Gingerbread (API level 9)

Android 2.3.3–2.3.7 Gingerbread (API level 10)

Android 3.0 Honeycomb (API level 11)

Android 3.1 Honeycomb (API level 12)

Android 3.2 Honeycomb (API level 13)

Android 4.0–4.0.2 Ice Cream Sandwich (API level 14)

Android 4.0.3–4.0.4 Ice Cream Sandwich (API level 15)

Android 4.1 Jelly Bean (API level 16)

Now please !!!

Android 4.2 Jelly Bean (API level 17)
[Samsung Galaxy SL i9003] cukierkas:
Dear developer, you have a really gold valued knowledge, so why stop? Its not the dead end, there is plenty work to do :)

We need you, your way of thinking.

Happy user

Sent from my GT-I9003
[Samsung Galaxy SL i9003] imjustafq:
i see.. that's why you have stick with cm10. so porting it to 2.6 wont help make cm10.1 usable as cm10 with 2.6 now? okay.. so we'll just have to see what rodero can do then. btw.. your cm10 build is awesome now.

via Android

---------- Post added at 02:24 AM ---------- Previous post was at 02:21 AM ----------

he's focusing on cm10.. according to him, cm10 is less flaw than cm10.1.. that's all.

via Android
[Samsung Galaxy SL i9003] Gondya bhau:
^^true

not true..

devs in xda are like seeds in a torrent...u always need them :D:D
[Samsung Galaxy SL i9003] rodero95:
I completely agree with LoSconosciuto. It's always better to have one great product than having two or three unfinished ones.

I've always said that I just started the cm-10.1 development as a work for me, just to learn about the android development and porting process, and so I needed something "unstable" or "unfinished", to call it somehow, something which I'll need to work a little bit.

So stop requesting devs to work on new things until current ones are perfect. Devs do this all just for free, they don't get anything but knowledge and experience back, so let them work on what they want :)

About cm-10.1 (although it's offtopic here), I'll continue working on it as far as I can and I'll apply any other fixes any dev get for our device, as always, so leave the topic for now :)
[Samsung Galaxy SL i9003] LoLaTiOn:
Really sorry that I just realize this is a request ETA without paying attention confusion between support and help

Sorry for what I can not express myself well and was sorry if the translations are awkward

@loSconosciuto accept my sincere apology
[Samsung Galaxy SL i9003] alfrix:
@loSconosciuto

Have you noticed that both video and audio bitrates seem to be constant? this is not what happened on GB where variable and much higher bitrates where used (~13 Mbps for 720p)

i edited the codecs, changed avc to h263, the quality got better maybe because of the higher bitrate (from 2Mbps to 6Mbps), but didn't make much difference on the fps side... attached media_profiles.xml for those who want to test it, extract the zip, replace the file on /system/etc/, and reboot.

Can anyone please provide me a sample of a 480p video filmed with GB (or froyo) because I've always used 720p...

PLUS: if anyone wants the camera of JB 4.2, i attached it here. Flash it from recovery, this will not replace your camera app (you will have both)
[Samsung Galaxy SL i9003] abderrezak:
480p not work for me i have FC . wifi not work nice when the screen is of . and some times my sl is rebooting by it self . 720p not work fine at all .preview and playback .

i flsh the last libcamera . part3 ... after that worsened Things .

what the Problem ...
[Samsung Galaxy SL i9003] rodero95:
I think I've got some videos I recorded when I got the phone last year, I'll see if I still have them.
[Samsung Galaxy SL i9003] loSconosciuto:
Honestly, I've never recorded a video and kept it for more than a couple of minutes, so I've no idea how they should be.

Audio quality is a bit low, I agree, and I've already increased it but hadn't test the changes properly yet.

I'll try your changes by the way.

I've also noticed that my computer plays the recorded video with the wrong orientation, that also has to be fixed.

Anyway, I found a way to use grabPreviewFrame instead of grabRecordFrame + releaseRecordFrame. It's what I've been trying to do, but I wasn't able to get decent videos with it. The solution is a codec quirk. However 720p is now basically unusable and more initial frames have to be drop (around 40 instead of 1).

+1 for the samples. I'll also try to see exactly what stock ROMs use, because I think media_profiles.xml is not used by Samsung Camera app.

Camera HAL - part4:

Besides the preview frames to drop while recording, is now possible to change the initial record frames to drop. The default is 40:

su
setprop camera.record.drop 40

EDIT:

I also increased the preview fps for 480p. You can't do it it.Change it with the instuctions in my previous post if you want (the default is now camera.480.fps=1)

oops, I broke the code. There are no limits and that's causing some issues with 720p.

Tell me if there's any difference and test video calls if possible.

As usual, flashable zip and patches (sorry for the first patch, but I can't stand unaligned code, I was rebasing my patches previously) attached.

____

480p should work. There are problem right after a reboot, but that's because you have to wait that everything is correctly loaded. WiFi won't ever be perfect with no updated drivers, there's not much I can do. It works perfectly for the majority though.

Reboots are maybe a problem of your ROM.

No problem. I don't consider that an ETA and ETAs are not a problem for me, I can easly ignore them.

I didn't mean I will completely ignore anything related to cm-10.1, I just wanted to avoid useless requests such as "Can I flash this over **?" "Can you make a flashable zip for **?" and so on. I'll help when possible, but I won't be directly involved.

@rodero95

I think we need this for bluetooth, but I'm not sure.

I read there are problems with adb in LoLaTiOn's post. Did you know this? The last time I tried it there were issues for devices using old USB drivers, but that should have fixed it. When I used cm-10.1 that wasn't committed yet, so I simply added "ro.adb.secure=0" to default.prop.
[Samsung Galaxy SL i9003] alfrix:
From my samples, Samsung used for 720p

Video:

format: m4v

profile: simple@L3

bitrate variable around 13mbps

framerate: variable with nominal 30fps variable between 1 and 40 < seems hard-limited

Audio:

sampling 16khz

bitrate: variable with nominal ~62kbps maximum 65kbps (dhiru lowered it to 24 and it was terrible, changed back since the video isn't affected much)

never filmed in any other format on a samsung firmware

Current:

Video:

format: m4v

profile: simple@L3

Bitrate: around 6mbps - very strange things happens here, reports itself as Constant but in fact i have various samples with different bitrates 6.638 6.663 etc

framerate: variable with nominal 18fps variable between 1 and ilimited (this is bad i have some samples of 200+fps, we should drop frames after 40...)

Audio:

sampling 16khz

bitrate: constant 24kbps (i changed it to 62.9 in my media_profiles.xml but it can be 65 or even 96)

Current 480p seems very nice with lastest changes it is usable (~7mbps ~28fps with m4v and audio at 62.9kbps)

Current 720p unusable (~6mbps ~19fps)
[Samsung Galaxy SL i9003] abderrezak:
wooow i have vrey good i said vrey good camera . i use 480sd with b2 by x-gamers rom . and with your last camera hal part4 ... i have vrey good video playback ... thanks so mutch ... i have just some bug with 720hd ...
[Samsung Galaxy SL i9003] cukierkas:
Hello guys. Can something be done about media server process? It keeps device alive for 20 minutes, sometimes more. Thanks in advance.

No music listening, 100MB if mp3, 50MB of pictures. Nothing special I guess. Cache, dalvic, fixing permittions done, fresh install of xgamers rom v2.4 done.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] rodero95:
Yes, if that does not fix bluetooth, it should definitely be necessary as I read on the nook forums some time ago that since android versions greater than 4.2 (included) it was needed for bluetooth to work, I just thought it could be just for that device.

Anyway, I've merged it on the 2.6 kernel and I'm building right now to test it.

About what you mention about ADB, I read it on the CM Google+ page and as I always have the latest SDK I supposed there would be no problems about it. I'm gonna try now, just in case.
[Samsung Galaxy SL i9003] loSconosciuto:
Camera HAL - part 5

I simply fixed the above libcamera (see the EDIT). Here the props you can use:

su
setprop camera.720.fps 8 #number of preview frames not shown while recording at 720p
setprop camera.480.fps 1 #number of preview frames not shown while recording at 480p
setprop camera.record.drop 40 #number of initial frames dropped, initial frames are sometimes garbled. Increase this the get rid of them.
setprop debug.camera.showfps 1 #show FPS in logcat

The 720p preview is always limited, it will be laggy even when not recording, but it greatly reduce the CPU load. The limit while recording is pretty obvious, but you can lower it with the above commands.

I've also updated media_profiles.xml: switched to m4v as suggested by alfrix, increased video bitrate and audio bitrate to 96k (both 480p and 720p).

I've also made a new ROM build. There's just the new camera HAL I'm working on and this, there's no need to flash it. I built it cause I needed it and thought to upload it.

Download:

cm-10-20130416-UNOFFICIAL-galaxysl.zip - 163.53 MB

Patches and libcamera attached.
[Samsung Galaxy SL i9003] BachuArg:
Is it possible to flash it on top of the other cm10 I have working without loosing configuration, apps, kernel, etc?
[Samsung Galaxy SL i9003] giovox:
Dude, you're a god, we've finally got a full 480p performance in JB! I never thought this day will ever come.

You did what was impossible for the other.

While recording in 480 the preview is slightly laggy, but the video itself is as flawless as it can get.

720p is other thing. The preview is really slow, and the video too, but it's a huge difference from older times where we got like 5fps, now I guess we get 10/15fps

For the record, I'm using XgamerZ 2.5.1
[Samsung Galaxy SL i9003] 5aaled:
I read a good comment about this ROM and I want to upgrade my sister's phone from cm9 to this rom,

Is the latest version (16/4) stable for daily use or there is some fixes "patches" I have to flash after the ROM?

Thnx for helping
[Samsung Galaxy SL i9003] danierakes:
Can we flash camerahal part5.zip on xgamerz 2.5.1 rom?

galaxy sl i9003.

galaxy s3.

xperia neo.
[Samsung Galaxy SL i9003] rodero95:
Please, everybody, post this time of questions on the original thread of the ROM you're asking about. LoSconosciuto can't know about every ROM based on his software.

About the question, if that ROM is based on this one (which I think it is), you should be able to flash it without problems.