Newbie here. I don't know if this is the right area for this but I need your help. - General Questions and Answers

Good Day!
This is my first time posting here. I need your expertise on this guys. I'm a newbie on these kind of stuff.
My phone is THL 5000. I was trying to perform SD Card Partition thinking that it will resolve my problems on lack of internal memory, however, I did something wrong along the process and now, my internal memory is 0MB and I keep on getting an error saying that I have no OS installed on my phone.
After searching for hours on looking for solutions, what I already tried is the following:
1. Restoring my Nandroid backup but failed. I keep on getting the error message "Unable to wipe System."
2. Flashing ROM using the zip file saved on my External SD Card but also failed. I'm getting the error messages:
failed to mount '/system' (Block device required)
failed to mount '/cache' (Block device required)
failed to mount '/data' (Block device required)
3. Repair or Change File System in the Wipe section of TWRP but also failed. I'm getting the same error messages as above.
4. Used SP Flash Tool to flash the stock ROM but my laptop is not recognizing my phone. It only keeps on charging when I'm plugging it in.
5. Flashing the stock ROM thru ADB Sideload but I keep on getting the error "unable to wipe cache. failed to mount '/data' (Block device required)" before the process could finish. Also, the command window on my laptop keeps on giving me this error:
Total xfer: 1.26x
My Custom Recovery is TWRP Version 3.0.2-0.
Please help me guys. I really don't know what should I do now. Thank you in advance.

Related

[Q] Stuck in recovery mode, Cant mount /sdcard

I have a rather confusing problem that requires knowledgeable folks.I will lay out the entire situation to the best of my ability. Please, read through to the end. A few things that should be clarified: I am a 48 year old adult who is fairly skilled with tech. Linux, however is a bit of a weak point. I am pretty intelligent, methodical, and thorough. I researched my phone project well, and was operating from clear instructions. I met several problems along the way, and spent about 30 hours reading, researching, and attempting things before i exhausted my resources and posted here. I point these things out from the start because I abhor taking the time to write a detailed post requesting information, only to get one line answers telling me to "look it up." That being said, here is the situation.
Equipment
T-Mobile Samsung Galaxy S (SGH-T959V)
Stock USB data transfer cable
Desktop computer running Windows 8.1 64 bit
Software Used/Available
Android SDK
Odin 3 v1.85
Heimdall v1.4rc1 win32
Heimdall v1.4rc2 win32
Semaphore 2.7.4
CyanogenMod 10.1.3 galaxysmtd
CyanogenMod 10.2.0 galaxysmtd
Procedure
I began by following the procedure detailed on the CynaogenMod site (wiki.cyanogenmod.org/w/Install_CM_for_galaxysmtd) It instructed me to download Semaphore's ClockworkRecovery Mod and Heimdall, boot into download mode, and flash the kernel, which I did, though it was not trouble free. Heimdall had trouble sending the data, but after fiddling a bit with drivers and cables, it completed.
Continuing on their instructions, I downloaded CyanogenMod 10.2.0 and placed it on the root of the sdcard using adb (adb push cm-10.2.0-galaxysmtd.zip /sdcard/) I then booted to recovery mode and performed the following actions in this order:
Select and execute the option to wipe data/factory reset.
Select install zip from sdcard.
Select choose zip from sdcard.
Select the CyanogenMod file you placed on the sdcard.
Optional: Install any additional packages you wish using the same method.
Once the installation finished, returned back to the main menu, and selected the reboot system now option.
At this point, the device should have booted into CyanogenMod.
Instead, It started to load cyanogen, but stalled at "Waiting for /sdcard to mount", counted down from 20 to 0, and then rebooted, ad infinitum.
Current Status
Now, it boots into CWM-based Recovery v6.0.4.5, and the following printout under the command list:
E: failed to find "cache" partition to mount at "/cache"
E: failed to find "cache" partition to mount at "/cache"
E: Can't mount /cache/recovery/command
E: failed to find "cache" partition to mount at "/cache"
E: Can't mount /cache/recovery/log
E: Can't open /cache/recovery/log
E: failed to find "cache" partition to mount at "/cache"
E: Can't mount /cache/recovery/last_log
E: Can't open /cache/recovery/last_log
E: failed to find "cache" partition to mount at "/cache"
E: failed to find "cache" partition to mount at "/cache"
Error mounting /cache!
I can't boot into download mode. I cannot mount /cache, /datadata, /system, or /data. I cannot format them, either. I have tried a few times from badly worded instruction posts to push the file again and install from zip, but heimdall fails saying "Is a directory." I dont understand sideloading sufficiently to use it, but I suspect it wouldn't help until i can resolve the mounting issue.
Things I Have Tried, and why they didn't work
In googling "cant mount /sdcard" issues, I have seen many posts suggesting to "Use Odin and revert to stock." Currently, when my phone is plugged into USB, my computer recognizes only two disk drives, both classed as "Linux File - CD Gadget USB Device" Odin doesn't see it at all, and I suspect that it is because it isn't in download mode, and the compter doesnt see it as a phone. If there is a way around this, i would be grateful to hear it.
I have also seen a few posts suggesting to "reflash cwm_mod." I assume this is suggesting that by reverting to just a clean system and CWM, I could try to install the mod, or a stock rom, again. I do not know how this is possible when I cant mount /sdcard. It seems that this single issue is the crux of the matter.
Request For Help
I am totally stumped. I am willing to work with anyone who can either walk me through some steps or point me to a well written resource. I have looked up many guides, but frankly, a lot of them are so poorly written as to be nearly incomprehensible. All siggestions are humbly accepted, and greatly appreciated. I will be home all day, and in front of the computer waiting.
Thank you for reading.
If you can get into download mode try this.
http://forum.xda-developers.com/showthread.php?t=2258628
☞Sent from here☜
Hey I was in the same boat as you, try this and it will take you back to gingerbread but you will be able to reflash newer updates and mods.
just click the download link in the thread and open it after you download.
Then put your phone into download mode to connect with heimdall and once it says connected click the flash button and once its done you'll be back to stock gingerbread.
I was stumped for a few days because I thought I had to use odin but its very simple heres the link to the thread.
http://forum.xda-developers.com/showthread.php?t=1358498
baseballfanz said:
If you can get into download mode try this.
http://forum.xda-developers.com/showthread.php?t=2258628
☞Sent from here☜
Click to expand...
Click to collapse
You did like me; I didn't realize this post is referring to a Galaxy S 4G, not the Galaxy S4. I don't believe you'd want to follow that particular bit of advice being that it's not the same model.

[Q] My Internal sdcard is corrupted! Please Help!

I Think my Internal sdcard is corrupted!
Please Help! Reflashing android won't work. I think the partition is corrupted!
Device: Google Nexus 5
Original OS: Android 5.1.0_r1 (LMY47D)
Recovery: TWRP 2.8.6.0
One day I turned my phone off, and later i decided to go into recovery. I believe I went inside Advanced Options and clicked "Fix Permissions." Then I proceeded to reboot. I was busy at the time, so when I remembered about my phone, I saw that it was still booting. It had been at least 30 minutes so I knew it was in a bootloop. I decided to go back into recovery and reflash the system.img onto it. No luck. I realized I had to try flashing the entire Nexus image (using the flash-all.bat). The phone would still not turn on. I tried flashing different versions of android, and here are my findings:
Android 5.1.0_r3, 5.1.0_r1, 5.0.1: all cause my phone to not be able to boot up (stuck on the 4 color flying animation)
Android 4.4.4, CyanogenMod (cm-11-20141008-SNAPSHOT-M11-hammerhead.zip): Allow my phone to boot up.
However, after I found that I could boot onto Android 4.4.4 and CyanogenMod, I realized that I could not get access to the sdcard!
Here are my findings:
When I go to the phone's root folder, I see a FILE called "sdcard"
When I go to \storage, I see a FILE called sdcard0
When I open camera, the app crashes (possibly because it stores pictures on the sdcard).
I tried to delete these files when I had root access with CyanogenMod but the file manager said "can't delete file." When I am in recovery mode (TWRP) however, I can see the sdcard folder and the contents. Just through every system boot, the sdcard is inaccessible.
After I realized that the problem wasn't due to the data on my phone (after flashing many system images), I realized my data partition might be corrupted. Then I went to this site and followed the directions: http://forum.xda-developers.com/goo...o-repairing-corrupted-data-partition-t2577447
The e2fsck command didn't do anything as cmd said "The superblock could not be read or does not describe a correct ext2 filesystem."
Afterwards, my friend told me to try mke2fs /dev/block/platform/msm_sdcc.1/by-name/userdata
I typed that in adb shell and something happened. I started processing blocks or something. Unfortunately now, I am unable to mount the data partition at all. I am also unable to flash the userdata.img onto my phone through fastboot.
UPDATE: When I open up twrp recovery and look in the log I see the following:
E: Could not mount /data and unable to find crypto footer.
E: Unable to mount '/data'
E: Unable to recreate /data/media folder.
Updating partition details...
E: Unable to mount '/data'
E: Unable to mount '/cache/
E: Unable to mount '/persist'
...done
E: Unalbe to mount storage.
E: Unable to mount /data/media during GUI Startup.
E: Unable to mount '/cache'
Full SELinux support is present.
E: Unable to mount '/cache'
E: Unable to Mount '/cache'
E: Unable to mount /data/media/TWRP .twrps when trying to read settings file.
E: Unable to mount '/data'
MTP Enabled
Anyone know how to fix this? Please help, I owe you so much if you can solve this! Reply to me if you're able to help, I'm also new to xda so I don't really know how messages work. Thanks!
Try taking it out and putting it back in. It happened to me too.
mygoldeneye said:
Try taking it out and putting it back in. It happened to me too.
Click to expand...
Click to collapse
By sdcard I mean the internal sdcard (/storage/emulated/0). Nexus 5 does not have an external sdcard slot anyways.
So you are saying you have no apps, no widgets, nothing... /storage/emulated/0 is your main storage which INCLUDES your system files (unless you have a phone or tablet that has a separate internal SD card - would be /storage/emulated/1 ... I am guessing)

I am having trouble rooting Samsung j7 Perx SM-J727P.

I am totally new to rooting, not sure what I've done wrong.
I started trying to root my SM-J727P by installing TWRP with Odin. This works fine, then I added the superSU v2.82 file to the device's microSD card. I went to install tab in TWRP recovery mode->select storage->Micro SD card->superSU.
Then when I try to flash it, a red message appears saying "Could not mount /data and unable to find crypto footer. Failed to mount /data (Invalid Argument). At the bottom it says "Failed to mount /system (Device or Resource Busy). Failed to mount /data (Invalid Argument.)
After this I read that I need to format storage.
I went to wipe->format data->typed yes and the same message appears, "Failed to mount /system (device or resource busy).
I'm extremely new to this so I don't really know what I'm talking about but do I need to disable dm-verity?
Any help would be greatly appreciated.
ColoPhone said:
I am totally new to rooting, not sure what I've done wrong.
I started trying to root my SM-J727P by installing TWRP with Odin. This works fine, then I added the superSU v2.82 file to the device's microSD card. I went to install tab in TWRP recovery mode->select storage->Micro SD card->superSU.
Then when I try to flash it, a red message appears saying "Could not mount /data and unable to find crypto footer. Failed to mount /data (Invalid Argument). At the bottom it says "Failed to mount /system (Device or Resource Busy). Failed to mount /data (Invalid Argument.)
After this I read that I need to format storage.
I went to wipe->format data->typed yes and the same message appears, "Failed to mount /system (device or resource busy).
I'm extremely new to this so I don't really know what I'm talking about but do I need to disable dm-verity?
Any help would be greatly appreciated.
Click to expand...
Click to collapse
I now have manually mounted system and no errors showed, after tapping reboot system, the phone entered a bootloop. Not sure if this is supposed to happen or not and if it is, how long does it take?
ColoPhone said:
I now have manually mounted system and no errors showed, after tapping reboot system, the phone entered a bootloop. Not sure if this is supposed to happen or not and if it is, how long does it take?
Click to expand...
Click to collapse
This happened to me when I was doing my first root with samsung. What I did was completely start over with a new stock ROM and TWRP. Be sure you have all the right things ticked on Odin. What I had to do with my sm-j700p was un-tick auto-restart when done, and when the TWRP was done flashing, I had to remove the battery instead of wait for it to shut down. Then QUICKLY go into recovery mode by pressing the buttons after you turn it back on. Flash ROM. If I remember correctly, I was so good from there, but the timing with samsung when pushing the buttons apparently is EVERYTHING.
And making sure it is the correct TWRP file. I also made the mistake of picking the wrong TWRP file. Same model and carrier...different year of phone. Software version number is where it's at to get the best info.
Good luck!

TWRP Internal Memory 0MB - Samsung S7 Oreo 8.0 ( SM-G930FD)

Hi All,
I am trying to root Samsung S7 Oreo 8.0 with TWRP & Magisk. But, when ever I log into TWRP it's saying "Inernal Memory 0MB)
I've followed below steps :
Installed TWRP and no-verity-opt-encrypt zip, it worked until I reboot to system
After reboot again the internal memory showing as 0MB (may be re-encrypted)
Is there any way that I can remove the encryption permanently?
Error :
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
PS : I've gone through the forum to find different solutions, but nothing working to remove the encryption permanently.
yes, it is possible. is use it all the time with my stock android. give me some time to write it...or maybe someone other can tell u. u already used the search in this forum?
an other question, u really need an unencrytped internal memory?
snowfirewall said:
Hi All,
I am trying to root Samsung S7 Oreo 8.0 with TWRP & Magisk. But, when ever I log into TWRP it's saying "Inernal Memory 0MB)
I've followed below steps :
Installed TWRP and no-verity-opt-encrypt zip, it worked until I reboot to system
After reboot again the internal memory showing as 0MB (may be re-encrypted)
Is there any way that I can remove the encryption permanently?
Error :
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
PS : I've gone through the forum to find different solutions, but nothing working to remove the encryption permanently.
Click to expand...
Click to collapse
Thank you.. Am not exactly looking for unencrypted partition. Am just confused whether it's expected to format data and no variety everytime or is it just one time for root?
Also I gone through the threads to find fix for this issue. But most of the people are suggesting to format data.
Any other better ways? Can we take backup of existing ROM from TWRP without root?
Roberto W. said:
yes, it is possible. is use it all the time with my stock android. give me some time to write it...or maybe someone other can tell u. u already used the search in this forum?
an other question, u really need an unencrytped internal memory?
Click to expand...
Click to collapse
i am using a stock firmware by telekom, it installs some features after first flash and first reboot (maybe ur firmware does not need step 3, so my second reboot is ur first reboot into download mode)
1. flash stock firmware
2. first reboot
3. install for provider reasons and then
4. second reboot (important: into download mode)
5. flash twrp
6. third reboot (important: into twrp)
7. flash zip-file (attached to this post)
8. reboot and wait....
now u should have an unencrypted system. the only thing is, u need to repeat these steps on firmware updates.
snowfirewall said:
Thank you.. Am not exactly looking for unencrypted partition. Am just confused whether it's expected to format data and no variety everytime or is it just one time for root?
Also I gone through the threads to find fix for this issue. But most of the people are suggesting to format data.
Any other better ways? Can we take backup of existing ROM from TWRP without root?
Click to expand...
Click to collapse

Phone no longer has OS and having trouble installing custom rom

Hey guys, hoping someone can save me from having to buy a new phone. I either need to fix it quickly or replace it quickly cause my job depends on having one.
I have a Moto 9 g plus.
I wanted to root my phone for a long time and today I decided to try since the Android 11 update ****ed up the camera on my phone anyway.
I followed this guide here
Root Motorola Moto G9 Plus Android 10 using TWRP and Install Magisk
When you have Stock Android on your mobile, You are almost free from bloatware apps. Even if your manufacturer put some apps, You can get rid of them in
www.androidinfotech.com
Everything seemed to be going well except that I couldn't get magisk to install, I kept getting errors in twrp.
I ended up installing the apk for magisk and used it to modify the boot file. I installed the image in twrp and on reboot, it went into a boot loop. I could go back to trwp and after swiping to factory reset, it broke the loop when I restart the phone. The problem is that now it just goes straight to the menu that you normally need to press and hold down and power to go to. I never did get to confirm if my phone was successfully rooted or not, I'm guessing no, and that that is the main problem now, as the phone won't boot up to where I can use apps, and if it isn't rooted, from what I understand, I can't install another rom?
Also, whenever I'm finished with twrp, when I press to reset it says something like "Phone no longer has OS, are you sure you want to reboot?". I read it is from wiping the data or factory reset, but I didn't actually wipe any internal memory, I can still view all files on it and on my sd card.
Maybe you guys can confirm my suspicions that I just ****ed up my phone for good or not.
This is what the error says when I attempted to install a rom, I tried with lineage and arrowos and I don't believe the problem is with the roms.
E:unable to update logical partion: /system_root
E:unable to update logical partion: /vendor
E:unable to update logical partion: /product
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
E:Unable to open /system_root/system/apex
E:Unable to load apex images from /system_root/
system/apex
MTP Enabled
Failed to mount '/system_root' (Invalid argument)
Installing zip file '/external_sd/Arrow-v12.0-odessa
-UNOFFICIAL-20211013-gapps.zip'
Flashing A/B zip to inactive slot: A
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
Step 1/2
Error applying update : 7 (ErrorCode::
kInstallDeviceOpenError)
Updater process ended with ERROR: 1
To flash addition zips, please reboot recovery to
switch to the updated slot.
Error installing zip file '/external_sd/Arrow-v12.0-odessa
-UNOFFICIAL-20211013-gapps.zip'
Updating partition details . . .
. . . done
If I try to install magisk.zip it gives this error
Failed to mount '/system_root' (Invalid argument)
Installing zip file '/external_sd/Magisk-23.0.zip
Checking for Digest file . . .
Unmounting System . . .
********************************
Magisk 23.0 Installer
********************************
- Current boot slot: b
! Cannot mount /system
- Unmounting partitions
Updater process ended with ERROR: 1
Error installing zip file 'external_sd/Magisk-v23.0.zip
Updating partition details . . .
. . . done
Thanks to anyone to offers any suggestions, this is my first time attempting this, so don't assume I know anything, I just step by step tutorials and usually don't have problems like this.

Categories

Resources