Instal ROM without SD card - Xiaomi Mi 5 Questions & Answers

Good Morning everyone,
I haven't been able to get an answer in the forum related to this question
I keep reading TUTO in order to custom my new Mi5, and everywhere it is written :
Download the ROM
Put the zip files on your SDCard
Reboot in Recovery
Wipe Data / Factory Reset
Select "Install zip from SDCard"
Flash
BUT, Mi5 does not support SDCard. How could I put it into it ?
Thanks,
Laurent

GoOlik said:
Good Morning everyone,
I haven't been able to get an answer in the forum related to this question
I keep reading TUTO in order to custom my new Mi5, and everywhere it is written :
Download the ROM
Put the zip files on your SDCard
Reboot in Recovery
Wipe Data / Factory Reset
Select "Install zip from SDCard"
Flash
BUT, Mi5 does not support SDCard. How could I put it into it ?
Thanks,
Laurent
Click to expand...
Click to collapse
You can flash custom rom by going to recovery and select install zip from adb sideload.
Now, adb command prompt and type "adb devices" and press enter, it will recognize your device and then type "adb sideload (your_rom_name.zip)" and press enter it will flash zip file in your device......
[emoji117] NOTE:- Before performing any above steps you must have adb drivers installed in your pc..
Sent from my SM-A710F using Tapatalk

GoOlik said:
Good Morning everyone,
I haven't been able to get an answer in the forum related to this question
I keep reading TUTO in order to custom my new Mi5, and everywhere it is written :
Download the ROM
Put the zip files on your SDCard
Reboot in Recovery
Wipe Data / Factory Reset
Select "Install zip from SDCard"
Flash
BUT, Mi5 does not support SDCard. How could I put it into it ?
Thanks,
Laurent
Click to expand...
Click to collapse
Your phone does have SD Card. An internal one. Well, a partion of your internal storage is emulated as SDcard and mounted as /SDCard0

vladimir_carlan said:
Your phone does have SD Card. An internal one. Well, a partion of your internal storage is emulated as SDcard and mounted as /SDCard0
Click to expand...
Click to collapse
Yaa this is also good way that you can follow
But when your phone boot up
Sent from my SM-A710F using Tapatalk

AshTechsoft said:
Yaa this is also good way that you can follow
But when your phone boot up
Sent from my SM-A710F using Tapatalk
Click to expand...
Click to collapse
You don't need to boot your phone to copy the rom zip from your PC. You can do it while you are in recovery via MTP file transfer.

vladimir_carlan said:
You don't need to boot your phone to copy the rom zip from your PC. You can do it while you are in recovery via MTP file transfer.
Click to expand...
Click to collapse
Ohh....yaa you are right......
Sent from my SM-A710F using Tapatalk

vladimir_carlan said:
Your phone does have SD Card. An internal one. Well, a partion of your internal storage is emulated as SDcard and mounted as /SDCard0
Click to expand...
Click to collapse
Thank you for your quick reply, but I have an issue.
I cannot find the folder /SDCard0 in my phone system. I have only /SDCard, which go directly to my internal storage.
FYI: I use TWRP 3.0.2

GoOlik said:
Thank you for your quick reply, but I have an issue.
I cannot find the folder /SDCard0 in my phone system. I have only /SDCard, which go directly to my internal storage.
FYI: I use TWRP 3.0.2
Click to expand...
Click to collapse
/SDCard or /SDCard0 makes no difference. Your internal storage it's seen by system as an SDCard. Copy there your rom. Zip and flash it. Those tutorials you are talking about are made with assumption that you download the rom zip on your PC. You can download those roms right on your phone using your phone browser. Like this it's much easier and you'll skip Step 2 the step that got you confused.

Related

Error mounting /emmc

I wanted to install AOKP Milestone 6
I entered recovery mode and started to install the Milestone zip file ... and after installation finished it rebooted and entered to AOKP
then i went to recovery mode again to install Google Aps ... but it doesn't find my memory ... when i click on 'choose the file' it says 'error mount /emmc'
and in the phone i can't find my memory .. please help me
Just copy gapps to internal sd and flash from there, or go into recovery/ mounts and storage and see if you can mount it there
slaphead20 said:
Just copy gapps to internal sd and flash from there, or go into recovery/ mounts and storage and see if you can mount it there
Click to expand...
Click to collapse
I couldn't open the internal sd
and in recovery mood .. i tried to mount the storage but it said it couldn't find it
e_Seka said:
I couldn't open the internal sd
and in recovery mood .. i tried to mount the storage but it said it couldn't find it
Click to expand...
Click to collapse
Does your computer not see your internal sd?
slaphead20 said:
Does your computer not see your internal sd?
Click to expand...
Click to collapse
No, the phone doesn't see the internal sd .. when i plugged it to my laptop .. i saw the internal memory
I flashed back to GB 2.3.3 and rooted it and then went to recovery mode to install AOKP again ... and it rebooted and opened the phone before i be able to install gapps!!!!
As the instructions say .. flash Milestone and then flash gapps and then reboot?!!!
why did it reboot before i flash gapps?!!!!!!!!!!
And when i go to recovery mode to flash gapps .. it gives me the same error
'error mount /emmc'
e_Seka said:
I flashed back to GB 2.3.3 and rooted it and then went to recovery mode to install AOKP again ... and it rebooted and opened the phone before i be able to install gapps!!!!
As the instructions say .. flash Milestone and then flash gapps and then reboot?!!!
why did it reboot before i flash gapps?!!!!!!!!!!
And when i go to recovery mode to flash gapps .. it gives me the same error
'error mount /emmc'
Click to expand...
Click to collapse
when you were at gb did you try mounting the sd card...our copying gapps to sd? The other thing to try is reformatting sd....been following a similar problem over at slim and turned out his needed reformatting
slaphead20 said:
when you were at gb did you try mounting the sd card...our copying gapps to sd? The other thing to try is reformatting sd....been following a similar problem over at slim and turned out his needed reformatting
Click to expand...
Click to collapse
When i was on GB i copied the AOKP Milestone6 & gapps to my memory and i installed AOKP Milestone and it rebooted without give me the chance to install gapps
e_Seka said:
When i was on GB i copied the AOKP Milestone6 & gapps to my memory and i installed AOKP Milestone and it rebooted without give me the chance to install gapps
Click to expand...
Click to collapse
you did put them on internal sd?
Can't you just reboot recovery and then flash gapps?
slaphead20 said:
you did put them on internal sd?
Can't you just reboot recovery and then flash gapps?
Click to expand...
Click to collapse
I put them on the root of sdcard ... and install the Milestone on the recovery by 'Install zip from sdcard' and it worked fine
and after the Milestone finished the phone rebooted by itself .. and when i go to recovery again to install gapps .. it tells me 'Error mount emmc'
e_Seka said:
I put them on the root of sdcard ... and install the Milestone on the recovery by 'Install zip from sdcard' and it worked fine
and after the Milestone finished the phone rebooted by itself .. and when i go to recovery again to install gapps .. it tells me 'Error mount emmc'
Click to expand...
Click to collapse
But if they are on internal sd you don't need to access emmc that is your external sd card
slaphead20 said:
But if they are on internal sd you don't need to access emmc that is your external sd card
Click to expand...
Click to collapse
That's what it says when I try to 'install zip from sdcard' to install gapps!!!!
e_Seka said:
That's what it says when I try to 'install zip from sdcard' to install gapps!!!!
Click to expand...
Click to collapse
I think your problem is your trying to "Install zip from sdcard"
you have to Install from "Install zip from Internal sdcard"
xsenman said:
I think your problem is your trying to "Install zip from sdcard"
you have to Install from "Install zip from Internal sdcard"
Click to expand...
Click to collapse
This option is not exist!!!!
Where is it?
Where can I find this one?
at this stage I'm going to suggest a clean install from gb, here is my recovery kit if you want to try it, unzip it, read the .txt instructions, with diagrams, then proceed.
http://db.tt/MOGZx01S
slaphead20 said:
at this stage I'm going to suggest a clean install from gb, here is my recovery kit if you want to try it, unzip it, read the .txt instructions, with diagrams, then proceed.
http://db.tt/MOGZx01S
Click to expand...
Click to collapse
Thanks slaphead20!
I will try it after work ...
But of course i will not flash CM9 ... You meant Milestone .. right?
e_Seka said:
Thanks slaphead20!
I will try it after work ...
But of course i will not flash CM9 ... You meant Milestone .. right?
Click to expand...
Click to collapse
From gb follow the specific instructions for the Rom you want to install
slaphead20 said:
From gb follow the specific instructions for the Rom you want to install
Click to expand...
Click to collapse
Thanks slaphead20! :good:
It worked
Thanks
Btw, Do you know if i can roote my Galaxy Note without losing my warranty?!
If you can direct me to the way or a topic, it will be very amazing
I appreciate your help!
Thanks
But why i can't find the "Camera" & "My Files" ?!
e_Seka said:
But why i can't find the "Camera" & "My Files" ?!
Click to expand...
Click to collapse
you on a slim now?

[Q] sdcard unmounted somehow help phone works otherwise

hi guys i hope someone can help
somehow my sdcard has become unmounted
i have s-off with revone done with cmd and adb
i have set cid to 11111....
i have updated firmware to 2.17 and 2.14
all was working well until i did factory reset
now i cant access internal storage. camera doesnt work. wifi doesnt work
what do i need to do?
any help would be much appreciated. i have been working on this for hours
flash your ROM again
IINexusII said:
flash your ROM again
Click to expand...
Click to collapse
i have not flashed a rom yet and the stock rom works fine i just cant access sdcard
do i need to flash a rom?
which one? a stock one or a custom one?
stock one
okay
i cant access the sd card to copy a rom to
on the laptop the phone comes up like normal. click on it internal storage comes up like normal. but inside the internal storage folder has a folder called storage. inside that is emulated. inside that is legacy. inside that is the normal file structure.
windows errors when trying to copy files anywhere inside the internal storage folder
when in the camera app on the phone it shows a black image and click on the gallery icon it says no sd card
its like the "sdcard" is unmounted. how do i mount it? ive tried CW recovery and TWRP
try sideloading the ROM, there should be an option for adb sideload and use the command adb sideload romName.zip
is there an adb command to mount sdcard?
jtilz said:
is there an adb command to mount sdcard?
Click to expand...
Click to collapse
there should be in one of the recovery menus
This is exactly what has happened to my phone, and there seems to be more thread cropping up about this.
I can see in TWRP recovery there is an SDCard but cant do anything with it. I can flash a rom via sideload (hardly flashes, my lack of understanding) and from OTG USB in Recovery but there will be no installed rom once done, or at least it wont boot.
Same thing in CWM except that recovery can not see the SDCard so no mounting.

Why cant I mount the storage inside recovery

I am using clockworkmod recovery but I cannot mount storage. Am I missing something? Drivers in place. Fastboot abd both work. But I cannot mount the storage. I am not new to this just new to the phone.
bongo264 said:
I am using clockworkmod recovery but I cannot mount storage. Am I missing something? Drivers in place. Fastboot abd both work. But I cannot mount the storage. I am not new to this just new to the phone.
Click to expand...
Click to collapse
Is there a way to get a ROM on via fastboot or something?
bongo264 said:
Is there a way to get a ROM on via fastboot or something?
Click to expand...
Click to collapse
When you hit the mount button should the storage show up as a drive? It worked on my old phone with external storage. What am I doing wrong?
bongo264 said:
When you hit the mount button should the storage show up as a drive? It worked on my old phone with external storage. What am I doing wrong?
Click to expand...
Click to collapse
Doesn't work for phones with internal storage from recovery, cannot mount in recovery. Something to do with how internal storage works with the MTP
dgtiii said:
Doesn't work for phones with internal storage from recovery, cannot mount in recovery. Something to do with how internal storage works with the MTP
Click to expand...
Click to collapse
Thank you for the reply. I had a friend bring over his phone that was only booting to bootloader and had no ROM's in storage. I managed to get it back by fastboot flashing a boot.img from the viper ROM that was installed on his phone before. Normally I would have just copied a good ROM to the storage through recovery and flashed it. Afterwords I made a backup and warned him not to delete it.
Thanks again everyone for all the support this site provides!
bongo264 said:
Thank you for the reply. I had a friend bring over his phone that was only booting to bootloader and had no ROM's in storage. I managed to get it back by fastboot flashing a boot.img from the viper ROM that was installed on his phone before. Normally I would have just copied a good ROM to the storage through recovery and flashed it. Afterwords I made a backup and warned him not to delete it.
Thanks again everyone for all the support this site provides!
Click to expand...
Click to collapse
If you need to send a rom or anything to your internal storage from recovery just do : adb push rom.zip /data/media/0/
cuyo11 said:
If you need to send a rom or anything to your internal storage from recovery just do : adb push rom.zip /data/media/0/
Click to expand...
Click to collapse
+1
Easiest way is to get a 4 $ OTG cable from Amazon and a SanDisk 16 GB USB stick. Then choose in recovery 'install zip from external SD card'
I also keep a Nandroid on there. In recovery there is the option 'back up to external SD card'
Really gives a peace of mind!
Sent from my HTC One using xda app-developers app

[Q] Urgent Help required - Not able to locate update zip in Stock Recovery

Greetings,
Unable to find the flashable update zip file from stock recovery 3e which exists on my sdcard.
I need to install CWM recovery and flash cocore kernel and root. I did this earlier countless times.
I am on stock XXLQL 4.1.2 Italy FW. Just FYI, a couple of days back I had flashed HarshJelly 4.
Below are the options in stock recovery <3e> -
1. reboot system now
2. apply update from ADB
3. apply update from external storage
4. wipe data/factory reset
5. wipe cache partition
6. apply update from cache
When I select 3rd option, I cannot see the update.zip or any other file which is in my sdcard (internal storage). I just see below –
Choose a package to install:
/sdcard
../
Added information is, when I go to root of the phone with Solid explorer, I can see below relevant directories –
sdcard <this is a symlink for /storage/sdcard0>
storage <inside this there is sdcard0 dir>
Inside storage there is sdcard0. And when I access the same directory by either ways (clicked symlink OR went is storage/sdcard0), I could see all my flashable files over there.
I already read something about this being related to 4.2 JB version. However, did not find any confirmed resolution or workaround on any forum.
I have already tried -
1) formatting of internal storage (sdcard0) and external storage (memory card) from phone settings -> storage -> Format USB storage AND Format SD card.
2) That didn’t work hence, I tried formatting my ext card (referred some XDA link) from PC with all - FAT32, NTFS and something like ext.... Still no luck.
3) Downloading zip files again to ensure they are not currupted.
Please note that I can copy data to both storages, hence I think my storage doesn’t look like corrupted.
It will be a great help if you can guide me to resolve this issue. :fingers-crossed:
Stock recovery let you search for update.zip in external sdcard (/storage/extSdCard/ on stock jb)
Sent from Italy using Tapatalk
Toni5830 said:
Stock recovery let you search for update.zip in external sdcard (/storage/extSdCard/ on stock jb)
Sent from Italy using Tapatalk
Click to expand...
Click to collapse
I have already kept the update.zip in both internal and external sdcards (/storage/extSdCard/ and /storage/sdcard0/). Missed to mention that.
However, could you please confirm on this as the symlink /sdcard in the root is for /storage/sdcard0 which is internal sdcard.
upendeshmukh said:
I have already kept the update.zip in both internal and external sdcards (/storage/extSdCard/ and /storage/sdcard0/). Missed to mention that.
However, could you please confirm on this as the symlink /sdcard in the root is for /storage/sdcard0 which is internal sdcard.
Click to expand...
Click to collapse
Repertition sd, not reformat. Look here How to repartition external sd card.
Sent from my GT-I9070 using Tapatalk
shut_down said:
Repertition sd, not reformat. Look here How to repartition external sd card.
Sent from my GT-I9070 using Tapatalk
Click to expand...
Click to collapse
@shut_down thanks for reply.. I guess you missed the link in your post... :angel:
upendeshmukh said:
@shut_down thanks for reply.. I guess you missed the link in your post... :angel:
Click to expand...
Click to collapse
No I did not, I did not put. You just needed to put that in search and first result will be: http://forum.xda-developers.com/wiki/SD_card_partitioning
:laugh::laugh::laugh:
upendeshmukh said:
@shut_down thanks for reply.. I guess you missed the link in your post... :angel:
Click to expand...
Click to collapse
Also, I would like to know what has happened to ext sdcard...
How re-partitioning will help?
Can't it be roll backed to earlier condition rather than re-partitioning?
shut_down said:
No I did not, I did not put. You just needed to put that in search and first result will be: http://forum.xda-developers.com/wiki/SD_card_partitioning
:laugh::laugh::laugh:
Click to expand...
Click to collapse
:laugh::laugh:
Wow.. worked.. Thanks a lot.. :good::victory:

Unable to update CM13

Hello guys, i was trying to update my CM 13 today and it didn't work. It made the download but once in the recovery, nothing happened :S i'm trying to understand why and i hope some of you know of this.
By the way, my TWRP version is the 2.8.7.0 if it helps..
ugh...Can't really understand what happened
You installed via OTA/cm updater? meaning you downloaded with your phone
Just download the zip directly and flash it with twrp
You'll also need to re-flash gapps unless you're using TWRP 3.0.0
Make sure that you have not installed any additional mods which alters system partition (kernels, soundmods etc.) If not, easiest solution would be to dirtyflash new one or clean install.
Same problem here.
405. CM13. TWRP 3.0.0. Merged SD card with internal storage.
In Recovery I can see folder structure but no files. I know its because of SD-encryption but I hoped I could at least see files in internal storage to update. Hope there's a solution soon. Does anyone have a workaround?
Gesendet von meinem LG-D405 mit Tapatalk
Filesystem of sdcard mount point
What is your /sdcard mount point filesystem? Mine is 'auto' (Maybe that might be causing the problem?) , and you can check by going into TWRP -> Wipe -> sdcard -> Repair or Change File System
Thank you for your answer. I checked that quickly, but couldn't find the option 'repair or change filesystem' without actually wiping the storage... I'll check again later if there's more time.
I found and changed the option from exFAT to ext4. All folders on the SD were lost in TWRP. Changed back to exFAT: couldn't see them either..
When using adopted storage (i.e. formatting external SD and using it as internal storage), then /sdcard in Android becomes /emmc in TWRP. At least it's what I see here using TWRP 3.0.0 Dark Blue.
From what I've looked, all internal storage is used only for app and app data once I started using adopted storage, so the only way I can think of using internal storage in TWRP to flash anything is either sideloading or using MTP in TWRP.
I managed updating through sideload.
1. Connect your phone to your computer via USB
2. Activate sideload in TWRP (advanced)
3. In platform-tools folder press Shift+right click to open commandline
4. If your device is connected properly ('adb devices') you can sideload zips (in platformfolder) via the command 'adb sideload filename.zip'
5. Restart device. Note: It took a few minutes for all apps to appear in the appdrawer again.
Thank you all for your help! I will looks after the folder emmc, but as I see no files, just folders anywhere, I am not that hopeful. But at least it works now
kreativpause said:
I managed updating through sideload.
1. Connect your phone to your computer via USB
2. Activate sideload in TWRP (advanced)
3. In platform-tools folder press Shift+right click to open commandline
4. If your device is connected properly ('adb devices') you can sideload zips (in platformfolder) via the command 'adb sideload filename.zip'
5. Restart device. Note: It took a few minutes for all apps to appear in the appdrawer again.
Thank you all for your help! I will looks after the folder emmc, but as I see no files, just folders anywhere, I am not that hopeful. But at least it works now
Click to expand...
Click to collapse
What did you wipe prior to your sideload? I want to do a wipe and fresh install of gapps and cm13, but I am afraid I could soft brick my phone.
I chose both. Dalvik and the other option ( I believe cache). No issues.
kreativpause said:
I chose both. Dalvik and the other option ( I believe cache). No issues.
Click to expand...
Click to collapse
Mine gets stuck at "detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system" then it just reboots to TWRP again. Sideload says "
serving: 'cm-13.0-20160322-NIGHTLY-w7.zip' (~0%) * failed to read command: No error". Did you wipe system before you sideloaded?
I did not wipe anything beforehand.

Categories

Resources