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

Root [5.1.1]XenonHD For LG Leon C50/H345 on T-Mobile and Walmart Family Mobile

Does anyone know if the camera issue is ever going to be fixed? I noticed this is a problem with this ROM and CM 12.1 which I think the development has stopped on it. Anyway it seems that the it will take pictures with the back and front camera on CM 12.1 but not video. This ROM however doesn't even let the camera app open without it stating that the phone cannot connect to the camera. Hope it gets fixed. I would try to help myself but know nothing about making a ROM.
 
Upvote 0
Try bichofelix's script
Scripts still don't work, but I've got core control. Turn off in app battery profiles before setting it to power save. The CPU will scale properly and it doesn't lead to excessive lag.
 

Attachments

  • Screenshot_2015-12-29-21-58-00.png
    Screenshot_2015-12-29-21-58-00.png
    41.1 KB · Views: 206
  • Screenshot_2015-12-29-22-00-30.png
    Screenshot_2015-12-29-22-00-30.png
    43.1 KB · Views: 206
Last edited:
Upvote 0
Some settings for nav bar are buggy and cause system ui force close if not careful so make a backup lol. camera also doesn't work

Does anyone know if the camera issue is ever going to be fixed? I noticed this is a problem with this ROM and CM 12.1 which I think the development has stopped on it. Anyway it seems that the it will take pictures with the back and front camera on CM 12.1 but not video. This ROM however doesn't even let the camera app open without it stating that the phone cannot connect to the camera. Hope it gets fixed. I would try to help myself but know nothing about making a ROM.

The camera is a easy fix I just never got to build again with the fix. To get camera working got to system/lib/hw and rename the camera.vendor.msm8916.so to camera.msm8916.so. I pushed the fix to my github a while back. If the file is not there you can get the file from my android_vendor_lge_8916/c50-common/proprietary/lib/hw/camera.msm8916.so just click on the raw button to download the file.

Now I was looking throigh some old notes and it seems the device may be missing some init files that is causing USB not to function and several other blob files. So all the issues should be fixable. But I do not have a device to test on which is why I stopped building for the device. But anyone that wants to is welcome to use the device tree and vendor I have on my github to try and continue building XenonHD.

Edit: OP updated with link to Metro PCS download and note to look at this post for camera fix.
 
Last edited:
Upvote 0
so tmac, you in the usa? If you think you will actually keep working on this project, got a new Leon.
Yes I live in Indianapolis Indiana and to be honest I hate I broke my Leon as I actually liked the device and I could see development coming together for it. I currently have a LG Stylo I am working with cause my girlfriend was nice enough to buy me one. I do not have a job right now so cash is tight or I would buy another Leon. I mean it is only $60 at Walmart now but I paid $100 for mine when I bought it.
 
Upvote 0
Oh one more thing. Renaming the file did fix the camera. Only problem now is that you can't record videos. You can only take pictures. Isn't too bad but still would be nice to have it working. Battery draining is also an issue. I think this may have something to due with the all 4 cores being locked at max.
When I used it the battery life on my device more than doubled. But I have learned results vary user to user as it is a plethera of things that can cause different battery usage. But if things go as planned I should be able to support this device again thanks to @babygdav.
 
Upvote 0
When I used it the battery life on my device more than doubled. But I have learned results vary user to user as it is a plethera of things that can cause different battery usage. But if things go as planned I should be able to support this device again thanks to @babygdav.
Use the battery saver and then plug in your charge cord. The CPU will scale normally and within safe levels.
 

Attachments

  • Screenshot_2015-12-30-20-58-30.png
    Screenshot_2015-12-30-20-58-30.png
    67.9 KB · Views: 202
  • Screenshot_2015-12-30-20-58-01.png
    Screenshot_2015-12-30-20-58-01.png
    43.4 KB · Views: 198
  • Like
Reactions: TMacgnolia
Upvote 0
@ninjasinabag I'm really sorry but I'm confused. Do you mean setting the CPU Governor to Powersave? Because I tried that and it just goes back to 1209MHz. Do you have to plug the phone in before or during while making these changes? I set the minimum frenquency to 200MHz. Just to clarify, I am using the Metro PCS model (ms345) I have no idea if that has to do with anything but I do know different models will most likely yield different results.
 
Upvote 0
First of all, I have the h345 and I couldn't install the h345 version with neither recoveries. However, I did install xenonhd with the blue twrp and the xenonhd made for the ms345. Secondly, to make the CPU cores act more reasonable, I made a simple script. The script makes the CPU governor interactive. Then sets the CPU to 1Ghz max and 200 Mhz min. After that, it tweaks the interactive governor settings to be more battery efficient. I have used this script for more than three months and I like it. To use the script, first download it. Then remove the txt extension. After that place it anywhere you want. After that, install an app called smanager, try to download an old version because newer versions are not working for my phone. With smanager working, go to the file and press it. It will give you some options. Just check the options for boot and su. Then press save and then press run. After you press run the script will kick in and do its thing. The script works but not entirely. Sometimes the CPU goes to 1.2Ghz for some seconds than resets back to the script tweaks.
 

Attachments

  • x_governor_tweaks.txt
    2.3 KB · Views: 300
  • Like
Reactions: TMacgnolia
Upvote 0
@ninjasinabag I'm really sorry but I'm confused. Do you mean setting the CPU Governer to powersave? Because I tried that and it just goes back to 1209MHz. Do you have to plug the phone in before or during while making these changes? I set the minimum frenquency to 200MHz. Just to clarify, I am using the Metro PCS model (ms345) I have no idea if that has to do with anything but I do know different models will most likely yield different results.
Go to battery in your settings menu and click the battery profile to battery saver. Normally the battery saver comes into play at 15%, but this solves this scaling issue.
 
Upvote 0
First of all, I have the h345 and I couldn't install the h345 version with neither recoveries. However, I did install xenonhd with the blue twrp and the xenonhd made for the ms345. Secondly, to make the CPU cores act more reasonable, I made a simple script. The script makes the CPU governor interactive. Then sets the CPU to 1Ghz max and 200 Mhz min. After that, it tweaks the interactive governor settings to be more battery efficient. I have used this script for more than three months and I like it. To use the script, first download it. Then remove the txt extension. After that place it anywhere you want. After that, install an app called smanager, try to download an old version because newer versions are not working for my phone. With smanager working, go to the file and press it. It will give you some options. Just check the options for boot and su. Then press save and then press run. After you press run the script will kick in and do its thing. The script works but not entirely. Sometimes the CPU goes to 1.2Ghz for some seconds than resets back to the script tweaks.

Thanks for posting the script but to be honest I do not understand why the governors are behaving as posted in this thread. The ROM was built using the same device tree and kernel source as the CM build used. Anyway back to the script, you do not need the smanager app to run the script you can run it in terminal emulator but first you have to do two things. First download the the x_governor_tweaks.txt and then change the extinsion to .sh so it is x_governor_tweaks.sh. This makes it a actual script. Now for the next part I recommend you use Root Explorer as it lets you do this in a gui. You need to log press on the file and then select permissions. Select execute for owner and group and press ok. You can also do this in Ubuntu if you are using Ubuntu on your computer. If you do not us Ubuntu or can not use Root Explorer you can use terminal emulator.

Just cd to/the/script If it is still in downloads it would be cd storage/Downloads.
Then to make it executable you need to chmod +x x_governor_tweaks.sh.
Then to run the script in terminal emulator cd to/the/script use ./x_governor_tweaks.sh to run the script.

Also after you hacve made it executable you can move the script to
system/etc/init.d and the script will be run on boot when ever you boot your device.
 
Upvote 0
Thanks for posting the script but to be honest I do not understand why the governors are behaving as posted in this thread. The ROM was built using the same device tree and kernel source as the CM build used. Anyway back to the script, you do not need the smanager app to run the script you can run it in terminal emulator but first you have to do two things. First download the the x_governor_tweaks.txt and then change the extinsion to .sh so it is x_governor_tweaks.sh. This makes it a actual script. Now for the next part I recommend you use Root Explorer as it lets you do this in a gui. You need to log press on the file and then select permissions. Select execute for owner and group and press ok. You can also do this in Ubuntu if you are using Ubuntu on your computer. If you do not us Ubuntu or can not use Root Explorer you can use terminal emulator.

Just cd to/the/script If it is still in downloads it would be cd storage/Downloads.
Then to make it executable you need to chmod +x x_governor_tweaks.sh.
Then to run the script in terminal emulator cd to/the/script use ./x_governor_tweaks.sh to run the script.

Also after you hacve made it executable you can move the script to
system/etc/init.d and the script will be run on boot when ever you boot your device.
I didn't know I had to make the script executable for it to work in init.d. Because the script did not work in init.d, I turned to smanager. Thanks for the info, I will update if making the script executable works.
 
  • Like
Reactions: TMacgnolia
Upvote 0
I did and it just became REALLY laggy. You do me Settings > Battery > Battery Mode > Powersave...Correct? I did and it just stops all animations and has the orange color scheme thing. Sorry that I'm not understanding this.
That's when you plug in your charger wire. It disables battery saver while tricking the governed intp applying changes you've made.
I've had two of the cores disabled and maxed out at 800mhz without suffering immense lag.
The battery saver is just the middle man to actually get your changes to stick in kernel auditor.

As another note, set the governer before you plug your wire in. Once the wire is plugged in, the CPU speeds will stay stuck at that rate until you change out of power saver mode.
 

Attachments

  • Screenshot_2015-12-31-16-34-45.png
    Screenshot_2015-12-31-16-34-45.png
    51.6 KB · Views: 178
Last edited:
  • Like
Reactions: TMacgnolia
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