• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

Slim6 port for R1-HD **CAMERA_Almost_FIXED**

mrmazak

Elite Member
Jun 16, 2013
3,204
1,319
113
Know issues:

1. Bluetooth toggle will not turn on
2. video codec makes first 10-15 seconds of video only green screen--(not noticed so much after install gapps and using chrome browser)

3. Camera not working
Resolved*


*testing phone had stock camera app disabled and was using open camera. With stock camera multiple crashes and unable to connect issue with camera. V3.5 has removed stock camera and added open camera to priv-app (preinstalled)

4. Microphone is also not working
V3.5 has fixed microphone.

5. video recording not working
V3.7 fixed video record for back camera only--also seems to have stabilized photo camera--(but still has crashed)


V-x-4.1 minor edits. Removed old renamed files. Removed apps and libs for fingerprint scanner. Swapped apns-config.xml from V21 to try get connection for more carriers. But it seems some devices are not able to even see imei from board V4.1 removed. Audio broken

x-v-4.6 has audio streaming partly functioning. Audio/ video plays some amount of time then stops. but will continues if playing through bluetooth. Further testing on speaker needed. Audio issue notIS present in FMRadio and unknown in phone. So far only in streamingMOST SOUND situations, like music apps and YouTube.
Also list of added apps primarily added for testing reasons
1. GPS test
2. AudioRecorder
3. File_Manager _es_file V3 (fewer ads)
4. OpenCamera

V5.0
removed extra fingerprint program, added MDDB folder (base band) trying to resolve 2 reports of lost IMEI on this rom. I have not had issue, so cannot confirm if adding these files has fixed problem.

V6.7-current beta

/system changes tracked on github
v6.7-or current /system

boot.img changes on github
https://github.com/mrmazakblu/Slim-port-boot-img


..
..

Install:
must have unlocked boot loader.
put rom file on sdcard and install with twrp =>Latest TWRP 3.1.1-0

you needs to install gapps.
http://opengapps.org/http://opengapps.org/
You need to enable navigation bar to get onscreen buttons.
settings >Navigation >Navigation bar >Enable navigation bar.



thanks to : @vampirefo this rom is ported from his build for the BLU Life Max




XDA:DevDB Information
Slim6 port for R1-HD, ROM for the BLU R1 HD

Contributors
mrmazak
ROM OS Version: 6.0.x Marshmallow
Based On: @vampirefo 's Blu Life Max SlimRom

Version Information
Status: Beta
Stable Release Date: 2017-06-16
Current Beta Version: x-5.0

Created 2017-06-09
Last Updated 2017-11-02
 

Attachments

Last edited:

mrmazak

Elite Member
Jun 16, 2013
3,204
1,319
113
can you take photos from this rom how looks like and thanks for working on this device i hope issue with camera will be fixed thanks @mrmazak
there are 4 screen shots on the screenshot tab. But the look of any rom can be changes how you like with different launchers if desired.
 

mrmazak

Elite Member
Jun 16, 2013
3,204
1,319
113
Fixed the bugs except for the camera one.
New zip file in download tab.
Moved status from testing to beta.
 
Last edited:

mrmazak

Elite Member
Jun 16, 2013
3,204
1,319
113
camer.sh is my porting script, I made it, to make porting libs easier.

Sent from my Life Max using Tapatalk
Yes, the original locations listed in the script are to your /home dir.

I imported all but a few of the libs listed. The ones left out were *nvram*, related and one for "fs_mgr". one of them caused the rom to freeze at boot with the pop up message "starting apps". Left it there for 20 minutes first time. then started removing libs untill it booted again.

I was hoping to find what you did to make the camera work in zenUI. and that camera.sh was big help, but did not get the camera going. By itself.
I have been using diff to compare the lib folder in zenrom to 6.6 (because 6.6 was used to port zen, i think) and then compare Slim lib folder. I compiled lists of different files, identical files, missing files. All this has not gotten me any closer yet.
so far I have (as long as I didn't miss any) swapped in all the libs that were identical between zen and 6.6 to this slimrom using V21 as donor, only seemingly to have no effect.
After I run out of libs to swap in I am out of ideas.

I know it has been said fixing camera on cm/ lineageOS 14 (android 7) is not possible yet. But I thought is was possible on android 6
 
Last edited:

mrmazak

Elite Member
Jun 16, 2013
3,204
1,319
113
Camera Is Fixed*

I now have camera working on this slim port...
uploading built/port number 33 (X-3.3)

still needs small bug fixed, that will not screen cast to chromecast.
and first time I opened camera I did not have any on-screen navigation buttons(no way to exit camera). after some time buttons were available and next time it opened normal.
 

Attachments

Last edited:

vampirefo

Elite Member
Apr 3, 2010
3,241
1,631
0
Yes, the original locations listed in the script are to your /home dir.

I imported all but a few of the libs listed. The ones left out were *nvram*, related and one for "fs_mgr". one of them caused the rom to freeze at boot with the pop up message "starting apps". Left it there for 20 minutes first time. then started removing libs untill it booted again.

I was hoping to find what you did to make the camera work in zenUI. and that camera.sh was big help, but did not get the camera going. By itself.
I have been using diff to compare the lib folder in zenrom to 6.6 (because 6.6 was used to port zen, i think) and then compare Slim lib folder. I compiled lists of different files, identical files, missing files. All this has not gotten me any closer yet.
so far I have (as long as I didn't miss any) swapped in all the libs that were identical between zen and 6.6 to this slimrom using V21 as donor, only seemingly to have no effect.
After I run out of libs to swap in I am out of ideas.

I know it has been said fixing camera on cm/ lineageOS 14 (android 7) is not possible yet. But I thought is was possible on android 6
I believed the newer libs might fix the camera, that was the reason, I bought a cheap R1HD from eBay, but the phone didn't work so couldn't test.

Anyway it seems they did, so that's good.

Sent from my Life Max using Tapatalk
 
  • Like
Reactions: yepi15

mrmazak

Elite Member
Jun 16, 2013
3,204
1,319
113
I believed the newer libs might fix the camera, that was the reason, I bought a cheap R1HD from eBay, but the phone didn't work so couldn't test.

Anyway it seems they did, so that's good.

Sent from my Life Max using Tapatalk
the final step was to use the stock "system\lib\hw\camera.mt6735.so" but rename it to "system\lib\hw\camera.mt6737m.so"

i found that when I was trying to change the build.prop to show "6735" on platform but phone would not boot like that. So i got thinking any file needed that had 6735 in the name would also not work,
 

vampirefo

Elite Member
Apr 3, 2010
3,241
1,631
0
the final step was to use the stock "system\lib\hw\camera.mt6735.so" but rename it to "system\lib\hw\camera.mt6737m.so"

i found that when I was trying to change the build.prop to show "6735" on platform but phone would not boot like that. So i got thinking any file needed that had 6735 in the name would also not work,
Yes, ROM is built for 6737, R1HD and Life Max are almost the same phone, difference size, camera and 6737 instead of 6735.

Anyway good job.

Sent from my Life Max using Tapatalk
 
  • Like
Reactions: mrmazak

mrmazak

Elite Member
Jun 16, 2013
3,204
1,319
113
Nice, ill think about installing it then.

Will the camera fix potentially help with android 7 roms?
I do not think the camera fix here will help 7.

These lib files, "so" files, "blobs", call them as you will. Are still for Android 6 so , as I believe will not work on 7
 

vampirefo

Elite Member
Apr 3, 2010
3,241
1,631
0
I know benchmarks don't mean a whole lot but they can give an idea of performance so could you provide some benchmarks for comparison? just trying to decide if I should switch to the rom or not
They would be the same or about the same, a rom doesn't increase benchmarks, a custom kernel might, benchmarks have their place this isn't one of them.

To each their own I guess.

Sent from my Life_Max using Tapatalk
 
  • Like
Reactions: mrmazak