yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] onkarrathee:
How to flash stock firmware to LYF water F1s Ls-5201

Prepare your system-----

1) Install the Qualcomm usb drivers on your system. Download link

2) Check your PC device manager, your phone should be detected in "Qualcomm HS-USB QDloader 9008" mode. It must detect to start the process.

3) Download the stock firmware from here . The software version downloaded with this link is "LS-5201-S10A_LYF_L13EN_200_170124_09-55-13".

4) Extract the downloaded firmware zip to an folder and rename the "IMAGES_FOR_QMSCT" to "firmware".

5) Download & install the QPST tool. Google it you can find it easily.

6) power off your phone & Make sure your device is charged to at least 50%.

7) Run the installed QFIL from installed programmes. Browse in programmer path to the "prog_emmc_firehose_8976_ddr.mbn" file in the folder where firmware is extracted. It will load the firmware & buid will be selected automatically.

8) Click on load xml and select the "rawprogram_unsparse_without_qcn.xml" if you havn't the backup of NV partition of your device.

If you have the backup NV partition of your device than you can select "rawprogram_unsparse.xml" because this will erase your RF Calibration data, IMEI and WiFi/Bluetooth Address etc. and you will have to restore the NV partition after installing the ROM.

I would suggest you to select "rawprogram_unsparse_without_qcn.xml" & keep it simple.

9) Choose the "patch0.xml" after that.

10) Hold the vol+ & vol- key together and plug usb cable to phone to enter into download mode. As you plug in the QPST tool would recognise your device in QDLoader 9008 mode with com port no. and download button will get activated.

11) Click the download button and sit back, it will take some time.

12) "finish dowload" appear, when process got completed and phone will reboot automatically.

13) Disconnect the device from PC one "android screen" appears (usually it takes 5 min. to appear LYF logo screen from android boot screen)

14) If doesn't reboots, there is some problem & get ready for real hard work ;).

You might have bricked. In this case just press the power button so than it can power ON. If android screen appears you are lucky enough ;)

-----If android screen remains more than 6-8 minute, you are in bootloop. (It useually takes 5 min for LYF logo to appear after android logo)

-----To switch off your device in case of bootloop, press vol+, vol- & power key together for some time. It will switch off.

-----try to flash the firmware again by above process.

I have tested this method on my device and successfully flashed the stock firmware.

Don't forget to "HIT thanks"...!!! :)

Credit:

@SoCr@Te for providing the stock firmware

Me: for testing the procedure
[Android Q&A, Help & Troubleshooting] zjsss:
Le2 not support MicroSd.

I will try use recovery of oppo R9plus.
[Android Q&A, Help & Troubleshooting] zjsss:
Okey.

It works and rooted by supersu system less package.

I shared recovery.img on https://drive.google.com/open?id=0BwVjewgp3fvLbmtxZ21fSUZhOW8

Or download full package with flash tools and supersu.zip [URL="https://drive.google.com/open?id=0BwVjewgp3fvLUnRHS3NGRjlIRTQ]TWRP-OneKeyFlash-supersu-lyf-water-f1s.rar[/URL]
[Android Q&A, Help & Troubleshooting] onkarrathee:
TWRP recovery LYF_LS-5201

Guys... here is the unofficial twrp recovery for LS-5201. Download it here .

Let me know that you suceed..:p

This is twrp_unofficial_3.1.0.0 ported from Leeco Le2's TWRP recovery using @suraj-b method and if anythong goes wrong on your device download the stock recovery from the thread and flash it from bootloader.

Try on your own risk..!! :fingers-crossed:

Don't forget to HIT "Thnanks" down there :)
[Android Q&A, Help & Troubleshooting] onkarrathee:
Please share the adb & fastboot files you used for unloacking bootloader and flashing recovery for the noobs. It would help.

keep it up. :good:
[Android Q&A, Help & Troubleshooting] prashant.palange:
How to flash it bro...plzzz give us step by step help

---------- Post added at 06:22 PM ---------- Previous post was at 06:14 PM ----------

If i flash it via fastboot...den can i root it through twrp...
[Android Q&A, Help & Troubleshooting] zjsss:
You can download full package and use "OneKeyFlash(LYF-f1s).bat" to flash easier TWRP-OneKeyFlash-supersu-lyf-water-f1s.rar
[Android Q&A, Help & Troubleshooting] prashant.palange:
Bro but is it proper twrp for f1s...hv u try it
[Android Q&A, Help & Troubleshooting] zjsss:
It works well on my phone.
[Android Q&A, Help & Troubleshooting] prashant.palange:
Thnk u soo much to bring us such wonderfull recovery....but bro...i found 2 issue....1 internal storage is showing empty 0mb and 2 der is no option for root like supersu.zip..plzz help me for dat...m i done wrong anything..plzzz help thank u sooo much brother...it doesn't mount internal storage..i tried mound system and data....but data doesn't mount...plzz help..hope u will understand
[Android Q&A, Help & Troubleshooting] zjsss:
It's my bad. This img had bugs.I well try to fix it.

You can copy supersu.zip to MircoSD and install it in TWRP rigtht now.

I checked by adb shell root is success.

Very sorry about that.
[Android Q&A, Help & Troubleshooting] prashant.palange:
U r simply genius brother..root works properly.....god bless u ..love u ....:laugh::good:

Just try to make bugless twrp....thnk u in advance....
[Android Q&A, Help & Troubleshooting] zjsss:
Thx,i found this not a bug.

/data was locked by system.

Into twrp and keep /system read only,

And wipe /data will be ok .

but it will lost all your data in the phone!!!

So backup everything before you do it.

and install supersu .zip again to root.
[Android Q&A, Help & Troubleshooting] prashant.palange:
So what should i wipe...dalvik, cache, and data dats it..okay....not system...m i right? But data is not mounting den how can i wipe it?
[Android Q&A, Help & Troubleshooting] zjsss:
It doesn't matter of wipe /date or wipe 3.

I guess because the phone kernel was rooted.TWRP had right of wipe.

But not so sure that.
[Android Q&A, Help & Troubleshooting] prashant.palange:
Brother i tried as u said...but its showing error unable to MouNt data(invalid argument),

In mount section its unable to Mount data.

Dats its unable to wipe
[Android Q&A, Help & Troubleshooting] zjsss:
Forget mount.

Follow this:

Select /system read only option after Logo of teamwin.

Touch wipe and select Format Data and press ’yes‘ to format it.

reboot.

Done.
[Android Q&A, Help & Troubleshooting] prashant.palange:
Yess brother its works.....thnx a lot buddy.....but brother i hv get some issue...i hv change my font with ifont app...but can't get again my default font......do u knw any solution on dis...i hv tried many tricks but doesn't works....

Try to compile any rom for our phone miui or lineadge os....thnak u so much for ur kind help..god bless u brother
[Android Q&A, Help & Troubleshooting] zjsss:
No idea about font.I use default.
[Android Q&A, Help & Troubleshooting] prashant.palange:
Ohh okay brother....try to compile any rom for us....hope u will try...get some help of developers..thnx a lot again
[Android Q&A, Help & Troubleshooting] prashant.palange:
i am getting error brother firehose error like...actully m done okay,,but didnt understand whats wrong please help

error like this = download fail:sahara fail:Qsahara server fail:proccess fail

Can i flash it via twrp...?dis rom

Updated::...i have successfully flash stock rom....follow each n every step given by above post just use latesT QPST TOOL 2.7.435 n above
[Android Q&A, Help & Troubleshooting] spartansathish:
Please make flashable stock rom for f1s

After rooting i tried to uninstall system apps but device reboots and nothing happened.
[Android Q&A, Help & Troubleshooting] spartansathish:
If format data what happens to my internal storage
[Android Q&A, Help & Troubleshooting] zjsss:
lost all.

so backup before do it.
[Android Q&A, Help & Troubleshooting] spartansathish:
I tried it but phone hangs on logo ,

After that I extracted boot.img from stock rom (downloaded at needrom)and flash it to make phone working .So I still can't modify system even after rooted
[Android Q&A, Help & Troubleshooting] onkarrathee:
Check the bootloader status from fast boot command.

Check if phone is rooted from any root status app .

I think you replaced the boot structure to factory that's y u r facing this.

Check the bootloader status from fast boot command.

Check if phone is rooted from any root status app .

I think you replaced the boot structure to factory that's y u r facing this.
[Android Q&A, Help & Troubleshooting] onkarrathee:
If you ever get "Sahara error" means that the flashing tool is trying to communicate your device but it can't. It is due to

==(It will be better if you run windows in testing mode. Running Windows in test mode can be found on Google easily).===

1) corrupt or improper driver ---Install proper Qualcomm drivers

2) The drivers already installed for others devices on your PC are conflicting----- uninstall all the drivers and reinstall drivers only for your device or you can use other pc.

3) That your phone is in bootloop and continuously switching between Qualcomm 9008 & other modes.

To fix this you need to follow---

A) unplug the USB cable from phone

B) press and hold the volume+ ; vol- & power button together

C) your phone will boot for just 0.5 second (leave the buttons ) and again goes to power off.

Now follow the process as explained in my post "how to flash stock from"

This process worked on my device when I got this error.

Hopefully this will work for you too.

Don't forget to hit "THANKS" ?
[Android Q&A, Help & Troubleshooting] prashant.palange:
Yes bro thank u sooo mcuh....i didn't do this...i just install latest software and it works....??
[Android Q&A, Help & Troubleshooting] onkarrathee:
Good to hear that... I had spent 6-7 hours to eliminate this error :p. . Your are a lucky guy. ;)
[Android Q&A, Help & Troubleshooting] prashant.palange:
Hhahahahah...its okay yaar

Now just try to make rom..try to compile miui rom:fingers-crossed:

Try to compile cynogen...cause our phone os based on cynogen
[Android Q&A, Help & Troubleshooting] spartansathish:
Guys adds in this mobile is really making me angry , plse give me good solution.

I tried adaway but while installing host files phone reboots. And nothing happened. I can't modify system even after rooted.plse give me rooted boot and recovery images for Lyf f1s
[Android Q&A, Help & Troubleshooting] zjsss:
I rooted and could change /system before flash that stock rom.

right now，it can be root

but....if i changed any thing of /system.

phone will stoped in a black screen after reboot.
[Android Q&A, Help & Troubleshooting] spartansathish:
Same problem bro.

My device is rooted but if I try to modify system it stopped in big Android screen and reboot
[Android Q&A, Help & Troubleshooting] zjsss:
I downloading stockrom with update.and try it again..
[Android Q&A, Help & Troubleshooting] zjsss:
try use that updata stock rom.

flash this recovery.img(i changed phone's info).format /data,

reboot to system.setup everything for first use. reboot to twrp install supersu.

you can change /system right now...but phone maybe still shutdown after changed.reboot by force. Change was saved

wasted a whole day by that rom.....
[Android Q&A, Help & Troubleshooting] spartansathish:
I think custom ROM is only option for modify this mobile.better try making custom roms for Lyf f1s

This is one of the best ( beast ) device in 8k rupees

We have to maintain this device up-to-date by making roms.

Anyone having knowledge in rom making plse try.thank uuuuuuuuu
[Android Q&A, Help & Troubleshooting] champzone:
xposed installer and modules

was anyone able to installe xposed installer zip to this device and also use xposed modules successfully like device id changer and so on?
[Android Q&A, Help & Troubleshooting] zjsss:
I did. xposed works will.

use xposed-v87-sdk23-arm64.zip.install it after install supersu(not reboot) .

reboot system install xposed_installer.apk
[Android Q&A, Help & Troubleshooting] prashant.palange:
How to install it....what it works...what can we do from dis... Actually what exposed installer do ?
[Android Q&A, Help & Troubleshooting] zjsss:
running cm13.0 on device. but not success.

stuck at preparing to start(starting apps)...

[IMG="cm13"]https://lh3.googleusercontent.com/iH5V3-JSCStE9BsRBq2-q38L-4p8b87euWH2MVtXcCxqek1hQwqd5-4UmDVX9gGpJV_f_71OK0-CHAEp9zWTfUDAMjd7lERCIUvQpqyNvZjwgDl2ZpIpkC80XUBvk057coEjVi2FL0-j9GfJ1-iFZLMx3iAWKVq-NRYB_5Rj9ekhM20olIZW16tTAu6Y9fUSSx8VK368HY9kttmR20qveY2buUPS0Kh9usy8BNrMSM13QK_Oo31kq5UMNtI3cSZp49IQK22xrmaHYX6LHIFf-BG0wILH6zHsdGqTGFH5x-1mV-A-dywvux2H3M78P7pF6qHlRq6nesvYn0cA7BzATG9EFxCfAyuBarZh1qMqjj-bPhHlJmMNjI0g0Rp5xq9WUeamhZ86xz_k0TwJKblSm0gItSq4xtLm83_np56G13W-dAM5iGMb76fJhqmOmvrZ8LYn7y7TmI6jtwP8R1FDHDYY_Mti2CBWSmqADqKfR7V7q8CygSBAC-TFi-zMzp3ujxYNM3t3zvdaq7khQNMF6cU5HZvs2heqI7I1vXvx466ZU8oezqThFaOZCUCfWh2-8cMadGr2tsj5y2tFPAP3BZR-u3Uk9eUAkiugJxgZ-WBvdw7Nczk=w514-h913-no[/IMG]
[Android Q&A, Help & Troubleshooting] prashant.palange:
Awesome work dude.......keep trying........is it bootloop?...try to wait
[Android Q&A, Help & Troubleshooting] zjsss:
reflash rom and wipe everything.

waited half an hour.

still stuck here.

[IMG="stuck"]https://lh3.googleusercontent.com/yNyMxmKqtffqfeH07Dp6vRHcldnqAbCH9Yg8P0IWoS9nndW70MzhADnmzB08EBjMDNJhknj7XG8Sr_BLSQbFBuTfCdyqpLZfrVhS4kSpxzizb6SzSnVzA0Y0U0tiri6ALdV2WRpIK2n4y0uGWX0FvjFiLYpA2_4HU9zOn2LcYzY02sWQrRjO_3NFW5a1kI5dz-AVWfiLC3cBo3O57laF5L5Mn_evDyhyd2pJ57MynvFiHAFlh8WP6f217POY2j_r1TMBZ8lONzhomm1sf2bgUkhfbstvJ_zblk-uyZQFaajAxB3K2rBJkUzPaEoCG-GndHoJN-exFN1j-DJXPOPn8Y2xT3PAVq3lY4YWMbToZCG6-xPLT2Pdrve7llsFaqBi2v3dgkmaDJLMnPiTrJi34447cu7yk128_naEd5Za5TcLW5lUuGrRccdJUO57ZuBS1f_a8eKvWZvObKqzsqvKTYIOvICEOjY5k_737rzOhIXegF4g3S46NhK1aEKcLUQJ3rrJ8TKPOp37dygHQBtOtgE8rI1wHYfdp9cuS4PYhIrCtMUlodt8mGC7_JbiUyfmTDW0ub1ifURq1sNkldke55ENccQbKY9ccc3TqT5RgzrRR8M=w514-h913-no[/IMG]
[Android Q&A, Help & Troubleshooting] prashant.palange:
Yess so its not support... Getting bootloop...have compile source...get some help
[Android Q&A, Help & Troubleshooting] spartansathish:
Try it bro u can do it

---------- Post added at 05:20 PM ---------- Previous post was at 05:16 PM ----------

Bro first of all

Try to make flashable stock rom .it is easy when compared to cm roms

Stock rom with no bloatwares are always handy when something goes wrong in flashing Custom testing roms.
[Android Q&A, Help & Troubleshooting] prashant.palange:
Do u have any supported custom rom for lyf f1s..and hv u tried...if u hv PLEASE share a Link...thnk u soo much buddy.... Actually m not developer
[Android Q&A, Help & Troubleshooting] zjsss:
i upload a flashable zip-package.it build from stockrom which one included updata.

don't forget format /data and wipe everything before flash.
[Android Q&A, Help & Troubleshooting] prashant.palange:
Is it stock or custom rom dude...if it is custom rom den have u successful flash it
[Android Q&A, Help & Troubleshooting] rshanubh:
Could you please share instructions how to flash this stock ROM... Thanks
[Android Q&A, Help & Troubleshooting] zjsss:
install it in the twrp,like other android device.
[Android Q&A, Help & Troubleshooting] 7827505059:
Hey Everyone,

I urgently need TWRP system partition backup of LYF F1S.

Thank you
[Android Q&A, Help & Troubleshooting] prashant.palange:
Look at this thread from starting u will get...do step by step...
[Android Q&A, Help & Troubleshooting] 7827505059:
I had found only stock rom package of 1.5 gb zip file

when i tried to flash it

it shows error that the package is for 'ls-5201' and my device is 'mido'.

So, can you please upload a backup of system partition of your lyf f1s?
[Android Q&A, Help & Troubleshooting] mdigital85:
IMEI nud And No Service

My Mobile Stack Rom PC Flash IMEI nud And No Service Pls Halp
[Android Q&A, Help & Troubleshooting] zjsss:
http://www.androidbrick.com/ultimat...agon-xiaomi-mi5-imei-and-baseband-repair-fix/

it maybe help u.
[Android Q&A, Help & Troubleshooting] abhifx:
i am surprised there is no dedicated thread for working TWRP and backup rom. [MENTION=7872180]onkarrathee[/MENTION]
[Android Q&A, Help & Troubleshooting] prashant.palange:
Ohh yes my brother..... Its our bad.. Here is available twrp and stock rom.... No one is considering us.... Do something dude... Make some rom
[Android Q&A, Help & Troubleshooting] abhifx:
without kernel sources i cant do anything. also i am unable to find which chinese phone rebrand is this, so no chance of porting rom also.

i have yet to buy this phone, will see what can be done but i am not raising much hope
[Android Q&A, Help & Troubleshooting] prashant.palange:
Ohhh man our bad..... Its really such amazing phone... We have really hope frm you... Anyway thank u soo much... Do as you can... If possible... Thnx a lot again ????? brother u can used stock kernel.. If m i right
[Android Q&A, Help & Troubleshooting] abhifx:
for flashable twrp file, you can modify the script to not detect the device name and continue to flash. btw mido is a nice find, you tried flashing redmi note 4 file? i know people want to get latest rom on this but flashing random device roms will only result in bricked device
[Android Q&A, Help & Troubleshooting] kaisar11:
Join Lyf F1s Development

bro will you join " lyf f1s development " on facebook

we need members n it will be awesome if someone could provide custom roms thanx in advance

---------- Post added at 11:48 AM ---------- Previous post was at 11:43 AM ----------
[Android Q&A, Help & Troubleshooting] Danyaelgaina:
You should search Google
[Android Q&A, Help & Troubleshooting] prashant.palange:
https://wiki.codeaurora.org/xwiki/bin/QAEP/release

Brother please follow this link... U will get kernel source for our qualcom device... N please make it awesome rom for us...... Plzzzzzz... Thnk u soooooo much for ur kind help.. Its qualcom MSM8976

Also see this

https://android.googlesource.com/ke...-dr/arch/arm/boot/dts/qcom/msm8976-rcm.dts#23
[Android Q&A, Help & Troubleshooting] abhifx:
thats not how things works, the kernel has to be device specific.
[Android Q&A, Help & Troubleshooting] prashant.palange:
Brother alcatel idol 4s is clone phone of dis model plzz check out
[Android Q&A, Help & Troubleshooting] spartansathish:
http://www.lineageosrom.com/2017/01/how-to-build-lineageos-rom-for-any.html?m=1

Please read it
[Android Q&A, Help & Troubleshooting] spartansathish:
Bro plse upload that zip file to drive link we can try some works.

---------- Post added at 06:12 PM ---------- Previous post was at 06:12 PM ----------

Join our fb page bro.
[Android Q&A, Help & Troubleshooting] zjsss:
bro....i don't have a fb account, In china,internet had many different of the other country. :)

I patched a miui rom,it also stuck at "mi" logo screen.

i guess some bugs in this phone's boot.img.

so it can't be root completely in stockrom. but this problem not in the twrp.

i could not use adb logcat to debug without root.

anyone had some idea to fix that bug.THX
[Android Q&A, Help & Troubleshooting] spartansathish:
May be kernel problem

---------- Post added at 04:03 AM ---------- Previous post was at 04:02 AM ----------

Plse upload this rom zip so we can do soms works
[Android Q&A, Help & Troubleshooting] zjsss:
rom too large to upload,I must save some traffic to use google search.

sorry about that.
[Android Q&A, Help & Troubleshooting] jigrish:
i have lost singnal please give me nv backup of ls 5201
[Android Q&A, Help & Troubleshooting] Tarasantan:
You LYF f1s guys are so lucky,we LYF f1 (LS 5505) phone owners still do not have any twrp or root solution.

---------- Post added at 04:00 AM ---------- Previous post was at 03:54 AM ----------

You LYF f1s guys are so lucky,we LYF f1 (LS 5505) phone owners still do not have any twrp or root solution.
[Android Q&A, Help & Troubleshooting] prashant.palange:
Caused we make it.... ???
[Android Q&A, Help & Troubleshooting] kaisar11:
may be your zip was cotrupted try another cm13 n try again

n do port another twrp also

this one isn't bugless

it can't modify system

hopefully you will succeed then

thanx for such tries

???????
[Android Q&A, Help & Troubleshooting] spartansathish:
Hi bro. How is ur work going .

Did u success in making roms
[Android Q&A, Help & Troubleshooting] zjsss:
cm13 part rom works. but it had too much bugs.

no sound

no wifi

phonecall bug

no softkey

no cam
[Android Q&A, Help & Troubleshooting] spartansathish:
U done it bro. Making bootable ROM is the difficult part.we can work together to fix the bugs.

---------- Post added at 03:00 AM ---------- Previous post was at 02:59 AM ----------

If u share this ROM. We can also try.there are more than 50 members waiting for cm13 rom
[Android Q&A, Help & Troubleshooting] zjsss:
u can download cm13 part rom ---->here.
[Android Q&A, Help & Troubleshooting] abhifx:
well good news is that i have bought the phone.

bad news is the lack of kernel sources. i have asked with reliance cc team and they are clueless.

first thing should be creation of fastboot images, i don't like qpst method.

and porting is the only option. [MENTION=8195498]zjsss[/MENTION], which recovery are you using? you can post the methodology of the port process, maybe we can pin point the missing libraries.
[Android Q&A, Help & Troubleshooting] zjsss:
u can look back this thread, I uploaded that one
[Android Q&A, Help & Troubleshooting] kaisar11:
twrp is unable to take backup of system even on otg

means twrp is buggy

it doesn't have full system permissions

need rebuilded latest recovery

hope you can manage that too

thanx
[Android Q&A, Help & Troubleshooting] zjsss:
this not twrp's bug

f1s maybe had /system write protect lock in the bootloader.(if anyone knows the command to disable it,thx a lot)

that's why device will stuck at black screen when changed any /system files by root.

cm13 porting rom also have this problem .so i guess that protect lock not in the boot.

i uploaded a stockrom.zip. u can find it at #52. it can be flash by twrp recovery which i shared at #41

if u need to recover to stock system. just flash it
[Android Q&A, Help & Troubleshooting] prasad12ka4:
If possible can you share some screenshots