[Help] TWRP without SD Card? - T-Mobile LG G6 Questions & Answers

I've been reading this "[ROOT] H872 (up to and including 20g)" thread and came to an step where i require SD Card to flash TWRP, my device fails to format it, i can't use SD Card, anyway to flash it would OTG do the trick?

AnOob_701 said:
I've been reading this "[ROOT] H872 (up to and including 20g)" thread and came to an step where i require SD Card to flash TWRP, my device fails to format it, i can't use SD Card, anyway to flash it would OTG do the trick?
Click to expand...
Click to collapse
You've already figured it out by now I'm sure after this long but posting in case anyone else comes across your issue. You can push the recovery over to the phone after formatting it. Open terminal in the directory you've downloaded the recovery to and
adb push recovery-name.img /sdcard/recovery-name.img
Then obviously, you'll find the recovery image in your sd card directory on your phone and can flash it from there.

Related

SD Card willl NOT mount on boot. Is there a fix?

Hi guys, first of thanks for taking the time to consider helping me.
Basically, last night randomly my g1 just switched off. When i try to boot up, goes to g1 screen, then boot image, then blank screen.
Boot into recovery, and it doesnt register i have an sd card in it, i wanted to wipe and reflash cm, or nandroid restore. - but cant do either as it doesnt think i have an sd card inserted.
Any ideas how to fix?
Many thanks
Try mounting it on your computer, copying everything over and formatting. You can either put the card in an external reader or try to mount it via usb in recovery using 'ums_enable' and 'ums_disable'.
AdrianK said:
Try mounting it on your computer, copying everything over and formatting. You can either put the card in an external reader or try to mount it via usb in recovery using 'ums_enable' and 'ums_disable'.
Click to expand...
Click to collapse
thanks Adrian. it wont let me mount it though, because it doesnt recognice that there is an sd card inserted. iv tried 3 different sd card, and it doesnt recognice that any of them have been inserted, so i figure its not my sd. :/
APEX.7 said:
thanks Adrian. it wont let me mount it though, because it doesnt recognice that there is an sd card inserted. iv tried 3 different sd card, and it doesnt recognice that any of them have been inserted, so i figure its not my sd. :/
Click to expand...
Click to collapse
Hmmm... I guess the only thing left to try is formatting it externally and trying again.
AdrianK said:
Hmmm... I guess the only thing left to try is formatting it externally and trying again.
Click to expand...
Click to collapse
righto. urm, noob question, is it possible to apply an update.zip via a different method? since its not recognising sd cards, can i flash a different way? thanks
APEX.7 said:
righto. urm, noob question, is it possible to apply an update.zip via a different method? since its not recognising sd cards, can i flash a different way? thanks
Click to expand...
Click to collapse
i think an sdcard is necessary to apply an update.zip .. however if you have access to a nandroid backup you could fastboot flash the system, data, and boot .img's without an sdcard
xidominicanoix said:
i think an sdcard is necessary to apply an update.zip .. however if you have access to a nandroid backup you could fastboot flash the system, data, and boot .img's without an sdcard
Click to expand...
Click to collapse
thanks, how would i go about doing this?
APEX.7 said:
thanks, how would i go about doing this?
Click to expand...
Click to collapse
Do a search in android development. It should be under Nandroid backup.
Basically you boot into fastboot and do these commands via adb:
fastboot flash system system.img
fastboot flash userdata data.img
fastboot flash boot boot.img
fastboot reboot.
Look for the thread, though. It's been a while since I've used fastboot.
APEX.7 said:
thanks, how would i go about doing this?
Click to expand...
Click to collapse
Using fastboot you can flash each part seperatly via usb, problem is ROMs are never distributed as seperate img's, just one update.zip. Buuuuuuut if your sd card will mount in your computer and you can find your nandroid folder, you will see that they are saved as multiple img's.
Once you have fastboot set up (instructions here) put the boot .img in the same directory as the fastboot executable. Boot the phone in to the SPL (home + camera) and enable fastboot. Then 'cd' to the fastboot directory in the command prompt or terminal (depending on OS) and type:
Code:
fastboot flash system system.img
If you're on a unix based OS, you maybe need to put a './' before that command.
Afterwards reboot your phone using 'fastboot reboot' (again you may need the './').
thanks guys i really apreciate this. il report back after iv had a go.
Almost forgot, make sure you clear the cache and data partitions first:
Code:
fastboot erase cache
fastboot erase userdata

[Q] Switching SD Cards NO Apps2SD

Hi, I have a G1 rooted with the SuperD 1.9.3 Rom, I never partitioned my SD card or anything like that. I want to upgrade my SD Card and partition it to get Apps2SD and keep the same Rom. I am not sure what steps to take...
lmt125 said:
Hi, I have a G1 rooted with the SuperD 1.9.3 Rom, I never partitioned my SD card or anything like that. I want to upgrade my SD Card and partition it to get Apps2SD and keep the same Rom. I am not sure what steps to take...
Click to expand...
Click to collapse
Which recovery do you have? If you don't yet, make sure to upgrade to Amon_Ra latest. Once you have that, reboot into recovery, select partition card and follow directions on screen. This will wipe your card completely so backup anything you want to save. It will not affect your rom in any way. You may have to move your existing apps manually, not sure.
How do i know what recovery i have? Do I partition my current sd card or the new one?
So I do not need to reflash the Super D?
lmt125 said:
How do i know what recovery i have? Do I partition my current sd card or the new one?
So I do not need to reflash the Super D?
Click to expand...
Click to collapse
You would boot into recovery and look to see which one you have, it will say it right on top. You will partition your new card. Absolutely no need to reflash your rom, it will recognize your ext partition and install all future apps in it automatically. As I said, I'm not sure about existing apps, you may need to move them manually.
It says Android Sysem Recovery Utility Build: JFv1.42 There is nothing that says Partition SD or anything like that... Now my rom is on my current sd card if I don't flash it to the new one my phone still knows what rom I have? Sorry about all the questions thanks for your help =)
I was thinking of doing this to install Amon RA's recovery img
I got it from another forum in here....
Copy recovery-RA-dream-v1.7.0.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
select console from the menu
#mount -a (this can give back an error if you don't have an ext partition, don't worry about it and just proceed)
#flash_image recovery /sdcard/recovery-RA-dream-v1.7.0.img
JF's recovery does not have that option because it's really, really, really old. We did not even have apps to sd back then.
Flash RA's recovery (directions seem right, I assume you got them out of RA's thread), you'll see the difference: many more options, etc
Good luck.
Ok, so I am going to do the following steps....
1. Flash Amon Ra's recovery image
2. Reboot phone
3. Get into recovery again
4. Back up my sd card on the computer, remove sd card from phone
5. Insert new sd card, partition sd card
6. Transfer files from old sd card including update.zip which is the rom
7. Reboot phone
Let me know if I'm missing something thanks for all your help!
I'm going to do this over the weekend...
Ok, so I got the new Amon RA recovery image but haven't done anything else...lol. So can you tell me if those steps are right? And why don't I need to flash the rom again...I currently have it on my sd card...I'm a bit confused
1. Reboot to recovery. Partition your card (I suggest 512mb for ext partition, rest is fat, follow instructions within recovery).
2. Upgrade ext to ext3.
3. Reboot (your phone will move your existing apps onto sd.) It may take a while to fully boot, just give it 10 min or so.
4. In terminal emulator type
Code:
su
fix_permissions
5. Reboot again.
5. Transfer whatever you had on your old sdcard (music, pics, etc) onto your new card.
As far as flashing the rom again.... why? Your OP says you want to keep your existing rom.
To check if your apps were moved:
In terminal:
Code:
su
ls /system/sd/app
ls /system/sd/app-private
ls /system/sd/dalvik-cache
Should give you print-out of what you have on ext partition of your sdcard (or you can use root explorer or whatever other file manager, I'm a bit old shool so I prefer terminal or adb)
5. Reboot again.
5. Transfer whatever you had on your old sdcard (music, pics, etc) onto your new card.
Okay in step 5. Reboot again do I just type in the terminal emulator reboot or reboot recovery?
Also when you say "transfer whatever you had on your old card..." Do I also transfer the file that says update.zip?
Sorry for all the questions, I should be getting my new sd card today and will try it out tonight.
Thank you.
You just type reboot.
It is up to you what you want to transfer onto your new card. I assume that update.zip is your current rom. If so, it's nice to have just in case but it will not make any difference in how the phone works. It's just an install file that you use once (unless, of course something goes terribly wrong and we all have been there ) but it's nice to have all tools needed on your card so you can quickly recover from any problems.)
BTW, with your new shiny recovery (RA1.7), you don't have to rename your files to update.zip. You can name them whatever you want (i.e Super-D1.9.3.zip, Recovery.zip) and, if you decide to reflash something, at least you will know what it is. Your new recovery will let you choose which file to flash so you can have more then one .zip file on your card if you want.
Ok so I still haven't gotten my new card! It should be here next week...Anyways I tried using switchrom to store my current just in case but I get this error Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0) (No such file or directory)
Any clues why I'm getting this do I need to have my phone connected by USB or something to a computer....?
Thanks hopefully I'll stop asking so many questions...I tried this solution but no luck
Originally Posted by siraf View Post
Guys, I just had this problem too .. at first i was so devastated. I'm glad i solved it.
I don't know if my solution is the ultimate solution or not but you guys can give it a try.
problem :
"E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0) (No such file or directory)"
In the Android System Recovery, select "USB-MS Toggle". It will enabled/disable the feature. Do it one more round and it will solve the problem.
It's telling you that it can't mount SD card.
Back up all of your stuff from SD card, format it and try again, that's the only thing I can think of.
Actually, I just ended up doing a Nandroid Backup just did Nandroid not Nandroid +ext since I don't have this card partitioned...it is backed up!
Ok buddy its easier if you do the whole process through the sdcard
First you should backup everything on your sdcard and do a BART or NAN+EXT then partion your card and restore your BART or NAN+EXT and your good to go
If this does not work press my name and look at my threads because I ask this same quetion a while ago
Post again if this does not work
Sent from my HTC Dream using Droidfreeks's App
DroidFreek said:
Ok buddy its easier if you do the whole process through the sdcard
First you should backup everything on your sdcard and do a BART or NAN+EXT then partion your card and restore your BART or NAN+EXT and your good to go
If this does not work press my name and look at my threads because I ask this same quetion a while ago
Post again if this does not work
Sent from my HTC Dream using Droidfreeks's App
Click to expand...
Click to collapse
Hi, I tried doing a Nan+ext backup but I got this error : Run nandroid-mobile.sh via console I also tried doing a Bart backup and it also said Run Bart via console...
So I just did a regular Nan Backup...I don't have my current sd card partitioned...should I partition it so I can do the Nan+ext I currently have a 2gb card and it doesn't have a class number.... Maybe I should format my card?
Thanks!
Ohh ok I see ur problem it won't let u backup nand+ext if you don't have a ext
since you backed up already go ahead and throw the nandriod and any other files on sd card to your pc the format your sd create the app partion and swap partion make sure u formate it ext3 or ext4 depending on what ur rom uses put the nandroid back on sd after format and restore post if it works or not
If this don't work just reverse the process put nad back on pc format card to what is was before then put nand back on sd and restore
Sent from my HTC Dream using XDA App
OK so I partitioned my current memory card =) and was able to succesfully do a nandroid +ext...so now when I get my new card I just have to go into recovery and do a nandroid restore and transfer all my files right? Thanks
Remember to partion your sdcard before transfer
Sent from my HTC Dream using XDA App
Ok so I tried switching my cards and formatted my new card,paritioned it, transfered the files from my other sd card, and tried to a nandroid restore...that's when I get the same error as before to do it from console.
I tried taking all the files out and repartitioning the sd card doing everything again no luck. Reflashed my rom and turned it on after it boots like normal I get a black screen. So just went back to my old sd card was getting force closes so did nandroid restore it said it did but would boot normal and get force closes.
So I reflashed my rom and reinstalled everything manually...from sd card as my market disappeared got it back after reinstalled it...
Any suggestions as I really want a bigger capacity memory card....=/

[Q] need to copy and update.zip to internal sd, problems!

hello,
I explain what happened.. after a little bad luck I briked my phone, but I have the update.zip to restore the previous state, the problem I have is that update.zip is in my pc.
how can I transfer the update.zip file to my phone if it's bricked?
I tried to go into CWM recovery, and then connect via ADB, but my pc it doesn't detect the phone (I've installed samsung usb drivers from this forum). also I tried the option "mount USB storage" in CWM but my pc doesn't do anything, and I have the sdcard mounted.
what can I do? thanks in advance!
best regards!
Jord
try to put the file on external sd and see if you can flash it thru recovery.
otherwise boot into download mode and flash that son of a ***** !!!
thanks a lot for your answer
the problem is that I have a trip pictures in internal SD card, that's why I'm avoiding to flash again through Download mode. (I have all other data in a backup except the pictures!)
now I've copied the update.zip to the external sd, I've mounted the external sd, but when I chose external_sd folder to apply the update.zip it says that "no files found" all possible methods aren't working
it was worth a shot but i didnt think it would work.
i think to flash from the external sd requires a steam kernel.
anyway, try do do a factory reset and see it that helps. along with formatting cache / dalvik cache
this will not delete items on your internal sd card
jordcrk said:
thanks a lot for your answer
the problem is that I have a trip pictures in internal SD card, that's why I'm avoiding to flash again through Download mode. (I have all other data in a backup except the pictures!)
now I've copied the update.zip to the external sd, I've mounted the external sd, but when I chose external_sd folder to apply the update.zip it says that "no files found" all possible methods aren't working
Click to expand...
Click to collapse
Odin doesn't touch the Internal SD, so why should that be an issue?
thanks both for your answers.
the problem is that I have voodoo lagfix enabled, and I can`t disabled it because it says that there is not enough free space on sd card (because of the pictures I want to save), so I think that with voodoo lagfix enabled I can't restore the firmware via odin, unfortunately. I wish I'm wrong
thanks a lot again
Just flash 2.1 with 3 files + re partition checked
u shd be sweet to use it
deadey3 said:
Just flash 2.1 with 3 files + re partition checked
u shd be sweet to use it
Click to expand...
Click to collapse
my odin shows that they are two devices connected when I connect my phone (because of voodoo lagfix enabled) so.. are you saying that even if in that state, I reflash my stock firmware with repartition enabled, my sdcard data will be fine after reflashing? I ask that because unfortunately I'm not sure
thanks a lot

[Q] Clockwork recovery sees different files than are actually on SD

Hi folks,
I am having a weird problem on my A855. When I boot into CWM recovery, I cant see the contents of my SD card. I see something totally different, something that looks like files from an old SD card. I've formatted the SD card and copied only the ZIPs that i want to use to update. When I boot to clockwork recovery I dont see them but some phantom files!
Strangely, if use the partitions menu and mount USB while in recovery, I see the correct files. Or, also while in recovery, if I adb shell, mount sdcard, list files, I also see what's actually on there.
I've already wiped boot, system, data, cache, reflashed CWM, but it still sees those old files. I've never seen this before and I've updated 6 or so different phones to Cyanogenmod.
I was able to adb push update.zip to /data/ and recovery --update_package=DATA:ROM.zip to get CM on the phone but it's a less than optimal solution.
On a related note, on my Sensation, when trying to update via ROM Manager I get a "file not found" error upon booting to recovery but at least there I can see the SD files and manually update.
Any info would be appreciated.

TWRP can't recognize SD card, how to keep TWRP on stock rom?

When I flashed TWRP using Odin, the stock rom is erased. When I flashed stock rom using Odin, TWRP is erased. How can I keep both? I am trying to install a custom rom but due to a bug with TWRP which doesn't recognize my external sd card (and erases everything in internal, leaving behind only TWRP), I am unable to do it.
Right now, after flashing TWRP (3.2.3, provided by DarkLord), my phone is left with no data at all and unable to mount the external SD card. So I can't transfer files from my pc. ADB Sideload doesn't work as well, it fails after few minutes of trying to start it.
rxzler said:
When I flashed TWRP using Odin, the stock rom is erased. When I flashed stock rom using Odin, TWRP is erased. How can I keep both? I am trying to install a custom rom but due to a bug with TWRP which doesn't recognize my external sd card (and erases everything in internal, leaving behind only TWRP), I am unable to do it.
Right now, after flashing TWRP (3.2.3, provided by DarkLord), my phone is left with no data at all and unable to mount the external SD card. So I can't transfer files from my pc. ADB Sideload doesn't work as well, it fails after few minutes of trying to start it.
Click to expand...
Click to collapse
No, you can't keep both twrp and stock Rom. unless there's a Twrp flashable stock rom.
Custom Recoveries (Twrp,Orangefox,SHRP,etc) for J7 prime have this bug i.e. unable to mount sd card or external storage.
For this, you either have to flash rom files through OTG or connect your device to the PC, copy rom files to your internal storage and flash it.

Categories

Resources