[Q] no adb or mount in terp - G2 Q&A, Help & Troubleshooting

i was trying to flash a rom so i Wiped cache, data, system
than i tried to use adb but it didnt worked so i restarted my phone
and now it is stuck at boot loop (zv8 rooted and unlocked)
i cant connect adb or mount using twrp
guys plz help me with this
it its lg g2 spring (ls980)

blackking.akt said:
i was trying to flash a rom so i Wiped cache, data, system
than i tried to use adb but it didnt worked so i restarted my phone
and now it is stuck at boot loop (zv8 rooted and unlocked)
i cant connect adb or mount using twrp
guys plz help me with this
it its lg g2 spring (ls980)
Click to expand...
Click to collapse
Did you do a backup of your stock Rom?
Sent from my LS980 running PA 4.4.4 KitKat using Tapatalk???

If you wiped out system you lose your OS, so Android will not boot up anymore. As you wiped out /data partition you lose backups if any. So you need to flash the whole ROM via download mode from PC.

GrAndAG said:
As you wiped out /data partition you lose backups if any.
Click to expand...
Click to collapse
Incorrect. If you wipe data, TWRP will not wipe your SD card. Only by selecting internal SD will it then wipe your SD card. Data partition only holds your setup configs/user apps/etc.
---------- Post added at 12:57 PM ---------- Previous post was at 12:55 PM ----------
blackking.akt said:
i was trying to flash a rom so i Wiped cache, data, system
than i tried to use adb but it didnt worked so i restarted my phone
and now it is stuck at boot loop (zv8 rooted and unlocked)
i cant connect adb or mount using twrp
guys plz help me with this
it its lg g2 spring (ls980)
Click to expand...
Click to collapse
If you have a USB OTG cable, you can load a ROM on it and connect it to your device and flash via TWRP. Make sure to mount the OTG first or it mount show up.

simon_lefisch said:
Incorrect. If you wipe data, TWRP will not wipe your SD card. Only by selecting internal SD will it then wipe your SD card. Data partition only holds your setup configs/user apps/etc.
---------- Post added at 12:57 PM ---------- Previous post was at 12:55 PM ----------
If you have a USB OTG cable, you can load a ROM on it and connect it to your device and flash via TWRP. Make sure to mount the OTG first or it mount show up.
Click to expand...
Click to collapse
thanks guys i used OTG cable and flashed other rom with pendrive
but my sideload is still not working looks like i am going for cwm

simon_lefisch said:
Incorrect. If you wipe data, TWRP will not wipe your SD card.
Click to expand...
Click to collapse
Sorry. Thought the whole /data partition was wiped, not only /data/data.

Related

Could not mount data and sdcard partition [solution]

Hi, I am new on android world, and dont know if i did crap with my phone:
I had FoxHound rom with Adam Kernel and CWM. So, I decided to flash the "4.3" google version. Until there, its ok.
But, i downloaded a version of pre-rooted 4.2.2 google version, and wanted to flash it. And i had the stupid idea of formating ALL things on CWM Mount and Storage menu.
Then, my phone didnt started on custom recovery... so, i flashed Philz Touch. The phone now start on custom recovery, but i flashed 2 different roms, and it no boot... well, he boots, but keep on bootscreen and dont pass. What can i do, please? (Sorry for the english...)
hugodiniz said:
Hi, I am new on android world, and dont know if i did crap with my phone:
I had FoxHound rom with Adam Kernel and CWM. So, I decided to flash the "4.3" google version. Until there, its ok.
But, i downloaded a version of pre-rooted 4.2.2 google version, and wanted to flash it. And i had the stupid idea of formating ALL things on CWM Mount and Storage menu.
Then, my phone didnt started on custom recovery... so, i flashed Philz Touch. The phone now start on custom recovery, but i flashed 2 different roms, and it no boot... well, he boots, but keep on bootscreen and dont pass. What can i do, please? (Sorry for the english...)
Click to expand...
Click to collapse
UPDATING: When i try to Mount the partitions (cache, data, system...) all they can be mounted. Just data and sdcard get error when i try to mount then.
hugodiniz said:
UPDATING: When i try to Mount the partitions (cache, data, system...) all they can be mounted. Just data and sdcard get error when i try to mount then.
Click to expand...
Click to collapse
Same thing happened to me. I can't fix it.
I tried this: (1) Odin TWRP, (2) boot recovery, (3) wipe data, (4) factory reset, (5) install rom
After this I can boot up but if I reboot it gets stuck at logo unless I redo these steps
hugodiniz said:
UPDATING: When i try to Mount the partitions (cache, data, system...) all they can be mounted. Just data and sdcard get error when i try to mount then.
Click to expand...
Click to collapse
Flash full rom ' pit.pda.csc.modem ' u will back to stock rom then your phone will works fine
NOORHASHIM said:
Flash full rom ' pit.pda.csc.modem ' u will back to stock rom then your phone will works fine
Click to expand...
Click to collapse
I think we need the pit file to rebuild partition table. But I can not find it. Anyone have a link?
I have the T-Mobile S4 and I have the stock firmware (pda) but no (pit)
---------- Post added at 12:49 AM ---------- Previous post was at 12:36 AM ----------
twiifm said:
I think we need the pit file to rebuild partition table. But I can not find it. Anyone have a link?
I have the T-Mobile S4 and I have the stock firmware (pda) but no (pit)
Click to expand...
Click to collapse
I just tried this and it worked. You have to find stock firmware for your device
(1) Put into download mode then Odin stock firmware (uncheck everything)
(2) Unplug USB cable & pull battery
(3) Boot into Samsung recovery
(4) Factory Reset & wipe data
Before I tried to factory reset with TWRP or CWM and it didn't work. Try to factory reset with Samsung recovery instead
twiifm said:
I think we need the pit file to rebuild partition table. But I can not find it. Anyone have a link?
I have the T-Mobile S4 and I have the stock firmware (pda) but no (pit)
---------- Post added at 12:49 AM ---------- Previous post was at 12:36 AM ----------
I just tried this and it worked. You have to find stock firmware for your device
(1) Put into download mode then Odin stock firmware (uncheck everything)
(2) Unplug USB cable & pull battery
(3) Boot into Samsung recovery
(4) Factory Reset & wipe data
Before I tried to factory reset with TWRP or CWM and it didn't work. Try to factory reset with Samsung recovery instead
Click to expand...
Click to collapse
And where can i find a full rom?
twiifm said:
I think we need the pit file to rebuild partition table. But I can not find it. Anyone have a link?
I have the T-Mobile S4 and I have the stock firmware (pda) but no (pit)
---------- Post added at 12:49 AM ---------- Previous post was at 12:36 AM ----------
I just tried this and it worked. You have to find stock firmware for your device
(1) Put into download mode then Odin stock firmware (uncheck everything)
(2) Unplug USB cable & pull battery
(3) Boot into Samsung recovery
(4) Factory Reset & wipe data
Before I tried to factory reset with TWRP or CWM and it didn't work. Try to factory reset with Samsung recovery instead
Click to expand...
Click to collapse
Ooooohhhhhh yeaaaaaaaaaaaaaaaaaah man! It worked. It seems that Samsung Kernel get a clean format of the broken partition, and the others kernels dont do it.
Thank you.

F2fs Formating guide

Hello everyone heres a guide on how i formated my le pro 3 720 64gb from ext4. please know that this will delete all of your data will be delete i strongly recommand doing a twrp or tatanium backup before hand! allso if this somehow ****s up i will not be hold responsible. i am simply showing you all how i did this to get my result. now with all the formalitys in place lets talk about what exactly the steps are after you backed up everything you want to keep download your feverite rom. the one i am ussing is turbos aokp destroyer ver2, download it unto your pc, allso make sure you have twro custom recovery that support the f2fs.
here is the one i ussed. https://drive.google.com/file/d/0B9ZMWt4u_wSDVkp3UlMxS1liMUE/view
after you have made sure your twrp support it and you backed up everything you need. boot into twrp, wipe/advanced wipe/check data/repair or change file system/chenge file system/ f2fs do the same for data and for cache. then connect you phone via the usb cable to a pc with minimal adb put the rom you decided to install on your le pro 3 into the minimal adb folder and call it something easy like Kitty. i do this all the time xD
then open a cammend windows as admin and type the fallowing code.
adb push push kitty.zip /sdcard
this will start your rom being moved from the pc unto your sdcard on your phone. and i allso belive its the safest way to do it dont qote me on that tho.
then you just install your kitty rom and you should be good to go. NOTE in my case with the destroyer 2 aokp from my good freind turbo i dont think the /system supports f2fs as it reformats it into the ext4 on installation, but data and cache will reamain f2fs at all times. and it does seem quite abit faster regardless. thanks everyone for reading and im sorry if this is done in a extreme noob fashion i hope you all will be able to understand whats going on and all. peace out and be sure to let me know how it turns out for you
Do you think it is good than format everything to install a Rom with the twrp in a normal way connecting a USB otg?
venezolano69 said:
Do you think it is good than format everything to install a Rom with the twrp in a normal way connecting a USB otg?
Click to expand...
Click to collapse
It might work. I've never used a otg in TWRP before but if it works I can't see why not.
DrTorretz1 said:
It might work. I've never used a otg in TWRP before but if it works I can't see why not.
Click to expand...
Click to collapse
OK thanx for the guide
venezolano69 said:
OK thanx for the guide
Click to expand...
Click to collapse
Your welcome hope it helps!
Thanks for the tutorial! one tip, system partition its not recommended to format to f2fs, because system its a "readonly" partition and ext4 is fastest than f2fs in read, you only need to change /data and /cache to f2fs to improve the performance of the device!
FYI, at the very least you can format your cache partition to F2FS without losing any data.
slgooding said:
FYI, at the very least you can format your cache partition to F2FS without losing any data.
Click to expand...
Click to collapse
I tried to format cache it didn't work I'm on 23s destroyer with the same twrp navigator v6
villarleg said:
Thanks for the tutorial! one tip, system partition its not recommended to format to f2fs, because system its a "readonly" partition and ext4 is fastest than f2fs in read, you only need to change /data and /cache to f2fs to improve the performance of the device!
Click to expand...
Click to collapse
Wow thanks village! I'm happy you enjoyed the guide also thanks for letting me know about the system I will put it up there!
venezolano69 said:
I tried to format cache it didn't work I'm on 23s destroyer with the same twrp navigator v6
Click to expand...
Click to collapse
Does it come up with a error or something? I'm not sure mine did it fine
slgooding said:
FYI, at the very least you can format your cache partition to F2FS without losing any data.
Click to expand...
Click to collapse
Yeah I suppose so. It works really well regardless
DrTorretz1 said:
Does it come up with a error or something? I'm not sure mine did it fine
Click to expand...
Click to collapse
Something like "not possible to mount"
venezolano69 said:
Something like "not possible to mount"
Click to expand...
Click to collapse
That sounds really strange. I'm sorry I can't assist further. Data should be the most important one annyways
Whenever i try to format data or cache to F2FS i get Failed to mount errors to both cache and data. But i still could flash the rom, tho i was getting a lot of lag sometimes and i thought it could be because of that. I guess this shouldnt happen, any idea?
EDIT: Fixed by updating twrp to 3.1.0.0
---------- Post added at 09:03 PM ---------- Previous post was at 08:26 PM ----------
Now i have other problem, im stuck at recovery without rom on sdcard, and i cant seem to use adb, it says my device is unauthorized when i type adb devices
Enamak said:
Whenever i try to format data or cache to F2FS i get Failed to mount errors to both cache and data. But i still could flash the rom, tho i was getting a lot of lag sometimes and i thought it could be because of that. I guess this shouldnt happen, any idea?
EDIT: Fixed by updating twrp to 3.1.0.0
---------- Post added at 09:03 PM ---------- Previous post was at 08:26 PM ----------
Now i have other problem, im stuck at recovery without rom on sdcard, and i cant seem to use adb, it says my device is unauthorized when i type adb devices
Click to expand...
Click to collapse
Do you have an otg?
venezolano69 said:
Do you have an otg?
Click to expand...
Click to collapse
I flashed the ROM thro sideload, all fixed now i also thought about otg but i didnt have one and didnt really want to get onde x)
Thanks anyway
Enamak said:
I flashed the ROM thro sideload, all fixed now i also thought about otg but i didnt have one and didnt really want to get onde x)
Thanks anyway
Click to expand...
Click to collapse
Otg is very good stuff, when you wipe everything you put Rom insidie the otg and you can flash everything you want
I have another problem.. I formated /cache /data (no problems, errors). After that I flashed "TURBO2012's China / US EUI 23s V8" (no problems, errors).
But DiskInfo from the playstore is showing me ext4 in /cache and /data ?
Does this work with LineageOS 13? Did this and flashed the ROM but it's been stuck on the boot screen for a while.
cherryduck said:
Does this work with LineageOS 13? Did this and flashed the ROM but it's been stuck on the boot screen for a while.
Click to expand...
Click to collapse
Same here. I tried it a few days ago with the latest Lineage nightly and started formatting all partitions with F2FS with the same outcome: stuck on bootscreen.
Gradually I returned my partitions to ext4 and only after I returned everything to 'normal' I got past the boot screen. Not even "cache" worked with F2FS.

No OS to boot

Help help help!!! I am having a strange issue since last night. Wanted to install the MIUI ROM and since I was earlier on nougat I thought I will do a clean install so installed the stock Marshmallow ROM freshly And installed the TWRP through ODIN and as usual after installing the TWRP, also flashed no decrypt thing and also did Format. Now it says there is no OS to boot. Flashed this ROM but still no luck. So basically when I do Format it's wiping out the OS as well and after that no matter what I flash its not booting up. Tried the whole process some 5 times with no luck. What on the earth could be possibly doing wrong? How is it wiping out the OS too when I do the Format? This is the first time it has happened to me. Any help is really appreciated!!!
Use Odin to flash stock rom and then start from scratch.
Did that 4 times now and the same damn thing is happening. Tried different versions of TWRP too but with no luck. This is so frutrating
finnmacool said:
Use Odin to flash stock rom and then start from scratch.
Click to expand...
Click to collapse
TWRP has nothing to do with Odin. Does Odin 'pass' when you flash stock? What files are you flashing with Odin?
The phone boots up when i flash the Stock ROM through Odin, but when i install the TWRP and then do the Format option, Its wiping the OS too. Very strange. And later it doesnt boot up irrespective of what ROM i flash. Tried it so manytimes and same thing is happening.
finnmacool said:
TWRP has nothing to do with Odin. Does Odin 'pass' when you flash stock? What files are you flashing with Odin?
Click to expand...
Click to collapse
Why are you wiping anything after twrp install?
---------- Post added at 08:10 PM ---------- Previous post was at 08:09 PM ----------
If you are going to wipe anything, only dalvik and cache.
After installing the TWRP, the internal storage shows as 0mb until i format it completely. Hence have to Format.
finnmacool said:
Why are you wiping anything after twrp install?
---------- Post added at 08:10 PM ---------- Previous post was at 08:09 PM ----------
If you are going to wipe anything, only dalvik and cache.
Click to expand...
Click to collapse
so, odin stock, reboot...it loads, right? Odin TWRP and reboot. Shouldn't be any wiping required that way
http://www.cyanogenmods.org/forums/topic/install-twrp-recovery-samsung-android-using-odin/
Well i dont know how you did it, but it clearly says in the tutorial that after installing the TWRP the phone needs to be formatted. And if i dont, then the TWRP wouldnt recognize my internal storage. Hence i have to format it completely. The strange thing is, i have done it in the past and it would never wipe the OS but for some reason its doung now.
finnmacool said:
so, odin stock, reboot...it loads, right? Odin TWRP and reboot. Shouldn't be any wiping required that way
Click to expand...
Click to collapse
Nowhere in that tutorial did it even mention the word 'format'
Well the problem at the moment is, if i dont wipe it completely after installing TWRP, the internal storage shows as 0 mb. Doesnt this happen to all? And the internal storage shows up only after i do a complete wipe. What could be possibly wrong? And is full wipe supposed to wipe the OS as well?
finnmacool said:
Nowhere in that tutorial did it even mention the word 'format'
Click to expand...
Click to collapse
Why don't you just install twrp and reboot to see what happens.
Let me give that a try. I am sure it reboots normally. But for installing a custom ROM i need to wipe it completely and thats when the OS is getting wiped too.
finnmacool said:
Why don't you just install twrp and reboot to see what happens.
Click to expand...
Click to collapse
Thats a totally different issue. To install a new rom, put it on your sd card, fully wipe device then install new rom. After you make a twrp backup of course.
Well thats when i am facing this issue. After installing the twrp i tried installing a custom ROM and it says cant mount storage. And when i wipe it completely and flash a ROM,it doesnt boot up. Have been flashing for years now, this had never happened. What i am not able to understand is, hows it wiping the OS too. Bluddy frutrating.
finnmacool said:
Thats a totally different issue. To install a new rom, put it on your sd card, fully wipe device then install new rom. After you make a twrp backup of course.
Click to expand...
Click to collapse
Use the FORMAT DATA button. It's right there under the WIPE options next to the ADVANCED WIPE button. That should solve your problems.
Well now i have installed the twrp and it did boot normally, but again in TWRP the internal storage is showing as 0mb. And FORMAT DATA is what i have been doing each time and its formatting the OS too.
finnmacool said:
Use the FORMAT DATA button. It's right there under the WIPE options next to the ADVANCED WIPE button. That should solve your problems.
Click to expand...
Click to collapse
Read through this and see if you find a solution: https://forum.xda-developers.com/s7-edge/help/twrp-mount-data-unable-to-crypto-footer-t3360331
Thanks for the link, had seen it before. Dint help much either. Just flashed the Stock rom and i think i will stick to this s***
finnmacool said:
Read through this and see if you find a solution: https://forum.xda-developers.com/s7-edge/help/twrp-mount-data-unable-to-crypto-footer-t3360331
Click to expand...
Click to collapse

Unable to wipe Data Partition

About after 6 months, I decided to change ROMs on my Moto X. Just like before, I booted into recovery, made a nandroid backup, and tried to wipe cache, ART and Data. But when I try to wipe the data partition, the recovery freezes, my phone starts vibrating and goes into a bootloop. Neither the new ROM will boot, nor will the Nandroid boot. Is there a way to wipe data partition using ADB, as ADB still works.
Also if it helps, I'm using the adopted storage format for my SD Card(i.e. where the SD Card is formatted as internal storage)
Thank you! Don't have a device rn, so any help is appreciated!
I experienced the exact same thing. Was unable to wipe or re-install back up. My data was in the f2fs format so I changed it to ext4 and was able to wipe and finally install a new ROM. Currently using TWRP 3.1.1.0. Not sure if this helps you but that's what I had to do to get it to function.
Sent from my XT1575 using Tapatalk
Use "format data" first, then go to advanced wipe. It will erase all internal memory.
What rom/kernel was the last? Twrp version? @kkricardokaka95
---------- Post added at 09:43 PM ---------- Previous post was at 09:41 PM ----------
lilcdroid said:
I experienced the exact same thing. Was unable to wipe or re-install back up. My data was in the f2fs format so I changed it to ext4 and was able to wipe and finally install a new ROM. Currently using TWRP 3.1.1.0. Not sure if this helps you but that's what I had to do to get it to function.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
What rom/kernel it happened?
I had it with RRemix + handbag kernel 2.0.
At the time I was running Viper OS with handbag 2.0. I went back to CR Droid with stock kernel for now. I haven't had a chance to mess with things since to verify its fixed.
Sent from my XT1575 using Tapatalk
lilcdroid said:
I experienced the exact same thing. Was unable to wipe or re-install back up. My data was in the f2fs format so I changed it to ext4 and was able to wipe and finally install a new ROM. Currently using TWRP 3.1.1.0. Not sure if this helps you but that's what I had to do to get it to function.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
I used 4 different variants of TWRP but to no avail. I think my data was also in the f2fs format, I don't remember. Will keep it in mind next time something goes wrong! I used a Flash to Stock tool and I'm sitting at 5.0.0. Used fastboot to flash TWRP, will flash some other ROM and check what's wrong.
I was on Ground Zero ROM(Validus) with Handbag kernel.
dzidexx said:
Use "format data" first, then go to advanced wipe. It will erase all internal memory.
What rom/kernel was the last? Twrp version? @kkricardokaka95
---------- Post added at 09:43 PM ---------- Previous post was at 09:41 PM ----------
What rom/kernel it happened?
I had it with RRemix + handbag kernel 2.0.
Click to expand...
Click to collapse
Format Data wasn't working. Recovery hung and rebooted resulting in a bootloop
kkricardokaka95 said:
Format Data wasn't working. Recovery hung and rebooted resulting in a bootloop
Click to expand...
Click to collapse
Try the suggestion from post #2.
(Twrp - advanced wipe - format/repair file system)
It is most definitely the handbag kernel. I'm back on stock CRdroid kernel (completely fresh install of ROM) and have wiped format, backed up, restored all without any problems on TWRP 3.1.1.0. I even put my file system back to f2fs for data.
Sent from my XT1575 using Tapatalk
You'll have to go back to stock then flash twrp and then recover your backup.
Happened to me when I used handbag with los14. 1 and aicp

Unmounted data (twrp not ecryption it i guess :()

i tried to flash but i guess screwed up and twrp not mounting data there is nothing i can do right now its not mounting for encrypted device i guess.. i tried to flash chineese twrp it was mounted then flashed stock recovery and there is i got Encryption Unsuccessfull! Message.. what should i do ?
Go to Wipe in TWRP, and Format Data. It will wipe everything but you'll then have access again in TWRP.
stebsgb1 said:
Go to Wipe in TWRP, and Format Data. It will wipe everything but you'll then have access again in TWRP.
Click to expand...
Click to collapse
Its not even mounted how it will fix ?
Feedmeeeee said:
Its not even mounted how it will fix ?
Click to expand...
Click to collapse
I got the same error. If you go to wipe and use the format data button everything will get wiped except TWRP but since the memory on the phone is properly formatted you can connect your phone to a computer, open the phone memory like an external hard drive and just copy and paste the ROM zip and your root app zip and then flash them in TWRP. It should definitely work.
jhs39 said:
I got the same error. If you go to wipe and use the format data button everything will get wiped except TWRP but since the memory on the phone is properly formatted you can connect your phone to a computer, open the phone memory like an external hard drive and just copy and paste the ROM zip and your root app zip and then flash them in TWRP. It should definitely work.
Click to expand...
Click to collapse
Wow really thanks i will try it

Categories

Resources