[Q] TWRP Boot Loop .?. - G2 Q&A, Help & Troubleshooting

Well, AT&T got me this time, somehow the OTA apparently auto ran a batch file, Forced a reboot to what the phone thought was stock recovery to do the OTA, WHOOPS " TEAM WIN IS NOT STOCK RECOVERY "
And now, yes you know it, every time I choose to reboot to System in twrp. It boots right back into twrp, YaY . Now I really Like team win and all, but I would also like to be able to boot back into the system style, but i don't think it is possible .?.
This is my Question, Can I ADB the Boot to recovery Flag out , remove the command .?. or something like so .?.
....A little insight, I already took the OTA before, when it actually asked me if I wanted too .?. I don't know where that option was this time ? Anyway when I took the OTA before I was only rooted. No custom recovery, And did not know it was going to be Lollipop , and also that I was going to lose some of the G2 features. YaY again So......with help from some of my friends, listed in my signature , I returned my G2 back to Kit-Kat D80020y , but this time the OTA was Forced and I have twrp v. 2.7.0.0 installed, so yeap, this is probably known as Soft Brick. YaY
If I should just go Cloudy , let me know. I almost did it last month.
*JUST FYI IF THIS HAPPENS TO YOU, POWER YOUR DEVICE OFF INSIDE TWRP , IT IS IN THE REBOOT MENU * DON'T LET THE BATTERY DRAIN IN RECOVERY *

FOUND IT ! , MOST SIMPLE STEPS EVER TO FIX THIS PROBLEM
On your TWRP terminal command type this code ( select root / )
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
then hit enter
( backspace to delete fota then type misc )
type
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
now where is that reject anymore OTA's at ? because it still wants to do the ota.
How to Reject future OTA ???

Related

[TF300TG] For all who had received a brick after updating on the last firmware

For all, who have a brick.
To solve the problem, you should do next:
1. Download the original file of firmware.
2. Get out from the archives the BLOB file.
3. Put it in the directory with adb and fastboot.
Next, there are few solutions to the problem.
The first way:
1. Boot into recovery or bootloader (if you can)
2. If you can't boot into bootloader, boot in it with command
Code:
adb reboot bootloader
3. Now you should install firmware. When you are in BOOTLOADER you can do this command
Code:
fastboot -i 0x0b05 flash staging blob
Now, even after command line say @ok, DON'T reboot your tablet. You must wait until you see progressbar on the screen and in will be 100%.
4. Next you shoul flash recovery. DOWNLOAD Flash it with command
Code:
fastboot -i 0x0b05 flash recovery twrp.blob
after that you will see msgs like "sending..." and "writing.." wait about 10 minutes after last msg. And reboot your tablet in bootloader with VOLUME DOWN + POWER
5. See in recovery if partitions are mounted and have or not zero sized internal memory.
Thats all. GL. Maby write smth else in this thread.
do you mean 100% written within the progress bar ?, cuz all i have is a filled progressbar with nothing within it , i've been waiting for about 10 mins , how long does it usually take ?
ningen90 said:
do you mean 100% written within the progress bar ?, cuz all i have is a filled progressbar with nothing within it , i've been waiting for about 10 mins , how long does it usually take ?
Click to expand...
Click to collapse
if you have fully filled progressbag - that's i mean 100%
it's good and ok
do next steps.
aLkRicha said:
For all, who have a brick.
To solve the problem, you should do next:
1. Download the original file of firmware.
2. Get out from the archives the BLOB file.
3. Put it in the directory with adb and fastboot.
Next, there are few solutions to the problem.
The first way:
1. Boot into recovery or bootloader (if you can)
2. If you can't boot into bootloader, boot in it with command
Code:
adb reboot bootloader
3. Now you should install firmware. When you are in BOOTLOADER you can do this command
Code:
fastboot -i 0x0b05 flash staging blob
Now, even after command line say @ok, DON'T reboot your tablet. You must wait until you see progressbar on the screen and in will be 100%.
4. Next you shoul flash recovery. DOWNLOADFlash it with command
Code:
fastboot -i 0x0b05 flash recovery twrp.blob
after that you will see msgs like "sending..." and "writing.." wait about 10 minutes after last msg. And reboot your tablet in bootloader with VOLUME DOWN + POWER
5. See in recovery if partitions are mounted and have or not zero sized internal memory.
Thats all. GL. Maby write smth else in this thread.
Click to expand...
Click to collapse
This should really be in the general section. Still a good find though.
Sent from my SGH-T999 using Tapatalk 2
aLkRicha said:
if you have fully filled progressbag - that's i mean 100%
it's good and ok
do next steps.
Click to expand...
Click to collapse
On my bootloader there is no USB icon there are only 3 icons,,,,it is jb 4.2.1 boot loader,,,,i am running energy 4.2.1 themed rom....what to do now??
jaffer707 said:
On my bootloader there is no USB icon there are only 3 icons,,,,it is jb 4.2.1 boot loader,,,,i am running energy 4.2.1 themed rom....what to do now??
Click to expand...
Click to collapse
i also haven't USB icon. It's normal, go to the next steps.
still bootlooping , same thing as yesterday , twrp recovery is working , all the partition and data are there , tried restoring my Nand backup ,again ! , bootlooping.
everything was working fine before , except for some of the sensors, (only affected some games like temple run 2 ) , so i said "hey , i have some free time , let's revert back to stock to see if i can get those sensors back on, WHAT COULD GO WRONG ! " , and here i am, wasted a day and a half trying to fix it , and now i'm really tempted to buy a sledgehammer. anyways thanks for your help : ) , you've been more helpful than others.
jaffer707 said:
On my bootloader there is no USB icon there are only 3 icons,,,,it is jb 4.2.1 boot loader,,,,i am running energy 4.2.1 themed rom....what to do now??
Click to expand...
Click to collapse
Fastboot protocol will start automatically when you connect your TF300 to your pc through usb cable when in bootloader :good: its the property of 4.2 bootloader
ningen90 said:
still bootlooping , same thing as yesterday , twrp recovery is working , all the partition and data are there , tried restoring my Nand backup ,again ! , bootlooping.
everything was working fine before , except for some of the sensors, (only affected some games like temple run 2 ) , so i said "hey , i have some free time , let's revert back to stock to see if i can get those sensors back on, WHAT COULD GO WRONG ! " , and here i am, wasted a day and a half trying to fix it , and now i'm really tempted to buy a sledgehammer. anyways thanks for your help : ) , you've been more helpful than others.
Click to expand...
Click to collapse
so.. if all your partitions are working now, why you don't flash rom from recovery. and did you do HARD formating of all partitions??
Ti2 said:
Fastboot protocol will start automatically when you connect your TF300 to your pc through usb cable when in bootloader :good: its the property of 4.2 bootloader
Click to expand...
Click to collapse
That's right!
aLkRicha said:
so.. if all your partitions are working now, why you don't flash rom from recovery. and did you do HARD formating of all partitions??
Click to expand...
Click to collapse
i did try that , tried flashing cm 10.1 , tried restoring my previous Nandbackup , nothing , with those custom roms , the tab doesnt go beyond the boot screen (with nividia logo) , with the official firmware it goes beyond that to the silver asus logo and the rotating circle
ningen90 said:
i did try that , tried flashing cm 10.1 , tried restoring my previous Nandbackup , nothing , with those custom roms , the tab doesnt go beyond the boot screen (with nividia logo) , with the official firmware it goes beyond that to the silver asus logo and the rotating circle
Click to expand...
Click to collapse
and what is after roating sircle? Try to do all points from the 1st post.
nothing , it's been stuck on this screen for more than half an hour , i did all the steps exactly like the first post(which i already did yesterday , but i did it again anyway ). btw on the boot screen , in the upper left corner , it says "keydriver is not found , booting os " what does it mean ?
ningen90 said:
nothing , it's been stuck on this screen for more than half an hour , i did all the steps exactly like the first post(which i already did yesterday , but i did it again anyway ). btw on the boot screen , in the upper left corner , it says "keydriver is not found , booting os " what does it mean ?
Click to expand...
Click to collapse
khm... try this:
go in recovery, run adb. paste
Code:
adb shell
next, if this command is successful paste
Code:
dd if=/dev/zero of=/dev/block/mmcblk0p4 bs=100 count=1
and
Code:
dd if=/dev/zero of=/dev/block/mmcblk0p3 bs=16 count=1
and go on 1st post. if it's good it is good if not.. go to the recovery and download in in your adb folder. Perform 4 and 5 or 6 points, and perform 1st post
after give it
Code:
fastboot reboot
, in the terminal i have this response
Code:
ERROR: could not clear input pipe; result e00002ed, ignoring...
ERROR: could not clear output pipe; result e00002ed, ignoring....
rebooting...
and tablet is freeze. Any solution ?
it booted , IT BOOTED !!!!!!!!!!!!!!
---------- Post added at 10:03 PM ---------- Previous post was at 09:59 PM ----------
i'm not sure why , but apparently it's related to root , whenever i tried to reboot from recovery ,it would ask me if i want to install superSU but i always chose to not install it , this try i decided to install it , and Viola ! , it booted
ningen90 said:
it booted , IT BOOTED !!!!!!!!!!!!!!
---------- Post added at 10:03 PM ---------- Previous post was at 09:59 PM ----------
i'm not sure why , but apparently it's related to root , whenever i tried to reboot from recovery ,it would ask me if i want to install superSU but i always chose to not install it , this try i decided to install it , and Viola ! , it booted
Click to expand...
Click to collapse
If i help you, i am happy for you :highfive:
riderskull said:
after give it
Code:
fastboot reboot
, in the terminal i have this response
Code:
ERROR: could not clear input pipe; result e00002ed, ignoring...
ERROR: could not clear output pipe; result e00002ed, ignoring....
rebooting...
and tablet is freeze. Any solution ?
Click to expand...
Click to collapse
i don't tell you do this comman. Wait for progress bar
thank you very much ! , (though the commands and executable didn't exactly work. adb isn't properly installed, so it's on my end ) but nonetheless , thanks , i probably wouldn't have done it if i weren't on this thread , btw , will be safe to flash a custom rom now ? , the last 2 days were excruciating , so i just want to be sure. are custom roms compatible with the new bootloader ? , i now this probably should be asked in the specific rom thread , but hey ! , it never hurts to ask
ningen90 said:
thank you very much ! , (though the commands and executable didn't exactly work. adb isn't properly installed, so it's on my end ) but nonetheless , thanks , i probably wouldn't have done it if i weren't on this thread , btw , will be safe to flash a custom rom now ? , the last 2 days were excruciating , so i just want to be sure. are custom roms compatible with the new bootloader ? , i now this probably should be asked in the specific rom thread , but hey ! , it never hurts to ask
Click to expand...
Click to collapse
I dont know. I try to flash DEODEX rom, but it isnt started.. custom roms i dont try to flash. So, i decidet to stay on the original firmware with root.

[Q] Need HELP. Phone always go to recovery after update

First of all i installed a lot of ROMS on one x and 4-5 on lg g2.
I had installed Rayglobe 3.2 custom rom. Today system asked me do i want to update the system so i did. Taught its Rayglobe update but it could be LG update. And it just went to recovery without doing anything.
Reboot to system option still goes to recovery again. Strange its like its holding this data or rule for some reason somewhere else.
I wiped cache,system,data, dalvik and install the rom from beggining. it again goes back to recovery after installing system.
I mean there should be warning how to differentiate OTA updates from system and for custom rom. I hope i didnt brick my phone.
Its like there is something above the system partition and recovery always forcing recovery.
i tried to go to download mode via
Power off your G2, press Volume Up & Down key and then plug in the usb cable
Click to expand...
Click to collapse
but it always go to recovery
fixed it with this
http://forum.xda-developers.com/show....php?t=2451696
for anyone who will make same mistake as me. But still i think ROM dev should disable LG updates if possible.
adb shell
dd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota

[Q] Help :( escape twrp back to factory

Hi all,
I just recived my sprint lg g2, i was asked whether to update the system to the sprint network, being a mistake i clicked yes. Im in new zealand so i thought it wouldnt matter. Bad mistake and it took me to the twrp menu... I simply wanted to restore the phone back to factory settings or just return to how it was before. (I had no idea that twpr was installed on ge phone to begin with)
However i cant seem to figure it out. Ive backed it up not that that really matters, but when i go to reboot system it says
"your device does not appear to be rooted, install supersu now? This will root your device".
I swipe and it reboots simply back to twrp... How do i escape this?
Thank you so much
Someone please help me
I do not know what to do... When i go into the restore folder there are no files. Does this mesn i have turned the phone into a brick?
Before there were two files in the restore section niw they have disappeared! I have not connected this phone to a computer... I am really upset because all i simply did was allow sprint to update the phone and it is not connected to any network! Eifi only......
I just want to get out of the twrp and go back to how the phone was when i recieved it, is it possible? Please help me
Hotbunny said:
Hi all,
I just recived my sprint lg g2, i was asked whether to update the system to the sprint network, being a mistake i clicked yes. Im in new zealand so i thought it wouldnt matter. Bad mistake and it took me to the twrp menu... I simply wanted to restore the phone back to factory settings or just return to how it was before. (I had no idea that twpr was installed on ge phone to begin with)
However i cant seem to figure it out. Ive backed it up not that that really matters, but when i go to reboot system it says
"your device does not appear to be rooted, install supersu now? This will root your device".
I swipe and it reboots simply back to twrp... How do i escape this?
Thank you so much
Click to expand...
Click to collapse
in twrp go to advanced, go to terminal command, press select, then type this
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
datechnerd said:
in twrp go to advanced, go to terminal command, press select, then type this
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
Click to expand...
Click to collapse
ok thank you!
so it came up with this:
finished running boot script.
E:Storage partition '//TWRP/BACKUPS/04816da2910e8952' not found
then the above command dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota completed with 'no space left on device'
Somehow it seems the backup has been deleted.... I must have done this somehow trying to reboot.
What should I do next? thanks!!
This is what came back to be precise:
Finished running boot script.
E:Storage partition '//TWRP/BACKUPS/04816da2910e8952' not found
/ # dd if=/dev/zero of=dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd: writing 'dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota' : No space left on device
65537+0 records in
65536+0 records out
33554432 bytes (32.0MB) copied.
2.004260 seconds. 16MB/s

[Q] Is it possible to repair my installation post official updating?

So I did a number on my phone in a half asleep stupor I allowed an official update to go through while running a custom recovery and debloated kitkat. I can't believe I did this to myself. Is there anyway to repair the installation other than wiping the phone again? It was one of those mini updates, but now I boot straight to recovery instead of the operating system.
I am in the same boat you are man. I hit update now instead of later and the phone reboot into recovery and won't boot the ROM. I tried restoring a previous backup with no luck. I'm on a rooted stock ROM running twrp 2.7. Hope someone can shed some light on this.
I found an answer!
Gnex81 said:
I am in the same boat you are man. I hit update now instead of later and the phone reboot into recovery and won't boot the ROM. I tried restoring a previous backup with no luck. I'm on a rooted stock ROM running twrp 2.7. Hope someone can shed some light on this.
Click to expand...
Click to collapse
I found the answer in another thread after an exhaustive search. Serious thanks goes out to the user 6ril1
6ril1 said:
Have you typed the two commands in TWRP
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
and
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
?
Click to expand...
Click to collapse
Here is the thread:
[FIX] Installed TWRP and now you're stuck after OTA?
So here is what you do:
1) Boot into recovery (TWRP)
2) Go to Advanced and then Terminal Command
3) VERY CAREFULLY TYPE IN EXACTLY THIS:
"dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota" then RETURN
"dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc" then RETURN
Reboot and it should have fixed it up for you.

Need a A2017 Modem

Hey Guys,
i good a little problem with my axon 7. ive got the g model with cm13 and yesterday i tryed to flash the b29 o n my phone.
now the problem is that my sim card is accepted and the imeis are correct but i have no data connection at all.
so i tryed to go back to b03 oder other otas for the g model but i cant install any of this updates.zips in recovery because of error 8.
older backups dont fix the problem even and when i want to go back to the first backup i made after rooting the phone then it tells me that something is wrong withe the encoding...
so has anyone an idea how i can fix that problem?
for everyone with the same issue:
is used this guide (https://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484) and it worked.
-> if you get the "encryption error1 after flashing the rom then just press reset phone.
-> if the divice doesnt boot after flashing just boot into recovery frist and reboot system in there.
but be sure that you havent any impiortant flies on internal sd card!
Try this: boot into TWRP recovery and in "advanced" go to Terminal Emulator
There, enter these codes
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
and execute and then enter
Code:
dd if=/dev/zero of=/dev/block/bootdevice/modemst2
and execute
This should erase those partitions and they should regenerate automatically on boot.
If this doesn't help, you could indeed try to use someone else's modems
EDIT: damn, too late
Now we have two solutions!
thank you

Categories

Resources