Hi,
I have a note 3 still on official 4.4.2 but rooted. Since a few days my battery starts draining fast. Maybe it's time to update. Or is it not profitable for such an old device to upgrade to whatever the latest version is?
What is the latest official version for the note 3? And what is the best way to get that? Just unroot and use the update from the system?
You could use a different kernel or try a custom ROM.
Well a few years ago I was change roms constantly on different phones. That was 3 years ago. Now I am not into roms anymore just need a stable phone. Besides I have really no clue how the room installing these days work. Just install from zip in recovery?
Can I do that safe from 4.4.2?
efjbdejong said:
Well a few years ago I was change roms constantly on different phones. That was 3 years ago. Now I am not into roms anymore just need a stable phone. Besides I have really no clue how the room installing these days work. Just install from zip in recovery?
Can I do that safe from 4.4.2?
Click to expand...
Click to collapse
Yes, but you would have to update your bootloader and modem through Odin first for Lollipop and Marshmallow based ROMs to work and boot on your phone.
Running Kitkat bootloader won't make your phone bootup on Lollipop and or Marshmallow based ROMs.
You need a custom recovery of course before flashing a ROM ; TWRP , CWM or PhilZ
(TWRP Method)
Factory Reset your Phone.
Clear Dalvik Cache, System, Cache, Data.
Do not select Internal Storage and Micro SD card, if you do, storage on both internal and external storage would be erased.
I recommend using TWRP 2.8.7.0 as the latest version which is the 3.0.2.0 does not support Aroma Installer.
After you have Factory reset and cleared dalvik cache, system, cache and data.
Now do this
1) Boot into recovery
2) Flash ROM
Done.
With SuperSU ;
1) Boot into recovery
2) Flash ROM
3) Flash SuperSU
LitDesign said:
Yes, but you would have to update your bootloader and modem through Odin first for Lollipop and Marshmallow based ROMs to work and boot on your phone.
Running Kitkat bootloader won't make your phone bootup on Lollipop and or Marshmallow based ROMs.
You need a custom recovery of course before flashing a ROM ; TWRP , CWM or PhilZ
(TWRP Method)
Factory Reset your Phone.
Clear Dalvik Cache, System, Cache, Data.
Do not select Internal Storage and Micro SD card, if you do, storage on both internal and external storage would be erased.
I recommend using TWRP 2.8.7.0 as the latest version which is the 3.0.2.0 does not support Aroma Installer.
After you have Factory reset and cleared dalvik cache, system, cache and data.
Now do this
1) Boot into recovery
2) Flash ROM
Done.
With SuperSU ;
1) Boot into recovery
2) Flash ROM
3) Flash SuperSU
Click to expand...
Click to collapse
OK the so I have to flash 2 times the same rom? Which is the best rom that comes closed to an official untouched one?
I don't understand how to flash the bootloader. Is that installing from recovery? Using install from zip?
For installing bootloader and modem you have to flash with odin.
If you search google then you can find the method how to do it and for bootloader and modem search any latest version of custom rom.you will find the links.
Sent from my SM-G935F using Tapatalk
OK so first flash bootloader and modem in Odin. So my rom is still 4.4.2. After that.
Then flash a recovery. Still phone is on 4.4.2
Then flash a rom. ....
Anyone?
efjbdejong said:
Anyone?
Click to expand...
Click to collapse
In my opinion i would say flash lollipop firmware first before you should root it all by odin
efjbdejong said:
OK so first flash bootloader and modem in Odin. So my rom is still 4.4.2. After that.
Then flash a recovery. Still phone is on 4.4.2
Then flash a rom. ....
Click to expand...
Click to collapse
Flash bootloader and modem on Odin, it doesn't matter whether you are on Kitkat.
SM-N9005 bootloader and modem :
https://idlekernel.com/flash-tools/firmware/hlte_SM-N9005XX/N9005XXUGPOK2/
Steps before installing a ROM:
1) Download both bootloader and modem from the link given above.
2) Switch off your Phone
3) Boot phone into Download mode by pressing home button and volume down button
4) Connect phone to computer
5) Open up Odin
6) Click on BL and select BL_N9005XXUGPOK2_BOOTLOADER
7) Click on CP and select CP_N9005XXUGPOK2_MODEM
8) Click Start
-----------------------------------------------
Once done, here's how to install a ROM
You have to download a ROM and STORE IT INTO YOUR PHONE before doing this
1) Download TWRP 2.8.7.0
2) Connect phone to computer
3) Open up Odin
4) Click AP, browse to where you have stored the TWRP file/zip and click on it
5) Press Start
6) Switch off Phone and boot into recovery mode by pressing ; Power button, volume up, home button at the same time. Hold it till you feel the phone vibrates twice.
7) Wipe Dalvik Cache, System, Cache, Data and FACTORY RESET.
DO NOT SELECT INTERNAL STORAGE AND MICRO SD CARD.
8) Flash ROM
9) Reboot
-----------------------------------------------
Installing a ROM depends, if it doesnt have GAPPS you have to download it.
If it doesn't comes in with SUPERSU you have to download it. Example ;
Flash ROM
Flash GAPPS
Flash SUPERSU
efjbdejong said:
OK so first flash bootloader and modem in Odin. So my rom is still 4.4.2. After that.
Then flash a recovery. Still phone is on 4.4.2
Then flash a rom. ....
Click to expand...
Click to collapse
Don't forget to backup ur whole nandroid before do anything n save it to ur drive computer, trust me
U can use twrp/cwm or flashfire
Stay on 4.4.2, reset to factory, backup first, your battery will be even worst on Lillipop or Marshmellow.
Get a new battery
Just update to 5.0.1, if you still have issues, flash a rom. Also this should've been posted in the Q&A section, or a search would've worked.
Ok I updated now to lollipop thru kies. All went well. Thinking about upgrading to Marshmallow.
Related
Hello,
1st.: while starting this new thread, I looked through the automaticly generated similar threads and found non that was suiting my problem.
Last night I unlocked the bootloader of my wifes Xperia L (C2105) and got stuck into an boot loop. After this I had the need to flash an original rom (4.1.2). This results in an total wipe of the phone :crying:
Now the phone has an unlocked bootloader and an old Android Version. I want to install the pacman rom 4.4.4. I know i have to use cwm or twrp to do this, but do I need to root the device?
I'm a little bit confused. I thought installing the *.img-File from TWRP, with the folloing command, will get me the recovery option an with this option
Code:
c:\fastboot\Fastboot.exe flash boot C:\fastboot\openrecovery-twrp-2.8.4.0-taoshan.img
Can anyone help me out?
My wife is not upset, but with the boot loop from last night in my mind, I'm quit unsure what to do next.
many thanks in advanced
Felix
you need to root the device and use flashtool by androxyde(Easier and user friendly), first download the rom and put it in internal/external memory and then install thunderzap 4.12 by select bootkk.img and install it in fastboot mode in flashtool, now enter the recovery go into wipe and format options and choose clean to install a new ROM and then flash the pac rom and reboot
Root isn't necessary.
Download PAC ROM, Take boot.img inside the zip.
Flash boot.img via fastboot.
Boot into recovery, wipe data / factory reset.
Flash ROM and GApps.
That's it
NOP, you dont need to root to install a custom rom
felix leiter said:
Hello,
1st.: while starting this new thread, I looked through the automaticly generated similar threads and found non that was suiting my problem.
Last night I unlocked the bootloader of my wifes Xperia L (C2105) and got stuck into an boot loop. After this I had the need to flash an original rom (4.1.2). This results in an total wipe of the phone :crying:
Now the phone has an unlocked bootloader and an old Android Version. I want to install the pacman rom 4.4.4. I know i have to use cwm or twrp to do this, but do I need to root the device?
I'm a little bit confused. I thought installing the *.img-File from TWRP, with the folloing command, will get me the recovery option an with this option
Code:
c:\fastboot\Fastboot.exe flash boot C:\fastboot\openrecovery-twrp-2.8.4.0-taoshan.img
Can anyone help me out?
My wife is not upset, but with the boot loop from last night in my mind, I'm quit unsure what to do next.
many thanks in advanced
Felix
Click to expand...
Click to collapse
you can download the rom, extract it and keep, boot.img file, in fastboot folder, and also keep the downloaded rom zip file in sd card for later use.
than you can use use fastboot commands to flash those boot.img which will install the recovery into your phone, than .
use reboot command in fastboot, it will reboot your phone, take out your cable, using volume up key go to recovery,
there clear all the cache and delvik cache file, then, install your custom rom by selecting from your sd card, it will take a bit of time for first time, so don't worry,
than you are done,
Hi guys, I flashed the latest factory image, then flashed the latest TWRP but can access it 1 out of 10 tries.. What am I doing wrong? Is it a faulty replacement phone? Never had this issue with my other nexus 5 (same recovery file but lollipop and not marshmallow) and now I have this problem.. Tried to riflashato the factory image 5 times, boot to recovery without installing but nothing changed.. Thanks in advance!
If you just just flashed TWRP, then booted into Android, then reboot into recovery.. Android will overwrite TWRP with the stock recovery.
a hammerhead wrote this.
beekay201 said:
If you just just flashed TWRP, then booted into Android, then reboot into recovery.. Android will overwrite TWRP with the stock recovery.
a hammerhead wrote this.
Click to expand...
Click to collapse
Never happened before.. How can I prevent this? Sometimes I can't even boot to twrp after flashing and not rebooting to android..
carlese said:
Never happened before.. How can I prevent this? Sometimes I can't even boot to twrp after flashing and not rebooting to android..
Click to expand...
Click to collapse
do you finde fix
slavisa037 said:
do you finde fix
Click to expand...
Click to collapse
Downloaded twrp again and used flashify..
carlese said:
Downloaded twrp again and used flashify..
Click to expand...
Click to collapse
This is not really a fix, since to use Flashify one needs to be rooted already.
What I did to work around this was reflash LMY48M. After reflashing that, fastboot correctly boots/flashes twrp.
I've read that the issue arises when trying to boot and/or flash twrp with MRA56K installed, AND the device is connected to USB.
Ok, i got some of problems here, i tryied to root my Nexus 5 with other Android 6 version, it was the first one launched after development version. Now i have MRA58K version.
Problem 1 : I have no stock recovery, i first rooted original version of Marshmallow with CWM and i soft bricked, so no backup, no factory images. Installed MRA58K and there is no stock recovery, thanks god i can use bootloader. I can install TWRP, but i want to install the old recovery, Tell me how to do it.
Problem 2: Actual version of Marshmallow ask me to install a patch, but when installing i got stuck in TWRP, it cant install it (yes, android was rooted, but i installed twrp before root, and the update were before it.)
Thanks.
You can flash a stock ROM using the flash-all file in a command prompt. This will install stock ROM with stock recovery. Make sure the phone has an unlocked bootloader and you should be fine.
Official OTA updates cannot be installed with a custom recovery.
I tryied 3 times to install OS with flash-all. All the problems start after i installed CWM and try to root the phone, but after that, i used a stock rom image that was different build than actually one.
I`m not sure yet who`s fault is.
Any ideas?
I don't recommend using CWM, only TWRP.
After you flash TWRP always boot into it, and since you're flashing a custom recovery I'm going to assume you don't care about OTA's, swipe to allow system to be mounted. TWRP will automatically patch the system to survive android trying to overwrite it. Reboot into TWRP a second time to be safe. TWRP should stick from now on until you flash over it or restore stock system partition.
Yes, now i have TWRP as recovery, but i want to replace it with stock recovery.
Problem is, when i upload stock recovery and try to boot in recovery mode, i got the green dead android with red triangle.
But after TWRP uploading and booting in recovery mode, TWRP is there..
I really don`t know what`s wrong.
Flash stock recovery, select recovery from the fastboot menu, hold the power button and press volume up button.
Hello everyone.
I had a problem flashing TWRP on my Google Nexus 5, or better the problem comes when I try to enter the recovery.
I followed this pattern from stock android 6.0.1 with august security patch:
1) unlock bootloader
2) downloaded lastest TWRP (3.0.2 hammerhead) recovery from the official website
3) flash it with "fastboot flash recovery recovery.img"
Until this point everything's alright but then when I unplug my phone from the laptop and click on enter recovery something strange happens.
I can see the TWRP boot image but as soon as I go in I see tons of errors related to "cannot mount ..." and some partitions name like /data, /cache, and then starts the bootloop without let me any chance to do something. Sorry but I can't see every error beacuse this happen too fast.
Any idea on what is going on?
I've tried the TWRP 3.0.1 but is the same shuold I go down or maybe I have to change it beacuse of compatibily issues with the monthly patches?
Thank you for your help, I hope I explained my problem clearly.
After unlocking the bootloader, phone wipe all data? Did you reboot after unlocking bootloader?
audit13 said:
After unlocking the bootloader, phone wipe all data? Did you reboot after unlocking bootloader?
Click to expand...
Click to collapse
No I've just unlocked and then tryied to flash the recovery without wipe.
But data is already wiped by unlocking the bootloader isn't it?
Anyway thanks for your reply as soon as I can I'll try what you have written.
Yes, the data should be automatically wiped. Try TWRP 2.87. If the phone still doesn't boot into TWRP, reflash stock recovery, flash userdata.img, immediately boot into stock recovery using the button combo without rebooting, perform a factory wipe, reboot into fastboot, and flash TWRP again.
audit13 said:
Yes, the data should be automatically wiped. Try TWRP 2.87. If the phone still doesn't boot into TWRP, reflash stock recovery, flash userdata.img, immediately boot into stock recovery using the button combo without rebooting, perform a factory wipe, reboot into fastboot, and flash TWRP again.
Click to expand...
Click to collapse
Thank you so much for telling me to flash the 2.8.7, i've choosen the 2.8.7.1 without success (it did't flash i don't know why) but then after another wipe all I've flashed the 2.8.7.0 and it seems to work.
The only thing I would like to ask now is: I'm going to flash superSU and elementalX over stock AOSP (I don't want custom ROM for now) and can this recovery cause problem because of it is not the last update?
Thank you again for the answer!
I have not tried 2.87 with Elemental X. The only way to determine whether it will work would be to try it. I recommend creating a nandroid backup before flashing Elemental so you can restore if something goes wrong.
TWRP Restore problem
Hi, I have an issue with the resotre of TWRP...
Here's what I did:
-Downloaded the latest OTA image https://developers.google.com/android/nexus/ota
-Downloaded latest SuperSU http://download.chainfire.eu/supersu-stable
-Downloaded latest ElementalX http://elementalx.org/devices/nexus-5/
-reboot to TWRP
Choose OTA, then SuperSU, then ElementalX
Luunch the restore..
And my screen is "blocked" from 5 hours on Install Zip 1 of 3.
"blocked" means doesn't move to the Zip2 but the clock is moving... the screen is locking itself after few seconds and I am able to unlock it...
Any idea how to exit properly ?
I have rebooted...deleted all my music... (I think that the issue may come from insufficient disk space) and relaunched...
Will see...
download Nexus Root Toolkit-type in google Nexus Root Toolkit - and watch from yuotoube how it work's
good luck
hunter-dz said:
download Nexus Root Toolkit-type in google Nexus Root Toolkit - and watch from yuotoube how it work's
good luck
Click to expand...
Click to collapse
My N5 was already rooted... and it's the second time that I update the OTA using directly TWRP... and for the August patch it has worked fine.
I don't know what's happen now...
kevtuning said:
My N5 was already rooted... and it's the second time that I update the OTA using directly TWRP... and for the August patch it has worked fine.
I don't know what's happen now...
Click to expand...
Click to collapse
Download thé nrt and i Will teach how to root ur n5
And type in Google nrt n5 xda
audit13 said:
I have not tried 2.87 with Elemental X. The only way to determine whether it will work would be to try it. I recommend creating a nandroid backup before flashing Elemental so you can restore if something goes wrong.
Click to expand...
Click to collapse
Now I can confirm that I was able to flash the lastest SuperSU and ElementalX with TWRP 2.8.7.0 without any problem, so thank you again for your help.
kevtuning said:
Hi, I have an issue with the resotre of TWRP...
Here's what I did:
-Downloaded the latest OTA image https://developers.google.com/android/nexus/ota
-Downloaded latest SuperSU http://download.chainfire.eu/supersu-stable
-Downloaded latest ElementalX http://elementalx.org/devices/nexus-5/
-reboot to TWRP
Choose OTA, then SuperSU, then ElementalX
Luunch the restore..
And my screen is "blocked" from 5 hours on Install Zip 1 of 3.
"blocked" means doesn't move to the Zip2 but the clock is moving... the screen is locking itself after few seconds and I am able to unlock it...
Any idea how to exit properly ?
Click to expand...
Click to collapse
Hi, I've have successfully installed the last OTA update but not with zip file, instead I downloaded the factory image and flashed with fastboot boot.img and system.img (also vendor.img if you have one) then rebooted into TWRP and installed the lastest ElementalX and SuperSU.
I'm not sure but I think that factory image zip file are not installable via recovery but only with the flash-all that comes with them. This script use fastboot to flash everything you need of the factory image
You can find this procedure on the ElementalX website, here is the link hope it can help out: http://elementalx.org/how-to-install-android-monthly-security-updates/
Finally... I installed CM13 and ElementalX... in some minutes ...
I suppose the the problem was in my zip file...
Those who are looking for stock 19s ROM, the g drive link is here
https://drive.google.com/uc?id=0BwU--kMdOmZiREUxUXR2eTgwX2s&export=download
How to flash?
Put the file downloaded in root directory
Boot into fastboot mode
Flash stock recovery
Now boot into TWRP recovery using following command
fastboot boot TWRP.img
Wipe Cache, dalvik cache and system.
Reboot to recovery
Now you will be in stock recovery
Update from here.
First boot might take time.
Is it possible to flash this with twrp?
Sent from my X520 using Tapatalk
lak2004mi said:
Is it possible to flash this with twrp?
Sent from my X520 using Tapatalk
Click to expand...
Click to collapse
No only via stock recovery
djdeve said:
Those who are looking for stock 19s ROM, the g drive link is here
https://drive.google.com/uc?id=0BwU--kMdOmZiREUxUXR2eTgwX2s&export=download
How to flash?
Put the file downloaded in root directory
Boot into fastboot mode
Flash stock recovery
Now boot into TWRP recovery using following command
fastboot boot TWRP.img
Wipe Cache, dalvik cache and system.
Reboot to recovery
Now you will be in stock recovery
Update from here.
First boot might take time.
Click to expand...
Click to collapse
if i flash stock recovery thn if i try to boot into recovery thn phone will open in stock recovery only thn hw cn i flash?
cjcool_123 said:
if i flash stock recovery thn if i try to boot into recovery thn phone will open in stock recovery only thn hw cn i flash?
Click to expand...
Click to collapse
True..
Use Chinese twrp and flash .. Works for me and many others .. Ensure to flash no verity zip post flashing
Or do changes in updater script and repack the zip
cjcool_123 said:
if i flash stock recovery thn if i try to boot into recovery thn phone will open in stock recovery only thn hw cn i flash?
Click to expand...
Click to collapse
After flashing stock recovery don't reboot you phone in stock recovery, bcoz you can't wipe system in stock recovery to do so ,
Reboot your phone into fastboot mode by pressing vol down and power button and connect your phone to PC and from CMD prompt run the following command
Fastboot boot twrp.img
Actually my phone was bootlooped when i tried installing twrp img of chinese version and im unable to flash ROM. Before this i used latest twrp and flashed RR and lineage OS. Volte worked fine in both the roms and in stock rom too. After this happened i installed AIO tool kit and flashed chinese twrp again. Then done flashing with lineage OS there the volte is broken. I thought it would be some software error and i tried flashing RR and found the same broken volte! Can anyone help me out in enabling volte in my le eco le2 (s2) x526.
Bootloader and Modem S2
Try flashing 19s bootloader and modem from here
https://host.llamasweet.tech/codeworkx/lineage/s2/
Thankx @codeworkx for this.
one more link for stock 19s rom
https://drive.google.com/file/d/1BgXejpbVug4KR5Mc6-eFWom6gVR96UhK/view?usp=drivesdk
custom to stock rom
if we are in custom rom and we have to go back for stock rom with stock recovery will it work by just copying the zip file into the phone and rename into update.zip
And then clicking on update will it work Guys ??
error while installing This package is for "le_s2_ww" devices;this is a "s2'.
bootloop
I tried to install the stock ROM provided by 2 ways :-
1) booting into previous version of twrp using fastboot commands and then the regular install after wiping required files.
2) Renaming it to update.zip and placing it into sdcard then via stock recovery.
it gets installed every time without any error but gets into boot loop with both steps.
Is there any way to get completely stock again ?
akakumar said:
I tried to install the stock ROM provided by 2 ways :-
1) booting into previous version of twrp using fastboot commands and then the regular install after wiping required files.
2) Renaming it to update.zip and placing it into sdcard then via stock recovery.
it gets installed every time without any error but gets into boot loop with both steps.
Is there any way to get completely stock again ?
Click to expand...
Click to collapse
Flash twrp via following toolkit .beacause only this recovery works to flash stock roms
https://forum.xda-developers.com/devdb/project/?id=16391#downloads
Open twrp do factory reset and wipe data , cache , dalvik cache . Dont wipe system . Then flash the rom . Dont flash magisk or any root app . Reboot . You got a notification from twrp that replace stock recovery . Dont replace recovery . Once rom boot setup everything .now bootloader is locked and twrp replaced via stock recovery .
Deepjashan said:
Flash twrp via following toolkit .beacause only this recovery works to flash stock roms
https://forum.xda-developers.com/devdb/project/?id=16391#downloads
Open twrp do factory reset and wipe data , cache , dalvik cache . Dont wipe system . Then flash the rom . Dont flash magisk or any root app . Reboot . You got a notification from twrp that replace stock recovery . Dont replace recovery . Once rom boot setup everything .now bootloader is locked and twrp replaced via stock recovery .
Click to expand...
Click to collapse
Hard Luck !!
its been more than half an hour and still at the same boot loop. the installation was successful as well , screenshot attached below.
PS: Ignore the cracked screen.
akakumar said:
Hard Luck !!
its been more than half an hour and still at the same boot loop. the installation was successful as well , screenshot attached below.
PS: Ignore the cracked screen.
Click to expand...
Click to collapse
I use this mathod everytime when i need stock rom. It works for me
my phone caps my speed to 4 Mbps after few minutes. It's not a isp or router based problem.
Actually I faced this problem after I flashed back to Eui 19s from 21s.
akakumar said:
I tried to install the stock ROM provided by 2 ways :-
1) booting into previous version of twrp using fastboot commands and then the regular install after wiping required files.
2) Renaming it to update.zip and placing it into sdcard then via stock recovery.
it gets installed every time without any error but gets into boot loop with both steps.
Is there any way to get completely stock again ?
Click to expand...
Click to collapse
Deepjashan said:
Flash twrp via following toolkit .beacause only this recovery works to flash stock roms
https://forum.xda-developers.com/devdb/project/?id=16391#downloads
Open twrp do factory reset and wipe data , cache , dalvik cache . Dont wipe system . Then flash the rom . Dont flash magisk or any root app . Reboot . You got a notification from twrp that replace stock recovery . Dont replace recovery . Once rom boot setup everything .now bootloader is locked and twrp replaced via stock recovery .
Click to expand...
Click to collapse
Alright I found a way ...I read it in some other discussion on le2 .
The step by step procedure to get stock back is listed :-
1) As usual reboot to recovery
2) wipe cache, dalvik, system and data
3)install the stock ROM
Now when you reboot you will get stuck into boot loop at the leeco logo.... wait for 5 mins and test your luck if it works otherwise follow next
4) go back to recovery by pressing vol up and power button.
5) install Andromodx kernel
Reboot and voila you have it running.
Also you can flash the stock recovery and lock OEM by fastboot commands
The only issues I have right now are two
1) the display scale is set to zoom and even if I set it to standard it reboots but doesn't change. I scaled down pixel density by adb commands but still its weird at some places
2) it crashes a lot ... sometimes when I press home or multitasking button it just goes black and EUI reboots. I also did a factory reset but no use.
If anyone can help me in that ....:laugh:
flash
djdeve said:
No only via stock recovery
Click to expand...
Click to collapse
give complted process for flash stock rom to letv le 2 x526
Error while flashing
Error while installing This package is for "le_s2_ww" devices;this is a "s2'.
Can you do something about it ?
akakumar said:
Hard Luck !!
its been more than half an hour and still at the same boot loop. the installation was successful as well , screenshot attached below.
PS: Ignore the cracked screen.
Click to expand...
Click to collapse
Just figured this out with the help of another post on a separate thread.
It seems that the latest twrp for x526 (v 3.2.1.0) has a bug such that when you format the data partition - it writes a wrong partition size.
This causes the boot loop with the stock ROM (other custom ROMs seems to be happy living with the error).
An associated side effect of the wrong partition size is that you wont be able to encrypt your phone on the custom ROM (the encryption process simply causes the phone to reboot without doing anything).
To resolve this, downgrade twrp to v 3.0.2. Then format cache/system/data.
Then mount the phone to your PC (enable MTP) and copy the stock ROM of your choice.
You need to update the "updater-script" and comment out the version check - and then you can install the stock ROM using twrp.
This worked for me.
Hope it works for you as well.
PS: Once you install the stock ROM, the data partition gets encrypted and first boot takes a lot of time.
Be patient and also know that twrp will no longer be able to decrypt your data partition (I think either twrp is broken OR the stock ROM uses some other default password to encrypt the data partition and hence decryption fails. I have tried using my screen lock PIN and it doesn't work and "default_password" does not work either.
All the best.
---------- Post added at 06:56 AM ---------- Previous post was at 06:52 AM ----------
satyamsahu366 said:
Error while installing This package is for "le_s2_ww" devices;this is a "s2'.
Can you do something about it ?
Click to expand...
Click to collapse
Open the update.zip file on your PC and navigate to META-INF/com/google/android.
You will find a file by the name updater-script.
Use your favourite text editor to open this file and then find the following line:
get_device_compatible("le_s2_ww") == "OK" || abort("This package is for "le_s2_ww" devices; this is a "" + getprop("ro.product.device") + "".");
Insert a # at the beginning of the line to get the installer to ignore the version mismatch and you should be good to go.
It should now look like this:
#get_device_compatible("le_s2_ww") == "OK" || abort("This package is for "le_s2_ww" devices; this is a "" + getprop("ro.product.device") + "".");
Now save this file and update the zip file / create a zip file again and then proceed with the installation as usual.
It's an old device. I got it for free since it was just laying around in friend's home. Worked OK after factory reset with stock ROM. Wanted to upgrade Android.
Previously successfully flashed TWRP from andi34.github.io/recoveries_tab2.html for Samsung Galaxy Tab 2 GT-P3100 using heimdall on Linux. Could start the TWRP recovery. Then I followed FAQ andi34.github.io/faq.html
backup all important files (e.g. contacts) and store them on your MicroSD-Card or on your PC/Laptop
copy the rom and gapps you like to install to your MicroSD-Card (make sure Gapps match the Android version of the Rom!)
boot into your custom recovery
make a backup of your current running rom and store it on your MicroSD-Card or on your PC/Laptop (some of the following are named slight different depending on the recovery you use)
wipe cache
wipe dalvic cache
wipe/format system
wipe/format data
reboot your recovery once!
Click to expand...
Click to collapse
After reboot, I could no longer start recovery.
Perhaps I should not have formatted system?
Perhaps I should not have rebooted before flashing the ROM zip?
I can still enter download (ODIN) mode. Re-flashed the TWRP recovery. Rebooted. Still cannot enter TWRP. But can still enter download mode.
What do you recommend now?
Can I flash LinageOS ROM zip from andi34.github.io/roms_tab2_lineage.html using heimdall? But heimdall does not really support zip files? It's harder than that? Any guide for that?
Or do I have to re-flash the stock ROM? Can I flash the stock ROM using heimdall?
Get the stock rom for the device then use ODIN to flash the stock rom back, the stock rom should fix it as it also flashes the stock recovery back.
Did you reboot System instead of Recovery? What TWRP version was this? I also thought of scenarios like this.
Can you still boot to recovery (twrp)