Skip to main content

Custom Rom

In this page i will write about custom Rom.

I am presently using RR rom on my Lenovo K4 note. This custom rom is based on CM13 Rom. I am using this Rom from last couple of days i have faced some problems and fixed some of those problems.

This is the only stable custom Rome for Lenovo K4 note.
what is not working is NFC and Theater Max technology everything else is working fine.

First problem I found is The IMEI problem and NVRAM x10 errors.

this are major problem while you flash new rom which is based on Marshmellow  or CM13.
I have searched for that problem but no solution every where saying copy paste nvram folder.
but not working.

 NVRAM x10 problem can be fixed by copy paste but not working for IMEI.

When i flashed my device to stock rom i got my IMEI back. so i thought that there is some problem in library or a permission problem.
to Fix that problem in Custom Rom i have rooted my device and checked the root folder; /nvdat folder ;/data folder and /data/nvram folder.
checked those folder property and permissions . I found that the /data/nvram folder is linked with /nvdata folder.

so now i got that poit why the IMEI got lost in custom rom.
to fix i have followed the following steps.

Step 1:- While installing Custom rom through TWRP do not delete data from "NVDATA" folder
              now flash  rom as usual .
Step 2:- If you are not facing any IMEI lost or NVRAM problem then skip following steps your rom
              is bug free.
Step 3:- Most of cusrtom rom comes with root explorer if not the download and instll give root
              permission.
Step 4:- Go in root and look for nvdata folder; now long press on that folder and select link folder.
Step 5:- now go to data folder(/data) and tap on "create link here" .
Step 6:- Now delete nvram folder from /data folder and rename that linked folder nvdata to nvram
Step 7:- wait for some time and check for IMEI if still missing then go to /data/nvram/ and change
              permission of 'md' folder from 770 to 771.
if still problem exists then again flash to stock upgrade to Marshmellow and get root access and take copy of nvdata folder in sd card or some where else safe. and check every folders permissions remember those permissions 

now follow above steps and still not working then copy that folder which you have copied in sd card and replace in root folder and wait still not working change permissions of that folder.

that's it this worked for my device Lenovo K4 note.
this will work for any MTK devices.
let me know in comment section that is it worked for you or not?

NOTE: - above method is only for CM13 for marshmellow based rom not for lollipop Rom because in lollipop there is no problem like that.


Comments

Popular posts from this blog

Fix for installing GRUB on EFI System of KALI or Parrot os.

This fix will work on any linux Distro like KALI(debian) , Parrot OS(debian) ,Ubuntu etc. Having Problem while installing grub?  if your answer is yes then you are on right place. In this post i will guide through steps for fixing the GRUB error on EFI system with Windows on Dual boot. In this post i have not written about Installation steps. If you Don't Know about how to "dual boot with windows 10/8.1/8" then i request you to google about "How to dual boot?" why i am not doing so is because you will find very easy guide on Internet for Dual booting With Windows. The only Problem you will face when the installation is just going to finish, Boom!!! Error comes "Fail to create  Dummy GRUB" or ""Error While installing GRUB" or something Like that. I haven't faced any problem while installing "Kali rolling" on my system. When i start installing Kali on my friend's laptop at first the installation completes with suc

IMEI fix For MT6755/6753 Lenovo K5 note

IMEI FIX FOR MT6755/6753 Lenovo k5 note   you can watch above video or continue following description  If you do not want to read this story then skip this i have written the Fix for Lenovo K5 note or MT6755 and MT 6753 in this post after the story.   My friend bought Lenovo k5 note a month ago and he tried to change the LTE band to band 4 0 using android MTK engineering mode. After he restarted phone IMEI got lost and NVRAM WARNING: Err = 0x10 comes up. After so he contacted the Lenovo Care. At Lenovo care they told my fried to change the Chip which is cost around 8000/-(INR) my friend refused to do same. And then he asked me to repair his Lenovo K5 note. The same thing is happened with me with my Lenovo K4 note , but in my case i have accidentally  selected Format All+ Download in SP flash tool . I tried to fix for 2 days after that i gave up and took my phone to nearest mobile repair Shop. They fixed IMEI but not able to fix NVRAM WARNING : Err= 0x1

Compile Custom Rom From Source

Compiling custom rom from source code. Compiling custom rom takes a hell lot of time!!!! so be aware of That! First things first you have to setup system to start compiling. you have to be on Ubuntu Os. You can use virtual box or dual boot with windows(the best option) System requirements for fastest compilation are as below: Important minimum 8GB of RAM ( you're compiling rom based on Marshmallow or Nougat) 100GB of free Space on HDD (it is good to have a SSD). Quad Core processor. A good internet connection with unlimited data yeah that's it! my suggestion is that you have to install Ubuntu alongside you system means dual boot! (why ? ask yourself!). now, I am assuming that you have installed and boot up in Ubuntu. So let's Get Started! Step 1 :- install JAVA (open jdk 8) in Ubuntu. open up the terminal and type the following command and hit enter. $ sudo apt-get install openjdk-8-jdk Step 2 :- Install other packages