[MOD]Unlocking G-Slate Bootloader (3.1) - Upgrading, Modifying and Unlocking

The lack of a proper forum has made it very hard to find much information regarding the LG G-Slate. I am posting this for those who are having trouble finding the very useful information buried within these forums. This is a very significant mod/hack for the G-Slate and I would like to thank ChiefzReloaded for the amazing work he has put into it!
This was taken directly from our G-Slate project page. If you are unfamiliar with "Fastboot" I recommend reading up on it before proceeding.
In no way am I responsible for your device. This process below assumes that you know what you are doing, so if you do not, PLEASE AVOID THIS!
Unlocking the bootloader
Copy bootloader.zip to /sdcard/
Download Clockwork Recovery 5.5.0.2 (Attached Below)
Reset to Fastboot mode and boot Clockwork Recovery 5.5.0.2.
Code:
fastboot boot recovery.img
Install the bootloader.zip:
Install ZIP from sdcard
Choose ZIP from sdcard
bootloader.zip
Yes - Install update.zip
Let it flash, it will take about 60 seconds, then:
Go Back
Go Back
Reboot System Now
The system will reboot to a "Downloading Now" screen. Let it finish, and it will reboot.
All done!
Click to expand...
Click to collapse
Instructions courtesy of dasunsrule32 from G-Slate IRC.
You now have the ability to flash custom kernels/ROMs/mods/hacks again!
If you are interested in more info, please visit our Project Page!
bootloader.zip
DOWNLOAD
CWR 5.5.0.2
DOWNLOAD

Thank you...so much! LG can go suck a big one.
...
Like STDs and all...I strongly dislike that company.

stuck at lg boot screen after reboot

There's a new OTA update being sent out to G-Slates. Mine downloaded it today, it says:
System SW update to v10p Downloaded and Verified 13.3MB
This important system software update includes security fixes, USB game controller support and a fix for an Android Market download problem.
Click to expand...
Click to collapse
I have not applied it yet. Given they locked the bootloader last time, I'm very leery about what they're securing in this latest update. It is NOT an ICS update. From discussion in a T-Mobile forum thread, I know it does change the radio amoung other things.
But I have not unlocked my bootloader, I am rooted though. I'm wondering:
If I take this OTA update before unlocking the bootloader, will the unlocking process still work for me?
If I unlock the bootloader and then try to install this OTA update, will the update even work or will it try and re-lock my bootloader after being unlocked? (I know I can hide the fact I'm rooted.)
How could we get the benefits of the OTA update without installing the one provided? I mean, might someone turn it into a flashable zip that could be installed via Clockwork Mod Recovery?
If I have to choose, I'll probably unlock the bootloader without ever trying to install the update. But given my current state I'm trying to weigh the options and have the best of both worlds, the update and an unlocked bootloader .
If someone wants a copy of the OTA for investigation, just let me know how to pull it and I'll do it.

Unlocked the bootloader tonight, using the newer version of CWM from here.
Over on that forum, someone plans to make a safe flashable zip of the OTA. The one that came OTA will relock things if used. You can remove the downloaded OTA file by going to /cache and remove the .zip from there that was downloaded. Since they have a dedicated G-Slate forum, it seems more development for our device is going on there, so that's the forum to check out.
The nag screen will continue, but if you stop "LGESystemService" from autostarting, the nags won't be so frequent, just after reboots. I'm not sure how to totally get rid of the nag messages totally yet. I'm hoping maybe after flashing the safter version once one is made that the nags will go away.

Related

Troubleshooting Guide & FAQ: Updating stock ROM

Hi guys,
I saw many threads popping up in the Q & A section about applying updates on a stock rooted ROM. So i though it would be helpul if i shared my experiences and also clear some misconceptions.
This Thread mainly applies for those looking to upgrade from 2.09 to the recent 2.22/2.24 ! It may or may not work for any previous updates.
Q) My phone is rooted, Bootloader unlocked and CWM installed. How do i update to 2.22?
Ans.)
1) Backup your root using Voodoo OTA Rootkeeper.
2) Flash the stock recovery for your area using the All in one kit (or you can use the command line if you're familiar).
3) Download the update, click install, sit back and enjoy !
ITS that simple.
Q) What do i do if i cant find stock recovery for my latest version?
Ans) The recovery does not seem to have changed from version 1.56 to 2.09. You can flash the older recovery provided, you've checked your region is correct.
Q) Do i need to re-lock my bootloader for the update to take place?
Ans) NO! You don't need to re-lock anything. It updates perfectly fine with unlocked bootloader. Just flash Stock recovery !
Q) Do i lose my apps/settings/cache?
Ans) Since its an OTA from HTC, you retain everyhting!
Q) Will i lose my root if i update?
Ans) You will! Thats exactly why you're advised to backup your root.
Q) My updates fails with a red triangle and exclamation mark, what did i do wrong?
Ans) You need to understand that during the update, several stock apps are patched. If any of these STOCK APPS ( the ones that came with ya new phone) are uninstalled/frozen/meddled with, an error will pop up.
Q) How do i identify the cause of the error?
Ans) When the red triangle pops up, press the Volume UP, Volume DOWN and LOCK keys at the same time for a second and release. You should see the cause of your error. Try to restore/unfreeze the app thats causing the error. If that is not possible, try posting your error here to see if experts here can help.
All the stock recoveries can be found on this forum. If however u've a doubt, i'd be happy to help.
This guide is not perfect and may contain errors ( i've tried to make it complete to the best of my knowledge). I'm open to suggestions and questions
shubhamsizzles said:
Hi guys,
I saw many threads popping up in the Q & A section about applying updates on a stock rooted ROM. So i though it would be helpul if i shared my experiences and also clear some misconceptions.
This Thread mainly applies for those looking to upgrade from 2.09 to the recent 2.22/2.24 ! It may or may not work for any previous updates.
Q) My phone is rooted, Bootloader unlocked and CWM installed. How do i update to 2.22?
Ans.)
1) Backup your root using Voodoo OTA Rootkeeper.
2) Flash the stock recovery for your area using the All in one kit (or you can use the command line if you're familiar).
3) Download the update, click install, sit back and enjoy !
ITS that simple.
Q) What do i do if i cant find stock recovery for my latest version?
Ans) The recovery does not seem to have changed from version 1.56 to 2.09. You can flash the older recovery provided, you've checked your region is correct.
Q) Do i need to re-lock my bootloader for the update to take place?
Ans) NO! You don't need to re-lock anything. It updates perfectly fine with unlocked bootloader. Just flash Stock recovery !
Q) Do i lose my apps/settings/cache?
Ans) Since its an OTA from HTC, you retain everyhting!
Q) Will i lose my root if i update?
Ans) You will! Thats exactly why you're advised to backup your root.
Q) My updates fails with a red triangle and exclamation mark, what did i do wrong?
Ans) You need to understand that during the update, several stock apps are patched. If any of these STOCK APPS ( the ones that came with ya new phone) are uninstalled/frozen/meddled with, an error will pop up.
Q) How do i identify the cause of the error?
Ans) When the red triangle pops up, press the Volume UP, Volume DOWN and LOCK keys at the same time for a second and release. You should see the cause of your error. Try to restore/unfreeze the app thats causing the error. If that is not possible, try posting your error here to see if experts here can help.
All the stock recoveries can be found on this forum. If however u've a doubt, i'd be happy to help.
This guide is not perfect and may contain errors ( i've tried to make it complete to the best of my knowledge). I'm open to suggestions and questions
Click to expand...
Click to collapse
Hi, thanks for the super explanations - last two really helped me - at least I found the reason why my phone does not want to Updates.
I send thanks to your instructions displayed mistake - I phone from T-Mobile Czech and the application of course I deleted it - it is useless.
Do you know if this can be downloaded somewhere, possibly where I got all this ROM mentioned in the error? I deleted more applications, so it probably will want to install these
I watched a lot of the internet, but I found none.
Sorry for my English ...
Well, if you made a backup if the current Rom/apps, then just extract and install the apps. Or else, I think you can extract the app from ruu if your version. You'll have to do it for each of the apps you uninstalled. That's gonna be a hell of a job, if u ask me.
I think its better you stick to the current software, or of you really wanna update, reset your phone via ruu. And then update.
Sent from my HTC One V using xda app-developers app

Possible Brick HTC M8

Hello All,
I think I may have possibly bricked my m8.
I was using cyanogen 11, when I decided to try and flash the GPE rom that is available.
However I did not flash the latest firmware. I am not able to get into fast boot. When I press Power + Volume Down, it takes me too bootloader but no options are available other then press power to reboot.
When it reboots I do get into the rom however, wifi, and service are unavailable for obvious reasons. My Stupidity may have costed me this phone :/ I wasn't able to get s-off with my t mobile variant. It is unlocked, and had TWRP installed.
Any help would be greatly appreciated!
Bricked? But you can get into ROM? Do you even know what a "brick" means?
Just restore your device to Stock and do an OTA to get latest firmware in order to have a working custom ROM on latest firmware. You are T-Mobile, US? Do an RUU, or head over to the Collection thread in General section and download a nandroid backup for your device and restore it from within TWRP(Instructions is also available in the first 2 posts of the Collection Thread).
If you can get it into bootloader/fastboot it ain't "bricked", it's recoverable.
BerndM14 said:
Bricked? But you can get into ROM? Do you even know what a "brick" means?
Just restore your device to Stock and do an OTA to get latest firmware in order to have a working custom ROM on latest firmware. You are T-Mobile, US? Do an RUU, or head over to the Collection thread in General section and download a nandroid backup for your device and restore it from within TWRP(Instructions is also available in the first 2 posts of the Collection Thread).
If you can get it into bootloader/fastboot it ain't "bricked", it's recoverable.
Click to expand...
Click to collapse
Okay maybe not bricked but I messed it up quite badly, Im not able to get it into the recovery or have it be detected via fastboot. I did try and do a ruu to have it be put back to stock but Im not sure how to go about doing that since ruu cannot see it since it isnt in fastboot... :/
Did you Make sure you update you SDK. Only the latest fastboot and adb will work with lollipop
subarudroid said:
Did you Make sure you update you SDK. Only the latest fastboot and adb will work with lollipop
Click to expand...
Click to collapse
I did get the latest one from the official site, I was able to use it perfectly fine last night. Now however when I try adb shows the device offline, even if I kill and start the server, and disable and renable the debugging, try different ports etc. I can get it to show the device name, but it says offline next to it, I get no prompt on the device. I was reading the gpe doesnt use fastboot, ( I may be wrong) But that would explain why I dont see anything at the bootloader screen, other then press power to reboot the device.
Good news everyone! I was able to fix it in the most impractical way ever.
So why nothing else worked, I did still have access to the rom which of course had no wifi or service. So what I did was install the terminal emulator via browsers onto my phone, from there I was able to type reboot recovery and restore my backup that I had! and wala, whatya know, now it works, and I dont have a useless phone anymore

Flash stock software update through TWRP?

First of all this phone belongs to my dad. This means I haven't used it and I'm not familiar with many things about it.
The phone is running a stock ROM. It is not rooted, but it does have TWRP.
A software update prompt popped up trying to install "v20p-apr-03-2018" (why is an update for the G4 called v20 lol).
Telling it NOT to download it and NOT check for updates ever doesn't work. The update prompt comes back in 2 days tops. So **** you LG.
Since it's not rooted the easiest option seems to be to flash the update, however it just launches TWRP and does nothing. I found no way to actually download the update and keep it on the device so that I can manually tell TWRP to flash it.
So: Is there a way to download said update and flash it through TWRP? Or should I root it and delete the stupid update tool? I really don't want to flash a stock recovery.
ast00 said:
First of all this phone belongs to my dad. This means I haven't used it and I'm not familiar with many things about it.
The phone is running a stock ROM. It is not rooted, but it does have TWRP.
A software update prompt popped up trying to install "v20p-apr-03-2018" (why is an update for the G4 called v20 lol).
Telling it NOT to download it and NOT check for updates ever doesn't work. The update prompt comes back in 2 days tops. So **** you LG.
Since it's not rooted the easiest option seems to be to flash the update, however it just launches TWRP and does nothing. I found no way to actually download the update and keep it on the device so that I can manually tell TWRP to flash it.
So: Is there a way to download said update and flash it through TWRP? Or should I root it and delete the stupid update tool? I really don't want to flash a stock recovery.
Click to expand...
Click to collapse
Freeze or uninstall Software Update (LG proprietary, i.e., closed source, app) - may require root. That should stop the annoying requests. If you are able to upgrade you will lose TWRP and will have to re-flash TWRP again. You may want to consider that you do not have the latest Google security patches by not doing the update, putting your Dad's phone more at risk.
sdembiske said:
Freeze or uninstall Software Update (LG proprietary, i.e., closed source, app) - may require root. That should stop the annoying requests. If you are able to upgrade you will lose TWRP and will have to re-flash TWRP again. You may want to consider that you do not have the latest Google security patches by not doing the update, putting your Dad's phone more at risk.
Click to expand...
Click to collapse
It's not like LG updates security patches that often so it's not that big of a deal if I can't update it.
It's also fine if I lose TWRP during the process, I just want to avoid flashing stock recovery just for the sake of updating it.
And I still can't download the update and keep it. I don't know where it puts the update after downloading it. I couldn't find it in TWRP.
ast00 said:
It's not like LG updates security patches that often so it's not that big of a deal if I can't update it.
It's also fine if I lose TWRP during the process, I just want to avoid flashing stock recovery just for the sake of updating it.
And I still can't download the update and keep it. I don't know where it puts the update after downloading it. I couldn't find it in TWRP.
Click to expand...
Click to collapse
It helps if you include your phone model when looking for specific firmware updates.
If you're Dad's phone is an H815, there are some v20p downloads available here: https://lg-firmwares.com/lg-h815-firmwares/firmwares/
In order to flash in TWRP without losing TWRP, you would have to remove the stock recovery and create a flashable zip ...
Easiest is to simply freeze or remove the lg Software Update app as I indicated - the annoying update notification should then disappear ...
Note: XDA courtesy is to hit the Thanks button (bottom right of post), when members are trying to help and solve your issues. As a Senior Member you know this.
This update does not contain any security fixes it's just for the new European data protection law..
First thing you should try is:
Upgrade TWRP.
Do a full TWRP backup!
Test android update again.
Second thing:
Have you tried the LG bridge windows software to update?
If so and it fails there too you can find the update when you try to Flash it within the LG folder of your Windows PC afterwards use this KDZ file and lgup to flash it.
There is a chance that when using the internal updater that you can find the update file when in TWRP in /cache in a folder fota but it will likely be in a LG specific format so may don't help you much.
Third thing :
Disable the LG updater within TWRP (search for a howto)
Sent from my LG-H815 using XDA Labs

OTA File Location

Greetings.
Let's say I accidentally DL'd the OTA from the OEM update screen. Where in my file system might I find the file? I read that it may expire and vanish. It's that true? Kind of afraid to reboot right now. Thanks in advance.
Pixel 2xl, rooted, Magisk, OEM 10, Aug. rev.
Even if the OTA did expire and vanish, and I have never heard that happening, Google makes full OTA images available at https://developers.google.com/android/ota in the Taimen section. As to where they are located, likely in the /data partition, but I have absolutely no clue where exactly they are.
I would simply reboot, as the system has most likely already applied the OTA and simply needs to finish completing the update.
So I had to reboot, now I lost root. Is there an easy way to get it back or do I have to wipe?? Thanks.
Boot - NOT install - TWRP using fastboot on the bootloader screen and flash a copy of Magisk you should have stored on your unit.
If you need detailed instructions we have a rooting guide on the forum that should help. Just make sure not to install TWRP or the unit will end up bootlooping, requiring you to flash the full firmware to fix it.

Question Steps to root

I have a WW version of ROG Phone 6. I have had it since mid-July.
Previously, I had ROG 2 but it died on me unexpectedly and I switched to Pixel 6, which was very underwhelming. I pre-ordered ROG 6 as soon as it became available.
I have not seen a concise guide to rooting ROG 6. I think it should be the same as ROG 2 but just in case, I read guide to rooting ROG 5.
Are the steps to rooting ROG 6 the same as ROG 5?
Asus ROG phone 5: unlock bootloader and root guide
Asus rog phone 5 guide note: you follow this guide on your own responsibility. also You should note that unlocking via the official Asus app will void warranty and blacklist the device for future otas. bootloader unlock: ! note that unlocking...
forum.xda-developers.com
Thank you!
I sure hope so. . . I cant find much material online but I'm going to try to just run this tool from asus https://rog.asus.com/phones/rog-phone-6-model/helpdesk_download/ and then flash magisk via recovery.
Sorry extract boot.img move it to phone, patch it with magisk and then run
Code:
fastboot flash boot magisk_patched.img
and that should do it. Although you may want/need to flash the official files first by running the flashall_AFT.cmd file.
Found this all on https://forum.xda-developers.com/t/...e-6-can-be-used-for-cn-ww-converting.4474383/ and https://forum.xda-developers.com/t/...-guide-you-should-read.4474241/#post-87255303
It worked for me without even needing to flash the full firmware (you'd have to, to switch versions though) let me know if you need help. the guides I linked might be overkill.
Just
1.) Fully update on phone.
2.) Install apk to unlock bootloader from my first link
3.) reboot to fastboot and run the command I gave above. (after extracting the boot.img from payload.bin and patching it, although the last link includes one prepatched that may work)
leathan said:
It worked for me without even needing to flash the full firmware (you'd have to, to switch versions though) let me know if you need help. the guides I linked might be overkill.
Just
1.) Fully update on phone.
2.) Install apk to unlock bootloader from my first link
3.) reboot to fastboot and run the command I gave above. (after extracting the boot.img from payload.bin and patching it, although the last link includes one prepatched that may work)
Click to expand...
Click to collapse
Thank you for replying.
I read the guide about "flashall_AFT". I think the guy needed to do that because he was converting CN to WW. So, I think you are right in that the guide might be overkill since my phone is WW.
Thank you for taking time to outline the steps. The steps you outlined seems the same as for ROG 5. Glad to know that ASUS is consistent on this.
ROG 6 is the first phone that I ever pre-ordered. Usually, I buy phones when there are already guides on rooting. So, I am a bit nervous on rooting ROG 6 since there is not dedicated and concise guide yet.
ausaras said:
Thank you for replying.
I read the guide about "flashall_AFT". I think the guy needed to do that because he was converting CN to WW. So, I think you are right in that the guide might be overkill since my phone is WW.
Thank you for taking time to outline the steps. The steps you outlined seems the same as for ROG 5. Glad to know that ASUS is consistent on this.
ROG 6 is the first phone that I ever pre-ordered. Usually, I buy phones when there are already guides on rooting. So, I am a bit nervous on rooting ROG 6 since there is not dedicated and concise guide yet.
Click to expand...
Click to collapse
Your good, just proceed as normal, I already got LSPosed, Zygisk+safteynet and all the goodies running. I see why you preordered this thing, its an absolute beast!! I am in love with it.
I wasn't even aware these phones existed but when I saw them and saw ASUS releases bootloader unlock publicly I instantly bought one as in general that's the main thing needed for rooting.
If you need any help It only took me about 15 minutes to root everything without using the guides at all as like you said it was pretty standard process. Like I said I extracted and patched the boot myself but just to potentially save time as I'm almost positive the patched image in the last link will work, and if it does not you can just reflash the one from the OTA.zip.
Good luck! (if you decide to root it will work fine)
leathan said:
Your good, just proceed as normal, I already got LSPosed, Zygisk+safteynet and all the goodies running. I see why you preordered this thing, its an absolute beast!! I am in love with it.
I wasn't even aware these phones existed but when I saw them and saw ASUS releases bootloader unlock publicly I instantly bought one as in general that's the main thing needed for rooting.
If you need any help It only took me about 15 minutes to root everything without using the guides at all as like you said it was pretty standard process. Like I said I extracted and patched the boot myself but just to potentially save time as I'm almost positive the patched image in the last link will work, and if it does not you can just reflash the one from the OTA.zip.
Good luck! (if you decide to root it will work fine)
Click to expand...
Click to collapse
I rooted my phone over the weekend. It went well.
Now, I am wondering how to update firmware. I know I need to download the full firmware from ASUS website and then place it in the root directory.
Should I flash back the stock boot.img and then update firmware?
Or, just simply flash the firmware update and then go through the whole extract boot.img from firmware, patch in Magisk, and then flash patched boot.img in fastboot?
ausaras said:
I rooted my phone over the weekend. It went well.
Now, I am wondering how to update firmware. I know I need to download the full firmware from ASUS website and then place it in the root directory.
Should I flash back the stock boot.img and then update firmware?
Or, just simply flash the firmware update and then go through the whole extract boot.img from firmware, patch in Magisk, and then flash patched boot.img in fastboot?
Click to expand...
Click to collapse
You should be done. I just fully updated and then rooted and set up my phone.
The firmware flash would have been to swap over to CN or WW. If you do that then yes you would re-factory reset + re flash stock boot.img. Then afterwards repeat the boot.img patch to obtain root + repeat setting up your safteynetfix + any other magisk modules.
ausaras said:
I rooted my phone over the weekend. It went well.
Now, I am wondering how to update firmware. I know I need to download the full firmware from ASUS website and then place it in the root directory.
Should I flash back the stock boot.img and then update firmware?
Or, just simply flash the firmware update and then go through the whole extract boot.img from firmware, patch in Magisk, and then flash patched boot.img in fastboot?
Click to expand...
Click to collapse
Hi, I am sorry the last answer I gave you was just wrong. I totally forgot when we root we wont get automatic OTA updates. Which for me is a really good thing anyway. But to get the OTA updates we need to download the firmware files from ASUS website. The same place we downloaded the unlock app but its under firmware. Download every WW firmware and put them one by one in order from oldest to newest on the /sdcard and boot up and it will detect an update. I'm pretty sure we cannot just skip to the latest update like we can with custom rom otas so I am going in order.
I left root, and when done updating will again patch the boot.img and flash it over.
Over the weekend I helped a guy root and set up safteynet and if it helps others I might just write up a tutorial.
Cheers!
Hi! Thank you very much for sharing and helping. I have Tencent edition, from CN to WW, but a couple of things don't work properly:
- Android Auto does not communicate with my car (phone detected and bluetooth connected) bit app stops.
- Gboard voice dictation does not work (google assistant yes)
Country is WW. Safetynet passed. Play certified.
..I followed your guide.
I flashed the posted xda raw throuh fastboot and the the Magisk patched .img
When I tried TO apply latest updates (160) the Same message error appeared.
There is spmething strage (or are least I think It strage):
When I start in "fastboot" (black screen with capital text single line) my device isn'r recognized by PC. Then I switch to "recovery" and then to "fastboot" and a menu (several lines) with title "fastbootd" appears and the phone is recognized by PC (fastboot devices). If I choose bootloader the first screen appears.
I tried to reflash the raw but either the phone isn't recognized or a message appears on the cmd window showing "not rog 6" (more or less) and stops. But the phone is recognized everywhere as rog6...
I miss my broken rog2, it was much easier to root
Do you have any idea what's going on? Or when the twrp boot will be released so that I can brutally flash any zip?
i need fastboot driver for win 64
Anyone know if I root my phone following these instructions, will it factory reset or wipe my data partition? Sorry it's been a while since I rooted any phone, and I am excited about going this route
can anyone provide the patched boot image to have root? Tried looking and asking in other areas but no luck. Or is there a way to patch a bot image that contains root already?

Categories

Resources