Related
As the title suggests, my LG G4 is having some trouble taking the 13B update. I am rooted, but still very stock.
I've narrowed down the problem file and I really just want some advice on it, I can fix it but I need to know what the repercussions of the fix will be...
According to the logs in /cache/fota the problem file is app_process64. Upon inspection, something has modified it and nicely backed it up. By modified I mean it's a 0-Byte dummy file, with a 17 KB original file next to it. Of course the obvious fix for the OTA is to restore the original, which is how I fixed the last OTA I had trouble with, but I need to know what might have done this in the first place, and is it safe to undo using root browser?
I am, as always, fully prepared to lose everything and start over with my Titanium Backups and copy of my /sdcard.
EDIT: Looked closer and it appears to have been modified 9/18/15. The file I fixed for the last OTA to work (install-recovery.sh) is also a 0-Byte dummy with a backup again. Weird.
The only thing I can think of that would mess with the system like that is busybox, and I do see that the dummies are symlinked to ../xbin/daemonsu so maybe I should try unistalling the busybox applets.
EDIT 2: It wasn't busybox, and I'm not willing to unroot to test if it was supersu. I'm just going to go for it. Wish me luck.
EDIT 3: Well I guess it was required to be like that for root. After restoring the backups and rebooting SuperSU reports no binaries and closes. *Sigh* At least the OTA worked. But I guess now I need to find a 13B Stock Rooted image to get my root back, right?
Yep, you cannot be rooted or have modified system files, so solutions would include to find and flash an unrooted system image, or find and flash a rooted, 13B image or what you did - unroot step by step.
You can either find and flash one of the many rooted 13B images or take your current image and use the root injection method to make it rooted, then flash it.
Backup your current rooted image as cheap insurance and leave it on internal storage until you very the rooted image is good.
divineBliss said:
Backup your current rooted image as cheap insurance and leave it on internal storage until you very the rooted image is good.
Click to expand...
Click to collapse
Good advice... but how would I backup the system if I have no root?
Starcruiser322 said:
Good advice... but how would I backup the system if I have no root?
Click to expand...
Click to collapse
Look for the "low effort root" G4 thread that refers to using the "dd" command to dump the system partition to internal storage.
Post a link here when you find it.
EDIT: HERE http://forum.xda-developers.com/g4/orig-development/root-tmo-vzw-intl-variants-soon-root-lg-t3164765
That thread refers to another thread that has the dd command you need to backup your system image.
I live in india. When I update my device via system update, 270 mb file is getting downloaded but while installing it loading TWRP recoveey mode and on rebooting os version is still in 3.2.1. My device is rooted. Is there any specific flashable zips for indian version available or please guide me if any other solution is available.Not able to find specific solution. I dont wont to loss datas for this small incremental update
you have to be unrooted and on stock recovery to flash an OTA.
you can also download signed firmwares from oneplus forums which can be flashed through twrp but i think you'll have to download the whole firmware.
What ^said, if you are rooted you can flash the whole firmware using TWRP, all you need to do is flash SuperSU afterwards.
However, i was rooted when I got the OTA for 3.2.4, it told me I was rooted and made me download the whole firmware, I flashed it in TWRP them SuperSU and I was golden.
k.s.deviate said:
What ^said, if you are rooted you can flash the whole firmware using TWRP, all you need to do is flash SuperSU afterwards.
However, i was rooted when I got the OTA for 3.2.4, it told me I was rooted and made me download the whole firmware, I flashed it in TWRP them SuperSU and I was golden.
Click to expand...
Click to collapse
Thanks for the reply deviate. Will there be any data loss(installed app, songs, videos etc). So that I will follow that method else i need to nandroid backup i guess
jaganmohans said:
Thanks for the reply deviate. Will there be any data loss(installed app, songs, videos etc). So that I will follow that method else i need to nandroid backup i guess
Click to expand...
Click to collapse
No data loss on my end. It treated the flash like an OTA, it booted itself into recovery(TWRP), flashed and rebooted.
Hi all,
I have flashed a pre-rooted 14.6.A.0.368 on my phone with Locked Bootloader, and that is the firmware version on my phone at the moment.
Sony is offering me an OTA update, but I do not want to lose root, so I downloaded FlashFire but the app does not automatically detect the OTA file. I have managed to track the file down to /sdcard/recovery/update_package but FlashFire does not recognise the file as an OTA package (presumably because it doesn't have a file extension). Adding a .zip extension to the file reveals that it is not a ZIP.
What options are available for me to upgrade to the latest official firmware and retain root? (Or lose and regain it?)
kha1rul said:
Hi all,
I have flashed a pre-rooted 14.6.A.0.368 on my phone with Locked Bootloader, and that is the firmware version on my phone at the moment.
Sony is offering me an OTA update, but I do not want to lose root, so I downloaded FlashFire but the app does not automatically detect the OTA file. I have managed to track the file down to /sdcard/recovery/update_package but FlashFire does not recognise the file as an OTA package (presumably because it doesn't have a file extension). Adding a .zip extension to the file reveals that it is not a ZIP.
What options are available for me to upgrade to the latest official firmware and retain root? (Or lose and regain it?)
Click to expand...
Click to collapse
Personally, I would try making a backup, and dirty flash a pre-rooted .236, (if you're trying to save data, if not, just wipe everything and flash 236) If that didn't work, use Titanium to backup, then flash 236, then restore.
levone1 said:
Personally, I would try making a backup, and dirty flash a pre-rooted .236, (if you're trying to save data, if not, just wipe everything and flash 236) If that didn't work, use Titanium to backup, then flash 236, then restore.
Click to expand...
Click to collapse
Lol, I only just realised how stupid my question was! Managed to easily find the 236 PRF here from the same dev @Mirhawk.
Thanks for the help!
I have 5.01 and I want to update to 6.01. I want to wipe it clean. Got factory image from Google site.
What's the difference between the OTA and factory downloads?
I can just flash the factory in TWRP right? Will I lose root, or will TWRP ask if I want to keep root?
I still have boot loader unlocked.I just can't remember for the life of me, haven't done flashing etc in a few years.
Thanks!
So...not a single person can tell me if I lose root, or if TWRP will re-root?
Please?
N7 is no longer supported by Google and there will be no more OTA.
You can't flash the entire factory image directly from TWRP (but it is doable).
When you flash the factory image, you will lose root, TWRP and all your data.
NRT can simplify flashing, rooting and restoring TWRP.
You have unlocked boot loader
Just fastboot flash all as yiu want clean install
After that fastboot flash twrp
After that flash superSU
Done.
No need for any toolkit's, try to stay away of them and do it manually.
Sent from my XT1565 using Tapatalk
k23m said:
N7 is no longer supported by Google and there will be no more OTA.
You can't flash the entire factory image directly from TWRP (but it is doable).
When you flash the factory image, you will lose root, TWRP and all your data.
NRT can simplify flashing, rooting and restoring TWRP.
Click to expand...
Click to collapse
I know it isn't supported anymore. They still have the image's though.
Im just confused... Long time ago when I was really into all this, I just went to Googles page, downloaded the .zip and flashed it in TWRP. Now, the Google page is different and there isn't just 1 anymore. Can I just open the factory image and unzip the update part and flash that in TWRP?
The OTA files are only for updating from version to version correct? Can't go from what I'm on, 5.01 to the current 6.1 right? That's what I talking about and why I'm so confused now
Googles page used to have the OTA zip to update from prior newest to newest(5.0 to 5.01 for example) but than they also had the full OTA so you could do a 4.0 to 5.1 or whatever. Why they change the site? Which one do I use now to go from my 5.01 to current 6.1?
atifsh said:
You have unlocked boot loader
Just fastboot flash all as yiu want clean install
After that fastboot flash twrp
After that flash superSU
Done.
No need for any toolkit's, try to stay away of them and do it manually.
Click to expand...
Click to collapse
That's the pronlem, normally yes I would do that no problem. I'm in the middle of upgrading my PC after had a surge or something and fried my ****.
That's why I want to do it via TWRP like I always did before. Every time TWRP asked if I wanted to retain root after updating also. So what in the world happened in the last year that It doesn't seem like I can now? Like I said above, I can't find a full update OTA on!y the incremental OTAs...
Syntax323 said:
I know it isn't supported anymore. They still have the image's though.
Im just confused... Long time ago when I was really into all this, I just went to Googles page, downloaded the .zip and flashed it in TWRP. Now, the Google page is different and there isn't just 1 anymore. Can I just open the factory image and unzip the update part and flash that in TWRP?
The OTA files are only for updating from version to version correct? Can't go from what I'm on, 5.01 to the current 6.1 right? That's what I talking about and why I'm so confused now
Googles page used to have the OTA zip to update from prior newest to newest(5.0 to 5.01 for example) but than they also had the full OTA so you could do a 4.0 to 5.1 or whatever. Why they change the site? Which one do I use now to go from my 5.01 to current 6.1?
That's the pronlem, normally yes I would do that no problem. I'm in the middle of upgrading my PC after had a surge or something and fried my ****.
That's why I want to do it via TWRP like I always did before. Every time TWRP asked if I wanted to retain root after updating also. So what in the world happened in the last year that It doesn't seem like I can now? Like I said above, I can't find a full update OTA on!y the incremental OTAs...
Click to expand...
Click to collapse
Ok yes that's possible
If you have twrp already
Check development forum and choose one of the ROM.
Download it to your tablet plus gapps
Wipe system, cache and data leaving internal storage.
Flash ROM reboot, come back to twrp and flash gapps. ( Can do ROM + Gapps in one go)
Download SuperSU and flash to get root.
You can't flash stock image / OTA via twrp.
While you're doing all this try the 7.0 ROM its good enough now.
atifsh said:
Ok yes that's possible
If you have twrp already
Check development forum and choose one of the ROM.
Download it to your tablet plus gapps
Wipe system, cache and data leaving internal storage.
Flash ROM reboot, come back to twrp and flash gapps. ( Can do ROM + Gapps in one go)
Download SuperSU and flash to get root.
You can't flash stock image / OTA via twrp.
While you're doing all this try the 7.0 ROM its good enough now.
Click to expand...
Click to collapse
Ahhh what happened??? Why can you not flash them with TWRP???
Thats what I used to do no problem. Not referring to custom roms either.
I am wanting stock rooted.
I used to download the update when one was released from Google's site, put the update.zip in main directory, go in recovery and flash update.zip. TWRP would ask me if I wanted to keep root, I say yes, reboot, update installs... than i'm on the new Android version still rooted.
How is that not possible now?
I am so annoyed... I never had to go through ADB or fastboot to update to latest. I did everything on my N7, it kept root for me and everything.
I feel so dumb right now its ridiculous lol
So than what way can I go about updating my N7 2013 Wifi, which I currently have 5.01. I am Rooted w/ unlocked bootloader.
What is the best way not using ADB, or a PC at all for that matter to update to the latest, 6.01. If possible, how can I keep root, if not i'm not worried about it, i'll just re-root myself.
I appreciate all the responses, sorry if i'm just being an idiot. I just know for a fact I never had to use ADB or my PC to update and keep root...
I'm not familiar with Stock OTA done with twrp (if that's even possible)
Already told you get a custom ROM, get the one mostly stock or if there's a stock ROM in zip format available.
In future you might need to update that bootloader of yours for newer ROMs
Sorry if this sounds harsh why are you so into keeping root as you can't do it again? It's simple as flashing SuperSU. Root method changed after 6 you cant have old methods with 6.
Best bet for you at the moment.
http://forum.xda-developers.com/showthread.php?t=3219148
Sent from my XT1565 using Tapatalk
Hello!
I'm making a zip which contains stock 2ba software untouched, extracted from the original kdz
Includes:
Stock untouched System
Stock Boot (compatible with Magisk)
Stock MM modem
Install instructions:
- Reboot to TWRP
- Wipe data, cache, system
- Install zip
- Reboot
- Enjoy!
Link:
https://drive.google.com/open?id=1GaPfb_WNUW_4-kd_jk_80OWosbjdCLAv
Link updated! Feel free to upload some mirrors if you want
P.D: Sorry for my bad english
Hello. Thank you very much for the file. Installed everything works. At first I could not understand why there was no root, but then installed Magisk and everything turned out.
I am on a completely stock OTA upgrade version of 2BA, I have NO root, my boot loader is still locked,<as I have still not got around to flashing the UsU method, There for I currently do NOT have a custom recovery installed; such as TWRP; which is listed as a requirement(?) in the first step of following process (to flash a rooted Rom.)
I am curious as to how I will be able to complete these steps, or am I missing something? Is this,supposed a way to gain root on 2BA if you are on a non root version like me, or is this suppose to be a update of your on a previous version which you already have rooted, or is this just a different way to root AFTER you have had the UsU boot loader unlocked?
robles4242 said:
I am on a completely stock OTA upgrade version of 2BA, I have NO root, my boot loader is still locked,<as I have still not got around to flashing the UsU method, There for I currently do NOT have a custom recovery installed; such as TWRP; which is listed as a requirement(?) in the first step of following process (to flash a rooted Rom.)
I am curious as to how I will be able to complete these steps, or am I missing something? Is this,supposed a way to gain root on 2BA if you are on a non root version like me, or is this suppose to be a update of your on a previous version which you already have rooted, or is this just a different way to root AFTER you have had the UsU bootloader unlocked?
Click to expand...
Click to collapse
the only way to root your phone on 2BA is with UsU.
so after you do UsU you can flash TWRP and from there you can flash magisk for root. you don't have to flash this rom for root
here's a side note. when you do the UsU unlock do not flash the baseband package. it gave me problems with my SIM not being detected
ANDROID2468 said:
the only way to root your phone on 2BA is with UsU.
so after you do UsU you can flash TWRP and from there you can flash magisk for root. you don't have to flash this rom for root
here's a side note. when you do the UsU unlock do not flash the baseband package. it gave me problems with my SIM not being detected
Click to expand...
Click to collapse
I tested downgrading from Lineage 15.1 and this ROM Works and TWRP works too! Thanks!