[Kernel][ 4.2 [SGP 5.0][Sultan r5v2] - Samsung Galaxy Player 4.0, 5.0

------- Please have a backup kernel in case this does not boot. I am not responsible for bricks. This kernel is provided to help development of Galaxy player 5.0 and give others the added features in thier 4.2 roms. This kernel is for Slim Bean 4.2 ONLY. Do not use this with CM10.1 or PAC 4.2, it will freeze on boot screen.
-------- Slim Bean 4.2--- http://forum.xda-developers.com/showthread.php?t=2298872
-------- Slim Gapps 4.2 ----- http://slimroms.net/index.php/downl...load/916-addons/5416-slim-gapps-4-2-2-build-8
-------- Google apps (Gapps) 4.2 -------- https://www.dropbox.com/sh/kifcelekch235kz/D3ZdB7_YHV/GApps Core 4.2.2.zip
--- It is Recommended you install Slim apps for added system apps, you should also install Gapps for google play store and google apps----
1. install Slim Bean
2. install Slim Gapps
3. install Gapps
4. install kernel
5. reboot.
------ FEATURES----
Working FM Radio
Working front and Rear camera ( Fast burst app needed) -------- Flash for pictures not currently supported (WIP)
Working Back and Front Camera Recording with stock app ( flash camera fix zip below) ( Must use seperate video player for playback)
Working Flashlight LED tool.
-------------- UPDATED Sultan r6b2 kernel for 4.2----RECOMMENDED--------------
New Updated Kernel for 4.2 ------- http://www.freeuploadsite.com/do.php?id=22418
-------- APPS -------
Tiny Flashlight ------ https://play.google.com/store/apps/details?id=com.devuni.flashlight
Fastburst ------ https://play.google.com/store/apps/details?id=com.spritefish.fastburstcameralite
SprintFM ------- http://apkgalaxy.com/tag/spirit-fm-radio-unlocked-apk ---- V sept. 24 confirmed working
-------- You must select GalaxySL/i9003 for radio to work. to find this enter settings, go to audio then method to change it.
Camera recording Fix ---------- http://forum.xda-developers.com/attachment.php?attachmentid=1988153&d=1369421491
( Once you install the camera fix through CWM, you will have two camera apps. It is recommended you disable the old version. You can do this by going into app settings and disable the galley app that has a smaller file size then the other galley app. ) ( You can not play videos through galley app, you have to play them with a seprate player or you will get an error)
-------BUGS--------
----- SprintFM UI can freeze, you still can change stations, and you still can enter the stations frequency to tune in. The status just freezes but all the buttons still work.
----- SprintFM If you use pause and play button it may create more static then there should be. Recommend using on/off button instead.
----- Gallery will not play videos you record, must use seprate video player.
----- Stock camera app still will not take rear cam pictures, no flash for pictures either. ( this is common with ICS 4.2 and JB 4.3 roms ) Fix is a WIP.
--------- OLD VERSION Sultan Kernel R5V2 ---4.2------
Kernel ------- http://www.freeuploadsite.com/do.php?id=22379
---- Fixed issue with FM Radio having alot of static, new kernel provides clearer reception. Sultan r6b2 kernel above has better radio reception.
-----------COMING SOON---------
---- CM10.1 based kernel
----PAC 4.2 based kernel
------- NEEDS FIXING-----
---- Stock Camera app does not take rear pictures, no flash for pictures either, if this gets fixed then JB 4.2 will be complete. Everything else works great.
Special Thanks to android1234567 for all the hard work helping me compile this.

mrshane88 said:
This kernel was made to incoporate the Fm driver into 4.2 roms. What we did was recompile Jackpot 3.0 master Kernel with Slim Bean sources. This was tested on Slim Bean 4.2 and confirmed to work.
Working FM Radio
Working front and Rear camera ( Fast burst app needed)
Working Flashlight LED tool.
Kernel ------- http://www.freeuploadsite.com/do.php?id=22379
Special Thanks to android1234567 for all the hard work.
Click to expand...
Click to collapse
what flash light app are you using? flashlight+ doesn't seem to get the back led light to work

Is there any actual difference between this and android1234567's version?
Sent from my zx spectrum

joemhewitt said:
Is there any actual difference between this and android1234567's version?
Sent from my zx spectrum
Click to expand...
Click to collapse
The only difference between this one and Sultan r5 is the incorporated radio driver.
Sultan r6 kernels are for 4.3 roms only ----- they have the radio driver but no camera, LED flashlight features.
Sultan r5 kernels are for 4.2 roms ------ they have partial working camara, LED flashlight features, but no radio driver.
What I wanted to do was add the radio driver so theres one more added feature to r5.
Lorddemonrage Try Tiny flashlight app, I found it works very good.

mrshane88 said:
The only difference between this one and Sultan r5 is the incorporated radio driver.
Sultan r6 kernels are for 4.3 roms only ----- they have the radio driver but no camera, LED flashlight features.
Sultan r5 kernels are for 4.2 roms ------ they have partial working camara, LED flashlight features, but no radio driver.
What I wanted to do was add the radio driver so theres one more added feature to r5.
Lorddemonrage Try Tiny flashlight app, I found it works very good.
Click to expand...
Click to collapse
But the camera does work on 4.3????????
Sent from my zx spectrum

joemhewitt said:
But the camera does work on 4.3????????
Sent from my zx spectrum
Click to expand...
Click to collapse
The camera does not work on 4.3 using sultans kernel r6. But radio does. That is why I wanted to make a kernel for 4.2 with the radio drivers. So now theres radio and camera on 4.2. If you used Sultans kernel r6 on 4.3 based rom the camera instantly closes when you open it, I had tested PAC and CM10.2 roms which are 4.3 and the camera never worked. This is a fine solution for anyone who dosen't mind running 4.2 untill the bugs in 4.3 are fixed. This way you can still run Sultans Kernel, have FM and camera working plus the flashlight tool. However, the camera only works with fast burst app, and there is no flash for pictures. Your welcome to test other camera apps with 4.2 to see if flash will work with them, I just haven't found one yet.

mrshane88 said:
The only difference between this one and Sultan r5 is the incorporated radio driver.
Sultan r6 kernels are for 4.3 roms only ----- they have the radio driver but no camera, LED flashlight features.
Sultan r5 kernels are for 4.2 roms ------ they have partial working camara, LED flashlight features, but no radio driver.
What I wanted to do was add the radio driver so theres one more added feature to r5.
Lorddemonrage Try Tiny flashlight app, I found it works very good.
Click to expand...
Click to collapse
tried it out with tiny flashlight, works great! blinded myself and thats why it took me that long to respond.

Lorddemonrage said:
tried it out with tiny flashlight, works great! blinded myself and thats why it took me that long to respond.
Click to expand...
Click to collapse
That's good to hear it worked lol, I have tried other flashlight apps in the past and most don't work. I like Tiny flashlight the best. If you have anymore questions feel free to ask.

mrshane88 said:
That's good to hear it worked lol, I have tried other flashlight apps in the past and most don't work. I like Tiny flashlight the best. If you have anymore questions feel free to ask.
Click to expand...
Click to collapse
that really sultan r6 working on 4.2.2?? if so that is awesome..... some of the updates in sultan r6 i wanted to get in 4.2.2, can't go into 4.3 atm cause of all the bugs and the fact that viper4android isn't installing drivers under 4.3, but works great on 4.2.
little step closer to curing my upgrade-itis

Camera works for some people with fast burst camera on 4.3. I wonder why not for all...
Sent from my zx spectrum

Lorddemonrage said:
that really sultan r6 working on 4.2.2?? if so that is awesome..... some of the updates in sultan r6 i wanted to get in 4.2.2, can't go into 4.3 atm cause of all the bugs and the fact that viper4android isn't installing drivers under 4.3, but works great on 4.2.
little step closer to curing my upgrade-itis
Click to expand...
Click to collapse
The bootimage and kernel modules were replaced in R6 so it would work on 4.2. I assume you would have all the features of R6 on 4.2
This kernel was compiled using Slimbean 4.2 sources. I need some feedback if this works on other 4.2 roms so let me know what rom your using and how it performs.
@joemhewitt, I did test the camera on CM10.2 with CM10.2 kernel and did get the camera working. But the flashlight feature did not work, and the radio did not work either. So I tried both Sultan r6b2 and r6 for 4.3 which gave me radio but no camera or flashlight. Thats what I found when I tested it.

OK, there really isn't much difference between 4.2 and 4.3 anyway. I may flash this depends if fast burst camera is any good.
EDIT : Can you make an international version? Thanks.
Sent from my zx spectrum

joemhewitt said:
OK, there really isn't much difference between 4.2 and 4.3 anyway. I may flash this depends if fast burst camera is any good.
EDIT : Can you make an international version? Thanks.
Sent from my zx spectrum
Click to expand...
Click to collapse
This kernel was compiled for the USA version. I can build it for International version. But I've had problems with Kubuntu so I had to move to Linux Mint. So now I have to re-downloaded and prepare everything again. I would say give it about a week and I will upload Inter. version
Fastburst camera will take a fair picture, quality could be better. No one has fixed the stock camera app for ICS or JB yet. The front camera will work but the rear will not save pictures and freeze with stock app. And you can not record video from the rear camera either. I'm trying to get some help on fixing this, its a work in progress.

mrshane88 said:
The bootimage and kernel modules were replaced in R6 so it would work on 4.2. I assume you would have all the features of R6 on 4.2
This kernel was compiled using Slimbean 4.2 sources. I need some feedback if this works on other 4.2 roms so let me know what rom your using and how it performs.
@joemhewitt, I did test the camera on CM10.2 with CM10.2 kernel and did get the camera working. But the flashlight feature did not work, and the radio did not work either. So I tried both Sultan r6b2 and r6 for 4.3 which gave me radio but no camera or flashlight. Thats what I found when I tested it.
Click to expand...
Click to collapse
Currently running on Slimbean myself
I can give this a shot, is dirty flashing ok or would a full wipe and install of pac/chaos/cm/Remics JB Fire Eel better?

Lorddemonrage said:
Currently running on Slimbean myself
I can give this a shot, is dirty flashing ok or would a full wipe and install of pac/chaos/cm/Remics JB Fire Eel better?
Click to expand...
Click to collapse
If you want to keep all your apps and data I'd just flash the kernel. But if you wanted to put a new rom on it then I'd go for a full wipe. If you do a full wipe its good to wipe the delvik cache too, its under advanced in CWM.

mrshane88 said:
If you want to keep all your apps and data I'd just flash the kernel. But if you wanted to put a new rom on it then I'd go for a full wipe. If you do a full wipe its good to wipe the delvik cache too, its under advanced in CWM.
Click to expand...
Click to collapse
K, will give it a go, got CM 7/23/2013 and pac 06/10/2013 will let you know in a few hours how it goes.
I like the CWMR touch btw, but touch screen does not work. still looks nice though
edit: i accidentally swiped my finger while in recovery mode and can get the indicator to scroll, but not select things. still neat though
Update:
With all attempts i did a factory reset, wiped system and dalvic
With Pac-Rom 06/10/2013 build (which i think is the latest for 4.2.2)
installed gapps and modified r6 working on 4.2.2, would sit on boot screen, tried another wipe and restore, same thing. tried to wipe and restore with regular sultan 5 kernel would boot to homescreen. tried to install r6 after successfull boot, would hang at boot screen again.
For CM 10.1 same as the above.
tried it again with slim, had no problems installing.

Lorddemonrage said:
Update:
With all attempts i did a factory reset, wiped system and dalvic
With Pac-Rom 06/10/2013 build (which i think is the latest for 4.2.2)
installed gapps and modified r6 working on 4.2.2, would sit on boot screen, tried another wipe and restore, same thing. tried to wipe and restore with regular sultan 5 kernel would boot to homescreen. tried to install r6 after successfull boot, would hang at boot screen again.
For CM 10.1 same as the above.
tried it again with slim, had no problems installing.
Click to expand...
Click to collapse
Sounds like this Kernel may only work on slimbean 4.2 . For PAC and CM it looks like I'll have to build another kernel with PAC and CM sources. I'll do more building and testing soon.

I'm sorry for the delay and will continue to work on this project but I have many other things I'm working on, Modding pc games, developing Linux Mint, programming and the list goes on but I'll compile another kernel for CM and PAC soon

Related

How to make camera work in an AOSP/AOKP Rom

I have used nearly all AOSP and AOKP Roms and i haven't managed to make the camera work flawlessly. I have searched all over xda (and Internet) and tried various "solutions".
Camera app does not work at all with stock AOSP kernels but it works (this is very weird) with custom kernels like siyah and yank. Problem is that it still force closes all the time, especially with the flash enabled. My cam firmware is "ZD.. "
Any help is greatly appreciated!
Edit: I have only managed to have a nearly perfect camera experience with N. E. A. R. Aosp Rom and I am very curious what did the developer do.
the latest jellybam has zero issues with cam:
http://forum.xda-developers.com/showthread.php?t=2159087
eytan123 said:
the latest jellybam has zero issues with cam:
http://forum.xda-developers.com/showthread.php?t=2159087
Click to expand...
Click to collapse
I will try it, thank you. Is there an external mod or camera apk that fixes the camera or is it just about the tweaks each dev puts into his Rom?
I ask because I love SlimBean and I don't want to change it!
nope, i don't know about a mod for this.
i tried a lot of things including matching and updating the cam firmware with stock rom.
tried different app's, kernels but always had this problem.
*could be that it fixed cause it's based on 4.2.2 can't tell for sure.
eytan123 said:
nope, i don't know about a mod for this.
i tried a lot of things including matching and updating the cam firmware with stock rom.
tried different app's, kernels but always had this problem.
*could be that it fixed cause it's based on 4.2.2 can't tell for sure.
Click to expand...
Click to collapse
Camera doesn't work for me in latest Jellybam. It still FCs unfortunately.
that's odd.
try to run this cam:
http://forum.xda-developers.com/showthread.php?t=1746611
make sure that your cam firmware is correct

[ROM] Cyanogenmod 10 Unofficial for Samsung Galaxy Ace II

WARNING: THIS METHOD CAN BE DANGEROUS. DON’T DO ANYTHING IF YOU DO NOT KNOW WHAT YOU DO.
I AM NOT RESPONSIBLE IF YOU TRANSFORM YOUR PHONE INTO A BRICK​
Working
Audio (Calls/Stream/Mic)
HW acceleration
HW OMX
Sensors
Capacitive key backlight
Bluetooth
RIL
Wifi
GPS
Camera/Camcoder
External SD
MTP
Custom kernel with built in CWM
Not working:
I hope nothing!
Bugs:
Low in-call volume
Sometimes camcoder can't close video, try to use 3rd party camera app
Sources:
My package compiled 100% from source.
You can download sources from here:
https://github.com/dh-harald/android_device_samsung_codina
https://github.com/dh-harald/android_vendor_samsung_codina
https://github.com/dh-harald/android_kernel_samsung_codina
And a little patch for camera:
http://review.cyanogenmod.org/#/c/44712/
3g fix:
https://github.com/dh-harald/android_frameworks_base/commit/c9edca98d3f3b1180b19c4146be24fba9ac1ec19
OMX fixes by OliverG96:
http://review.cyanogenmod.org/#/c/46020/
http://review.cyanogenmod.org/#/c/45783/
Rest are untouched pure CyanogenMod 10
Install:
Download: cm-10-20130729-UNOFFICIAL-codina.zip
Download gapps from here: http://goo.im/gapps/gapps-jb-20121011-signed.zip (optional)
Install it from CWM
Install gapps (optional)
Wipe dalvik cache
Wipe data (optional)
Reboot
Addons/Fixes
Home Unlock fix from @Rox: http://d-h.st/k75
Changelog
cm-10-20130729-UNOFFICIAL-codina.zip
Enable HW OMX encoder/decoder
Working Camcoder
Some audio routing fixes​cm-10-20130721-UNOFFICIAL-codina.zip
SLQB memory allocator
Add BLN support & button backlight
Some audio routing fixes​cm-10-20130715-UNOFFICIAL-codina.zip
Several kernel fixes: BFQ scheduler, new lowmemkiller, etc.
Fix 3g/airplane bug
Fix native wifi tether
Fix LPM/power off charging
Disabled STE OMX drivers​cm-10-20130703-UNOFFICIAL-codina.zip
DeepSleep/BT fix
GPS fix
Home Key Unlock settings enabled​cm-10-20130628-UNOFFICIAL-codina.zip
Initial release​
Thanks (for the sources)
diego-ch (janice tree, kernel)
AdiPat (kernel)
DeMaCr
Minooch (base files)
Samsung (because Stock ROM is a crap)
Thanks, keep working bro! :fingers-crossed: Can you fix camcoder?
Good job I will try tomorrow. About kernel except cwm has any other mod?
Thanks again
no format system? no mount?
gapps pls link
Nice to see a new dev in Ace 2 section!
What is the basis? MC8? MF1? ME7? Instructions for installation do not understand. About gapps which you speak?
Definitly the best cm10 version for now, mic in apps work and the kernel with cwm works perfect for me for now, thanks man
forgottnxd said:
Definitly the best cm10 version for now, mic in apps work and the kernel with cwm works perfect for me for now, thanks man
Click to expand...
Click to collapse
Could you explain the steps did you flash? I was unclear instructions. In what firmware you flash this ROM? Thank you!
i am flash me7 based rom....best cm rom...thank you hard work :angel:
and pls add gapps
First version and better than Sakura Droid? Is faster?
muxa1980 said:
What is the basis? MC8? MF1? ME7? Instructions for installation do not understand. About gapps which you speak?
Click to expand...
Click to collapse
My phone is in MC8 baseband. Binaries from MC8 too, but i think, it doesn't matter... Start from JB...
Kernel based on JB source with some minor modifications... See my sources for further info...
Gapps: http://wiki.cyanogenmod.org/w/Gapps
Instructions: download, put it to sd/sd-ext... Boot to CWM via update.zip. Install CM and gapps... If you was on stock, do a factory reset.
Boot, enjoy, test...
Sent from my Nexus 4
michal89chz said:
First version and better than Sakura Droid? Is faster?
Click to expand...
Click to collapse
yes and work mtp and very stable
---------- Post added at 12:18 AM ---------- Previous post was at 12:17 AM ----------
GAPPS
http://www.androidfilehost.com/?fid=22979706399755082
szucsi1996 said:
i am flash me7 based rom....best cm rom...thank you hard work :angel:
and pls add gapps
Click to expand...
Click to collapse
No format /system??
sent from my galaxy ace II running veyron rom 4.1.2
Adriangbba6 said:
No format /system??
sent from my galaxy ace II running veyron rom 4.1.2
Click to expand...
Click to collapse
Just install zip. No need to mount or format.
Sent from my Nexus 4
Wow! I'm glad to hear that hw acc and mtp works fine haha! Thank you! I'll try
Sent from my GT-I8160 using xda premium
thankyou so much!!!
keep up good work!!
good work :thumbup
Rom is SUPER faaaast but now no memory swap (boot loop) so...I go back on sakura
another awesome job
It can't swap memory?
BTW, really like your hard work why you don't collaborate with bagzn0r? maybe it can to solve every problem, by sharing your experience hahha
nice bro!
i want ask you, what is OMX codecs bug like?
thanks

[ROM] XNovathor Project 4.1.2 V2

XNovaThor Project​
About:​
This rom bases on the most current Android (4.1.2) Open Source Project repo That is what makes it special comparing to other custom JB roms like AOKP or CyanogenMod. This rom is fully AOSP, without stuff from AOKP or CM. Don’t even ask if i could add theme engine, custom lockscreen or other crap. Using clean rom we can reach 700mb??? of free ram without any task killer on board.
Working
RIL
Mobile Data
WiFi
USB tether
GPS
Leds
Audio
SD Card (internal storage)
App2SD
MTP & USB Mass Storage
Sensors
Vibrator
Project Butter
Bluetooth
Camera with camcorder
Torch
Youtube HQ
CPU sleep mode
OMX -> Hardware Decoders / Encoders
Gapps included
Location services
Known Issues​
native WiFi Tethering
Fm Radio
Changelog
V2
- initial release
Download​V2 http://goo.im/devs/percy215/AOSP_NYPON/AOSP_4.1.2.zip​
Instruction
wipe data, cache, dalvik-cache
flash rom via recovery
reboot and voila!
TIPS for performance!!
disable auto brightness
disable dial pad touch sounds
and then reboot​
Credits​FXP
smileydr0id​
Screenshots
​
I'll give this a try and report back after some testing.
Great. I will test tonight.
camera not working
http://pastebin.com/zZqWENgr
Will post fix asap i get time
percy_g2 said:
camera not working
http://pastebin.com/zZqWENgr
Will post fix asap i get time
Click to expand...
Click to collapse
yep my vendor is prepared only for XU XGo and XSOLA
DevSwift1 said:
yep my vendor is prepared only for XU XGo and XSOLA
Click to expand...
Click to collapse
will push the libs for nypon too
usb debugging is not working with mororobo
m_k1815 said:
usb debugging is not working with mororobo
Click to expand...
Click to collapse
usb debugging is working fine , i posted logcat too
@DevSwift1 uploading new build with new blobs and will commit too github too asap btw all things are fixed
By all things you mean HD video too? The hardware decoder? Cause on normal CM even though YouTube HQ is working apps like TwitchTV give only sound without video.
Irseq said:
By all things you mean HD video too? The hardware decoder? Cause on normal CM even though YouTube HQ is working apps like TwitchTV give only sound without video.
Click to expand...
Click to collapse
all things except native wifi [ not a big deal ]
percy_g2 said:
all things except native wifi [ not a big deal ]
Click to expand...
Click to collapse
*Honest brofist* (I'm too young to buy You a beer)
Issues
There is no notification sounds and ringtones;
APN not configured automatically
Max CPU frequency no reaches 1GHz, but only 900MHz with any governor
Camera does not work with FC when clicked (Galeria works fine).
NFC does not work.
Anyway this rom is really smooth and fast.
hlcxcx said:
Issues
There is no notification sounds and ringtones;
APN not configured automatically
Max CPU frequency no reaches 1GHz, but only 900MHz with any governor
Camera does not work with FC when clicked (Galeria works fine).
NFC does not work.
Anyway this rom is really smooth and fast.
Click to expand...
Click to collapse
you can add sounds on your own from cm or any other roms
APN you can configure
i have deleted kernel from zip which i'am uploading
camera fixed
NFC i don't use
percy_g2 said:
you can add sounds on your own from cm or any other roms
APN you can configure
i have deleted kernel from zip which i'am uploading
camera fixed
NFC i don't use
Click to expand...
Click to collapse
Ok. I'll wait for the next release.
If you deleted the kernel we should use your GNU kernel then? Or a stock-based kernel?
LINK:- http://goo.im/devs/percy215/AOSP_NYPON/AOSP_4.1.2.zip
MD5SUM:- 9125cba54817b7f2dd75768be4e0088c
Change logs:-
New blobs added
Camera and other issues related to it fixed
Use CM10 kernel from FXP or my GNU kernel to Boot it up
@DevSwift1 add this in First post
percy_g2 said:
LINK:- http://goo.im/devs/percy215/AOSP_NYPON/AOSP_4.1.2.zip
MD5SUM:- 9125cba54817b7f2dd75768be4e0088c
Change logs:-
New blobs added
Camera and other issues related to it fixed
Use CM10 kernel from FXP or my GNU kernel to Boot it up
@DevSwift1 add this in First post
Click to expand...
Click to collapse
Using GNU kernel by percy CPU frequency is correct.
EDIT: This rom does not have Torch.
Just flashed it with GNU kernel and the first impression is very good. Minion Rush is playing flawlessly, no lags at all (was having some problems with Enigma/Fidelity + Nemesis)
=) Thanks
Screen Rotation
Hi, i have problem with rotation, only works in games and camera, and sometimes in messages! I have on in accessibility and nothing, reboot many times and the same. HDMI and NFC not work, but the rest is amazing, works very well, excelent work (Y)

[MDPI][412MB RAM] CM10 720p video recording 30 fps

V2:
It was tested by me only on latest cm10 nightly, but it is possible that it might work on top of other CM10 roms too (reported to work on SJB 8 too).
Install:
0. Make backup
1. install latest cm10 nightly (20131006):
http://download.cyanogenmod.com/?device=smultron
2. flash kernel - DEVICENAME_naaashmem.img
3. flash zip - cm10_enable720p_v2_allinone.zip or cm10_enable720p_v2.zip. The first one includes some useful mods not related to camera, read changelog (Other mods) below! The second one only includes stuff related to camera.
Downloads at:
https://www.mediafire.com/folder/1t1kwpbtbcl6w/cm10v2
Use default camera app for best results!
Changelog:
-enabled video stabilization (forced on for now, might make it optional later)
-disabled face detection in recording mode in default camera app to improve fps, it wasn't working anyway
-no-copy patch for recording buffer to regain ram and improve fps
-use ashmem instead of pmem for graphic buffers to regain even more ram (stock ics does this too). No issues found so far, performance is like before.
-total ram: 412 MB, out of which 4 megs is always allocated for gr. buffers, so 408 MB really
-stock ics like autobrightness enabled
Other mods (only included in cm10_enable720p_v2_allinone.zip):
-electron beam animation
-faster scrolling, reduced scroll friction
-more strick dalvik vm to save 1-1.5 MB ram per app.
-fixed web browser crash on some video sites
Sources:
The kernel is based on
https://github.com/nobodyAtall/msm7x30-2.6.32.x-nAa
The files modified by me can be found at https://www.mediafire.com/folder/m0t4hx8ac4hhz/naa_kernel
The changed files are to be copied here:
arch/arm/mach-msm/
Modified ramdisk file (init.rc) is also uploaded at the same place.
My CM10 patches are here:
https://www.mediafire.com/folder/gw8sy9ozc8cos/sourcepatch
V1:
I have been testing 720p recording in CM10 roms recently. It looks like it is not impossible to reach good fps in CM after all.
It was inspired by the maker of MESA kernel an0nym0us_ who used stock camera lib in cm10. Big thanks to him!
My test rom was SJB 8.0 and CM10 nightly 2013.10.06.
Basically I did 3 modifications:
1. Copied camera.semc.so to /system/lib/hw/
2. Modified media_profiles.xml
3. Modified pmem sizes in kernel. Used nAa kernel as base. Free ram is 388 MB at the moment. Still testing it...
The result is good hd recording at near 29.7 fps. The smoothest results come in the camera app found in Super Jelly Bean 8.0. Other apps like stock CM cam and LGCamera produce around 25-27 fps but it can be improved with a tweak.
So here is what to do:
1. Flash kernel (mini_naa720p.img or minipro_naa720p.img or lww_naa720p.img or active_naa720p.img)
2. flash zip in cwm (cm10_enable720p.zip)
https://www.mediafire.com/folder/f28fff1i6i5v1/
Make sure nothing is runnning (like mediascanner) when recording!
Check video fps with ffmpeg in terminal emulator:
Type
Code:
ffmpeg -i videoname.mp4
If fps is only around 25-27 try this in terminal:
Code:
su
renicesflinger.sh 0
Pls report back if it's working for you, I was a bit tired when writing this...
---------------------------------------------------------------------------------------------------
About the kernel: it's based on
https://github.com/nobodyAtall/msm7x30-2.6.32.x-nAa
I changed one file:
arch/arm/mach-msm/board-semc_mogami.c
The changed file can also be found at https://www.mediafire.com/folder/f28fff1i6i5v1/
Current values are these:
Code:
#define MSM_FB_SIZE 0x200000
#define MSM_PMEM_SF_SIZE 0x800000
#define MSM_PMEM_CAMERA_SIZE 0xBE0000
#define MSM_PMEM_ADSP_SIZE 0x1F80000
I think 1 mb more ram can be regained...
Impressive work !
Can you document changes in your kernel ?
or can you just make a patch file so it can be used on every CM 10 kernel ?
Will it work on CM 10.1 based roms, say JV?
Impressive
As You Used Mini Lib Files Is It Somehow Possible To Replace These Files And Use In Other Xperia 2011 Lineup?
RaptorX88 said:
Will it work on CM 10.1 based roms, say JV?
Click to expand...
Click to collapse
I think it WILL work, just need to replace ramdisk of kernel.
Anyway, that's great! It definitely worth testing on CM11.
Vynikal said:
I think it WILL work, just need to replace ramdisk of kernel.
Anyway, that's great! It definitely worth testing on CM11.
Click to expand...
Click to collapse
Wish it were that simple ...Booting with 2.6.x kernel can cause unexpected errors ...CM11 is optimized for kernel 3.4.x...
Finally ! Can't wait to be ported to CM11 on Xperia Mini Pro !
karandpr said:
Impressive work !
Can you document changes in your kernel ?
or can you just make a patch file so it can be used on every CM 10 kernel ?
Click to expand...
Click to collapse
Sure I will,only 3-4 lines changed in board-semc_mogami.c, I will post it when I am at home.
Works with Mesa kernel too.
karandpr said:
Wish it were that simple ...Booting with 2.6.x kernel can cause unexpected errors ...CM11 is optimized for kernel 3.4.x...
Click to expand...
Click to collapse
I meant, how about raising pmem_adsp in 3.4 kernel like here?
Vynikal said:
I meant, how about raising pmem_adsp in 3.4 kernel like here?
Click to expand...
Click to collapse
No....the camera libs are only compatible with 2.6.x kernel ....There are no libs compatible with 3.4.x kernel and rewriting them will take years ...
karandpr said:
No....the camera libs are only compatible with 2.6.x kernel ....There are no libs compatible with 3.4.x kernel and rewriting them will take years ...
Click to expand...
Click to collapse
Oh, shame. Nevermind, thanks for clarification.
Can you post some recording samples?On stock .587 FW audio & video recording is very good so it would be great to compare the quality
RaptorX88 said:
Will it work on CM 10.1 based roms, say JV?
Click to expand...
Click to collapse
The kernel contains a ramdisk for jb4.2 so it's not impossible. You could perhaps try...
Added source change to opening post.
danutzgtx480 said:
Can you post some recording samples?On stock .587 FW audio & video recording is very good so it would be great to compare the quality
Click to expand...
Click to collapse
MX player says it's 6mb/s, I did a quick capture (20-30 secs) it looks great on the phone. I can't say how well it looks on pc because I'm having some trouble with my sd-card (it wont show all the folders, only 4-5, when I connect it to a pc - this is not related to this great mod by miniuser123)
Test with CM 10.1
miniuser123 said:
The kernel contains a ramdisk for jb4.2 so it's not impossible. You could perhaps try...
Added source change to opening post.
Click to expand...
Click to collapse
Nope..It doesnt boot,after the bootanim,a blackscreen comes and stays like that.Tested with JV 6.0(Maybe its because it was based on CM10.1 LX 20131108 NIGHTLY for anzu and coconut ? )
karandpr said:
No....the camera libs are only compatible with 2.6.x kernel ....There are no libs compatible with 3.4.x kernel and rewriting them will take years ...
Click to expand...
Click to collapse
Just managed to get stock camera lib to work with kernel 3.4. It was really easy too. FPS is almost as good as in kernel 2.6.
I tried it in CM10, I hope it will work in kitkat... Will install cm11 tomoz.
My theory: cm and stock camera lib only differs in that stock uses pmem_camera, while cm one uses pmem_adsp. For some reason pmem_camera is faster, probably because it is cached pmem (not sure what that means in case of pmem)...
miniuser123 said:
Just managed to get stock camera lib to work with kernel 3.4. It was really easy too. FPS is almost as good as in kernel 2.6.
I tried it in CM10, I hope it will work in kitkat... Will install cm11 tomoz.
My theory: cm and stock camera lib only differs in that stock uses pmem_camera, while cm one uses pmem_adsp. For some reason pmem_camera is faster, probably because it is cached pmem (not sure what that means in case of pmem)...
Click to expand...
Click to collapse
did you just say you got stock ICS cam libs working with 3.4 kernel? then there's hope for us/our devices, lots of hope!!!
miniuser123 said:
Just managed to get stock camera lib to work with kernel 3.4. It was really easy too. FPS is almost as good as in kernel 2.6.
I tried it in CM10, I hope it will work in kitkat... Will install cm11 tomoz.
My theory: cm and stock camera lib only differs in that stock uses pmem_camera, while cm one uses pmem_adsp. For some reason pmem_camera is faster, probably because it is cached pmem (not sure what that means in case of pmem)...
Click to expand...
Click to collapse
LINK PLEASE!! we'll test it.
miniuser123 said:
Just managed to get stock camera lib to work with kernel 3.4. It was really easy too. FPS is almost as good as in kernel 2.6.
I tried it in CM10, I hope it will work in kitkat... Will install cm11 tomoz.
My theory: cm and stock camera lib only differs in that stock uses pmem_camera, while cm one uses pmem_adsp. For some reason pmem_camera is faster, probably because it is cached pmem (not sure what that means in case of pmem)...
Click to expand...
Click to collapse
Is it even possible!? Great work, please test it asap. :victory:
Thank you very much,works great on super jelllybean 8.0. Finaly 720p! :victory:

[30/10][CM11][Linaro][Bionic][Boeffla][Fidelity]CM11.0 - Fidelity Edition

This is the personal build of my CM11 used mainly for audiophile purposes. It consists of the following changes below aside from CM nightlies.
-Compiled with latest Linaro toolchain 4.7 and its NDK
-Compiled with Linaro optimization flags -O3 -pipe -Wl,--hash-style=gnu -fno-tree-vectorize -fno-inline-functions -fno-unswitch-loops
-Compiled with full strict aliasing (No warning error for kernel though because there're too many to fix)
-Some Bionic optimizations cherry-picked from SlimSaber source
-Boeffla kernel sound mod added from AGNi kernel by @psndna88
-Low latency audio/voice driver tweaks
-Use Superclock frequency for system clock used in kernel's audio codec
Download: cm-11-20141030-UNOFFICIAL-n7100.zip
great to see new aosp roms coming for n7100 thanks looking forward for the release.how about adding some cherry picks like hover and active display
Download is available now.
Used since yesterday, so far so good. No bugs till now to be found, continue testing. Good job mate.
Sent from my GT-N7100 using Tapatalk
Coming from a full wipe, I get no signal
It says that the baseband is unknown
I've tried flashing another radio with the same result
rico13 said:
Coming from a full wipe, I get no signal
It says that the baseband is unknown
I've tried flashing another radio with the same result
Click to expand...
Click to collapse
May be your EFS is broken, try to restore it if you have a backup, if you dont, i think flashing an official Samsung rom with Odin could bring it back.
rico13 said:
Coming from a full wipe, I get no signal
It says that the baseband is unknown
I've tried flashing another radio with the same result
Click to expand...
Click to collapse
did u flashed devils kernel? to me this happened when i used devil.try reflashing rom
drsiddique5700 said:
did u flashed devils kernel? to me this happened when i used devil.try reflashing rom
Click to expand...
Click to collapse
Yeah mate
When I did another full wipe and flashed Slim rom then flash devil kernel, I get back my reception and have no baseband issues.
I kinda need to be running devil kernel because I have second rom running as well
---------- Post added at 01:03 PM ---------- Previous post was at 12:59 PM ----------
unecaseenmoins said:
May be your EFS is broken, try to restore it if you have a backup, if you dont, i think flashing an official Samsung rom with Odin could bring it back.
Click to expand...
Click to collapse
Tried a restore from recovery but didn't work. Mind you I flashed devil kernel once I flashed this rom so it may have something to do with that.
I had no problems when I reflashed slim rom.
Can you make a version for omnirom?
Sent from my GT-N7100 using Tapatalk
rico13 said:
Yeah mate
When I did another full wipe and flashed Slim rom then flash devil kernel, I get back my reception and have no baseband issues.
I kinda need to be running devil kernel because I have second rom running as well
---------- Post added at 01:03 PM ---------- Previous post was at 12:59 PM ----------
Tried a restore from recovery but didn't work. Mind you I flashed devil kernel once I flashed this rom so it may have something to do with that.
I had no problems when I reflashed slim rom.
Click to expand...
Click to collapse
i used to suffer this problem too..
try my method:
- clean install first, let it boot completely.
- finish setup wizard, (setting up google account, etc) check if you got any signal?
- then reboot recovery, flash devil kernel.
hope this helps :fingers-crossed:
nice
nice pure cm rom..best battery...
thank you
Has anyone got music sound sometimes is distortion and glitches pictures on Play Store ( with latest pa_gapp ) or just me?
Sent from my GT-N7100 using Tapatalk
I too had those bugs..but nice ROM overall..we can update cm versions ota..
Hi,
I too get distortions, every 4 seconds or so. They were so annoying, that I had to ditch this otherwise fine, fine ROM.
Hope the cook can look into it. I mainly use my phone for spotify and pocket cast. So, sound is important.
Got back from visiting parents' place. I mainly optimized audio for walkman app. Going to properly optimize it for whole system with as little sacrifice as possible.
Windows X said:
Got back from visiting parents' place. I mainly optimized audio for walkman app. Going to properly optimize it for whole system with as little sacrifice as possible.
Click to expand...
Click to collapse
No problem. .take your time..your rom was super smooth. .just test out things..hoping for a great super stable rom.
I was busy since August and haven’t got chance to update the ROM at all. Now that I have some spare time, I’ll start with Note 2 I’m using right now. Fixed some audio glitches for streaming audio stability.
If you can provide sound quality of tw with smoothness and speed of cm11, it will be the best rom for me. Looking forward to test out the release.
sauyadav said:
If you can provide sound quality of tw with smoothness and speed of cm11, it will be the best rom for me. Looking forward to test out the release.
Click to expand...
Click to collapse
It's exactly that and I missed a plane yesterday so I decided to compile another round with Boeffla kernel mod for better sound.

Categories

Resources