[ROM][4.2.2][YP-G70][OTA]Remics-JB Fire Eel Mk 2 (v5.0.2) [24.06.13]

Search This thread

Sultanxda

Recognized Developer
Turns out the GTab has the same rear facing camera, but different front facing so we might have to mix and match some code between the Nexus S, SGS and the GTab. I'll have a quick look through Jackpotclavins repo to try and locate the save image method for both cameras, but it makes no sense to have 2 different methods of doing so, unless the FFC does something odd before saving the image

Think I found a solution: https://github.com/humberos/android...mmit/5bab5c8c8797f96855b777e6c2328d341187014e
 
  • Like
Reactions: Supermaster34

Sultanxda

Recognized Developer
Looks interesting. Our code says
Code:
int SecCamera::interleaveDataSize = 5242880;
so maybe its to do with the value, but what does the value mean?

It was discussed in a CM10 Galaxy Tab thread but nobody ever explained what it does. It's right with some JPEG code so it could be the solution we're looking for. I think we should try building with some cleaned up ISOs and
Code:
int SecCamera::interleaveDataSize = 0x33F000
 
  • Like
Reactions: iurnait

zaclimon

Inactive Recognized Contributor
Aug 14, 2011
4,365
7,292
Montréal
Depends which gtab you're talking about. The Gtab P1 (original) uses the sony isx005 which we have. I think the galaxy tab 10.1 do have your sensor, it would need to be checked further.

Your back cam is s5k5ccgx
Your front cam is s5ka3dfx

Hope it helps.

EDIT: the galaxy tab 10.1 do use the same sensor as you, you can check there: https://github.com/CyanogenMod/android_kernel_samsung_p4/blob/cm-10.1/arch/arm/configs/pershoot_samsung_p4-jb_defconfig#L1939
EDIT2: Hmm the galaxy tab 10.1 do use tegra chipset so maybe it's not a good choice, but you can look into the p1 drivers and take a look of their s5k5ccgx drivers here: https://github.com/CyanogenMod/android_kernel_samsung_p1/blob/cm-10.1/drivers/media/video/s5k5ccgx.c
 
Last edited:
  • Like
Reactions: Sultanxda

Supermaster34

Senior Member
Jan 6, 2012
796
616
London
www.team-remics.com
This is the code across a few devices:

Nexus S + 5.0 atm - 4.2
Code:
int SecCamera::interleaveDataSize = 5242880;

GTab - 4.2
Code:
int SecCamera::interleaveDataSize = 0x33F000;

Galaxy S - GB I think
Code:
int SecCamera::interleaveDataSize = 4261248;



I have no idea what these numbers mean, but could 0x33F000 be some sort of memory address location?

Also why is there an 8 thanks per day limit?!
 

Sultanxda

Recognized Developer
This is the code across a few devices:

Nexus S + 5.0 atm - 4.2
Code:
int SecCamera::interleaveDataSize = 5242880;

GTab - 4.2
Code:
int SecCamera::interleaveDataSize = 0x33F000;

Galaxy S - GB I think
Code:
int SecCamera::interleaveDataSize = 4261248;



I have no idea what these numbers mean, but could 0x33F000 be some sort of memory address location?

Also why is there an 8 thanks per day limit?!

It'll work! On the Galaxy Tab the number was previously 4261248 then it was changed to 0x33F000! The number is universal across devices as long as they have the same camera :D Nexus S has a different camera so the number is different.
 
  • Like
Reactions: iurnait

Supermaster34

Senior Member
Jan 6, 2012
796
616
London
www.team-remics.com
It'll work! On the Galaxy Tab the number was previously 4261248 then it was changed to 0x33F000! The number is universal across devices as long as they have the same camera :D Nexus S has a different camera so the number is different.

Excellent! Now we just need someone to compile CM10.1 with this modification. I'm in the process of trying out different distros so unfortunately I'm not in a position to compile atm
 

Sultanxda

Recognized Developer
Excellent! Now we just need someone to compile CM10.1 with this modification. I'm in the process of trying out different distros so unfortunately I'm not in a position to compile atm

I'll do that now :). I have all the CM10.1 source and device tree on my laptop because I need it to build kernels. I'll also clean up some ISOs and resolutions while I'm at it. If it works then we can merge the video changes that got the camcorder working and have fully functional CM10.1 :D
 

KOala888

Senior Member
Nov 21, 2010
821
292
Gdańsk
So the camera works without kenel modifications? I regret being offile while you were discoussing. Great job guys, quite a fast thing

Wysyłane z mojego Nexus S za pomocą Tapatalk 2
 

Sultanxda

Recognized Developer
So the camera works without kenel modifications? I regret being offile while you were discoussing. Great job guys, quite a fast thing

Wysyłane z mojego Nexus S za pomocą Tapatalk 2

It should. The drivers in the kernel work fine because the rear camera is initializing properly. I just need to build the ROM with the changes for the rear camera. My SSD doesn't have enough space to build a ROM so I've been waiting forever for all the CM10.1 files to be copied over to my external HDD. The suspense is killing me! :p
 
Last edited:

KOala888

Senior Member
Nov 21, 2010
821
292
Gdańsk
Well, I got used to not working camera but would be great :) I have my whole ubuntu on usbhdd but my pc woul compile cm10.1 for ageees. I keep my fingers crossed

Wysyłane z mojego Nexus S za pomocą Tapatalk 2
 

Sultanxda

Recognized Developer
Well, I got used to not working camera but would be great :) I have my whole ubuntu on usbhdd but my pc woul compile cm10.1 for ageees. I keep my fingers crossed

Wysyłane z mojego Nexus S za pomocą Tapatalk 2

My laptop has an i7-3630QM processor and 8GB RAM but copying the files is taking soooo long :crying: I've been waiting for over an hour
 

mr_ggcstop

Member
Mar 11, 2012
32
14
Odessa
i compiled with int SecCamera::interleaveDataSize = 0x33F000; and with int SecCamera::interleaveDataSize = 4261248; , but camera is not working... Is it need to change anything else?
 

KOala888

Senior Member
Nov 21, 2010
821
292
Gdańsk
Well I have 2gb of ddr2 :) can't wait to add to kernel some camera stuff

Wysyłane z mojego Nexus S za pomocą Tapatalk 2
 

Supermaster34

Senior Member
Jan 6, 2012
796
616
London
www.team-remics.com
i compiled with int SecCamera::interleaveDataSize = 0x33F000; and with int SecCamera::interleaveDataSize = 4261248; , but camera is not working... Is it need to change anything else?

when you compiled with 0x33F000, did you change the resolution of the image being taken? The default setting is 5MP, but our camera is only 3.2MP so you need to change it to 3MP in the settings of the camera app. You might also need to change some ISO code as the camera doesn't take an image if too much light enters the sensor or something like that
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    user2940314_pic29605_1352778834.png


    After a very long wait it's finally here!

    Screenshots (WIP)

    Screenshot_2013-05-28-13-39-05.png
    Screenshot_2013-05-28-13-40-20.png

    Screenshot_2013-05-28-13-41-00.png
    Screenshot_2013-05-28-13-41-46.png

    Screenshot_2013-05-28-21-37-33.png
    Screenshot_2013-05-28-21-38-14.png

    Screenshot_2013-06-09-21-12-38.png
    Screenshot_2013-06-09-21-12-45.png


    Features

    Samsung GALAXY S4 Like UI
    Samsung GALAXY S4 Launcher
    Samsung GALAXY S4 UI Sounds
    Samsung GALAXY S4 Shutter Sound
    Samsung GALAXY S4 Lock , Unlock Sounds
    Samsung GALAXY S4 Icons
    Samsung GALAXY S4 Ringtones
    Samsung GALAXY S4 Alarms
    Samsung GALAXY S4 Notifications
    Samsung GALAXY S series bootanimation
    Tweaked SystemUI and framework-res
    Native OTA Updates
    Internal SD card mounted as USB Storage, External SD card mounted as emmc
    80% and 100% transparent status bar mods are available

    Check here for information about upcoming features

    Issues/Problems

    • Back camera opens, but doesn't save pictures
    • Standard CM10.1 issues

    Before contacting me about issues you have, read the FAQ as most issues have simple workarounds

    Thanks and recognition

    XDA Developers, CyanogenMod and CM9/CM10/CM10.1 team, CWM recovery team, Team Remics, JesusFreke for smali, Brut.all for apktool, YP-G70 CM9/CM10/CM10.1 devs, Team Supernova/YP-G1 devs, Team Droid Invaders for their brilliant S4 notification centre

    JackpotClavin, gmillz, iurnait, android1234567, KOala888, zaclimon, amarullz for AROMA Installer, pmdisawesome, EcHoFiiVe, hanthesolo, erpurohit, monish1995, rodman01

    Changelog, downloads and other useful stuff available in next few posts
    9
    Instructions and downloads

    OTA installation
    1. Download update through OTA updater app
    2. Reboot into recovery and flash rom. This will start up AROMA installer.
    3. Select a language > Select installer theme > Accept licence etc. > Install > Custom > Select kernel and bootanimation > Install
    4. Once the install has finished, untick the reboot option and press finish. Then flash GApps
    5. Flash transparency mods if you want
    6. Reboot

    Coming from CM10.1:
    1. Download rom and reboot into recovery
    2. Flash in recovery
    3. Flash INTL kernel (Only if required!)
    4. Flash the latest GApps
    5. Flash transparency mods if you want
    6. Reboot

    Coming from other roms:
    1. Download rom and reboot into recovery
    2. If you're coming from GB, flash an ICS rom first
    3. Wipe /data, /system, /dbdata, /cache and dalvik-cache
    4. Flash in recovery
    5. Flash INTL kernel (Only if required!)
    6. Flash the latest GApps
    7. Flash transparency mods if you want
    8. Reboot

    Changelog

    Code:
    [COLOR="Navy"]Fire Eel Mk 2 - v5.0.2 - BUILD JB5FE2R - md5: 3c1c7c4b9f889edea372dab63ab64737[/COLOR]
    [LIST]
    [*]Updated CM10.1 code
    [*]Added the Samsung style notification drawer by Team Droid Invaders
    [*]Removed the Accuweather widget
    [/LIST]
    [COLOR="Navy"]Fire Eel Mk 1 - v5.0.1 - BUILD JB5FE1R - md5: 25cf64206185b36a5ea77e9d971ea95b[/COLOR]
    [LIST]
    [*]Added AROMA installer
    [*]Choice of kernels - USA/INTL
    [*]Choice of bootanimations
    [*]Included the latest version of our custom notification drawer. This is nowhere near finished yet, but we're making progress
    [*]Implemented rear facing camera recording fix
    [*]Reverted messy vold hack
    [*]Updated alarm tones, notification tones, ringtones and UI sounds from SIII to S4 version
    [/LIST]
    [COLOR="Navy"]Fire Eel Mk 0 - v5.0.0 - BUILD JB5FE0R - md5: 61da9bb0d32de648ed13721ec36ce376[/COLOR]
    [LIST]
    [*]Initial release
    [/LIST]
    7
    Superb rom, but there is no FM Radio app :(
    Spirit FM is not working.

    It should work. Just fiddle with the settings.



    I had my last exam today, but now the real work begins :p. I'm free-ish until Wednesday so I should be able to get a new release out by then. After Wednesday I'll be on holiday so I won't be developing, but I'll still be answering questions and trying to help from abroad. Once I'm back, I'll be working on some camera stuff amongst other things so this should be an eventful summer

    Sent from my Nexus 7 using XDA Premium HD app

    Edit:

    Check out this bootanimation by one of our team members. I can add it as an option in Aroma installer, but I'm wary of making the download file too large, but if you guys don't mind a few more MB, I'll include it in the zip
    6
    Other Downloads

    Sultan Kernel - INTL/USA/KOR
    Mercurius Reborn Kernel - INTL/USA
    Back camera video recording fix - Only required for v5.0.0. Baked into rom in v5.0.1+
    Status bar transparency mods by rodman01


    Coming Soon:

    Bold indicates the changes are arriving in the next version

    • Touchwiz Notification Drawer
    • More S4 UI elements
    • A less ugly vold workaround
    • Back Camera recording fix
    • Updated alarm tones, ringtones, notification tones and UI sounds from the S4
    • S4-like digital clock widget (homescreen + lockscreen) - having a few issues with this :/
    • I'm open to feature requests (but I don't promise to deliver :p) so send me a pm, email me, let us know on G+ or whatever

    Useful Links

    http://www.team-remics.com
    Google+ Page (Updates, Community, general chat)
    Facebook Updates, Community
    My Github - I'll be uploading certain bits and bobs for parts of the rom where the modifications can't be done on CM10.1 like our Touchwiz notification drawer which is coming soon
    6
    FAQ

    Before posting about any issues you have, please read this FAQ as it might save you some time. I'll be adding to this as I go once more common issues are discovered

    FAQ

    1. I have an INTL device and the home, menu and back buttons do not work anymore
    A: Flash an INTL kernel.

    2. I can't find developer options
    A: Settings > about device > tap Build Number 7 times. Press back. Scroll to bottom. Voila; developer options

    3. ADB doesn't work
    A: Turn on USB debugging from developer options. Update ADB using SDK manager (or however you prefer do it). Connect to computer. Accept whitelist request. Bingo

    4. Trying to get a logcat but "Unable to open log device '/dev/log/main': No such file or directory"
    A: Logging is probably disabled in the kernel. Flash a different kernel

    5. I want to try out the phablet and tablet UI's. How do I do that? How can I go back to the phone UI?
    A: When the dpi > 128, phone UI is used. When 106 < dpi < 129, phablet UI is used. When dpi = 106, Tablet UI is used. Phablet UI and Tablet UI are not fully themed yet and the S4 launcher doesn't respond well do changes in dpi so you're forced to use Trebuchet. As you'd imagine, setting the dpi so low makes everything really small so its not the most comfortable UI to use, but some apps make better use of the large screen in lower dpi settings

    6. Where can I find wipe /system, /dbdata in CWM?
    A: Go to mounts and storage

    7. I get an assert failed error. HALP!
    A: If you're still on GB, flash in ICS rom. Also try updating your CWM recovery to v6.x by installing a new kernel like Sultan

    8. USB debugging and mounting USB storage doesn't work
    A: Disable fastcharge

    9. How can I swap my external and internal sd cards around?
    A: Using a file manager (with root access) go to /system/build.prop and modify
    Code:
    persist.sys.vold.switchexternal=0
    to
    Code:
    persist.sys.vold.switchexternal=1
    Save the file and reboot

    10. How can I stop OTA updater and Play store force closing after updating the rom?
    A:Settings > Apps > OTA Updater/Play Store > Clear Data

    11. I like this rom but I have a 4.0. What can I do?
    A: http://xdaforums.com/showthread.php?t=2320198. The 4.0 rom is currently on 4.1.2, but it should be updated to 4.2.2 soon

    12. I flashed this rom and now zombies are after me
    A: Don't panic. Flash this. It turns your device into a sonar which will allow you to see any moving objects near you so you can make a quick escape