[GUIDE] How to flash any Stock Rom using Latest TWRP recovery by codeworkx/official - LeEco Le 2 Guides, News, & Discussion

Hi Guys,
Iam now writing a guide to let you know that how to flash stock Rom using latest twrp recovery by both codeworkx or official
Steps :
First open the downloaded stock rom using any zip utilities, for example winrar.
navigate to the following directory
Code:
META-INF\com\google\android
now open the update script using any text editing tool. like notpad++
Remove the first two lines.
Now you re good to go.
If you are still getting the error
then please replace all occurrence of the device name from "le_s2_ww" to "s2" . You can use the find and replace feature of the Notepad ++
Comment below if you have any queries. :angel:
Hit thanks if you thinks it is usefull
Visit my webiste please : https://www.confusedweb.com
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Tq

nice

now after doing so the recovery says rhat the update-binary is missing

You are Great.. Thank a lot.

Thank You

Excellent... worked perfectly. Thank you.

I downloaded x527 stock from here:
https://devs-lab.com/download-letv-official-stock-rom.html#How_to_install_LeTv_Stock_ROMs
But when I want to do your point 3, I just find a metadata and a otacert file in it and no update script?

FridrufHau said:
I downloaded x527 stock from here:
https://devs-lab.com/download-letv-official-stock-rom.html#How_to_install_LeTv_Stock_ROMs
But when I want to do your point 3, I just find a metadata and a otacert file in it and no update script?
Click to expand...
Click to collapse
You are in the wrong path!
Look at
Code:
META-INF\com\google\android
not at
Code:
META-INF\com\android

Oh this is embarrassing
Maybe one last question, as I did a lot of version back and forth and I am not able just to flash the bootloader or/and modem file of 19s, I would like to do a clean install of the recovery.
So if I do factory reset with data and cache and start the instalation this will be complete clean?
Or should I delete some files or folders which are beside the sdcard folder, too?

JamBax said:
You are in the wrong path!
Look at
Code:
META-INF\com\google\android
not at
Code:
META-INF\com\android
Click to expand...
Click to collapse
Lol , I made a factory reset and flashed the modified update.zip and now I lost my baseband. What should I do now, I don't really want to use my backup because of the wrong modem version...

Related

[TUTORIAL] How to integrate a custom recovery into your custom ROM

XDA PORTAL
Click to expand...
Click to collapse
Hello everyone
In this tutorial i will show you how to integrate the recovery into a custom rom.
This way users will not have to install it separately
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
REQUIREMENTS:
You must know how to build a custom rom using Android Kitchen.
You must know how to edit an updater-script using Notepad++.
The WORKING folder of your rom (the one you get from the android kitchen when you extract system.img or zip folder or system.tar).
The recovery's flashable zip.
For this tutorial i am gonna use the PhilZ Touch CWM as example but this method is universal for all recoveries.
So, let's start:
1. Create in the kitchen's WORKING folder, a new folder and name it system2 (in your case working folder's name is gonna be different).
2. Extact the recovery's system folder contents into the system2 folder (the one previously created).
3. From the recovery's META-INF folder open, using Notepad++, the updater-script.
In my case looks like this:
4. Before proceeding, let me explain what is going on with the following lines:
package_extract_file("system/bin/recovery.tar", "/system/bin/recovery.tar");
package_extract_file("system/bin/taimport", "/system/bin/taimport");
package_extract_file("system/bin/taimportx", "/system/bin/taimportx");
package_extract_dir("system/btmgr", "/system/btmgr");
----- package_extract_dir(” “, “/”) – This command extracts all the files from the folder mentioned inside first quotation to the directory inside second quotation. -----
So since you created a new folder named system2, the above lines should be edited and look like this:
package_extract_file("system2/bin/recovery.tar", "/system/bin/recovery.tar");
package_extract_file("system2/bin/taimport", "/system/bin/taimport");
package_extract_file("system2/bin/taimportx", "/system/bin/taimportx");
package_extract_dir("system2/btmgr", "/system/btmgr");
5. Now open, using Notepad++, the updater-script for your rom.
6. Now copy the edited lines from the recovery's updater-script into the updater-script of your rom (add them at the bottom). Remove the show_progress lines. Now save the file.
7. Now you can build your rom and enjoy the integrated recovery!
8. Happy rom building
reserved
Too good
So you are back with your pc i guess
Awesome! Definitely looks much, much better than the "ms-dos" clone I see in my device
Bro @DaRk-L0rD
Very nice and very clear explained, specially for new ones :good:
Very clever tutorial my friend!! :good:
keep rocking...
Nice guide..
U are featured on portal. Congrats
Sent from my C5303 using XDA Premium 4 mobile app
Congratz bro.your post is on portal.nice job
Great, its work for me! :highfive:

[Q] Flashing Kit Kat 4.4.2 Question

Hello,
I'm on the new side with flashing in such and need to know what file is run in Odin on the PDA line? The videos always show a MD5 file but I don't see one in the zip file I downloaded. How would I go about creating this file type? The remaining steps of the process seen easy.
Thanks, in advance
Bruce
Gladyscoleman said:
You can install a application which played all type of video files like "MX Player"
Click to expand...
Click to collapse
I'm somewhat confused here. Are you saying that I must install some program in order to make a MD5 file. Maybe it would be easier if I just knew what file to run on the PDA line. Is it the BOOT.IMG file? I would like to run this new KK software.
Thank you!
Bruce
tss01 said:
I'm somewhat confused here. Are you saying that I must install some program in order to make a MD5 file. Maybe it would be easier if I just knew what file to run on the PDA line. Is it the BOOT.IMG file? I would like to run this new KK software.
Thank you!
Bruce
Click to expand...
Click to collapse
Okay in this screen shot there's the Odex rom and then the deodexed rom. Last is the firmware.
After you have flashed either one of the Odex or Deodexed roms in Safestrap 3.65 stock slot and remember to wipe the stock slot first.
So after the rom is flashed the don't reboot system but reboot to download mode and open up odin.
Prior to doing all this download the firmware to your computer. Once downloaded extract the the file that shows the as tar. After having odin open click on the PA and put that file in there and let it run its course checking the file. Then when it's done hit start.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here's a pic off my pc of the file that goes in AP slot for Odin.
Odin will run MD5 check on it automatically and say it's valid. Then from there just have you phone in download mode and hooked up to pc and hit start.
not sure if you have seen this tutorial or not.
How To Install Kit Kat 4.4.2 Verizon Note 3 With …: http://youtu.be/zYrquBtAS1o

Convert a Odin flashable Stock Rom into a Zip file ?

Hi there, my question is simple, i would like to know how can i turn our Odin flashable Stock Roms into zip files like all custom roms out there in which i could access to /system/app or /framework and everything to easily have a clean base to hopefully start creating some Custom roms
Thanks everyone
I Don't know How to Do that But i use altenative way To extract any Odin File As below..
Simply Open ".tar" File with 7z File Zipper.
Copy Out Sytem.img File.
then follow this tutorial:
http://forum.xda-developers.com/showthread.php?t=2294909
Done.
Easy and Simple.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
or Unknown file format.
maybe because ilt's a GB rom ?
I did it on windows 8 where i can simply open .img file .... Or i used some commands ..i don't remember right now will try to google it again...
I'll get back when i find it..for win7..
Sent from my GT-S5360 using XDA Free mobile app
EDIT :
http://forum.xda-developers.com/showthread.php?t=705800
used Unaffys.dll technique from this thread
try and report....
OxygeenHD said:
Hi there, my question is simple, i would like to know how can i turn our Odin flashable Stock Roms into zip files like all custom roms out there in which i could access to /system/app or /framework and everything to easily have a clean base to hopefully start creating some Custom roms
Thanks everyone
Click to expand...
Click to collapse
This is very simple
Iv already written a whole guide for this
http://forum.xda-developers.com/showthread.php?p=52457099
Once you have extracted it you can just load it into a working folder in kitchen or do what you like with it
marcussmith2626 said:
This is very simple
Iv already written a whole guide for this
http://forum.xda-developers.com/showthread.php?p=52457099
Once you have extracted it you can just load it into a working folder in kitchen or do what you like with it
Click to expand...
Click to collapse
Thanks mate, problem solved.

Please help me for apgrade or root 8227L_demo

Hello my friends. I have an android hand unit like the one on the link.
https://www.aliexpress.com/item/33035372080.html?spm=a2g0s.9042311.0.0.25a64c4dPPWPHj
I need to do firmware update οr to rout this HU.
Here's a difference in the model's name... The factory information is different from the CPU-Z information.
The seller of course does not help. He forcefully responds to messages and does not understand.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I only ask you 2 things.....Do a firmware upgrade or root the device.
The main problem is the radio application. While I have English as my primary language, the radio only holds Polish and does not have a good signal.
Please Help me
any help?
Look for this instruction in 4pda.ru forum https://4pda.ru/forum/index.php?showtopic=936535&st=11880
Easy! For some reason, it is not described in detail and simply here.
I will try:
- download our scatter file to the computer (laptop);
- Download FlashTool with SP_Driver_v2.0 (firewood) and install on the computer (laptop);
- Download SuperSU.zip and throw in the root of the body;
- Download Android Terminal and install on the body;
- Download also TWRP, this one came up to me, the rest mirrors;
- rename TWRP to recovery.img - this is important!
- we throw recovery.img next to our scatter file;
- open FlashTool, load our scatter file, see that the checkmark is only on recovery! ;
- further according to the scheme as described on the forum - click Download, connect the switched off body and wait for success!
Success will be, of course, if the firewood is already standing and the dad-dad cord is whole.
- Now you need to reboot into recovery. to do this, turn on the body, launch Android Terminal, give the reboot recovery command;
- from TWRP we put zip SuperSU;
- ALL! We reboot and rejoice.
I hope it turned out simple and clear. Good luck!
Click to expand...
Click to collapse
Can I switch to a different luacher or operating system?

Invalid zip format

Hi all,i dont know if this is the right place to post but here goes,i downloded a rom(stock) for a uk galaxy s5 sm-g901f,its this rom here https://samfrew.com/d/py76/
every time twrp says in red invalid zip file format,a lot of roms i have tried to flash do the same,any idea of the cause?,thanks in advance.,if its a duff zip does anyone know where i can get a stock working uk rom for the sm-g901?.
m3vuv said:
Hi all,i dont know if this is the right place to post but here goes,i downloded a rom(stock) for a uk galaxy s5 sm-g901f,its this rom here https://samfrew.com/d/py76/
every time twrp says in red invalid zip file format,a lot of roms i have tried to flash do the same,any idea of the cause?,thanks in advance.,if its a duff zip does anyone know where i can get a stock working uk rom for the sm-g901?.
Click to expand...
Click to collapse
That's how it's supposed to be as long as you don't save the Windows file to an attachable memory device, e.g. a flash drive. This is a special file designed for flashing. You can extract the contents normally. However, I recommend using a ZIP with the contents of 4 files to wipe the phone's partitions.
so how do i find these 4 files you mention,and how do i flash them,is there a guide,with most roms i just download a rom zip and install with twrp,why in this case are there invalid zip messages?,thanks.
this is what i see on unzipping the file on my p
this is what i see when i unzip the file,is it ok as i dont see what to flash with odin!.,there are from what i understnd 4 files i need to flash but i dont see them,can someone explaine why i dont see them?,thanks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
>Here< you have the correct 4-file for Odin.
No,i only had the zip shown,in the end i left it unzipped and selected it with the ap tab in odin,i then flashed it and it sorted itself out,dont know why it isnt mentioned you can do it that way,phones now working great!.

Categories

Resources