[SOLVED] Error Mounting /sdcard/.android_Secure! - Sony Xperia ZL

People,
I got to install the Cyanogen Firmware on my Xperia ZL (6503) and i'm give a problem.
I follow the instructions on the http://wiki.cyanogenmod.org/w/Install_CM_for_odin
and download the file cm-10.1.2-odin.zip in this page:
http://download.cyanogenmod.org/?type=stable&device=odin
When I select the option Factory Default, the CWM show the message: Error Mounting /sdcard/.android_Secure! and no mount the internal sdcard. I'm install the .zip file from the external sdcard, and stuck on logo of Cyanogen.
Any fix for this error?

Do you mean you are unable to perform a factory reset? You can do this without using CWM. Inside of the phone settings, backup & restore, there is an option to reset to factory.
If you mean you are unable to install the zip, then maybe you need to install a different version of recovery.

ryude said:
Do you mean you are unable to perform a factory reset? You can do this without using CWM. Inside of the phone settings, backup & restore, there is an option to reset to factory.
If you mean you are unable to install the zip, then maybe you need to install a different version of recovery.
Click to expand...
Click to collapse
Humm, i'm not do factory reset before install the Cyanogenmod. I'm install the boot.img with CWM provided with cyanognen file. What's the difference do factory reset directly in original rom?

hudfer said:
Humm, i'm not do factory reset before install the Cyanogenmod. I'm install the boot.img with CWM provided with cyanognen file. What's the difference do factory reset directly in original rom?
Click to expand...
Click to collapse
Ah you're attempting to flash the boot.img file? You have to use fastboot I believe in order to flash it.
1. You must have unlocked bootloader of your device. You can do so from here.
2. Download Fastboot here.
3. Place Fastboot.zip and the boot.img files onto your Desktop.
2. Extract files from the Fastboot archive to your Desktop. Move the boot.img file into the Fastboot folder.
3. Turn ON the USB debugging option on your device by going to Menu>>Settings>>Developer options>>USB debugging.
4. Once enabled, connect your device to your PC via USB cable.
5. Launch a Command Prompt Window on the Desktop of your PC. To do so, press and hold the Shift button on your keyboard and right-click on any blank area on the screen, then choose Open command window here.
6. Type in following command into the Command Prompt Window:
adb reboot bootloader
7. Your device will reboot into the bootloader mode.
8. Once inside bootloader mode, enter the following command into Command Prompt.
fastboot flash boot boot.img
9. Once the file’s flashed, reboot your device.
10. And you’re all set! You now have CWM recovery!

ryude said:
Ah you're attempting to flash the boot.img file? You have to use fastboot I believe in order to flash it.
1. You must have unlocked bootloader of your device. You can do so from here.
2. Download Fastboot here.
3. Place Fastboot.zip and the boot.img files onto your Desktop.
2. Extract files from the Fastboot archive to your Desktop. Move the boot.img file into the Fastboot folder.
3. Turn ON the USB debugging option on your device by going to Menu>>Settings>>Developer options>>USB debugging.
4. Once enabled, connect your device to your PC via USB cable.
5. Launch a Command Prompt Window on the Desktop of your PC. To do so, press and hold the Shift button on your keyboard and right-click on any blank area on the screen, then choose Open command window here.
6. Type in following command into the Command Prompt Window:
adb reboot bootloader
7. Your device will reboot into the bootloader mode.
8. Once inside bootloader mode, enter the following command into Command Prompt.
fastboot flash boot boot.img
9. Once the file’s flashed, reboot your device.
10. And you’re all set! You now have CWM recovery!
Click to expand...
Click to collapse
Thank's for the explanation, but i'm have executed all the commands described by you and not work. Is the same commands on cyanogen wiki page. The CWM appears the same error and i'm install the cyanogen, but stucks in logo and the android is not start.

hudfer said:
Thank's for the explanation, but i'm have executed all the commands described by you and not work. Is the same commands on cyanogen wiki page. The CWM appears the same error and i'm install the cyanogen, but stucks in logo and the android is not start.
Click to expand...
Click to collapse
You should flash a stock FTF image using Flashtool. After you have completed this, you can try again.

ryude said:
You should flash a stock FTF image using Flashtool. After you have completed this, you can try again.
Click to expand...
Click to collapse
After hours of research, I resolved the problem. I`m followed the steps described on cyanogen wiki, adding the first step Factory Restore on original sony firmware and the problem persists. After launched the CWM, I select the option "Format /data" and after "Format /sdcard". After selected this options, the error message not appears again and the Cyanogen firmware install and launch successful! Probably with format, deleted some key or protection in internal sdcard. Thanks for the help!

hudfer said:
After hours of research, I resolved the problem. I`m followed the steps described on cyanogen wiki, adding the first step Factory Restore on original sony firmware and the problem persists. After launched the CWM, I select the option "Format /data" and after "Format /sdcard". After selected this options, the error message not appears again and the Cyanogen firmware install and launch successful! Probably with format, deleted some key or protection in internal sdcard. Thanks for the help!
Click to expand...
Click to collapse
I'm happy you were able to resolve your problem. How are you liking CyanogenMod so far?

ryude said:
I'm happy you were able to resolve your problem. How are you liking CyanogenMod so far?
Click to expand...
Click to collapse
The Cyanogen is always incredible, i'm use this custom rom since my Galaxy S2. The rom is very fast and clean. I most like in this version, the option "Expand Desktop", in particular opinion, the best configuration on the rom.

hudfer said:
The Cyanogen is always incredible, i'm use this custom rom since my Galaxy S2. The rom is very fast and clean. I most like in this version, the option "Expand Desktop", in particular opinion, the best configuration on the rom.
Click to expand...
Click to collapse
I'm have a first problem with full screen mode: the game "Kingdom Rush" not launch.

does not work for me
hudfer said:
After hours of research, I resolved the problem. I`m followed the steps described on cyanogen wiki, adding the first step Factory Restore on original sony firmware and the problem persists. After launched the CWM, I select the option "Format /data" and after "Format /sdcard". After selected this options, the error message not appears again and the Cyanogen firmware install and launch successful! Probably with format, deleted some key or protection in internal sdcard. Thanks for the help!
Click to expand...
Click to collapse
Hi,
I have the same issue, but after trying: "Format /sdcard" I get "Error formatting /sdcard!"
Please help! I'm researching 2 days in a row and can't find a solution.

flutur said:
Hi,
I have the same issue, but after trying: "Format /sdcard" I get "Error formatting /sdcard!"
Please help! I'm researching 2 days in a row and can't find a solution.
Click to expand...
Click to collapse
you just format your sdcard as FAT32, that's how i solved my problem

Same problem in Razr 925
ShanksVo said:
you just format your sdcard as FAT32, that's how i solved my problem
Click to expand...
Click to collapse
I have the same problem in my Razr 925. I installed with CWM 6.0.3.6-10.2 cm from the external SD.
1) First I tried from the inside SD, I never realized that appeared "Warning: No file_contexts", and install the zip of cm-10.2, the result was "Error mounting / data" "Error mounting / sdcard /. Android_secure".
2) From the external memory I managed to do it, but the logo remains Cyanogen cycling.
3) I tried to restore the backup, but "Can not mount / sdcard".
Now I don't know what to do, I researched and solution is always restart from the official android, in my case I can not start the official android. I need help please !:crying:

If you don't want to format your SD-card
flutur said:
Hi,
I have the same issue, but after trying: "Format /sdcard" I get "Error formatting /sdcard!"
Please help! I'm researching 2 days in a row and can't find a solution.
Click to expand...
Click to collapse
If you aren't able to (as in your case) or simply don't want to (as in mine, where I didn't have an external SD card handy); you can simply upgrade your recovery software.
In my case, Carbon ROM JB for the GT-N7000 came with CWM 6.0.3.5 which couldn't flash newer ROMs (like Carbon KitKat), and had issues with the internal SD card including the one in the topic of this post. Since I had just wiped my current ROM and didn't want to start up an ADB sideload session, I simply flashed PA (which came with CWM 6.0.3.7, a minor version bump but a huge difference here) and after rebooting to recovery again (I didn't even have to boot to PA), everything worked again.
(My first post that could be even considered remotely useful on XDA, so please tell me if it helped you!)

Thanks!
hudfer said:
After hours of research, I resolved the problem. I`m followed the steps described on cyanogen wiki, adding the first step Factory Restore on original sony firmware and the problem persists. After launched the CWM, I select the option "Format /data" and after "Format /sdcard". After selected this options, the error message not appears again and the Cyanogen firmware install and launch successful! Probably with format, deleted some key or protection in internal sdcard. Thanks for the help!
Click to expand...
Click to collapse
Finally!
PS: Do -not- try to encrypt your nexus 4 if you put 5.0 on it X(

Related

access to recovery but stuck in bootloop

None of the "similar" threads have people with this problem. I can access Recovery (Clockwork Mod v5.8.4.0), I can do everything within Recovery, full wipe, erase dalvik cache etc, BUT it still will not get past "HTC quietly brilliant".
I got into this mess by trying to flash a kernel. I think the battery was about 15%.
I can mount the sd card via usb, so I'm going to extract the back-up I did before getting into this bootloop.
I've tried this:
If you have Custom ROM on or nandroid backup internal SD card
Reboot in recovery (If your still in fastboot, choose "Reboot Bootloader" and then go into recovery)
Restore a Nandroid Backup or flash Custom ROM
Reboot and go into fastboot
Clean cache in fastboot
Click to expand...
Click to collapse
ANd this
IF YOU HAVE SIGNED RECOVERY:
1.- GO TO FASTBOOT
2.- HIT "SHUT DOWN"
3.- WITH THE POWER OFF PUT IT TO CHARGE
4.- RED LIGHT NOTIFICATION SHOWS THE CHARGING PROGRESS.
5.- NEXT DAY YOU WILL SEE A SOLID GREEN LIGHT NOTIFICATIONS FOR A COMPLETE CHARGE.
Click to expand...
Click to collapse
I haven't tried relocking yet. This is the ultimate last resort. Is there a way to know what percentage my battery is?
Any help greatly appreciated before I throw it at the wall and replace with an S3 :silly:
I've got 3737mV
JagSem said:
I've got 3737mV
Click to expand...
Click to collapse
try reflashing boot.img
fastboot erase cache
fastboot flash boot boot.img
o m f g
I have been stressing to absolute hell and back because I was messing around with kernels and managed to bollocks it up. It never occurred to me to extract the boot.img from the backup and flash that through hboot at the same time doing the backup. THANK YOU!! :good::good::good::good::good::good:
JagSem said:
o m f g
I have been stressing to absolute hell and back because I was messing around with kernels and managed to bollocks it up. It never occurred to me to extract the boot.img from the backup and flash that through hboot at the same time doing the backup. THANK YOU!! :good::good::good::good::good::good:
Click to expand...
Click to collapse
Glad u got it sorted
Very Similar Problem - Please Help!
I was wondering if anyone can help me. I have the same problem, all it says is 'HTC Quietly Brilliant' and it is stuck in a reboot cycle.
I was watching a YouTube tutorial on how to flash CM10 onto my One X (I do have ClockworkMod and all of that stuff installed already). Everything was going well, but the video only briefly (for maybe a second) mentioned the fact that you have to put the CM10 zip folder onto the phone storage before you flash the boot.img. I went on and followed the steps and tried to flash the boot.img, but as I said earlier, all the phone will do is reboot over and over again. I have charged it to full battery so this should not be a problem when I go to fix it.
I would be really grateful for any help on the subject as I contacted the person who made the tutorial, and he has not responded. Thanks in advance.
Just an update if anyone has the same problem as I did, all I had to do was go into ClockworkMod and go to:
Mounts and Storage > Mount USB Storage
Then, just connect the device to your PC and put the zip folder on phone storage. Then, flash the boot.img, and install the zip from SD card in ClockworkMod. Hope this helps.
Havoc2510 said:
Just an update if anyone has the same problem as I did, all I had to do was go into ClockworkMod and go to:
Mounts and Storage > Mount USB Storage
Then, just connect the device to your PC and put the zip folder on phone storage. Then, flash the boot.img, and install the zip from SD card in ClockworkMod. Hope this helps.
Click to expand...
Click to collapse
which boot? i've same problem!! where i can find boot.img?
thank's in advance
br
How to install Custom ROM on HTC One X.
agentot said:
which boot? i've same problem!! where i can find boot.img?
thank's in advance
br
Click to expand...
Click to collapse
First off, I'm sorry if you already knew most of the instructions below, or if you are an experienced user. I'm just writing the full steps out so that any user, novice or otherwise, can follow the steps and get their phone working. I will also assume that your phone is already rooted and has ClockworkMod installed.
Before anything else, make sure you have HTC Sync downloaded so that you have the drivers.
Okay, when you are trying to install a custom ROM, you have to put the full zip file on the phone storage. What I would do is create a new folder in C: drive called 'Android' or 'HTC ROM' or whatever you want to put. For the rest of the answer, I will call it AndroidF (android folder). Copy this zip folder into AndroidF. If you go into the zip folder (don't unzip it), you should find a disk image file called 'boot' or 'boot.img'. Copy this out so that it sits in AndroidF too (do not move it!). Once it is in AndroidF, rename it boot.
Once you have done this, go into the bootloader and go to recovery. This will take you to ClockworkMod. From there go to:
Mounts and Storage > Mount USB Storage
Then, connect the phone to your PC and put the zip folder onto the phone. Then, tap unmount, and go back to the bootloader. Click fastboot, and make sure that it says 'Fastboot USB'. If not, just unplug the phone and plug it back in again, and this message should be there. Leave the phone once this has happened.
Go back to AndroidF, and hold shift, right click and choose "Open Command Window Here". Command Prompt should pop up. Then type the following,
fastboot flash boot boot.img
If this works, skip to the next paragraph. If not, type fastboot flash boot boot.img.img. This should then work.
Go back to the phone, and select HBoot. Then go to the recovery from here. Once in the recovery, go to:
Install zip from SD card > Choose zip from SD card
Find the zip file and install it. And voila! Your phone should be running whatever ROM you have picked. If you have any more problems, message me back and I will try and help as well as I can
You can use "adb push" and "adb pull" in recovery to copy files from and to your phone, but you have to mount sdcard from recovery first.
to browse storage directly on the phone you can use "adb shell" and then "ls" and "cd directoryname" to find file which you want to copy from the device.

[Q] Repair platform.xml?

Hi folks,
I tried to modify the platform.xml file to enable some write permissions. As far as I can tell, the app I used to modify the file didn't write it back correctly, and now my device is what might be called "semi-bricked."
Almost everything force closes, WiFi and write permissions seem to be broken, and I can't seem to get my Galaxy Nexus to communicate with my PC via USB.
I tried booting into CWM and mounting some /system, but I'm not sure how to access it since fastboot/adb don't seem to recognize the device.
I've also booted into some sort of recovery (fastboot?) that looks like the attached image. But I can't get it to do anything except boot up into the normal OS when I click the power button.
Any suggestions on how I can get access back to my device so I can repair/replace the platform.xml file and restore functionality to my phone?
Thank you very much!
Deozaan said:
Hi folks,
I tried to modify the platform.xml file to enable some write permissions. As far as I can tell, the app I used to modify the file didn't write it back correctly, and now my device is what might be called "semi-bricked."
Almost everything force closes, WiFi and write permissions seem to be broken, and I can't seem to get my Galaxy Nexus to communicate with my PC via USB.
I tried booting into CWM and mounting some /system, but I'm not sure how to access it since fastboot/adb don't seem to recognize the device.
I've also booted into some sort of recovery (fastboot?) that looks like the attached image. But I can't get it to do anything except boot up into the normal OS when I click the power button.
Click to expand...
Click to collapse
No it is not bootloader. to access to the bootloader turn on your device long pressing power, volume up and volume down buttons together (don't use odin).
To access to cwm recovery from bootloader just press volume down button until you see "recovery" option, then press power button and it will boot in recovery.
which rom are you using?
solution: download the zip file of your rom and extract the file you modified, make a zip (if you can't make a flashable zip i'll post an attachment for you) and flash it in recovery
enryea123 said:
No it is not bootloader. to access to the bootloader turn on your device long pressing power, volume up and volume down buttons together (don't use odin).
To access to cwm recovery from bootloader just press volume down button until you see "recovery" option, then press power button and it will boot in recovery.
which rom are you using?
solution: download the zip file of your rom and extract the file you modified, make a zip (if you can't make a flashable zip i'll post an attachment for you) and flash it in recovery
Click to expand...
Click to collapse
Thanks for the reply.
I actually did manage to get my PC to recognize the device via USB/adb and I copied the file back to the way it should have been. But that didn't fix anything, so I ended up doing a wipe/factory reset. Everything works now but things still seem a bit. . . off. For instance, it takes a while after my phone boots up before the WiFi will actually connect. It used to be connected almost immediately. And it takes a while for the alarm icon to load/show up in the notification area at the top. And I can't find the option in the settings anymore to use USB debugging. There are lots of little things like that, where it works, but it just doesn't quite work like it used to. . .
And to answer your question, I'm using the stock ROM that came with the Galaxy Nexus (from Google Play Store).
Deozaan said:
Thanks for the reply.
I actually did manage to get my PC to recognize the device via USB/adb and I copied the file back to the way it should have been. But that didn't fix anything, so I ended up doing a wipe/factory reset. Everything works now but things still seem a bit. . . off. For instance, it takes a while after my phone boots up before the WiFi will actually connect. It used to be connected almost immediately. And it takes a while for the alarm icon to load/show up in the notification area at the top. And I can't find the option in the settings anymore to use USB debugging. There are lots of little things like that, where it works, but it just doesn't quite work like it used to. . .
And to answer your question, I'm using the stock ROM that came with the Galaxy Nexus (from Google Play Store).
Click to expand...
Click to collapse
first: to make the "developer settings" appear go settings/About phone and tap on build number 7 times (google has hidden it in 4.2).
said that, you can:
1) fix permissions in cwm recovery (under advanced menu)
2) download a zip of your rom and flash it in recovery
3) if your bootloader is unlocked (you see a padlock when you boot your phone) you can flash a factory image to return completely stock.
4) if your bootloader is locked you can follow the 3) method but you will lose all your sdcard data.
enryea123 said:
first: to make the "developer settings" appear go settings/About phone and tap on build number 7 times (google has hidden it in 4.2).
said that, you can:
1) fix permissions in cwm recovery (under advanced menu)
2) download a zip of your rom and flash it in recovery
3) if your bootloader is unlocked (you see a padlock when you boot your phone) you can flash a factory image to return completely stock.
4) if your bootloader is locked you can follow the 3) method but you will lose all your sdcard data.
Click to expand...
Click to collapse
Thanks again for the response.
I got developer settings to appear. Hooray! Fix Permissions is one of the first things I did to try to repair the platform.xml file when things were broken. I ran it again (but from ROM Manager rather than from CWM Recovery) and it didn't seem to have any effect on the weird sluggishness when first booting up.
My bootloader is unlocked. Will I have to root again if I flash one of those factory images? I'm currently backing up the contents of my "SD card" in case I have to completely wipe the entire thing.
Deozaan said:
Thanks again for the response.
I got developer settings to appear. Hooray! Fix Permissions is one of the first things I did to try to repair the platform.xml file when things were broken. I ran it again (but from ROM Manager rather than from CWM Recovery) and it didn't seem to have any effect on the weird sluggishness when first booting up.
My bootloader is unlocked. Will I have to root again if I flash one of those factory images? I'm currently backing up the contents of my "SD card" in case I have to completely wipe the entire thing.
Click to expand...
Click to collapse
well, you can firstly try to flash a zip of your rom (search on xda or google), it should fix.
the fastboot flash method is the google method so you won't need root (you just have to go into fastboot and connect your phone to your computer, doesn't matter if you have root, or a different rom/kernel/recovery).
If you don't know you to flash from fastboot try first to flash the rom zip.
having a backup of the sdcard is always a good idea :good:, i have 2 backups of mysdcard on 2 different hard drives of my computer and the pictures i take with the camera are automatically uploaded on my dropbox .
enryea123 said:
well, you can firstly try to flash a zip of your rom (search on xda or google), it should fix.
the fastboot flash method is the google method so you won't need root (you just have to go into fastboot and connect your phone to your computer, doesn't matter if you have root, or a different rom/kernel/recovery).
If you don't know you to flash from fastboot try first to flash the rom zip.
Click to expand...
Click to collapse
Weird things are happening. I was making a backup of the "SD Card" and partway through, things stopped copying over. And pretty much everything got erased from it. No big deal, since I'd already copied the important stuff first.
But CWM Recovery won't flash the zip file. It keeps telling me the update failed. I verified the hash on the zip I downloaded and it is the same as what is listed on Google's site. But it just won't flash in CWM.
Deozaan said:
Weird things are happening. I was making a backup of the "SD Card" and partway through, things stopped copying over. And pretty much everything got erased from it. No big deal, since I'd already copied the important stuff first.
But CWM Recovery won't flash the zip file. It keeps telling me the update failed. I verified the hash on the zip I downloaded and it is the same as what is listed on Google's site. But it just won't flash in CWM.
Click to expand...
Click to collapse
wait, are you in cwm recovery o just in stock recovery (they are different)? have you previously installed a cwm recovery using fastboot? which zip are you trying to flash?
edit: ok you know what is rom manager so i think that you are in cwm.
edit2: try this zip http://goo.im/devs/bigxie/maguro/bigxie_maguro_OTA_JOP40D-signed.zip
enryea123 said:
wait, are you in cwm recovery o just in stock recovery (they are different)? have you previously installed a cwm recovery using fastboot? which zip are you trying to flash?
edit: ok you know what is rom manager so i think that you are in cwm.
edit2: try this zip
Click to expand...
Click to collapse
I was in CWM Recovery. I was using the zip file that I extracted from the link you gave me for Google's stock ROMs (I can't post external links yet):
(Factory Images "takju" for Galaxy Nexus "maguro" (GSM/HSPA+) (with Google Wallet) --> Android 4.2.1 (JOP40D))
Strangely enough, after "failing" to flash the zip, I had to log into my Google account again because I had selected the option to Wipe Data and Cache, and most things seem to be working very well again. One odd thing I'm still noticing, though, is that some things don't seem to be syncing properly. For example, if I archive some of my email in the Gmail app, then log into Gmail on my PC, the mail is still unread in my inbox. My phone downloads the new mail just fine. But the changes I make on my phone (reading, archiving, deleting, etc.) don't seem to be syncing to anywhere else.
I'm downloading the zip you suggested. I'll give that a try. Thanks!
enryea123 said:
edit2: try this zip http://goo.im/devs/bigxie/maguro/bigxie_maguro_OTA_JOP40D-signed.zip
Click to expand...
Click to collapse
Try this one
Deozaan said:
I was in CWM Recovery. I was using the zip file that I extracted from here the link you gave me (I can't post external links yet):
(Factory Images "takju" for Galaxy Nexus "maguro" (GSM/HSPA+) (with Google Wallet) --> Android 4.2.1 (JOP40D))
Strangely enough, after "failing" to flash the zip, I had to log into my Google account again because I had selected the option to Wipe Data and Cache, and most things seem to be working very well again. One odd thing I'm still noticing, though, is that some things don't seem to be syncing properly. For example, if I archive some of my email in the Gmail app, then log into Gmail on my PC, the mail is still unread in my inbox. My phone downloads the new mail just fine. But the changes I make on my phone (reading, archiving, deleting, etc.) don't seem to be syncing to anywhere else.
I'm downloading the zip you suggested. I'll give that a try. Thanks!
Click to expand...
Click to collapse
That is not a flashable zip! It is a factory image, it must be flashed via fastboot using a computer.
enryea123 said:
That is not a flashable zip! It is a factory image, it must be flashed via fastboot using a computer.
Click to expand...
Click to collapse
Just to be sure I explained myself clearly, I downloaded that Google provided factory image (a .tgz file) and inside it I found a zip file named "image-takju-jop40d.zip" which is what I tried to flash.
That said, I've just recently finished downloading the one you just suggested to me and I will give that one a try soon. Thank you again for your help. I really appreciate it.
I got it working again. The ROM you gave me failed signature verification in CWM Recovery, but I told it to install anyway and it worked. Thank you.
The problem I was having with Gmail not syncing was that I used Titanium Backup to restore my data, but because all the data from my "SD card" got erased, Titanium Backup itself lots its settings, so my Device ID was different. I guess Gmail relies on the device ID for syncing.
Thank you so much for your help! I learned a lot from the experience.
Glad i helped you. well this is one of the reasons why i don't restore data with titanium (especially system data).
and by the way:
Deozaan said:
Just to be sure I explained myself clearly, I downloaded that Google provided factory image (a .tgz file) and inside it I found a zip file named "image-takju-jop40d.zip" which is what I tried to flash.
That said, I've just recently finished downloading the one you just suggested to me and I will give that one a try soon. Thank you again for your help. I really appreciate it.
Click to expand...
Click to collapse
To fully reset and install a clean rom using fastboot you have to extract the bootloader-blabla.img and radio-blabla.img files from the tar.gz archive and then extract the 4 .img files inside the zip (that is inside the tar.gz) and flash this 6 .img files connetting your phone in bootloader mode to your computer and using fastboot in terminal (in fact this procedure reinstall the recovery too).

Accidently wiped everything

Using the all in one tool I accidently wiped out everything when I clicked on advance wipe. How do I actually fix that?
Disgaea_tiger said:
Using the all in one tool I accidently wiped out everything when I clicked on advance wipe. How do I actually fix that?
Click to expand...
Click to collapse
Well, use Doraemon's time machine :silly:
ronu said:
Well, use Doraemon's time machine :silly:
Click to expand...
Click to collapse
I'm actually being serious, I'm able to access the TWR recovery project at least for now but everything is empty. Can I load up a backup?
Disgaea_tiger said:
Using the all in one tool I accidently wiped out everything when I clicked on advance wipe. How do I actually fix that?
Click to expand...
Click to collapse
how far did you get with the process? did you get custom recovery installed?
nogotaclue said:
how far did you get with the process? did you get custom recovery installed?
Click to expand...
Click to collapse
I did everything from step one to step six yesterday, I was trying to flash a rom to it this morning and accidently just deleted everything including the backup I made. I can run TWPR for now and mount my device and run back up.
So yes I believe so
would one of these help me?
http://forum.xda-developers.com/showthread.php?t=1975140
Disgaea_tiger said:
would one of these help me?
http://forum.xda-developers.com/showthread.php?t=1975140
Click to expand...
Click to collapse
well if you got twrp installed just mount usb storage from twrp and copy over a custom rom, flash the boot.img from the rom zip and you're good to go, no point going back to stock if you got that far
nogotaclue said:
well if you got twrp installed just mount usb storage from twrp and copy over a custom rom, flash the boot.img from the rom zip and you're good to go, no point going back to stock if you got that far
Click to expand...
Click to collapse
Well right now I'm trying to install HD revolution but so far it's just on 0% so I'm not sure what I'm doing is actually correct or not. Also I tried reading on the All in one toolkit I don't really understand how to flash the .boot img
Disgaea_tiger said:
Well right now I'm trying to install HD revolution but so far it's just on 0% so I'm not sure what I'm doing is actually correct or not. Also I tried reading on the All in one toolkit I don't really understand how to flash the .boot img
Click to expand...
Click to collapse
which toolkit? there are a lot of them
nogotaclue said:
which toolkit? there are a lot of them
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2069904
This is the rom I used
http://android-revolution-hd.blogspot.com/p/android-revolution-hd-mirror-site-var.html
the nonstock one, it stops at 30%. then it flickers and returns to recovery menu, I'll test out the stock one as well
Disgaea_tiger said:
http://forum.xda-developers.com/showthread.php?t=2069904
This is the rom I used
http://android-revolution-hd.blogspot.com/p/android-revolution-hd-mirror-site-var.html
the nonstock one, it stops at 30%. I'll test out the stock one as well
Click to expand...
Click to collapse
ok, I'm assuming you mean ARHD 31.2. you also need to downlaod the boot.img below the rom. create a folder on your desktop and name it "boot". now extract the files from the downloaded boot rar into the boot folder on your desktop and go onto the next step.
from twrp recovery press "Wipe" then "advanced wipe". check ALL of the checkboxes from dalvik to system, there should be six ticks. now swipe to execute the wipe. when it has finished wiping press back to go back to the main twrp screen.
now press "mount" and then "mount usb storage", copy the HD rom to your sdcard. when it has copied press the back key. now press install and scroll to the rom you have just copied and install it.
when that has finished reboot into bootloader. when in bootloader make sure you can see "fastboot usb" on your phone screen.
now open the folder you created on your desktop and double click the file that relates to your PC operating system,I'm assuming you are windows so you will want the "install-boot-windows.bat" follow the onscreen instructions and it will flash the boot .img. now reboot your phone
nogotaclue said:
ok, I'm assuming you mean ARHD 31.2. you also need to downlaod the boot.img below the rom. create a folder on your desktop and name it "boot". now extract the files from the downloaded boot rar into the boot folder on your desktop and go onto the next step.
from twrp recovery press "Wipe" then "advanced wipe". check ALL of the checkboxes from dalvik to system, there should be six ticks. now swipe to execute the wipe. when it has finished wiping press back to go back to the main twrp screen.
now press "mount" and then "mount usb storage", copy the HD rom to your sdcard. when it has copied press the back key. now press install and scroll to the rom you have just copied and install it.
when that has finished reboot into bootloader. when in bootloader make sure you can see "fastboot usb" on your phone screen.
now open the folder you created on your desktop and double click the file that relates to your PC operating system,I'm assuming you are windows so you will want the "install-boot-windows.bat" follow the onscreen instructions and it will flash the boot .img. now reboot your phone
Click to expand...
Click to collapse
See I did all that nd it stops at 30% on extracting sunset mp4 something like that flashes and returns me back to recovery mode. I'll download it and attempt it again and keep you updated but that's what happened.

[Q] Stuck trying to restore to stock

Hi guys,
I've been running custom AOKP rom and decided to return back to stock.
I have the rogers version of the M8, and intended to flash a stock TWRP backup of someone's rogers save.
I made the poor decision of relocking and unlocking the bootloader again, leaving me without a functional OS and with only fastboot and TWRP recovery available to me. As a result, I can't get the rogers backup folder onto my phone ( I don't have a miscro SD), and the only other option I see is to manually push each file in the stock TWRP recovery with ADB to my phone, but I'm horrible with anything that involves command lines.
Any suggestions to get me out of this situation would be great. My end goal is to get the stock ROM / kernel running so I can get OTA's.
Edit: Solved by doing an advanced wipe and format in TWRP, and I flashed a stock Rogers nandroid
Just adb push or adb sideload a stock rooted ROM to your phone. Just a single command line.
If you want OTAs, you will also need stock recovery. But my recommendation is that OTAs have no place on a modded device.
redpoint73 said:
Just adb push or adb sideload a stock rooted ROM to your phone. Just a single command line.
If you want OTAs, you will also need stock recovery. But my recommendation is that OTAs have no place on a modded device.
Click to expand...
Click to collapse
I've tried flashing a ROM and unfortunately I get stuck on the boot animation.
Attempting to wipe my phone through TWRP before the zip install yields a failure:
E: Unable to mount '/data'
E: Unable to mount internal storage
Those two lines are repeated a couple times in the error screen.
It looks like I need to flash some form of backup but am not sure which one will hard reset my phone to stock from this scenario.
Flashnova said:
I've tried flashing a ROM and unfortunately I get stuck on the boot animation.
Click to expand...
Click to collapse
Which ROM? How did you try to flash it (how did you get it on the phone, did you adb sideload?)/
Flashnova said:
Attempting to wipe my phone through TWRP before the zip install yields a failure:
E: Unable to mount '/data'
E: Unable to mount internal storage
Click to expand...
Click to collapse
Select "Mount" in TWRP main screen and make sure data is checked (cache should also e checked by default). If so, and still getting this error, di you by chance try to factory reset in bootloader (not TWRP)?
redpoint73 said:
Which ROM? How did you try to flash it (how did you get it on the phone, did you adb sideload?)/
Select "Mount" in TWRP main screen and make sure data is checked (cache should also e checked by default). If so, and still getting this error, di you by chance try to factory reset in bootloader (not TWRP)?
Click to expand...
Click to collapse
I flashed dirty unicorns 4.4.4. I had a 2gb SD card which managed to get it to the phone (the 2gb isn't enough to move the system backup).
I can't check Mount in the settings and it remains unchecked, and yes, I did hit the factory reset in the bootloader thinking that it would help me (I assume this was another bad decision).
Flashnova said:
I can't check Mount in the settings and it remains unchecked, and yes, I did hit the factory reset in the bootloader thinking that it would help me (I assume this was another bad decision).
Click to expand...
Click to collapse
Yes, that was a bad decision. But probably not one that you could have known about. Doing a factory reset in bootloader on a modded M8 corrupts the internal memory. This is your main problem right there.
If you have a Windows PC, connect the phone, go to Device Manager and find the phone. Then select the option to format the memory.
In the future only do a factory reset within the OS (in Settings) or in recovery, not in bootloader.
If you've gone through this much, I'd highly recommend getting comfy with a few command line commands. These may very well save you some time and additional headache (speaking from experience).
After recently running into issues with my newly purchased Roger's M8, I needed to restore to stock as well. Honestly, I followed these instructions to the T and it got me out scrape-free.
But, note Step #6 may require you to "adb push" your unzipped folder. And that's it.
Once you've ADB'd the massive nandroid backup, you should be out of the woods (in TWRP, Restore, Select the pushed backup file).
Good luck, and as long as you've got recovery/hboot looking back at you, you should be fine.
redpoint73 said:
If you have a Windows PC, connect the phone, go to Device Manager and find the phone. Then select the option to format the memory.
Click to expand...
Click to collapse
I'm not too sure where that option is located, would you know how to get there?
esuohe said:
But, note Step #6 may require you to "adb push" your unzipped folder. And that's it.
Once you've ADB'd the massive nandroid backup, you should be out of the woods
Click to expand...
Click to collapse
After pushing the folder to my device I receive "protocol failure", so the push isn't working unfortunately.
Flashnova said:
I'm not too sure where that option is located, would you know how to get there?
Click to expand...
Click to collapse
On Win7, go to Start Menu, use the search function at the bottom that says "Search programs and files" and type "Device Manager".
Or go to Start Menu>Control Panel>Hardware and Sound; and under "Devices and printers" you will see Device Manager.
Flashnova said:
After pushing the folder to my device I receive "protocol failure", so the push isn't working unfortunately.
Click to expand...
Click to collapse
You aren't going to be able to write to the memory when its still corrupt.
redpoint73 said:
On Win7, go to Start Menu, use the search function at the bottom that says "Search programs and files" and type "Device Manager".
Or go to Start Menu>Control Panel>Hardware and Sound; and under "Devices and printers" you will see Device Manager.
Click to expand...
Click to collapse
Device manager does not provide a format option. Perhaps you mean disk manager? If I do format it will I have to somehow reinstall the android system?
Flashnova said:
Device manager does not provide a format option. Perhaps you mean disk manager? If I do format it will I have to somehow reinstall the android system?
Click to expand...
Click to collapse
I've often read it described as Device Manager. Can't personally say from experience as I've never actually had to do it myself, but seen this described on XDA quite a few times. If the option comes up in Disk Management, that should be fine, too.
Formatting internal storage should not affect the Android OS, as its a separate partition (note how Windows is only reading the internal storage as around 25 GB of the total 32 GB). But you have to re-install a ROM anyway, as you presently do not have one installed.

[Q] Sony Z1 Compact - CWM-based Recovery v6.0.5.1 - BLACK SCREEN

I really need help. I'm a noob at this. I was trying to install CyanogenMod on my Z1 compact. I was following this guide; "wiki.cyanogenmod.org/w/Install_CM_for_amami" It went well after some trying. Got all the way to step 9! When I pressed Reboot system now nothing happened. The Sony logo game for some seconds, then the screen went black. I know the phone is on 'cause I can see that it is light-black, if you know what i mean. I thaught maby it would take i while. But it stayed like this for 5 hours. Nothing happens.. When I turn it off and on again, I can press the voume rockers and it takes me to the CWM-based Recovery v 6.0.5.1 page where i can do some stuff, but I'm stuck here. Please help me! Dont know what to do. Is there a way to factory-reset the phone back to Anroid? Sorry for being so noob. Need a noob friendly guide on how to fix this
Use the guides and files from this forum instead. Did you flash the CM kernel in fastboot?
at least you can boot into cwm. did you place cyanogenmod zip on your sd card?
XperienceD said:
Use the guides and files from this forum instead. Did you flash the CM kernel in fastboot?
Click to expand...
Click to collapse
"Open a terminal on the PC and enter the following:
fastboot flash boot boot.img
fastboot reboot"
- again sorry, these last 14 hours is the only experience i have with rooting etc. flash means install right?
rzlatic said:
at least you can boot into cwm. did you place cyanogenmod zip on your sd card?
Click to expand...
Click to collapse
i used this "adb push cm.zip /sdcard/0/" - and I checked now. The files is there still yes. Btw, in panic I've "wipe data/facotry reset". Dont know if this matters
"fastboot flash boot boot.img" flashes only the cwm (and kernel). wipe data/factory reset is ok, no harm done (at least now, as you want clean partitions at this point anyway).
so if your zips are on the sdcard via step 8, boot into cwm, navigate to
- install zip (swipe down, swipe right to enter)
- choose zip from /sdcard
- 0/
now you end up on your sdcard. find your zip and run the install. if you copied gapps zip too, install that zip after flashing the rom, and that's it.
llgr said:
"Open a terminal on the PC and enter the following:
fastboot flash boot boot.img
fastboot reboot"
- again sorry, these last 14 hours is the only experience i have with rooting etc. flash means install right?
Click to expand...
Click to collapse
Yes install, I prefer to flash the kernel in fastboot then flash the zip.
rzlatic said:
"fastboot flash boot boot.img" flashes only the cwm (and kernel). wipe data/factory reset is ok, no harm done (at least now, as you want clean partitions at this point anyway).
so if your zips are on the sdcard via step 8, boot into cwm, navigate to
- install zip (swipe down, swipe right to enter)
- choose zip from /sdcard
- 0/
now you end up on your sdcard. find your zip and run the install. if you copied gapps zip too, install that zip after flashing the rom, and that's it.
Click to expand...
Click to collapse
Yes I've come this far. Now I have installed the file i had at the sdcard. "installation complete!" "Good Apps for Android 4.3.3" it says.
Now ive found the cm-11-20140922-NIGHTLY-amami.zip and installed it via sideload.
"opening adbd...
finding update package..
opening updage package.
installing update..."
Dont know how long this take, doesnt say its finished, but i can navigate through the menu at the top, does this means it finished? what to i do now to get i work? just "reboot system now"?
llgr said:
Dont know how long this take, doesnt say its finished, but i can navigate through the menu at the top, does this means it finished? what to i do now to get i work? just "reboot system now"?
Click to expand...
Click to collapse
yes. reboot. see what happens. you should boot into cm already.
you didn't need using so much adb, it's all doable via cwm (except initial flashing of boot.img which is cwm itself).
next time: just download the zip, reboot into recovery, flash the zips there and reboot. it's that simple you don't need to wipe anything between flashing nightlies, but you do between nightlies and M build - or if you migrate to some other aosp/aokp/kang rom. anyhow, have fun.
You want to instal cm right? But do you know that you need to unlocked your bootloader to install any other rom than stok right? So if tou want to have CM you must unlock your bootloader

Categories

Resources