Successfully rooted my device from 2.2.1 after referencing the multitude of disaster tutorials to finally discover a process that would work.
After flashing ESPRIMG, booting into recovery and loading up ClockworkMod Recovery (v 5.0.2.6) I performed the following steps in order:
wipe data/factory reset
wipe cache
installed cyanogenmod
installed gapps
mounted SD card and made older ClockworkMod Recovery (2.5.0.7) update.zip
rebooted back into recovery and loaded ClockworkMod Recovery 2.5.0.7
installed the newest radio
rebooted
However it appears that gapps did not install. I have no market, no voice search, no gmail, no youtube, nothing. I attempted to install again from all 3 possible sources: CW 2.5.0.7, CW 5.0.2.6, and the stock recovery. All show successful installation, yet none complete.
It almost seems like the %$&!# protection is re-writing /system every time the apks are moved there. Help! :crying:
Edit: I used this reference and attempted again. However, using root explorer, even when the "Mount R/W" appeared to be successful, whenever I copied a file into any folder in /system, it would not show up. If I try to create a new folder within /system, it says it fails. This further reinforces my idea that /system is being locked down. WHY? Why in god's name is this happening on Cyanogen?
Related
Apparently no one else is having this issue so it's gotta have something to do with what I'm doing, and I can't figure it out. My problem is that when I press download ROM in ROM manager, the only manifests it retrieves are the all device ones, which only include the two superuser binaries. It doesn't actually download or display the espresso manifests. I checked my build.prop to make sure everything said espresso, not something else, and it does. There was ONE thing that said htc_espresso, but no one else is having the issue so it can't be my build.prop. I have a premium license, and advanced mode is enabled, and there are no options in the settings menu to set the manifests manually. Erghhh. Anyone have any suggestions? I don't see why it just doesn't show up for me. I just did a full wipe before I flashed cm7 RC1 last night, so it can't be that.
Edit: figured out part of the problem. Apparently, it relies on you actually installing clockwork recovery, which I have avoided doing, one, because I have my cache bind mounted to data, so when it tries to flash update.zip from /cache/download, it fails, and my roms don't install, and two, I use cw3, and it's permanently flashed. So I have just been manually overriding the installation, which is why it doesn't show rom downloads. Any workaround to this, or some way to put the cw3 img into a zip?
Edit 2; solution: Took some hoop jumping and a LOT of tedious nandroiding and such, but I finally got it to work. In the end, I had to raise my cache from 1.5 mb to 2.5 mb and push the update.zip for 2.5.0.7 recovery to /cache, while in recovery (can't do it while booted, since /cache is just bound to /data/cache, hence the whole issue in the first place). So, when you reboot into recovery from rom manager, yes, it still copies an update.zip to what it THINKS is /cache, but is actually /data/cache, but it doesn't matter since I've already pushed a pre-existing update.zip to the REAL /cache (partition scheme is now 140 mb /system and 2.5 mb /cache, only 1mb of /data lost)
Ultimately, the issue with no downloads was that I had overridden the installation of clockworkmod recovery, so ROM manager showed for the version as clockwork unknown, which I guess meant unknown device as well. Once I installed cw recovery via rom manager, downloads began appearing again. I re-fastboot flashed cw2 over cw3, since it was causing compatibility issues with ROM Manager. If anyone is going to try this solution however, make a nandroid, it corrupted my entire internal storage and I had to restart without a nandroid, redoing mtd and everything. Thank god for titanium backups, eh?
Ok, so I downloaded some files, and they ended up a bit corrupt, and not knowing this, I wiped data/cache + system and tried to flash them. Now, I have nothing but 3 corrupt ROMs (CM10.1 12-22-2012, WickedJB 5, and DarthStalker 6). I had some backups, some time ago, but thinking that I'd be able to backup as soon as I get to recovery, I didn't. So now, I have no backup and 3 corrupt files, but a functional Download and Recovery (TWRP 2.3.3.1). I tried to use the adb sideload function, but it doesn't work ("device not found"). And trying to flash cm10.1 gives me error status 7, and the other two don't give me errors but after flashing, they just stay stuck at the boot screen.
I tried Odin, but it becomes stuck at "aboot.mbn." It doesn't even give a pass/fail. It just says "aboot.mbn" and after 10 minutes, I raged and pulled the plug (and then it says failed).
So, now I have no idea what to do.
How to fix it?
Thanks
Hope this helps a little
I'd make sure that ur Downloaded Flash ROM's are not Bad files or incorrect... There is usually a MD5 file or long number with most downloads,
get a MD5 checker program and check the number of the file(s) you downloaded and see if they line up with OP's Site
At this point you know u have GREAT files (ROM's) to work with.
-Not sure what recovery you have, when you boot into recovery, what do u see...
-It is possible that you inject SuperSU or Superuser into your stock ROM and have ROOT access, but also still have STOCK RECOVERY!
-You will need any kind of RECOVERY other then stock, I suggest TWRP 2.3.3.1 (version 2.3.3.0 didn't show you your sdcard, don't use that version) v2.3.1.0 was fine to use in past.
How to add NON Stock Recovery (ROM has to be rooted)...
__________________________________________________________________________________________
***to add ROOT... Use ODIN to inject stock ROM with Root66's (Dark Chld) method... (at this point, you'll have rooted ROM with stock recovery)
1. Use "Terminal Emulator" app found on market (newest is v 1.0.50)
2. Download + Copy (TWRP v2.3.3.1) recovery .img file to sdcard (rename it to recovery.img)
*** you have to extract out xxx.img file out of .zip (.zip won't work...".img" file will work only)
3. Run Terminal Emulator 1.0.50 and type this code...
su
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
4. Done!
*** if all went well !, now Recovery is Changed ..reboot into recovery mode and check...
more info found here
At this point you will know you have rooted ROM and NON Stock recovery.
-With any non Stock recovery, you can flash any ROM. Read their Instructions and follow them to the letter.
-Be sure to wipe Cache's, System, (and most of the time DATA) and other stuff as instructions for that particular ROM says
-Eventually once you have any great (NON CURRUPT) ROM, make a backup, so you can always have a SAFE ROM to flash...
TWRP BACKUP's get saved to External SD Card in TWRP folder (but you have to Set them there when your creating NEW BACKUP)
*** Don't ever save files to INTERNAL SDCARD, incase you wipe internal DATA in future.
IMPORTANT : understand what you are doing as u do it...
TWRP Wipe Menu (options)
___________________________________________________________________________
Cache = always ok to WIPE (it will take longer to load after wiping on 1st boot only)
Dalvik Cache = always ok to WIPE (it will take longer to load after wiping on 1st boot only)
Factory Reset = wipes Cache(s), (Data - All settings + User Apps), (NOT data\media - Internal SDCARD), (NOT External Micro SDCARD)
System = just ROM Files (System Apps, System Files, NO settings at all)
Internal Storage = (data\media - Internal SDCARD), (NOT External Micro SDCARD))
Format Data = All settings + User Apps + (data\media - Internal SDCARD), (NOT External Micro SDCARD)
Yesterday I wanted to completely replace TWRP 2.6.3.1 with the latest PhilZ advanced touch recovery for my Sprint Galaxy S3 (d2spr) . I booted to TWRP, flashed the latest Philz touch 6.15.4-d2spr.zip (posted on Goo.im server), didn't bother wiping dalvik+cache, and rebooted. After booting into recovery, Philz is showing up (yay!), however I see this error message:
E: could not mount /data to setup /data/media path!
E: Cannot mount path for settings file /data/philz-touch/philz-touch_6.ini
So...I'm having a few issues. First was that for some reason I was totally unable to write to my SD card. Not sure why. Therefore I reformatted the SDXC memory card to be totally blank. I was then able to successfully create the "storage/sdcard1/clockworkmod/aromafm" in which I placed the aromafm.zip. Aroma File Manager and Terminal now open correctly (phew!).
However, reading author @Phil3759 comments http://forum.xda-developers.com/showthread.php?p=50119209&highlight=ini#post50119209
, I should have instead created a path in internal storage using "/data/media/clockworkmod/aromafm/aromafm.zip"
Tried creating that path but the Recovery isn't seeing it.
E: could not mount /data to setup /data/media path!
I'm also did a wipe/reset of cache, and Android-Secure (internal storage?). Upon reboot the phone is now understandably stuck at the KT747 kernel boot splash screen (kernel i was running with CarbonRom previously).
Also...Phil3759 mentions the *.ini file should be located in "/data/philz_touch", however that subfolder wasn't created when I flashed this recovery zip...
My goal is to update my Galaxy S3 profile & PRL with Sprint using a TouchWiz rom (would like to flash Wicked Sensations v0.5). After the OTA update is complete...I'll flash over to Carbon KitKat nightly with either DKP or Lean kernels.
I'm not able to post my question there since it's a Dev thread, so could you help me? What do I need to do for the abovementioned Errors to go away, so I can install a ROM? Right now I'm stuck! Am I missing something
mister-crackers said:
Yesterday I wanted to completely replace TWRP 2.6.3.1 with the latest PhilZ advanced touch recovery for my Sprint Galaxy S3 (d2spr) . I booted to TWRP, flashed the latest Philz touch 6.15.4-d2spr.zip (posted on Goo.im server), didn't bother wiping dalvik+cache, and rebooted. After booting into recovery, Philz is showing up (yay!), however I see this error message:
E: could not mount /data to setup /data/media path!
E: Cannot mount path for settings file /data/philz-touch/philz-touch_6.ini
So...I'm having a few issues. First was that for some reason I was totally unable to write to my SD card. Not sure why. Therefore I reformatted the SDXC memory card to be totally blank. I was then able to successfully create the "storage/sdcard1/clockworkmod/aromafm" in which I placed the aromafm.zip. Aroma File Manager and Terminal now open correctly (phew!).
However, reading author @Phil3759 comments http://forum.xda-developers.com/showthread.php?p=50119209&highlight=ini#post50119209
, I should have instead created a path in internal storage using "/data/media/clockworkmod/aromafm/aromafm.zip"
Tried creating that path but the Recovery isn't seeing it.
E: could not mount /data to setup /data/media path!
I'm also did a wipe/reset of cache, and Android-Secure (internal storage?). Upon reboot the phone is now understandably stuck at the KT747 kernel boot splash screen (kernel i was running with CarbonRom previously).
Also...Phil3759 mentions the *.ini file should be located in "/data/philz_touch", however that subfolder wasn't created when I flashed this recovery zip...
My goal is to update my Galaxy S3 profile & PRL with Sprint using a TouchWiz rom (would like to flash Wicked Sensations v0.5). After the OTA update is complete...I'll flash over to Carbon KitKat nightly with either DKP or Lean kernels.
I'm not able to post my question there since it's a Dev thread, so could you help me? What do I need to do for the abovementioned Errors to go away, so I can install a ROM? Right now I'm stuck! Am I missing something
Click to expand...
Click to collapse
i had problems too when I 1st attempted to update philz...so I did this, links are in my guide in my signature (1st guide), redownloaded my root bundle, flashed philz again using Odin this time, philz worked 100%, then I updated my philz again with that same zip file you used actually and this time after it flashes, I went from cwm 6.0.4.5 to cwm 6.0.4.7...you then have to, while in philz recovery, go to "power options" and choose to "reboot recovery" so it refreshes...then you should be fine, I was after doing all that. other than that, I don't know what you're really trying to do, you said "ota update" so I'm guessing you're phone is updating to 4.3???? clarify that part please lol
other than that, you just need a working philz twp to flash roms, hope this helped
edit...as far as updating your profile/prl, what I do is just use my nandroid backup of my stock rooted 4.3, go update my profile and prl there, then simply flash back to my custom rom cm11 nandroid backup.
Hi,
The story (if you care)
I updated successfully the CM13 Rom (actually just wanted to update CM12, but what ever)
I found myself in a situation where i have CM13 but no gapps. So i changed CWM to TWRP to flash open Gapps aroma.
It worked but i found the system unstable so i decided to flash CM12.1 back and appropriate Gapps back.
But every trial I did there was a conflict with gapps etc etc. It worked, but Rom was always unstable.
During the flashings etc, I noticed that "factory reset" acutally left many files and apps in the phone. I figure "i juste do like on any PC, I completely Wipe the Data, and install clean OS".
So I wen't to TWRP and decided to wipe everything I could except microSD Card (wipe > advanced > checked all boxes : dalvik, system, cache, preload, data, internal storage ). The SD card had latest CM12.1 release and gapps aroma for 5.1, ready to flash
I found myself in a situation where neither TWRP nor CWM would flash a .zip file : and TWRP showing
Code:
E:Mount: Unable to find partition for path '/sdcard'
After multiple TWRP / CWM flash and reflash and trying to press any button suggesting that it would fix something, I managed to remove the
Code:
E:Mount: Unable to find partition for path '/sdcard'
message on TWRP.
Though TWRP would still not flash .ZIP files, so I tried to flash the CyanogenMod recovery .img into the boot partition and from there I was able to install the ROM (.zip)
The actual situation :
So now I have a CM 12.1 running without GAPPS only able to flash .ZIP files. (Cyanogen recovery is gone now because installed the ROM over it).
So I wish there was a post/walkthrough that would explain how to install/reinstall a clean recovery, maybe even a clean ROM, clean kernel (not that I know what it is). This walkthough wouldn't expect you to have a working recovery nor a ROM installed.
rsepierre said:
Hi,
The story (if you care)
I updated successfully the CM13 Rom (actually just wanted to update CM12, but what ever)
I found myself in a situation where I have CM13 but no gapps. So I changed CWM to TWRP to flash open Gapps aroma.
It worked but I found the system unstable so I decided to flash CM12.1 back and appropriate Gapps back.
But every trial I did there was a conflict with gapps etc etc. It worked, but Rom was always unstable.
During the flashings etc, I noticed that "factory reset" actually left many files and apps in the phone. I figure "i just do like on any PC, I completely Wipe the Data, and install clean OS".
So I wen't to TWRP and decided to wipe everything I could except microSD Card (wipe > advanced > checked all boxes : dalvik, system, cache, preload, data, internal storage ). The SD card had latest CM12.1 release and gapps aroma for 5.1, ready to flash
I found myself in a situation where neither TWRP nor CWM would flash a .zip file : and TWRP showing
Code:
E:Mount: Unable to find partition for path '/sdcard'
After multiple TWRP / CWM flashes and reflash and trying to press any button suggesting that it would fix something, I managed to remove the
Code:
E:Mount: Unable to find partition for path '/sdcard'
message on TWRP.
Though TWRP would still not flash .ZIP files, so I tried to flash the CyanogenMod recovery .img into the boot partition and from there I was able to install the ROM (.zip)
The actual situation:
So now I have a CM 12.1 running without GAPPS only able to flash .ZIP files. (Cyanogen recovery is gone now because installed the ROM over it).
So I wish there was a post/walkthrough that would explain how to install/reinstall a clean recovery, maybe even a clean ROM, clean kernel (not that I know what it is). This walkthough wouldn't expect you to have a working recovery nor a ROM installed.
Click to expand...
Click to collapse
Hi rsepierre,
I've got a few questions.
First of all, am I correct if I say that you're able to boot Android and use your phone normally (without GApps)?
Secondly, are you still unable to boot into recovery and use it?
If that's the case, I think you should try flashing a new CWM/TWRP recovery through Odin again.
Don't forget to boot into recovery immediately after it's flashed!
You might want to untick the option of rebooting automatically ("Auto reboot" or something similar) in Odin. In that way you can reboot into recovery manually.
If that's all done and you're in recovery, I'd use adb sideload (or an SD card) to flash the Open GApps zip.
Sent from my GT-I9195 with Tapatalk
Hi,
currently I am running CyanogenMod 13 on my Samsung Galaxy S4 Mini (serranoltexx). Now, as it get's outdated and insecure, I am about to update it to LineageOS. But I am worried, because I can't just flash the ROM over CM, but I have to wipe everything. Sure, I can take backups of all my data, but my question is:
What do I have to select in Clockworkmod Recovery in order to clean up for LineageOS? And the second point is that I parted my SD-Card to use Android's option to emulate one partition as internal storage. So if I wipe, can I keep the partitions and what do I have to save before?
Oh and.. I have tried to do a Nandroid Backup, but I can't copy it onto my PC because the storage is mounted differently within CyanogenMod (the 2 partitions I wrote about) and ADB doesn't work for this either.
I hope somebody can help me
Done! /ReqClose
Hi,
I'm glad to say that I have done it yesterday. The thread can be closed and for all who have the same questions I had:
First of all I took a backup of all my data (Apps, Music, Photos etc) and put LineageOS, GApps & SuperSU on my SD-Card. Then I booted into my recovery (CWM) and wiped all data. Unfortunately it didn't work (CWM said something like "error in lineageos.zip") so I decided to use TWRP for it. There was just an unofficial build but I didn't care too much, so I used this one. It was an img file, so I needed to convert it to .tar.md5 first using a tool I found in the Internet. So I flashed TWRP then using Odin. When I booted into TWRP everything seemed to work, but when I tried to install the zip file it just rebooted immediately without an installation. So I finally used ADB sideload, and it finally worked! Now my phone is working fine!
Hope this helps someone!!