• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

port cm roms to p875

skfl

Member
Dec 27, 2019
78
57
Hi guys, we got true working recovery now. I try to port some roms as expiriments of learning custom roms building when I am free. To start with, I found that we can port from devices that share similar specs. Examples are: Sony Xperia V (Tsubasa), Moto Droid Razr M (xt905,xt925), Lg Optimus Vu2 and Optimus F7 (fx1s) and more.
 
  • Like
Reactions: MrJavi and ocnbrze
Here are what I came up with. CM10 is quite light and similar to aosp
 

Attachments

  • Screenshot_2020-01-18-10-48-12.png
    Screenshot_2020-01-18-10-48-12.png
    352.2 KB · Views: 218
  • Screenshot_2020-01-18-10-52-15 phone status.png
    Screenshot_2020-01-18-10-52-15 phone status.png
    281.5 KB · Views: 236
  • Screenshot_2020-01-17-23-35-04.png
    Screenshot_2020-01-17-23-35-04.png
    250.1 KB · Views: 208
  • Screenshot_2020-01-18-10-08-52 3g data.png
    Screenshot_2020-01-18-10-08-52 3g data.png
    289.1 KB · Views: 231
  • Like
Reactions: MrJavi and ocnbrze
Upvote 0
Actually I tried to use camera libs (libchromatix, camera.msm8960 at /lib/hw) from my base stock rom in cm10 in order to get camera working. The camera app dialong box "cannot connect to camera" disappers, however the camera screen is in dark blank.
 
Last edited:
Upvote 0
  • Extract the ROM you need to port and you will have these main things:
    META-INF
    System
    boot.img.
  • If you have them then you are ready for the next step.
  • Open /system folder of stock and rom to port.

Good to know but I think CM roms
Actually I tried to use camera libs (libchromatix, camera.msm8960 at /lib/hw) from my base stock rom at cm10 in order to get camera working, however it didn't help

I had a similar issue with flashing a N7 camra mod to my N4. I was experimenting with what I thought might be compatible with my device. The first few times I flashed the mod the stock camera would FC. I couldn't get it to work. At one point, I needed to take a picture and just downloaded a user app. I have no idea why the user app worked but yet my system camera didn't. Makes no sense but there it was.
On another occasion , I accidentally deleted syatem camera app. Downloading a usrr cera app , FC's.
 
Upvote 0
And uptil now wifi, nfc & cam not working after changing /system/lib. Also, the sys time will reset to 1970 jan even I enabled time service in build.prop (persist.timed.enable=true)

Did youvsetbthe proper permissions (lib)?
 

Attachments

  • Screenshot_2020-01-29-02-30-10.png
    Screenshot_2020-01-29-02-30-10.png
    563.8 KB · Views: 164
  • Screenshot_2020-01-29-02-30-10.png
    Screenshot_2020-01-29-02-30-10.png
    563.8 KB · Views: 177
Upvote 0
The phone seems to run faster on cm10 than stock rom lol. I found that it is not fully working. Camera, wifi, nfc & proximity sensor do not work though

Yes, Im having similar issues running a Marshmallow bootloader and modem with a lollipop custom rom. No wifi, no hot spot and the camera is extremely blurred.
I
Btw, are your samsung phones use snapdragon soc?

Yes at least mine does, however I'm not sure if that applies to all Samsung snapdragons, especially when it comes to new models.
 
Upvote 0
I had the same issues with Wifi on LP with a MM bootloader and modem. I found some information on this with mixed results. None of which were specific to my device.
I also had an idea of returning to a stock rooted rom and coping all the wifi related folders and porting them but a few were in my EFS partition and fear the possibility of a DM-verity and/or DRK error.
 
  • Like
Reactions: skfl
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones