[Recovery] Unofficial CWM - 6.0.5.0 - peregrine - Moto G 4G Android Development

Shabbypenguin and the OUDHS
presents to you
ClockWorkMod Recovery 6.0.5.0
for your Moto G LTE ​
You need to be unlocked to use this i suggest following this guide
CWM-6.0.5.0 https://mega.co.nz/#!sdRBTKQZ!Km20ItpCMi34ph6X6yS98_JOtMTANNinAC_dihtyoSY
CWM-Touch-6.0.5.0 https://mega.co.nz/#!ZNxiFBjL!0w7JdyO4dT1b5QhU34NrZuSx-Cw8g_IA5KAngpst130
Code:
fastboot flash recovery CWM-6.0.5.0-peregrine.img
-----------------------------------------------------------------------------------------------------------------
Congrats you now have CWM now if you wish to root youll need to follow these instructions
-----------------------------------------------------------------------------------------------------------------
SuperSU
Directions:
1) Download the above file
2) Connect your phone and copy them to your phone or your sdcard
3) Once they are copied power down your device
4) Hold volume up, down and power to enter bootloader mode
5) using volume down scroll to recovery and then use volume up to select
6) Navigate recovery by using the volume keys and power to select
7) Choose install zip from sdcard, then pick internal or external (where you copied it to)
8) Scroll down to the SuperSU.zip and select it to install
-----------------------------------------------------------------------------------------------------------------
Congrats you are rooted! this procedure will work on any firmware update you guys get
-----------------------------------------------------------------------------------------------------------------
Bugs:
Certain SDcards dont appear to work in recovery even though they work when booted, may be a brand or speed thing not sure :/.
Credits:
eteles - testing
suhridkhan - testing
dhacker - for all the heavy lifting on previous moto devices.
Source​

Thanks for your hard work

Is there a Moto X dt version?

Hello @shabbypenguin !
Thanks for porting CWM to our awesome Moto G 4G!
Is this fully functional? Does sdcard works?
Thx

stephtban said:
Hello @shabbypenguin !
Thanks for porting CWM to our awesome Moto G 4G!
Is this fully functional? Does sdcard works?
Thx
Click to expand...
Click to collapse
yes spent several hours last night trying to work on the dts files and seif i could figure it out and had a test build this morning only to find out that moto pushed new source that fixed it

Awesome!
A new world is there!!
Thanks a lot!
...and sorry for your wasted time ^^

Running Motorola XT1039 - Peregrine
Have already rooted via SuperSU flash from fastboot boot. First time flashing custom recovery on this phone.
Cant access or mount external SD. Also, I cannot boot into recovery from bootloader.
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
I: Cannot load volume /misc
mount: mounting /dev/block/mmcblk1p1 on /external_sd failed: No such file or directoy
E: Can't mount /external_sd
mount: mounting /dev/block/mmcblk1p1 on /external_sd failed: No such file or directoy
E: Can't mount /external_sd
I: Cannot load volume /misc
I: using /data/media/0/ for /sdcard
mount: mounting /dev/block/mmcblk1p1 on /external_sd failed: No such file or directoy
E: Can't mount /external_sd
I: Cannot load volume /misc
I: Cannot load volume /misc
I have no issues with accessing SD card once Android boots up. I have tried, reflashing recovery and erasing cache via fastboot. Anything I should try?
EDIT: Fixed by swapping out my Samsung 32gb UHS-1 MicroSD (that was working fine when I booted android) with an 8gb Class 4 Kingston! No UHS-1 in recovery?

interesting, @eteles has a xt1040 i believe and he reported that it was working with the new dtb files.

shabbypenguin said:
interesting, @eteles has a xt1040 i believe and he reported that it was working with the new dtb files.
Click to expand...
Click to collapse
It works flawlessly on XT1040... Using 32GB sandisk class 10 sdcard...

Flashed it via the app rashr on my XT1039
I can access my sdcard files and backup to it (that's all i tested so far)
 @vpnair : maybe you can try to download it again

Congrats and thank you a lot !
You guys are amazing. Seriously ^^

shabbypenguin said:
interesting, @eteles has a xt1040 i believe and he reported that it was working with the new dtb files.
Click to expand...
Click to collapse
The interesting thing is, I believe i did access the external SD initially (via Install Zip option), but when I went to the option of Mounts and Storage and attempted to mount external sd (to access on PC). It came with mounting error. Since then, no matter what I do, I cannot access SD card from recovery.
Recent attempts at flashing
1. Tried redownloading and flashing with both fastboot and mfastboot. Noticed that bootloader said 'Mismatched partition size (Recovery)' in red. Didn't notice the first time i flashed (maybe it was there.. I dont know).
(EDIT: Fixed by swapping out my Samsung 32gb UHS-1 MicroSD (that was working fine when I booted android) with an 8gb Class 4 Kingston! No UHS-1 in recovery?)
2. Can't boot from bootloader to recovery (first time it just went to normal bootup, now it just turns off the phone) (EDIT: Solved! - Have to select Recovery via Volume Up key - Thanks @eteles)
3. Volume UP + DOWN + Power button goes to bootloader too not recovery.
4. Can only get into recovery by 'Reboot --> Recovery' (advanced reboot menu with gravitybox) EDIT: See 2.

vpnair said:
The interesting thing is, I believe i did access the external SD initially, but when I went to the option of Mount and Storage and attempted to mount external sd (to access on PC). It came with error. Since then, no matter what I do, I cannot access SD card.
1. Tried redownloading and flashing with both fastboot and mfastboot. Noticed that bootloader said 'Mismatched partition size (Recovery)' in red. Didn't notice the first time i flashed (maybe it was there.. I dont know).
2. Can't boot from bootloader to recovery (first time it just went to normal bootup, now it just turns off the phone)
3. Volume UP + DOWN + Power button goes to bootloader not recovery.
4. Can only get into recovery by 'Reboot --> Recovery' (advanced reboot menu with gravitybox)
Click to expand...
Click to collapse
ah yea i dont expect it to connect to a computer and allow transfer of files in recovery mode, usually taht requires the lun file and even then its iffy at best if it works.
1) mismatched just means it didnt match the exact size of the original.
2) thats very odd...
3) good to know, i did a quick google on how to enter recovery and saw the buttons so i figured that was it

here is the md5sum for CWM-6.0.5.0-peregrine.img to avoid file corruption
fd058b2bc0aef105096369c60d07ad32

shabbypenguin said:
ah yea i dont expect it to connect to a computer and allow transfer of files in recovery mode, usually taht requires the lun file and even then its iffy at best if it works.
1) mismatched just means it didnt match the exact size of the original.
2) thats very odd...
3) good to know, i did a quick google on how to enter recovery and saw the buttons so i figured that was it
Click to expand...
Click to collapse
You have to boot into bootloader mode, go to recovery option with volume down key and select it with vol UP... Do not use power button to select it...

Is this a touch recovery?

eteles said:
You have to boot into bootloader mode, go to recovery option with volume down key and select it with vol UP... Do not use power button to select it...
Click to expand...
Click to collapse
Haha indeed. I'm proper retard. Now it boots into recovery fine. But MD5 of CWM recovery is okay (@stephtban thanks for the suggestion though). Also tried Shabby's TWRP. No luck.
I guess i screwed something up by trying to mount it. :S Always open to suggestions, if anyone can come up with any. But for now, I'll say its just my phone that hates me and leave it at that.
Thanks Shabby. Swell guy. I'll donate once I get money next week. Hope others do too, for the time you've spent on this.

Kahroo said:
Is this a touch recovery?
Click to expand...
Click to collapse
it should have swipe controls enabled, i suppose i should build a newer version that has a full touch recovery interface though
vpnair said:
Haha indeed. I'm proper retard. Now it boots into recovery fine. But MD5 of CWM recovery is okay (@stephtban thanks for the suggestion though). Also tried Shabby's TWRP. No luck.
I guess i screwed something up by trying to mount it. :S Always open to suggestions, if anyone can come up with any. But for now, I'll say its just my phone that hates me and leave it at that.
Thanks Shabby. Swell guy. I'll donate once I get money next week. Hope others do too, for the time you've spent on this.
Click to expand...
Click to collapse
oh dear. is tehre another sdcard you can test with? i would feel terrible if it turns out it broke your sdcard

shabbypenguin said:
it should have swipe controls enabled, i suppose i should build a newer version that has a full touch recovery interface though
oh dear. is tehre another sdcard you can test with? i would feel terrible if it turns out it broke your sdcard
Click to expand...
Click to collapse
I had the same thought as you, it seemed to be the only variable. It's a Samsung 32gb SD Card Class 10 MicroSDHC UHS-1 (like this).
I have read that Moto G does not suppoert UHS-1 speed, but that it is still compatible. And it does, works fine...except recovery! Swapped it for a 8gb Kingston MicroSDHC Class 4 and voila...working!
Interesting that the the the 32gb UHS-1 card does work once I boot up (so it isn't a hardware issue). Motorola need to address this.

vpnair said:
I had the same thought as you, it seemed to be the only variable. It's a Samsung 32gb SD Card Class 10 MicroSDHC UHS-1 (like this).
I have read that Moto G does not suppoert UHS-1 speed, but that it is still compatible. And it does, works fine...except recovery! Swapped it for a Kingston MicroSDHC Class 4 and voila...working!
Interesting that the Samsung 32gb SD card does work once I boot up (unlike some others). Motorola need to fix this.
Click to expand...
Click to collapse
oh ok, i thought i cost you some files. how is it formatted?

Related

[Q] How do you access clockwork mod on the nook?

How do you access clockwork recovery on the nook? Does the 3 button combo work? Is it different if you are running a rom off of the sd than if it's run directly off of the nook?
You have two options:
If you're booted up you can go to the Rom Manage app and select Reboot In Recovery Mode.
Or you can shut down by pressing power button and then on screen shut down button.
When your NC is completely off press and hold Power and 'n' button simultaneously for about 5 seconds.
It took me two hours of searching to find this answer. Hopefully this thread will come up in search results
Thank you, I was wondering this also.
neither method seems to work for me unfortunately. Both just end up booting normally.
Are you sure you installed CWM? From RomManager you need to select "Flash ClockworkMod Recovery". Also, I'm not sure how having an active system on an SD card will affect this process. Are you booting from eMMC or SD?
I don't mean to thread steal (hopefully i am just providing more useful information if my question/problem is answered).
When I boot into clockwork, i get can't mount SD card. Therefore can't install any themes as the themes are on the SD card, is there something I am doing wrong? I think I reformatted my SD card to be fat32 and not NTFS, does this matter? It seems to be able to read off the SD card when I am fully booted up.
TIA
easyski said:
I don't mean to thread steal (hopefully i am just providing more useful information if my question/problem is answered).
When I boot into clockwork, i get can't mount SD card. Therefore can't install any themes as the themes are on the SD card, is there something I am doing wrong? I think I reformatted my SD card to be fat32 and not NTFS, does this matter? It seems to be able to read off the SD card when I am fully booted up.
TIA
Click to expand...
Click to collapse
Different problem. Reformat in NTFS and try again.
k2snowboards88 said:
neither method seems to work for me unfortunately. Both just end up booting normally.
Click to expand...
Click to collapse
I was having the same issue after flashing the eMMC install for Honeycomb from the dev forums. I ended up going back to CM7 but when I tried to install the new Clockwork Recovery (3.0.1.0) using the manual method it wouldn't work and just kept booting strait to CM7.
To fix it I first restored the stock boot img from this thread.
http://forum.xda-developers.com/showthread.php?t=919353
After that I put in my bootable SD card and flashed the cwmr_3.0.1.0.zip from this thread.
http://forum.xda-developers.com/showthread.php?t=971197
That fixed my boot issues and got recovery working, after that I could flash the image I wanted using a non-SD recovery.
Before doing any of that it would probably be a good idea to toss in a bootable SD card and doing a backup.

[Q] After formatting internal SD with NTFS it can't mount nor format even with CWM

It happened after formatting it with NTFS (it was a temporary thing so I can use it with one of Microsoft services), and my device is working and rebooting properly without any error messages..So what can I do now to make my SD working again?
(I don't really need the data that was on it, I just need the card to work)
Thanks..
ramy670 said:
It happened after formatting it with "Windows7-USB-DVD-Download-Tool" (I was trying to use it as USB flash memory in order to install windows), and my device is working and rebooting properly without any error messages..So what can I do now to make my SD working again?
(I don't really need the data that was on it, I just need the card to work)
Thanks..
Click to expand...
Click to collapse
try formatting the card from within CWM, i presume if you boot up the phone you can't mount/unmount it and subsequently format it from within Android.
but i would try fromating it as FAT32 from within Windows 7 first, NTFS is not supported by Android to the best of my Knowladge...
Thanks, yes I can't format it in Android since i can't mount it, I've already tried formatting it from CWM with no luck, it showed this:
Formatting /sdcard...
Error mounting /sdcard!
Skipping format...
Done.
And windows doesn't see the card at all when I connect phone to PC, so I can't use windows to format it too.
ramy670 said:
so I can't use windows to format it too.
Click to expand...
Click to collapse
Try a formatting tool or recovery tool in My Android Collections
olaf2k4
Turned out you're right, the problem is android not being able to handle NTFS properly, I tried to format external SD card with NTFS to see what will happen, and I had the EXACT same symptoms, but of course I removed from phone and had it formatted using card reader and it's working properly now with my phone..
xsenman
The problem now is that windows can't see internal card at all, I've tried one of format tools form the link you put, but it didn't help since phone "doesn't allow" windows to detect the memory, any other way to do it? right now I'm trying this:
http://forum.xda-developers.com/showthread.php?t=1724078
It seems like it isn't easy to install NTFS support from the link above (since you need fuse.ko file that should be compiled for both your device and ROM), is there any kernal that support NTFS or any other easy way to do it?
If you are talking about your external sd just format at fat32. This is standard for sdcards and your phone wil reconize your card..
Unfortunately it is the internal one..
ramy670 said:
Unfortunately it is the internal one..
Click to expand...
Click to collapse
ny solutions?? :crying:
me facing same problems... phone doesn't detects internal sd, neither it connects to pc via mass storage... :crying:
I don't care about the data in it even if its gone, I jus want my internal sd back...
Anyone?..
Swaps100050 said:
ny solutions?? :crying:
me facing same problems... phone doesn't detects internal sd, neither it connects to pc via mass storage... :crying:
I don't care about the data in it even if its gone, I jus want my internal sd back...
Click to expand...
Click to collapse
Finally, I found a solution, just do the following (I tried it and it worked):
1. First install the drivers ONLY if you haven`t already installed them, also if you have Kies installed there is no need to install these drivers, but you are better off installing these anyway : http://dev-host.org/ZRA
2. Download this package (it includes i9000 stock rom+kernel+odin) : http://dev-host.org/RAE, if you have a Captivate or a Vibrant just download a stock rom for your phone model and find a kernel which has root and cwm in it.
NOTE : The next step will require using the 3 key combo for accessing the clockworkmod recovery and also the download mode.The 3 key combo used below is for the Samsung Galaxy S GT-i9000. If you own a Captivate or a Vibrant please click this link and choose your phone model to see what 3 key combo must be used, as it differs from one phone model to another : http://tinyurl.com/6q6ajpx
3. After you have extracted all the contents you downloaded and installed drivers, put your phone into download mode using the 3 key combo : volume DOWN + home button+power button, keep those pressed until it goes into download mode.
4. Connect phone to PC via USB Cable and open Odin (windows should detect the phone and install some drivers, after it`s finished you should see the message "Added!" in Odin which means Odin succesfully detected your phone so now you are ready to flash)>check Re-Partition Option>press PIT button and browse for the s1_odin_20100512.pit file, press BOOTLOADER button and browse for the APBOOT… file, press PDA button and browse for the CODE….file, press PHONE button and browse for the MODEM….file, press CSC button and browse for the GT-I9000-CSC….file. PRESS START button and wait for the green pass notification in Odin.
• When the phone reboots into the rom, wait for the setup wizard to appear and then just use the 3 key combo into the download mode again.
Close Odin and open it again> press PDA button and browse for CF-Root…file> Press START button and wait for the green pass notification in Odin.
Click to expand...
Click to collapse
ramy670 said:
Finally, I found a solution, just do the following (I tried it and it worked):
Click to expand...
Click to collapse
No need to do all this.
Just:
- remove external sd card (if you have one inserted)
- reboot into CWM-based recovery
- mounts and storage
- mount USB storage
You will be able to see and format, FAT32, the disk using windows
N3tMast3r said:
No need to do all this.
Just:
- remove external sd card (if you have one inserted)
- reboot into CWM-based recovery
- mounts and storage
- mount USB storage
You will be able to see and format, FAT32, the disk using windows
Click to expand...
Click to collapse
hello, i also did this stupid mistake on my part. Formatted the Internal memory of my Pantech Burst to NTFS. Now its unformattable, unmountable etc. I tried ur way, but it throws up an error
"Unable to write to ums lunfile (no such file or directory)"
wat to do ?
Swaps100050 said:
ny solutions?? :crying:
me facing same problems... phone doesn't detects internal sd, neither it connects to pc via mass storage... :crying:
I don't care about the data in it even if its gone, I jus want my internal sd back...
Click to expand...
Click to collapse
what i did was to go in recovery mode...mount usb ...conect to pc and reformat to fat 32..
harryneopotter said:
hello, i also did this stupid mistake on my part. Formatted the Internal memory of my Pantech Burst to NTFS. Now its unformattable, unmountable etc. I tried ur way, but it throws up an error
"Unable to write to ums lunfile (no such file or directory)"
wat to do ?
Click to expand...
Click to collapse
Are u able to wipe data/factory reset? If u are able to do so do it and then follow my procedure... if u are not able, try to follow my procedure more carefully. It is the only thing I can suggest, sorry
N3tMast3r said:
Are u able to wipe data/factory reset? If u are able to do so do it and then follow my procedure... if u are not able, try to follow my procedure more carefully. It is the only thing I can suggest, sorry
Click to expand...
Click to collapse
I tried your method, but selecting "Mount USB" was throwing the error i mentioned in my last post. Though i solved it eventually. Somehow i ended up in the phone's own recovery/bootloader menu, had an option of "Low level format" there. Took around an hour or so .. but it worked :good:

Can the internal SD get corrupted?

so i woke up this am and the phone was dead. dark screen but the bottom row keys lit up.
the phone is a original galaxy s captivate on att. i was running stock gingerbread with a root for at least a year or so. i have put custom roms on in the past but went back to stock using Kies
I've tried a couple of things that have worked for me in the past but no luck. here is what I've already tried
http://forum.xda-developers.com/showthread.php?t=731989
http://www.addictivetips.com/mobile...-3-gingerbread-firmware-on-samsung-captivate/
Odin doesn't return any errors just won't boot, only DL mode or recovery. i can use the volume and plug in to get to download mode and the three button combo to get to recovery console but i keep getting the same error msg. i've tried to 'wipe data/factory reset' and 'wipe cache partition'
see attached image (used a friends phone)
is this recoverable?
I'm not familiar with either method you tried but since you can get into download mode I would suggest the following. Go here http://forum.xda-developers.com/showthread.php?t=1300843 go to the third post and download the kk4 one-click without boot loaders. Run that then boot back into download mode. Go here http://forum.xda-developers.com/showthread.php?t=1294477 and download the corn kernel .tar file. Use Odin to flash it to your phone if you want root or to flash custom ROMs.
If you just want a working phone with gingerbread then the first link should get you set up. And to answer your question in the title yes the internal memory can get corrupt.
Sent from my SGH-I897 using xda app-developers app
thanks for the quick reply. but i got the same screen after odin competed it said PASS! in green. but then the phone booted to recovery and a simmilar screen came up with ''failed to mount /sdcard (no such file or directory) but the rest of the red part is the same.if i hit' reboot device it brough back the ATT logo and the galaxy S but then it loops back to the ATT and keeps looping. anything else i can try? thx
Was this the Odin one-click or was it the kernel?
Sent from my SGH-I897 using xda app-developers app
that was Odin one click. i didn't even try the second one.
OK well try using Odin to flash the kernel I listed above. That should give you a custom recovery which will allow you the option of mounting and also formatting the SD card. Try mounting it to your PC first so you can backup anything you want.
Sent from my SGH-I897 using xda app-developers app
ok, which Odin? and which slot does the kernel go in? sorry for all the dumb questions
ok, i got it. put it in the PDA slot and i'm running the custom kernel. but it still gives me an error when i try to mount the sdcard, just says 'error mounding /sdcard!'
if i try to mount 'data' the screen goes blank.
gisxer said:
ok, i got it. put it in the PDA slot and i'm running the custom kernel. but it still gives me an error when i try to mount the sdcard, just says 'error mounding /sdcard!'
if i try to mount 'data' the screen goes blank.
Click to expand...
Click to collapse
Formatting anything will of course cause you to loose any data on the internal SD. I'm sure you know that I just want to be clear before you do what I'm suggesting.
Ok if you have an external SD card in the phone remove it now. Then in recovery go to Mounts and Storage. In there format sdcard and emmc. Then back out of that screen and select advanced and then reboot recovery. Then try mounting your sd card again or there should be a mount usb storage option which will allow you to mount it to your pc(if its working).
i totally understand. i keep backups of everything and i havent had the ext-sd or sim in this whole time.
in recovery i dont' see emmc, and when i try to format sdcard, the msg at the bottom is
'using format_unknown-device... '
'Error mounting /sdcard!'
'Skipping format...'
'done.'
gisxer said:
i totally understand. i keep backups of everything and i havent had the ext-sd or sim in this whole time.
in recovery i dont' see emmc, and when i try to format sdcard, the msg at the bottom is
'using format_unknown-device... '
'Error mounting /sdcard!'
'Skipping format...'
'done.'
Click to expand...
Click to collapse
Can you load another snapshot of what is listed in the mounts and storage screen?
sorry, i'll have to wait till tomorrow at work. i don't have a other phone that can take the pic
it's a little blurry but you can read it.
I have the exact same issue as you and I've worked around it by following this guide http://forum.xda-developers.com/showthread.php?t=1447303
I think your internal sdcard is dead
can you use mount usb storage option found in mount and storage
gisxer said:
it's a little blurry but you can read it.
Click to expand...
Click to collapse
Try selecting - mount /data then try to reboot. ...a shot in the dark but its all i can see that is different from my corn kernel recovery. But probably as stated above, ur internal sdcard may b gone.
Sent from my SGH-I777 using xda premium
When I try to mount USB storage, it give error 'Unable to write to ums lunfile (No such file or directory
I'm going to try Siesta410 method next
thanks for everyone's input so far...
gisxer said:
When I try to mount USB storage, it give error 'Unable to write to ums lunfile (No such file or directory
I'm going to try Siesta410 method next
thanks for everyone's input so far...
Click to expand...
Click to collapse
Any luck there?
Had similar issue long back, could not revive internal SD, I partitioned my external SD card (3 partitions, i forgot how), then loaded AOCP 5+ , it installed on to external sd which was considered internal by OS. It worked fine, but you can't swap out any other SD card easily as OS is in your external card.
Don't remember many details..

Recovery can't access External SD

I've read 96 threads about people can't make the recovery (stock recovery, Ra recovery, CWM recovery) find and run the update.zip on the external SD card, the solutions have been:
reformat the SD card
use other SD card
reformat SD card on CWM recovery
repartition SD card on CWM recovery
flash an other ROM
flash to stock rom then the custom ROM
After trying every procedures some pleople and I still getting (CWM log):
" mount: mounting /dev/block/mmcblk1p1 on /sd-ext failed: invalid argument "
" W:try_mount failed to mount /dev/block/mmcblk1p1 /sd-ext (error: 17 - File exists) "
Please help...
If there is other method to fix, please help to fix
If can't be fixed, please give me another method to flash the new ROMs, all of them are in .zip file to be loaded in external SD card.
Moved to Q&A
This is the solution - didn't know it- :
When Ext-SD not working put the "ROMname".zip into the internal memory (internal SDdisk), run CWM and load it, the flashing process won't touch the internal SDdisk.
Hope this help the others.
ar_156 said:
This is the solution - didn't know it- :
When Ext-SD not working put the "ROMname".zip into the internal memory (internal SDdisk), run CWM and load it, the flashing process won't touch the internal SDdisk.
Hope this help the others.
Click to expand...
Click to collapse
Actually, your ROM should always be flashed from your internal SD, I'm not sure where you read otherwise.
Also, you might wanna concider reformating your external SD to FAT32 (full format). If that doesn't work, your external might be bad.
How do you copy a file from external to internal SD?
I can boot into android's recovery but do not know how to copy a good update.zip to the internal SD card.
Is there a way to do this on-phone? The files are right there on the external SD. Or do I have to connect it to my computer?
BWolf56 said:
Actually, your ROM should always be flashed from your internal SD, I'm not sure where you read otherwise.
Click to expand...
Click to collapse
My situation:
Using Open Recovery I tried to install CM7 with custom kernel on my XT720
It gave an error: "assert failed: write_raw_image... Status 7" As I was looking that up, my phone blackscreened. After a while I pulled the battery.
Then on startup it went into a bootloop after a picture of a broken screen saying "2ndboot kernel restart in progress." (Presumably the kernel wasn't properly applied?)
Trying to boot into bootloader says battery is too low.
Phone will only turn on when plugged into outlet.
What I think I need to do:
- Copy a good update from my external SD over the bad update.zip on the internal SD, and apply the update to reset the kernel, etc.
- Open Recovery could do this, if I could load it.
- I could load Openrecovery if I could get the bootloader to run,
- I could get the bootloader to run if my battery would charge
msentesy said:
I can boot into android's recovery but do not know how to copy a good update.zip to the internal SD card.
Is there a way to do this on-phone? The files are right there on the external SD. Or do I have to connect it to my computer?
My situation:
Using Open Recovery I tried to install CM7 with custom kernel on my XT720
It gave an error: "assert failed: write_raw_image... Status 7" As I was looking that up, my phone blackscreened. After a while I pulled the battery.
Then on startup it went into a bootloop after a picture of a broken screen saying "2ndboot kernel restart in progress." (Presumably the kernel wasn't properly applied?)
Trying to boot into bootloader says battery is too low.
Phone will only turn on when plugged into outlet.
What I think I need to do:
- Copy a good update from my external SD over the bad update.zip on the internal SD, and apply the update to reset the kernel, etc.
- Open Recovery could do this, if I could load it.
- I could load Openrecovery if I could get the bootloader to run,
- I could get the bootloader to run if my battery would charge
Click to expand...
Click to collapse
The XT720 is a completely different device. You're in the Captivate section (SGH-897) here. You might be able to get better support over there as I don't know much about that device.
Will Do
BWolf56 said:
The XT720 is a completely different device. You're in the Captivate section (SGH-897) here. You might be able to get better support over there as I don't know much about that device.
Click to expand...
Click to collapse
Thanks! I posted here because I have the same problem with recovery, hoping there would be a similar solution. Asked in the other forums.

Unbrick LG G4 H811 9008 Qualcomm

Hi guys,
i came up with a temporary to unbrick LG G4 H811 , you just need a 32 GB SD card ( i used Sandisk 10 class) , the dump that i will link , and Win32 disk Imager, the SD card must low level formatted.
1- download this dump
http://www.mediafire.com/download/nkaarfueu161run/H811-10N-fulldump.zip
2- put the SD card in the PC and chose the dump file and write ( run as admin ):
3- put the sd card in the phone plug the battery and power on.
now you will be able to enter Download mode, the problem is that when you flash a firmware, it goes to the SD card rather than the EMMC memory. the Dump is included with TWRP recovery and an unlocked Bootloader, so if someone happens to know how to access or mount the EMMC memory that would be awesome
Guys this solution is for H811 bricked by Firmware downgrade, not for deffective devices (serial 505) which Bricked on there own
EDIT : if you can enter TWRP recovey , check if your EMMC memory is alive by typing in terminal : cat /proc/partitions
if you see both mmcblk0 and mmcblk1 , congratulations !! your EMMC is alive , if not , you can use the SD card as your primary storage and flash either a custum ROM or KDZ
leptdre said:
Hi guys,
i came up with a temporary to unbrick LG G4 H811 , you just need a 32 GB SD card ( i used Sandisk 10 class) , the dump that i will link , and Win32 disk Imager, the SD card must low level formatted.
1- download this dump
http://www.mediafire.com/download/nkaarfueu161run/H811-10N-fulldump.zip
2- put the SD card in the PC and chose the dump file and write ( run as admin ):
3- put the sd card in the phone plug the battery and power on.
now you will be able to enter Download mode, the problem is that when you flash a firmware, it goes to the SD card rather than the EMMC memory. the Dump is included with TWRP recovery and an unlocked Bootloader, so if someone happens to know how to access or mount the EMMC memory that would be awesome
Click to expand...
Click to collapse
Thanks for your efforts but this did not work for me. Maybe someone else will have better luck??
hard bricked my g4
I saw this post and jumped at the opportunity to try something different than what ive been trying. I will post back with results on whether or not this process was successful. I hope someone finds a permanent solution to this issue. All of my rom flashing experience comes from the HTC M7 (Sprint) which I found out extremely fast is a lot more forgiving. I flashed a rom to my G4 and as soon as I rebooted my phone wouldnt power on or show any signs of life although in device manager it shows the phone as a "port" then qualcomm 9008,,,,, Anyway, fingers crossed!:good:
leptdre said:
Hi guys,
i came up with a temporary to unbrick LG G4 H811 , you just need a 32 GB SD card ( i used Sandisk 10 class) , the dump that i will link , and Win32 disk Imager, the SD card must low level formatted.
1- download this dump
http://www.mediafire.com/download/nkaarfueu161run/H811-10N-fulldump.zip
2- put the SD card in the PC and chose the dump file and write ( run as admin ):
3- put the sd card in the phone plug the battery and power on.
now you will be able to enter Download mode, the problem is that when you flash a firmware, it goes to the SD card rather than the EMMC memory. the Dump is included with TWRP recovery and an unlocked Bootloader, so if someone happens to know how to access or mount the EMMC memory that would be awesome
Click to expand...
Click to collapse
Unfortunately I dont think this worked for me either. Unless there is something Im doing wrong.
Using a Sandisk Ultra 32GB SD Card with a Sandisk reader to put into the computer, WinDisk32 and the image provided phone shows signs of life! My battery is dead but it is charging. It is now boot looping to Secure Booting Error - Error Code: 1006. I will get a real charge on the battery now and then play around. Thanks for this!
Unfortunately it will not stay on the Download Mode long enough to do anything. But at least there is life.
This got me on the right path and I did fix it like this. I downloaded the H811 V20o dump from this thread (http://forum.xda-developers.com/g4/development/unbrick-lg-g4-h815-9008-qualcomm-t3452853) Link to file here Link .
After I did this I booted up to download mode but would not get a USB connection (go figure) so I booted to TWRP and flashed the Bootloader for H811 20i and the Boot from Here.
After I rebooted this allowed me to boot in Download mode with a USB connection. Once I saw that I removed my MicroSD flashed the 20o KDZ and I was back up and running!
Hopefully this helps anyone stuck!
Velrix said:
This got me on the right path and I did fix it like this. I downloaded the H811 V20o dump from this thread (http://forum.xda-developers.com/g4/development/unbrick-lg-g4-h815-9008-qualcomm-t3452853) Link to file here Link .
After I did this I booted up to download mode but would not get a USB connection (go figure) so I booted to TWRP and flashed the Bootloader for H811 20i and the Boot from Here.
After I rebooted this allowed me to boot in Download mode with a USB connection. Once I saw that I removed my MicroSD flashed the 20o KDZ and I was back up and running!
Hopefully this helps anyone stuck!
Click to expand...
Click to collapse
Is your phone working without the SD card inside ?????????????
Velrix said:
This got me on the right path and I did fix it like this. I downloaded the H811 V20o dump from this thread (http://forum.xda-developers.com/g4/development/unbrick-lg-g4-h815-9008-qualcomm-t3452853) Link to file here Link .
After I did this I booted up to download mode but would not get a USB connection (go figure) so I booted to TWRP and flashed the Bootloader for H811 20i and the Boot from Here.
After I rebooted this allowed me to boot in Download mode with a USB connection. Once I saw that I removed my MicroSD flashed the 20o KDZ and I was back up and running!
Hopefully this helps anyone stuck!
Click to expand...
Click to collapse
Also , what software didi you to flash the firmware , please post the complete procedure
leptdre said:
Also , what software didi you to flash the firmware , please post the complete procedure
Click to expand...
Click to collapse
After I got back into Download mode and the PC recognized I pulled the SDcard out and used LG UP to flash the 20o KDZ.
Velrix said:
After I got back into Download mode and the PC recognized I pulled the SDcard out and used LG UP to flash the 20o KDZ.
Click to expand...
Click to collapse
How did you get into recovery mode to flash the .bin you mentioned? I just keep getting the Secure Boot 1006 error and boot loops on Download mode.
premiso said:
How did you get into recovery mode to flash the .bin you mentioned? I just keep getting the Secure Boot 1006 error and boot loops on Download mode.
Click to expand...
Click to collapse
If you can boot off the SD card, plugging in the USB while the phone is off and holding VOL UP will get you into Download mode. If you need to get to recovery hold VOL DOWN + PWR until the LG Screen shows then briefly let go of PWR and hold it again. This will give you the normal recovery options, select yes 2 times to boot into TWRP.
Velrix said:
If you can boot off the SD card, plugging in the USB while the phone is off and holding VOL UP will get you into Download mode. If you need to get to recovery hold VOL DOWN + PWR until the LG Screen shows then briefly let go of PWR and hold it again. This will give you the normal recovery options, select yes 2 times to boot into TWRP.
Click to expand...
Click to collapse
Congrats on your success. Could you please tell me what format you used for SD Card? Fat32 or ExFat or?? Thank you
billyboy2316 said:
Congrats on your success. Could you please tell me what format you used for SD Card? Fat32 or ExFat or?? Thank you
Click to expand...
Click to collapse
ExFat
Awesome, so I saw the recovery but after I select yes two times it just black screened. I restarted the phone by pulling the battery and tried imaging twrp to the drive. Did it again and it just restarted to that 1006 error after selecting yes twice.
Now, I have flashed everything that did work and nothing comes up kind of baffled at what happened might be my SDCard is doing something wonky so will have to check another card when I have time to go buy one.
Velrix said:
If you can boot off the SD card, plugging in the USB while the phone is off and holding VOL UP will get you into Download mode. If you need to get to recovery hold VOL DOWN + PWR until the LG Screen shows then briefly let go of PWR and hold it again. This will give you the normal recovery options, select yes 2 times to boot into TWRP.
Click to expand...
Click to collapse
premiso said:
Awesome, so I saw the recovery but after I select yes two times it just black screened. I restarted the phone by pulling the battery and tried imaging twrp to the drive. Did it again and it just restarted to that 1006 error after selecting yes twice.
Now, I have flashed everything that did work and nothing comes up kind of baffled at what happened might be my SDCard is doing something wonky so will have to check another card when I have time to go buy one.
Click to expand...
Click to collapse
Just to clarify. When the imager was done writing to the disk. Did you have an actual image or a folder with files that said image?
Update:
And as I type this I just flashed the singleimage.bin again and I am able to get into the Factory Reset page.
-----Old Post-----
Shows up as like an 86MB partition with 11.9MB free space.
Inside there is an "image" folder with around 178 files in it. This happens when I image either the singleimage.bin, the H811-10N-fulldump.img, or Dump_H811_1GB.img.
The H811-10N image used to work, as did the systemimage.bin. But now nothing I am flashing to the MicroSD is pulling up the phone.
billyboy2316 said:
Just to clarify. When the imager was done writing to the disk. Did you have an actual image or a folder with files that said image?
Click to expand...
Click to collapse
for who suceded , how the internal memory is Labeled in TWRP ?????
premiso said:
Update:
And as I type this I just flashed the singleimage.bin again and I am able to get into the Factory Reset page.
-----Old Post-----
Shows up as like an 86MB partition with 11.9MB free space.
Inside there is an "image" folder with around 178 files in it. This happens when I image either the singleimage.bin, the H811-10N-fulldump.img, or Dump_H811_1GB.img.
The H811-10N image used to work, as did the systemimage.bin. But now nothing I am flashing to the MicroSD is pulling up the phone.
Click to expand...
Click to collapse
Thanks for the quick response:good: How did you flash the single img bin? Was your phone on when you did that?
Ok so I did the following using the singleimage.bin file:
- Win32DiskImager > 32GB MicroSDCard.
- Eject the SDCard from Windows.
- Battery is out of the phone.
- Put the SDCard into phone.
- Put Battery into Phone.
- Plug Phone into Computer (not sure if this is necessary)
- Boot loop with Secure Boot 1006 error.
- Hold the Vol Down + Pwr until LG. Let off Pwr while still holding VolDown then press and hold Pwr till Factory Reset is up.
- Press Yes twice
- After this I see the Secure Error 1006 message faintly come up.
- Reboots to BootLoop, no TWRP.
It feels like I am missing something here. If anyone can correct me I would appreciate it.
premiso said:
Ok so I did the following using the singleimage.bin file:
- Win32DiskImager > 32GB MicroSDCard.
- Eject the SDCard from Windows.
- Battery is out of the phone.
- Put the SDCard into phone.
- Put Battery into Phone.
- Plug Phone into Computer (not sure if this is necessary)
- Boot loop with Secure Boot 1006 error.
- Hold the Vol Down + Pwr until LG. Let off Pwr while still holding VolDown then press and hold Pwr till Factory Reset is up.
- Press Yes twice
- Reboots to BootLoop, no TWRP.
It feels like I am missing something here. If anyone can correct me I would appreciate it.
Click to expand...
Click to collapse
Please use the 10N dump that i provided , clean your SD card using SD Formatter
https://www.sdcard.org/downloads/formatter_4/
and flash it with the 10N dump ( it has unlocked Bootloader )

Categories

Resources