hello all, just trying to get a little input on the correct procedures for clearing the cache inbetween roms. i recently swithed from cyanmod 4.1.6 to Drizzy's Hero-V1.2r1 . Ive tried several commands in console so far to wind up reading something along the lines of : not found. Could someone inlighten me with the correct commands to do this or even the correct steps such as wipe, flash , yada yada and then what commands. thanks in advance , veritas
ronrey, so ronreyyyy, so ronrey im all aloonnneeeee
When you switch roms the only thing you need to do is wipe your ext partition and wipe your phone (alt + w). I use Ubuntu to clear my partition, but there are commands to do it if thats what your asking.
supremeteam256 said:
When you switch roms the only thing you need to do is wipe your ext partition and wipe your phone (alt + w). I use Ubuntu to clear my partition, but there are commands to do it if thats what your asking.
Click to expand...
Click to collapse
when u switch roms a small trace of them remains behind in the dalvik folder in the internal that doesnt just get cleared using alt+w so there are a set of commands to handle this task and i believe they go something like this rm -rf system/sd/dalvik-cache. along with some pre and post commands, that are the ones im refering to.
actually here is a direct quote of what i found, i just couldnt get these commands to work, so im thinking maybe they differ when switching to hero, maybe not..but they didnt work for me>>>>>>>>>>>>>>>>>>>>>
Monday, 31 August 2009 18:51 by Simon Walker
--------------------------------------------------------------------------------
User Rating: / 1
PoorBest
--------------------------------------------------------------------------------
So I started running into some performance problems with the Enomther ROM and was considering removing it and going back to Cyanogen. I decided to have a quick chat with Enomther and he gave me some things to do. The results are even more amazing than the first install.
I found out that the dalvik-cache gets carried over between ROM installs and that it can cause problems and that I should delete it, wipe my phone and start again. Enomther gave me this little guide to follow:
Ok ... so reboot into cyanogen's recovery
Press (Alt+x) to enter the console
Enter the following commands ...
mount system
mount system/sd
rm -rf system/sd/dalvik-cache
umount system/sd
umount system
recovery
This will bring you back to recovery, from there perform the "Data Wipe" option in the menu.
When it's done reboot and you should be all good. Of course you'll have to redo your settings, but your apps will reinstall properly.
SO i was running nook color version 1.1.0 and i used the autonooter to get clockwork installed. I then tried to use the monster rootpack to install phiremod but after it says install is complete i rebooted but now every time i reboot it goes directly to clockwork and i cant get it to boot up normally. is there anything i can do besides a restore to stock to install phiremod/cm7 or exit recovery? BTW i did remove the monster sd card so thats not the reason its booting that way....
When booted to CWR, use adb:
adb shell
Check that rom is mounted with:
mount
You should see /rom somewhere in the returned result.
If it's mounted, do:
echo -n -e "\x08\x00\x00\x00" > /rom/devconf/BootCnt
If not:
mkdir /rom
mount /dev/block/mmcblk0p2 /rom
Then use previous command.
If that doesn't help, you can always flash my cwr remover .zip, found on my nook color restore to stock thread.
Sent from my HTC Desire using XDA App
thanks im going to try that right now.
So i am trying to run adb but it says device not found and i cant figure out how to get the device to mount
I had the same thing happen. In recovery, install the zip file in this post to remove recovery and keep it rooted. You will then be able to reboot normally.
http://forum.xda-developers.com/showthread.php?t=914690
I read that it does that with autonooter 3.0. What you need to do is reboot normally after flashing recovery (don't reboot into recovery immediately after flashing). Afterwards you can reboot into recovery.
Hello guys,
I had the same problem, but with Team Win Recovery
I tried to remove TWR folder in sdcard, wipe Cache, Dalvik cache and even factory reset.
I installed a new rom, and as last attempt i tried to wipe all system tree, but nothing happen.
I tried to fix following the list showed in this post, but I'm not able to mount "mmcblk0p2".
Any ideas? There is a TWR remover ?
Advance thank for helps.
krisslake said:
Hello guys,
I had the same problem, but with Team Win Recovery
I tried to remove TWR folder in sdcard, wipe Cache, Dalvik cache and even factory reset.
I installed a new rom, and as last attempt i tried to wipe all system tree, but nothing happen.
I tried to fix following the list showed in this post, but I'm not able to mount "mmcblk0p2".
Any ideas? There is a TWR remover ?
Advance thank for helps.
Click to expand...
Click to collapse
Not really sure what you are saying was your problem. But I have a lot of solutions to booting problems in my nook color tips thread linked in my signature. See items A8 and A12. And there is my partition repair thread.
Sent from my BNTV400 using Tapatalk
Well I screwed the pooch on this one...
While browsing on the streak the battery died and after that I had force close issues for just about every user and system app on the phone. Normally that can be something corrupted on the sdcard from the shutdown and you can typically find the folder and remove it. The alternative would be running fix permissions in terminal, adb, or rom manager. That's not the case here (that I've found). It happens or has happened to me on my sgs before but not my nexus or g1 before that so I'm not sure what specifically triggers it. While trying to find the corrupted file I I tried to install Rom Manager but I can't get into the market despite clearing the cache. I can't install any apps at all actually - it will reboot the phone.
It seems to be a permissions problem. When the issue started like 8 hours ago the sdcard, system, and data were all read only. I fixed the sdcard by mounting to my computer and fixing the permissions in windows by changing the folder properties. I eventually fixed the system permissions (I believe) when I fastboot flashed the boot and system.img for the "performance fixes"; however, I can't for the LIFE of me fix the permissions of the /data and whatever else still is read-only. Flashing the system.img did change that to read-write though which was a major step in the right direction. Seriously, I've tried wiping in recovery (it says it works but doesn't wipe when rebooting), fastboot erase /data to name another attempt with no results after rebooting. It just doesn't erase anything like recovery, fastboot, and everything else doesn't have permission to erase, delete, or modify the data partition.
I can't install apps normally or adb.
I can't wipe data - I get errors in adb about it being read-only.
I can't wipe data in Recovery. It wipes, then reboots, with none of the data wiped.
I can't wipe in Fastboot using Fastboot erase /data - same thing as above.
I can't install root explorer only I'm pretty sure that won't work if fastboot doesn't.
I can't fix permissions using any method that I know of...
Is there anything I'm missing on ways to erase/format /data and everything else that might have this permission problem?
Logcat: http://db.tt/0bzhUQi
*edit:
So I also have root when booting amidst all the force closing (tested with titanium backup) I have but ADB doesn't. I can only get su with adb when I run OneClickRoot again and I get the "failed to copy rateagainstthecage to /data/local/tmp/rageagainsthecage. Read-only filesystem. Then says "unbalbe to chmod /data/local/tmp/tageagainsthecage read-only file system which is what I got also when I tried fixing the permissions for that folder. With that - I only have temporary root only in adb - fully rooted otherwise...
Same problem here cant save or delete. Very time I start up I get the welcome screen and I have to input all my info then all of my apps start to crash. I tried flashing the boot and system.img with fastboot but that did nothing so I decided to see what will happens if I erased all of my partitions (system, boot, userdata, recovery and cache) Fastboot reports back that my partitions all got erased but when I boot up (it shouldn't boot up because all partitions are deleted)it start up to the welcome screen and I back to the same problem that I cant permanently wright or delete to the internal drive
Ya - I'm at a total loss. Keep me posted on what you try and I'll do the same. I won't be able to mess with it until later today and not really sure of what I'll try next. As of now it's essentially worthless to use...
Sorry what will happen if you factory reset now and erase tablet storage? (option 4 with volume up +power button)?
At least you have almost nothing more to lose here right.
Otherwise the only solution I think is to wait for CWM recovery image to come out then...
Sorry that this happened to your DS7. I struggled with quite some issue with mine too, it is pretty annoying.
I tried that factory reset over 10 time. All of the same files that I had on the streak7 before this problem stay intact. Factor rest from the recover mode dont seem write to the streak7
killahbeatz said:
I tried that factory reset over 10 time. All of the same files that I had on the streak7 before this problem stay intact. Factor rest from the recover mode dont seem write to the streak7
Click to expand...
Click to collapse
+1. I even fastboot erased /data or attempted to. Seems like the command works but when you reboot everything is still there.
Found the other post which I didn't find http://goo.gl/xlO6y earlier.
I'm wondering if we tried setting permissions with adb with the mounts they're finding in this thread http://goo.gl/wOynl
I'll post back if I can find the chmod commands. That info might help though.
I tried fastboot -w to erase the data from the device. It boots with no force close issues now but I still can't wipe anything (still read only). I think I can install apps now though so hopefully I can install Rom Manager and Root Explorer to fix permissions and see what I can find out. Doubt it will work but hey, if I started out with read only sdcard, data, and system, and now have read-only data, that's progress I suppose.
I only have it for another few days before returning. I received the replacement yesterday and have to mail it back soon.
Phone will only boot into clockworkmod recovery, even after pulling battery and powering up using only the power button, it goes into recovery.
Here is what happend leading up to it:
- flash through rom manager the new clockworkmod
- used fireat's mod with mtd 125 2
- flashed aospCmod 2.3.3
- everything booted fine
- re-did firerat's mod with mtd 102 2
- now bootlooping into clockwork mod
I tried duplicating what worked initialy with no luck. Tried booting into hboot and htc reset menu (power + home + back) but not matter what it only goes to clockworkmod recovery.
For my install steps I followed romrepro "install from other rom" guide here: romrepo.info/wiki/index.php?title=Install_from_another_ROM
I have also tried the following:
- restoring through nandroid
- recovery flasher v1.3 to flash older version of clockwork
- lots of stinking google
All have resulted in no success.
Please help!
Are you s-off? You probably shouldn't mess with firerats if you're not. Mount your sdcard in recovery and change your mtd settings and then flash your rom and reflash fr boot.
~maybe I set it too high...
Thank you for responding. I am not s-off and I already tried changing the mtd part, flash rom, flash boot, and it still autoboots back into recovery.
I re ran the mtd part map with the following:
- 102 2
- 105 2
- 110 2
- 115 2
- 120 2
- 125 2
- 190 2
I also tried flashing aospMOD v9.2.2 (which is what I was originaly using) flashing boot and still no success.
Wait, so it opens recovery by just turning on your phone?
~maybe I set it too high...
bphem3 said:
Thank you for responding. I am not s-off and I already tried changing the mtd part, flash rom, flash boot, and it still autoboots back into recovery.
I re ran the mtd part map with the following:
- 102 2
- 105 2
- 110 2
- 115 2
- 120 2
- 125 2
- 190 2
I also tried flashing aospMOD v9.2.2 (which is what I was originaly using) flashing boot and still no success.
Click to expand...
Click to collapse
If you're changing mtdpartmap.txt (try 125 25) you need to wipe ALL, flash fr-recovery, wipe ALL again, reboot recovery (safely), flash rom/gapps, flash fr-boot, reboot. Once you're in the rom, open terminal (su) or adb shell and type "df -h" and it will show you how much system, data, and cache, are using, you then can change your mtdpartmap.txt accordingly, follow the steps I just listed.
Wait, so it opens recovery by just turning on your phone?
Click to expand...
Click to collapse
Yes, exactly.
If you're changing mtdpartmap.txt (try 125 25) you need to wipe ALL, flash fr-recovery, wipe ALL again, reboot recovery (safely), flash rom/gapps, flash fr-boot, reboot. Once you're in the rom, open terminal (su) or adb shell and type "df -h" and it will show you how much system, data, and cache, are using, you then can change your mtdpartmap.txt accordingly, follow the steps I just listed.
Click to expand...
Click to collapse
I will give this a try and report back. Will either be after lunch or this evening.
If you're changing mtdpartmap.txt (try 125 25) you need to wipe ALL, flash fr-recovery, wipe ALL again, reboot recovery (safely), flash rom/gapps, flash fr-boot, reboot. Once you're in the rom, open terminal (su) or adb shell and type "df -h" and it will show you how much system, data, and cache, are using, you then can change your mtdpartmap.txt accordingly, follow the steps I just listed.
Click to expand...
Click to collapse
Gave it a try, still boots directly into recovery.
bphem3 said:
Gave it a try, still boots directly into recovery.
Click to expand...
Click to collapse
what rom and gapps did you flash, and how are you "booting" - like with what buttons?
also, please list the EXACT steps you took. And what version of hboot do you have, and what recovery, and what version of firerat?
il Duce said:
what rom and gapps did you flash, and how are you "booting" - like with what buttons?
also, please list the EXACT steps you took. And what version of hboot do you have, and what recovery, and what version of firerat?
Click to expand...
Click to collapse
1. wipe data/factory reset
2. wipe cache partition
3. format /boot
4. format /cache
5. format /data
6. format /system
7. wipe dalvik cache
8. flash fr-recovery
9. repeat steps 1-7
10. reboot recovery (from advanced menu)
11. flash rom
12. flash gapps
13. flash kernel
14. flash boot
15. reboot system (from main menu)
aospCMod-HC-20110421-signed.zip
gapps-gb-20110325-signed.zip
aospCWMod-HC-20110421.img
DecaFuct-691.zip
FR-boot-v1.5.6.zip (I have tried both 1.5.6 and 1.5.3)
FR-recovery-v1.5.6.zip (I have tried both 1.5.6 and 1.5.3)
mtdpartmap.txt
Not sure on the hboot. When I simply turn the phone on it boots to recovery. I used to have to press and hold power + home to get into recovery. I also used to be able to press and hold power + home + back and get intot he htc reset menu (or whatever it is). Prior to this happening I never tried to get into hboot (vol up/dn + power) however if I try to now it just goes to recovery. All combinations I have tried it just boots to recovery.
bphem3 said:
1. wipe data/factory reset
2. wipe cache partition
3. format /boot
4. format /cache
5. format /data
6. format /system
7. wipe dalvik cache
8. flash fr-recovery
9. repeat steps 1-7
10. reboot recovery (from advanced menu)
11. flash rom
12. flash gapps
13. flash kernel
14. flash boot
15. reboot system (from main menu)
aospCMod-HC-20110421-signed.zip
gapps-gb-20110325-signed.zip
aospCWMod-HC-20110421.img
DecaFuct-691.zip
FR-boot-v1.5.6.zip (I have tried both 1.5.6 and 1.5.3)
FR-recovery-v1.5.6.zip (I have tried both 1.5.6 and 1.5.3)
mtdpartmap.txt
Not sure on the hboot. When I simply turn the phone on it boots to recovery. I used to have to press and hold power + home to get into recovery. I also used to be able to press and hold power + home + back and get intot he htc reset menu (or whatever it is). Prior to this happening I never tried to get into hboot (vol up/dn + power) however if I try to now it just goes to recovery. All combinations I have tried it just boots to recovery.
Click to expand...
Click to collapse
FYI step 13 is unnecessary, that kernel is already in aospCMod and boots at 691. I guess I would try FR-1.5.8 versions and see what happens (that's what I have), the steps look right to me. You could also try leaving out the gapps and see if just the rom boots, you could also try flashing the last working version of recovery you had (i.e. cwm 3.0.0.5). It's also possible you got a bad download of any one of the above items, so try new DLs too. Report back, I am now officially curious.
I am unsure how to flash another version of recovery, I always use RomManager and I am terrible with adb. I tried using some one of the herocimg.zip to "install from zip" and I kept getting "installation aborted".
I will try FR-1.5.8 and report back.
/me bangs head on keyboard
#eatshit1clickrootmethod!
/me bangs head on keyboard
#eatshit1clickrootmethod!
Click to expand...
Click to collapse
I first used adb and push and blah blah...... 8 months ago.
Then I discovered OneClick! I used to be way more into the technical side of this stuff and then got busy with work and now I am extra lazy!
FYI:
HERCIMG.zip is a partition zip flashable in hboot/bootloader and ONLY if you're s-off
HEROIMG.zip is the same thing, but for a GSM hero....
Hopefully you can figure it out. I hate to say it, but 99.9999999999999999% of the time something doesn't work that others have had success with, it's user error. I'm not trying to be mean, I often miss steps too and need to ask for help. I don't know what you COULD be missing since it sounded like you did everything right, but I would say re-read all the stuff you're doing and hope you see something you may have missed. Best of luck, and please report back if you fix it to help others who may see this thead in the future.
No offense taken. I have had plenty of practice with this with my phone and my wifes and never really had any problems other than user error that I usualy catch. And it's alwasy something silly like flash & wiping out of sequence.
Good information on the HERCIMG and HEROIMG, I did not know that.
Is there a way to RUU the phone from a recovery zip install, (seeming how that is all I can access).
bphem3 said:
No offense taken. I have had plenty of practice with this with my phone and my wifes and never really had any problems other than user error that I usualy catch. And it's alwasy something silly like flash & wiping out of sequence.
Good information on the HERCIMG and HEROIMG, I did not know that.
Is there a way to RUU the phone from a recovery zip install, (seeming how that is all I can access).
Click to expand...
Click to collapse
Not that I know of but you should be able to do it from the bootloader (hold volume down press power - from an off state) and run the RUU.exe from HTC.com.
lol, yeah, that just puts me back in recovery...
bphem3 said:
lol, yeah, that just puts me back in recovery...
Click to expand...
Click to collapse
Well that's nuts. I don't know how you don't have a bootloader, but you do have a recovery... anyway, I guess grab the FR-remove zip that correlates with whatever FR version you have and run the steps again, i.e. wipe all, flash FR-remove, wipe all, reboot recovery, etc. Hope that works. By any chance did you format /misc in the mounts & storage menu?
il Duce said:
Well that's nuts. I don't know how you don't have a bootloader, but you do have a recovery... anyway, I guess grab the FR-remove zip that correlates with whatever FR version you have and run the steps again, i.e. wipe all, flash FR-remove, wipe all, reboot recovery, etc. Hope that works. By any chance did you format /misc in the mounts & storage menu?
Click to expand...
Click to collapse
Format /misc is not listed anywhere. I'm at a loss. I have tried everything over and over and I am still getting the same results. The only thing left I can think of is to redo everything via adb. I'm not 100% on how these phones or linux devices work but it's as if there is something worng with the boot sector and/or sequence of the device.
It doesn't make sense that the first run at all this was flashing aospCmod (mtd 125 2, FR-1.5.3) and everything was working normal. I decided to go back and redo the process with (mtd 102 2, FR-1.5.3). Now this has to be where I or something screwed up. Maybe I did things out of order, got a bad flash, something but I do not know what. When I rebooted, just a normal reboot, it went directly into recovery. Now I have flashed a rom before and had the mtdpartmap.txt too low it caused it to hang on the first boot when the logo for the Rom was shown during loading. To fix this I just adjusted the mtdpartmap.txt.
This time things are different. When I power the hero up the phone vibrates, the white backdrop with green HTC comes up, it sits for approximately 5 seconds, then recovery loads.
bphem3 said:
1. wipe data/factory reset
2. wipe cache partition
3. format /boot
4. format /cache
5. format /data
6. format /system
7. wipe dalvik cache
8. flash fr-recovery
9. repeat steps 1-7
10. reboot recovery (from advanced menu)
11. flash rom
12. flash gapps
13. flash kernel
14. flash boot
15. reboot system (from main menu)
aospCMod-HC-20110421-signed.zip
gapps-gb-20110325-signed.zip
aospCWMod-HC-20110421.img
DecaFuct-691.zip
FR-boot-v1.5.6.zip (I have tried both 1.5.6 and 1.5.3)
FR-recovery-v1.5.6.zip (I have tried both 1.5.6 and 1.5.3)
mtdpartmap.txt
Not sure on the hboot. When I simply turn the phone on it boots to recovery. I used to have to press and hold power + home to get into recovery. I also used to be able to press and hold power + home + back and get intot he htc reset menu (or whatever it is). Prior to this happening I never tried to get into hboot (vol up/dn + power) however if I try to now it just goes to recovery. All combinations I have tried it just boots to recovery.
Click to expand...
Click to collapse
Something about these steps didn't seem correct to me, so went back and read.
After step 8. flash fr-recovery
It says you went back and repeated steps 1. - 7.
I believe you only need to repeat steps 4, 5, 6...the others are probably optional, but I'm pretty sure 3. format boot...is something you don't want to do AFTER doing fr-recovery. then again, I may be overthinking it, and might be completely wrong. I'm sure someone will tell me
My own personal rule is to not make any assumptions and follow the steps listed and don't add extras.
(also, I violate that rule occasionally and usually end up doing a lot more work)
So i was trying to install Liquid Remix rom on my op3t i wiped everything as the manual and have flashed opengapps magisk and the rom but when rebooted into the rom it asked me for my pin ive entered my pin but it said ur pin is correct but ur data has been corrupt u have to factory reset and automatically boots into twrp and when i try to boot into the system the process over and over again and i factory reset it nothing again says data is corrupt and ive flashed my recovery and try to boot into system nothing boots into fastboot iveand being a dummy i am i delted the system everything heard that u can fix it with adb sideloader but my question is can i flash a custom rom notthe stock rom please help me
Try to format data instead of wiping, either do it within TWRP (Wipe > Format Data > type "yes") or fastboot:
Code:
fastboot format userdata
Please note that all data is going to be lost, in case you didn't make a backup yet (if it's even possible to do it, since it says that data is corrupted).
przemcio510 said:
Try to format data instead of wiping, either do it within TWRP (Wipe > Format Data > type "yes") or fastboot:
Code:
fastboot format userdata
Please note that all data is going to be lost, in case you didn't make a backup yet (if it's even possible to do it, since it says that data is corrupted).
Click to expand...
Click to collapse
i already did that on accidentand deleted everything even the backups
Something similar happen to me. I was in twrp and was performing a full wipe(not factory reset), I installed RR, kernel, and then when I was installing gapps, the phone rebooted, and when I tried anything, it said e: legacy property not found( or something similar) and would not boot to system, would not flash anything, wouldn't boot to bootloader, but I was able to transfer files and use adb so I plugged into the computer and used adb reboot fastboot and booted to bootlaoder, now everything works
tergeltengo said:
i already did that on accidentand deleted everything even the backups
Click to expand...
Click to collapse
Backups are supposed to be stored outside the device you make a backup of, keep that in mind for future
Immortalis said:
Try to format data instead of wiping, either do it within TWRP (Wipe > Format Data > type "yes") or fastboot:
Code:
fastboot format userdata
Please note that all data is going to be lost, in case you didn't make a backup yet (if it's even possible to do it, since it says that data is corrupted).
Click to expand...
Click to collapse
Thank You, saved my phone.