yashsingh1/xdaforums huggingface dataset:
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] hitesh_bonsai:
I Bricked my Phone and can not flash the stock firmware

If anyone cares to help here, please do. I successfully completed the TWRP procedure, BUT did one mistake. I did not set it to Read Only and instead continued with Read Write mode. Result: I soft bricked my phone. It went into a bootloop.

Now when i downloaded the stock firmware and was about to flash it through QFIL, I am getting SAHARA PROTOCOL ERROR:

Uploading Image using Sahara Protocol Failed: Error 854

ERROR: function: rx_data:247 Error occurred while reading from COM port

ERROR: function: sahara_main:854 Sahara protocol error

ERROR: function: main:265 Uploading Image using Sahara protocol failed

Download Fail:Sahara FailSaharaServer Failrocess fail

I faced the same error while unlocking the bootloader as well. BUT SOMEHOW it worked. I dont know how.

Because of this, my Phone is in service center now. Since i can not even flash the stock ROM..

Please tell me the solution to this sahara protocol error.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] essentialblend:
I'm getting the same thing! :(

Even tho I had all my drivers installed.

LATEST EDIT - So when I use QFIL , load the files and then open the 'Then RUN THIS' script , I press any key for ' phone restarting into EDL mode' , and in QFIL it says "NO PORT AVAILABLE" even tho at the bottom while booting into EDL mode, it shows in Device Manager " Care Suite Emergency" installed or something.

Phone's working fine, just stuck at this trivial problem, help please! :(
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] hitesh_bonsai:
And see, I had no other option than to give my phone to service center because i was totally helpless. There was nothing i could do of this sahara protocol error..
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
I would like to help you. But, please do not post about driver and QFIL issues here. Post your issue in this thread : http://xdaforums.com/android/development/rom-lenovo-vibe-x3-row-x3a40-stock-t3328461
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
First of all if you would have followed this guide you would never get to that situation. Even if you got, there is an easy fix to that. Sorry for being late.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] maxpaynezm:
unlocked,root device,set r/o in twrp,still have bootloop
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] Lloyed_Monteiro:
can you please telll what you meant by , I just moved all the files in the root of D drive ??

thanks in advance.... please tell the procedure... :confused:
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] broto1988:
Bro , u can try the 4th Post....
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] essentialblend:
OKAY! So with a great deal of help from arpit_nnd , I finally managed to root the phone.

Only used the files provided by OP in #1 . IMPORTANT.

Super excited and thanks to all who helped! I'm happy to help other users if they are stuck somewhere, Arpit will update the main post with our findings.

We should be thankful to him and SevenMaxs.

EDIT- For someone wondering the main problems I had in a gist, It'd be

1)Keep folder names restricted to one word (without spaces).

2)Uninstall drivers by other manufacturers if they're installed in your phone it conflicts with the Qualcomm 9008 Drivers, I had that conflict with Microsoft Emergency Driver.

3) Follow each step properly and the process was REALLY smooth.

That's about it! Happy unlocking.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] essentialblend:
Thanks bro , I figured it out with personal help from Arpit! :)
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] hitesh_bonsai:
Where's the fix?? sorry this is my first android phone. so am a kinda noob here...
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] hitesh_bonsai:
I have Windows 8.1 may be because of this the drivers didnt function properly and I got Sahara Protocol error: Error reading files from the COM port...

Also, Nowhere in the guide it is mentioned WHAT TO DO In the Phone with TWRP... It was just mentioned to follow the instructions precisely....

We appreciate sevenmaxs and arpit for helping all of us here.

But another guy here set TWRP to Read Only mode and STILL got bootloops.

Whats the solution for us ?

---------- Post added at 04:53 AM ---------- Previous post was at 04:51 AM ----------

You must have forgot to Wipe Dalvik Cache in TWRP....
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
Please do not mix things from other forums/posts and this thread.

If you use/used the guide and files from this thread's OP, your device will never be stuck on Lenovo logo no matter what option you choose in first TWRP screen (if you use TWRP at all).

But still, I have made fix for such cases and you can find it in Post #2 of this thread.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] hitesh_bonsai:
Thanks a lot. I did unlock the bootloader but DID NOT Disable the Secure boot by running "Then Run This.bat" That was my problem.

BUT i definitely dont know the problem to sahara protocol error... sorry for raising this thing again.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] abhi1998c:
need video tutorial

Thankyou sir for this important post,but dear sir can you please post a video tutorial for the process of rooting vibe x3:confused:
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] hitesh_bonsai:
Please post a video tutorial

Arpit Sirji, we can manage unlocking bootloader as per the new instructions. (I actually unlocked it using old files in an old post)

I request you to mainly post a tutorial for using TWRP on Phone.

What is to be done on the phone.

Is Wipe Dalvik Cache important. ?

will read Write or Read Only mode lead to same thing ?

what else in TWRP to be done..

and show us how it boots after TWRP and starts as a rooted device..

That would be very much helpful and we will give all our wishes to u for helping us this much even...
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
THEN_RUN_THIS.bat is the script which instructs/does the entire bootloader unlocking process. Disabling Secure Boot is a mere step within it.

This is XDA and you are expected to know what you are doing before you do it and other immensely basic stuff like what is TWRP and how to use it.

I am not going to explain all that. Google Search is your best friend and there are tonnes of threads related to that.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] dewri21:
Read-only and read-write aren't the same thing. In r/o mode you'll only be able to check the system files but won't be able to modify your system. While you'll be able to check as well as modify system files in read-write mode. Unlock bootloader using newer files and then disable secure boot to use twrp in r/w mode. Without disabling secure boot and using twrp in r/w mode will brick your device. Now once you have disabled secure boot and set twrp to r/w, you can use twrp to flash superuser files (the root.zip file Arpit has added). Reboot your phone after that and done. You have rooted your phone.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] hitesh_bonsai:
Thank you very much for clearing up my doubts Arpit... Thanks a lot for your huge effort... :good:
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] envyofindia:
This is just fantabulous! .... Thanks a ton! ... Now that the phone's rooted, whats the safe way to remove bloatware? Which apps are safe to delete? and just delete their respective folders from system/app ? ... Cheers
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] hitesh_bonsai:
A VERY BIG Thanks to Arpit. My Device works and is Rooted

Arpit, I went to Lenovo Service Center where they gave up on installing the Stock Firmware. I called my phone back and did the Fixboot Trick which u posted................. AND IT WORKED...

Even These guys were shocked, but happy..

Finally my Phone started AND IS Rooted as well.

A Very Very Big Thanks To you and SevenMaxs...................:good::good::good::):)
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] hitesh_bonsai:
After rooting the device, my battery percentage is not showing.

I can see just a white battery bar with No percentage mentioned.

What to do? I tried play storr apps but none worked.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] dewri21:
Have you installed any app which mods the battery bar? Anyway, you can use Gravity Box and that module should be activated from Xposed. So install Xposed first then install Gravity Box and tweak your phone as you like.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] prathmesh01:
Now select those files from qfil and press the download button[emoji2]
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] AterCZ:
6.0

Hi :). Will there be a way how to upgrade to Android 6.0 when it comes out after rooting my device?
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
You will have to flash the currently available stock ROM and then update to any new update.

Then you can re root, provided Secure Boot disabled boot.img for that version become available.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] envyofindia:
Hi... Any way to enable navigation bar and disable hw buttons? Thanks
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] Avinash kodidasu:
If your mobile is rooted add this to your build.prop "qemu.hw.mainkeys = 0" without quotes:D
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] manan2277:
NO PORT AVAILABLE pls guide me through qfil

pls tell me how to resolve this
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] envyofindia:
Hi Avinash .. I've tried this earlier but it doesn't seem to work. Also, nav bar doesn't come even with gravity box. I am too confused why these are not working on this phone?.. Thanks
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] essentialblend:
Can you boot into EDL mode and connect the phone while keeping Device Manager open, does it detect any new device (it should be called Qualcomm Diagnostics 9008 port or something similar) ? (Unknown or otherwise), if it does, that means there's a software conflict ,if it doesn't that means you should try changing USB ports (avoid USB 3.0 ports) and there's some other problem.

In my case, I had to uninstall Microsoft Emergency Drivers (for my Lumia 720) which easily detected the 9008 port after I uninstalled.

Follow all the steps in the OP properly and it shouldn't go wrong, it didn't for me (with a little help)

Happy Rooting.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] AterCZ:
Thanks!

Thank you, worked like a charm :). Just a heads up for anyone getting scared as me - when you boot into fast boot mode, there´s just a white screen and Lenovo logo in the middle. I was expecting something looking way more "hardcore Android coding like screen", so I got pretty scared that I messed up and and got into a bootloop.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] leo.riv:
you install Xposed ?
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] AterCZ:
Xposed works fine
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] sihaganish:
Any news on custom rom
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] Perseus:
ALL -

Kernel for this Device is great and I am sure many are finding useful. However, it deserves its own thread and not in a Recovery thread. Please make that discussion in a thread of its own and not here. Any of Kernel discussion will be Off Topic here and will be deleted.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] Avinash kodidasu:
Please make add vibe x3 device in XDA forums..here we have custom kernel also..:laugh:
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] AterCZ:
Disable diod

Is there a way how to disable the notification diod blinking when the screen is on? It really bugs me..
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
Mate, all my posts on this thread will be in context to the files/guide in this thread. If you watch carefully, you will find out that disabling Secure Boot is included within the unlocking process (the way it is in most official unlock tools). I hope you understand the quoted post better now.

As mentioned, the BootFix is meant to fix boot only for a very specific scenario(mentioned in Post #3).

I might be able to advise further if you tell me what exactly you tried to do before the issue arose.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] abhklk4:
Thanks mate. Can you please check the available MM Chinese rom just uploaded yesterday. It's not going pass the boot logo. Can you provide a good working solution for the same
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
Honestly speaking, that guy has created a lot of mess for me everywhere. Even on this thread. He has been warned my moderators and his posts removed.

Apart from that, he is always trolling me, pretending to be a know-all.

Still, I looked at some aspects of that ROM (haven't flashed or downloaded completely) which were talked about on the G+ community. The reason is he has forgotten to mention that you need to flash the system.img (the file which has the real ROM). So what everyone is doing is just flash the other partitions of the firmware. Obviously, it won't boot because you will still have the ROW ROM but with other firmware files for a different model (the Chinese X3c50).

Personally, I am not into cooking(modify files of existing one's and repack) ROMs so I didn't bother to look into the matter much. I prefer to work on sources and compile one. But, when I saw a lot people were having issues, I attempted to work with him to sort out the issue but, he began trolling again. I will try looking at the issue every now and then (whenever I get time) and share a fix which works for everyone/create a fresh cooked ROM if there's enough demand and that guy's build doesn't work out. Please do not expect any ETAs though.

The problem is that I am so occupied with my work and college projects (which have deadlines) that I am not able to devote enough time to the phone. I hope you guys understand.

Meanwhile, cooking a ROM isn't all that difficult. Even you can make one after a few hours of research(provided you have some prior experience with Android tinkering else it would take longer).

Let's hope we improve the community and work peacefully with each other.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] abhklk4:
We do understand.Please take your time & try to provide some solution (QFIL or TWRP) for the available ROM or with some MM sources available now,you can provide us with your ROM..

Again thanks for helping Vibe x3 community
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] mahmoud-action:
how can i unlock bootloader and install multi language rom for lenovo vibe x3c50

i O.S :android 6.0.1
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] leo.riv:
Take your time & provide bug free MM Rom
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] abhi1998c:
xposed for lenovo vibe x3

can anyone help me,how to install xposed framework in vibe x3
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] sihaganish:
Why no is active here any news about marsmallow or cynogen
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] maxpaynezm:
Please make root to last update s144
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
UPDATE

Added support for S144.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
It's available now.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] abhi1998c:
ota update

Pls help me,i sucessfully rooted my phone but yesterday i recieved ota update in my lenovo vibe x3!!so now what i do?

Update or not?
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] leo.riv:
[MENTION=4681604]arpit_nnd[/MENTION]

Thanks for everything but when I install some mode with aroma installer in TWRP recovery it stuck.

I think our TWRP recovery not supported aroma installer.

Please help to install this Mode

I'm sorry for my bad english
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
You need to flash the stock firmware again, update and root again.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] abhi1998c:
pls help me!!!🙏

dear arpit sir,i am not expert like you!!

Please give me a brief instruction for ota update

Pls sir,it's my humble request to you!!???
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] sameermanas:
Im not able to apply OTA update for the 144 version

Hi Guys,

I have flashed the 138 images from your tutorial. I've been waiting to update to the 51 mb update of ver 144. However when it says to reboot,it goes into TWRP recovery and does nothing. The update is not being applied to the mobile. Can you please guide me on what I should do to get it updated to the latest version. I am keen on getting the update as there is possible news of MM coming soon.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] impaul007:
My device is Lenovo Vibe X3a40. This is a good phone but comes with one flaw. The H/W nav buttons don't lit up, thus very difficult to use in dark . The phone is running VibeUI (based on Android L5.1.1) and I have unlocked bootloader and rooted . Can any of the devs help me with the possibilities to enable on screen navigation keys please?
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
Please read the thread's OP carefully. It is already mentioned there that you shouldn't attempt to apply OTA updates directly once you have modified the system.

To update you need to flash the stock firmware again, update it to latest version via OTAs and then root it again using this guide.

To flash stock firmware go through this thread: http://xdaforums.com/android/development/rom-lenovo-vibe-x3-row-x3a40-stock-t3328461
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] xiaobai112220:
Hello, I just build an cm13 for x3_row.

link: http://pan.baidu.com/s/1cJWFnS psw: hgkf

You can delete AppCenter,NewBrowser,Movie2345,Weather2345 under system/app,then it's pure.

Enjoy it:)
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] PanNet:
Hi there,

Any bugs so far?

Regards
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] xiaobai112220:
no hifi,dt2w not work
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
Haven't tried yet, but great job ! :D

Can you put the device, vendor trees on GitHub so that others can hop in and start developing?

Also, I request you to make a new thread for your work, it deserves it ! :)
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] csazoo:
Please move it the download other gdrive or something link if it is possible , because I cant' download the file.

I will test it! :o

THX!!!!
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] prathmesh01:
Great work, thanks for sharing.

Create a new thread for it.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] leo.riv:
Unable to download this file
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] anantharam:
Let's make this official!

Can you provide the source code and the device tree for this please?

We can make this the official cyanogenmod release for Vibe X3!
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
Sources for CM are always available on the CM repos, it's just the device and vendor tree sources which are needed.

Let's hope he shares them.

Even then, availability of sources doesn't make device support official and with the limited availability of this device, it's quite unlikely to happen anytime soon.

Waiting for trees with a lot of hope...
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] Avinash kodidasu:
I request you all to first try ROM and give feedback..if he feels that device tree is stable enough..then he will share..because if he share everything without stable nothing will go on future..just think yourself and respect xiaobai..and try the ROM first..then he will release the ROM himself after sometime
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] prathmesh01:
Stuck at boot logo. Not booting.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
Everyone has thanked and encouraged [MENTION=5594486]xiaobai112220[/MENTION], I don't see any issue there dude. The sole purpose of sharing on GitHub is to let other developers collaborate and fix issues together. That's what I asked for.

The build doesn't boot no matter what. I am sure the issue is within the boot image.

Once again, good luck with the next build [MENTION=5594486]xiaobai112220[/MENTION].
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] xiaobai112220:
I don't know why it doesn't boot on your device,but it does works well on x3c50 and x3c70(Chinese edition)

Here I can give you some posts:http://tieba.baidu.com/p/4619513871 and http://tieba.baidu.com/p/4622424293

I build this rom based on VIBE 3.1 1620,Kernel is also for Android M.

Maybe you need to update to official Marshmallow release first.

Kernel source:https://github.com/thune-xiaobai/android_kernel_Lenovo_X3c50

Due to some reasons, I cannot release device tree right now,maybe some days later.

Here is the latest build :http://pan.baidu.com/s/1mis7ZmC psw:kbp6

Good luck again!:laugh:
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
I was expecting that it is meant for the Chinese variants. Most likely we need to flash the official M builds first.

Please update your post and mention that it is for the Chinese variants.

It would be great if you create a new thread for your builds. Make sure you mention X3c50/X3c70 only until we sort it out.

Thanks and good luck ! :good:
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] anantharam:
If we have the device tree sources, can't one of us become the official device maintainer for Vibe X3 for cyanogenmod?
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] ffun735:
wts d difference between -- Root using one-time use TWRP and Flash TWRP permanently and root

And how to backup all the data ?? In case something goes wrong !!
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] arpit_nnd:
The name says it all. If you don't understand it, you probably shouldn't be doing it yet. Google about TWRP.

For backing up data you can use any of the backup apps from Play store and then transfer all internal storage data to a PC/removable storage.
[Lenovo Vibe X3 ROMs, Kernels, Recoveries, & Other ] abhklk4:
Quite stable

First of all thanks for your hard work.Tried the updated ROM & below mentioned are my observations

1) Inspite of very initial release its Very stable & no force closures at all

2) Battery backup is good.

3) Google+ working properly (Stock ROM has issues).

4) CM13 theme make our phone really awesome

Some suggestions for next build

1) I noticed that display is more whitish & lags the sharpness of stock roms. I you can add adaptive display setting it will really help & try to increase sharpness in text(make it complete black)

2) There is no RAM bar view able in closing the apps.Recent app closure could be better

3) WiFi /net speed not displayed,need to have this option

4) if you can add xposed module & root access by default,it will be helpful

5) snap camera has to be used as built in camera lags sharpness and saturation

Again thanks for the hard work & efforts for making first alternative rom.