Boot loop after sdcard repartition. URGENT! - Desire General

Hi,
I have Cyanogenmod 7 on my Desire.
And I'm running Ubuntu 11.04 on my PC.
I copied the contents of my SD Card and the Apps2SD Partition (including hidden files), erased my SD Card and formatted it again (ext3 and FAT32), copied everything back (including hidden files) and now I get a boot loop.
-I used MicroSD>SD Card Adapter>PC
-I can access recovery
-I reduced the size of the ext partition from 1GB to 700MB
-I didn't make a nandroid backup before I did this.
-I changed the label of the ext partition.
-I'm using this for Apps2SD
Is there possibly some sort of temporary files/cache I can delete to make it work?
Thanks

Ano8 said:
Hi,
I have Cyanogenmod 7 on my Desire.
And I'm running Ubuntu 11.04 on my PC.
I copied the contents of my SD Card and the Apps2SD Partition (inclusing hidden files, erased my SD Card and formatted it again (ext3 and FAT32), copied everything back and now I get a boot loop.
-I used MicroSD>SD Card Adapter>PC
-I can access recovery
-I reduced the size of the ext partition from 1GB to 700MB
-I didn't make a nandroid backup before I did this.
-I changed the label of the ext partition.
Is there possibly some sort of temporary files/cache I can delete to make it work?
Thanks
Click to expand...
Click to collapse
The order of the partitions have to be FAT32 followed by the ext3 (and not viceversa)...Is it?

andQlimax said:
The order of the partitions have to be FAT32 followed by the ext3 (and not viceversa)...Is it?
Click to expand...
Click to collapse
They are in that order (unless you mean formatted first?)

The important thing is that the first partition is a fat32, and the second the ext
From the recovery menu try to see if it can mount the ext partition (try just a mount/unmount of the sd-ext to check if the recovery can access the ext) otherwise u can format it from the recovery and then copy back the files from ur pc car reader
U can also try wiping cache and dalvik cache, but don't think will have effects
Otherwise I have no other ideas

andQlimax said:
The important thing is that the first partition is a fat32, and the second the ext
From the recovery menu try to see if it can mount the ext partition (try just a mount/unmount of the sd-ext to check if the recovery can access the ext) otherwise u can format it from the recovery and then copy back the files from ur pc car reader
Click to expand...
Click to collapse
What is meant to happen when I do a mount/unmount in recovery?

Ano8 said:
What is meant to happen when I do a mount/unmount in recovery?
Click to expand...
Click to collapse
If the recovery can acces the ext, will just say u that is mounted (so everything is ok regarding that partition), otherwise u will get an error like "E:Can't mount dev/block/mmcblk0p2", in this last case u can try formatting the ext from the recovery menu, then restore the files in it (previously backupped) manually

andQlimax said:
If the recovery can acces the ext, will just say u that is mounted (so everything is ok regarding that partition), otherwise u will get an error like "E:Can't mount dev/block/mmcblk0p2", in this last case u can try formatting the ext from the recovery menu, then restore the files in it (previously backupped) manually
Click to expand...
Click to collapse
I went to the recovery menu and then I chose mounts and storage then I chose mount /sd-ext and then nothing happens. I can go and chose unmount /sd-ext, nothing changes except the text that says mount/unmount. No error messages.
What do I do now?

??????????

Bump.......

HELP!
I need to get my Phone working again!

Ano8 said:
HELP!
I need to get my Phone working again!
Click to expand...
Click to collapse
Why u didn't make a nandroid backup? A simple solution now will be to do a fresh install of ur rom again...
Anyway change the thread title.."Boot loop" is too generic, edit it as Boot loop after sdcard repartition URGENT, something like this...(To edit it just edit the first post title)
I hope someone else here can help u..I dont have other ideas, if the sdext is correclty read from the recovery, mean even ur rom should read it and should boot..How much time did u wait? are u sure the boot continue to loop? Go in recovery, wipe cache and dalvik, reboot and wait..U could also do "adb logcat" when ur phone is booting..Search for some guides for it..That will show u some possible errors during the boot that make ur phone bootlooping
Also try this: i read somewhere the ext partition label must be sd-ext (some a2sd script use the label to idenify the partition)(this label is automatically applied when u create/format the ext from the recovery, but as u created the partition ur self from the pc, put that label and see what happen)

andQlimax said:
Why u didn't make a nandroid backup? A simple solution now will be to do a fresh install of ur rom again...
Anyway change the thread title.."Boot loop" is too generic, edit it as Boot loop after sdcard repartition URGENT, something like this...(To edit it just edit the first post title)
I hope someone else here can help u..I dont have other ideas, if the sdext is correclty read from the recovery, mean even ur rom should read it and should boot..How much time did u wait? are u sure the boot continue to loop? Go in recovery, wipe cache and dalvik, reboot and wait..U could also do "adb logcat" when ur phone is booting..Search for some guides for it..That will show u some possible errors during the boot that make ur phone bootlooping
Also try this: i read somewhere the ext partition label must be sd-ext (some a2sd script use the label to idenify the partition)(this label is automatically applied when u create/format the ext from the recovery, but as u created the partition ur self from the pc, put that label and see what happen)
Click to expand...
Click to collapse
I've tried putting the label as sd-ext. Didn't work
I know I have waited long enough because the animation of the skateboarding blue android repeats (he comes in from the side again).
Can you link me a guide of how to do "adb logcat"?

???????????

bump.........

How do I do an "adb logcat"?
Can you show me a guide, please?

I'm using this for Apps2SD

you need to install android sdk. after that go to platform-tools folder and run adb.exe logcat
Ano8 said:
How do I do an "adb logcat"?
Can you show me a guide, please?
Click to expand...
Click to collapse

ranjii said:
you need to install android sdk. after that go to platform-tools folder and run adb.exe logcat
Click to expand...
Click to collapse
Ok, I'll do that now...

ranjii said:
you need to install android sdk. after that go to platform-tools folder and run adb.exe logcat
Click to expand...
Click to collapse
I'm getting this error:
/sbin/sh: logcat: not found

HELP!!!!!!!!

Related

problem

Installed adamg`s open desire rom and after installing cant seem to get the phone to boot, just stuck on htc screen. Tried to restore my nandroid backup but does the same thing after installation.
It does give an error after installation in the custom recovery, it reads
Restoring Sd-ext...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
Have a partition installed 512mb taht was working fine today?
If I did a factory reset would i lose my custom recover and backups?
Any ideas
memphisuklf said:
Installed adamg`s open desire rom and after installing cant seem to get the phone to boot, just stuck on htc screen. Tried to restore my nandroid backup but does the same thing after installation.
It does give an error after installation in the custom recovery, it reads
Restoring Sd-ext...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
Have a partition installed 512mb taht was working fine today?
If I did a factory reset would i lose my custom recover and backups?
Any ideas
Click to expand...
Click to collapse
double check your partitions, make sure you have FAT32 + EXT3 @512mb then flash the chosen rom again, this is your best chance.
go with my rom, linked through my signature, the update will wipe the Cache + dalvik cache but keep all of you personal data and apps.
LeeDroid said:
double check your partitions, make sure you have FAT32 + EXT3 @512mb then flash the chosen rom again, this is your best chance.
go with my rom, linked through my signature, the update will wipe the Cache + dalvik cache but keep all of you personal data and apps.
Click to expand...
Click to collapse
How do i check the partitions? Cant boot so can`t see them that way and haven't got card reader or anything. Im sure its got something to do with partition. Does this seem like it is causing the problem?
Any help appreciated.
bump, need help
have you wiped everything before flash?
I wiped with rom manager after downloading rom. Not sure of all the custom recovery options as rom manager usually does it all for you. Not sure if i should wipe date, cache etc, will this wipe my backups? Tried removing sd card but wont boot, not even sure how I would get another custom rom on sd card so i could flash that. I have both defrost 2.4a and opendesire aswell as a nandroid backup on my sd card but can't get these to boot either
Must be something to do with the sd card partition. Everything I try I get the message
E:Can`t mount/dev/block/mmcblk0p2(file exists)
error mounting sd/ext/!
Don't know what this means but think its causing the problem.
perhaps a bad sector on the SD?
try backing up everything on the SD, format it again & try the roms one by one to see which possible causes the issue
U need to try an alternative recovery.
Try using unrevoked, and flash and different recovery.
Sounds like the fake flash recovery u got with rom manager Isn't clearing ur partitions.
Sent from my HTC Desire using XDA App
My Wife has got same phone so I have full sd card backup from before I partition this morning. Might format sd card and put that back on. and restore backup from that. Format will remove partition wont it?
memphisuklf said:
My Wife has got same phone so I have full sd card backup from before I partition this morning. Might format sd card and put that back on. and restore backup from that. Format will remove partition wont it?
Click to expand...
Click to collapse
usually does some programs allow you to keep it tho but 90% of the cases its just gone
formatted card through windows but its still saying i only have 3.18gb. How do I get rid of partition?
memphisuklf said:
formatted card through windows but its still saying i only have 3.18gb. How do I get rid of partition?
Click to expand...
Click to collapse
in Windows XP Disk Management, right-click the existing partition,
and click delete, that will leave the whole card as unallocated space. Then
right-click on the unallocated space, and click new partition.
edit : or install http://www.sdcard.org/consumers/formatter/sdfv2000.zip
free SD partitioner
in disk management it only shows the size as 3.18gb, I made the partition through rom manager which I think formats it in linux which windows doesn't recognise.
Taking the Sd card out gets in onto the animation screen, so a little further, but still doesn't boot. Very frustrating. \\\\\any more help appreciated.
Flash a ROM that doesn't use Apps2SD.
can you link one for me pal, ripping my hair out here, lol. By the way how do you do full wipe in custom recovery ie data, cache, is that it?
edit. Don't matter. Sorted. Copied an earlier backup of sd card onto spare sd card and did a recovery. Still need to know how to remove the partition from other sd card using windows.
This was definitely the problem and won't be using rom manager to do another partition.
If someone does know how to remove partitions using rom manager from sd card via windows then would appreciate it if you would let me know...
Stock rooted ROM: http://forum.xda-developers.com/showthread.php?t=694564
Full wipe can be done using the "wipe data/factory reset" option in ClockworkMod Recovery.
To get rid of the ext Partition get gparted or something like that. Normal Windows cant see ext partitions because its a Linux filesystem. You can also take a Linux live cd.
Can't you just take ROM Manager and partition your SD card again? Swap 0/Ext 0/FAT 32 All
It looks like something isnt ok with the partitions so i would recommend to delete all partitions and make them new i also had a problem once with my sd card but after deleting all partitions and repartition it everything was ok again.

E: Can´t mount /dev/block/mmcblk0p2 (File exists)

Hello,
I have a PVT4 Desire with erasezize 40000
I am rootes and s-off
Recovery : Clockworkmod Alpharev Recovery 2.5.1.8
After i switch from Starburst Rom to a normal apps2sd+ rom, i got this:
E: Can´t mount /dev/block/mmcblk0p2 (File exists)
Error everytime in Recovery.
This error comes before i have to confirm the wipe of the dalvik cache.
I unrooted the phone with a official RUU and rooted it again and did s-off again,
but the error still exists.
Stock Rom is working, recovery is working, but i am afraid of flashing a new rom
Please help
Thank you
Do you still have the ext partition? I believe this is the error that you get when there is no ext partition.
no, i don´t have a ext partition, because it is a rooted stock rom running now without apps2sd+
its a new sdcard fat 32
do you mean if i create a new ext partition on the sd card, the error disappers ??
Yes but i don't know if there is any point in doing that.
ok, i created a new ext 3 partition on the sd card, but the error still exists
I found the exact error in a different thread here.
They managed to solve it
dunno if its of ne help....but i had the same prob of "E:Can't mount /dev/block/mmcbld0p2 (file exists)" with my HTC Desire with cynogen recovery mod and leedroid.
phone was getting stuck at boot screen. only recovery was working. i unmounted the SD card, deleted the ext3 partition through Disk Management in windows and mounted the card again. Now, android booted (but without A2SD) i downloaded ROM Manager and used the option "partition SD card" and like a miracle, the phone rebooted, partitioned my SD card, and rebooted back to android (this time WITH A2SD working!!!)
hope it gets as easy as this for u guys as well.
(P.S. : before A2SD, my internal space showed 92.4 mb, after A2SD started functioning, internal memory showed 130.2 mb)
PVT4 Desire's can't use CWM - they have to use AmonRA as highlighted in the stickied at the top of the General thread
stuck in bootloop, with same error in recovery
i have somehow managed to screw the device, it wont boot stuck at htc white screen, id really appreciate if you could help, i cant manage to get adb setup on my computer to list the connected devices maybe the driver issues
what i did to get into this was this:
1.i was using a custom rom from Auraxtsense 8.3 with Amon.RA recovery
2.i got into Rom Manager n install clockworkmod recovery just out of curiosity, the next reboot i was stuck on the htc screen
3.i can get into recovery n stuff, but i cannot mount my SD card, ive somehow managed to get my data out of the card by using it from another phone
steps tried:
1.i tried to go into fastboot n use a RUU to flash it but i got a Error 171 usb connection error
2.tried using Android fastboot commander but it fails to flash any type of file
i cannot understand the right process to go about things please help me, even if i can setup adb with the right drivers, access it from hboot or so push files make it stock then root n stuff again
formatted the sdcard totally to fat32 also n then tried via recovery to partition n all no luck
AceNik said:
i have somehow managed to screw the device, it wont boot stuck at htc white screen, id really appreciate if you could help, i cant manage to get adb setup on my computer to list the connected devices maybe the driver issues
what i did to get into this was this:
1.i was using a custom rom from Auraxtsense 8.3 with Amon.RA recovery
2.i got into Rom Manager n install clockworkmod recovery just out of curiosity, the next reboot i was stuck on the htc screen
3.i can get into recovery n stuff, but i cannot mount my SD card, ive somehow managed to get my data out of the card by using it from another phone
steps tried:
1.i tried to go into fastboot n use a RUU to flash it but i got a Error 171 usb connection error
2.tried using Android fastboot commander but it fails to flash any type of file
i cannot understand the right process to go about things please help me, even if i can setup adb with the right drivers, access it from hboot or so push files make it stock then root n stuff again
formatted the sdcard totally to fat32 also n then tried via recovery to partition n all no luck
Click to expand...
Click to collapse
Flash the rom again but no wipe.
I get the /dev/block **** when I wipe Dalvik cache but everything is working fine.
GoogleJelly said:
Flash the rom again but no wipe.
I get the /dev/block **** when I wipe Dalvik cache but everything is working fine.
Click to expand...
Click to collapse
i cannot access sd card, when in recovery n try to choose option flash zip from SD it gives this error
tried RUU also but get that stupid USB error
u think guys at HTC RMA will fix it?
Format the SD Card and see if that works.
Thanks, Steps that worked
GoogleJelly said:
Format the SD Card and see if that works.
Click to expand...
Click to collapse
hey thanks, i did that plus i also needed to run this command that seemed to have fixed the issue
Code:
fastboot oem enableqxdm 0
although i followed 2 threads
No-ADB-No-SD
&
Usb Brick Function
but jus used the command n formatted memory card n stuff worked not i couldnt move those 2 files mentioned here to the system since cat commands couldnt work
im still unsure device seems restored using my earlier rom from AuraxtSense with Data2SD
i still wonder if it completely fixed, n whether i should go ahead n create a goldcard, n like i need a guide to know what are the perfect things to do to keep as backup when such stuff happens
dunno if its of ne help....but i had the same prob of "E:Can't mount /dev/block/mmcbld0p2 (file exists)" with my HTC Desire with cynogen recovery mod and leedroid.
phone was getting stuck at boot screen. only recovery was working. i unmounted the SD card, deleted the ext3 partition through Disk Management in windows and mounted the card again. Now, android booted (but without A2SD) i downloaded ROM Manager and used the option "partition SD card" and like a miracle, the phone rebooted, partitioned my SD card, and rebooted back to android (this time WITH A2SD working!!!)
hope it gets as easy as this for u guys as well.
(P.S. : before A2SD, my internal space showed 92.4 mb, after A2SD, internal showed 130.2 mb)
the error's gone, but problem exists
hey the error of the recovery not being able to access memory card is gone, but now when within the android OS the problem is when connected to the computer the charge sign or even the prompt to mount as disk drive does not show in the notification
in short i need to mount my memory card on the computer n the android OS cannot figure out how, is there somethin that may still be locked, i issued a command earlier from fastboot to get the earlier problem go
Code:
fastboot oem enableqxdm 0
You have the USB brick issue. The misc partition gets corrupted.
If you search you will find the solution.
Sent from my HTC Desire using XDA App
Jpcurrie said:
You have the USB brick issue. The misc partition gets corrupted.
If you search you will find the solution.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
hey thanks, i tried here
i need some help
Code:
3. Get flash_image from the attached files below
Move this to /data/ , and flash the modified image using:
"/data/flash_image misc /data/mtd0.img"
You can move both mtd0.img and flash_image by putting it on your sdcard, and issueing the following command in a terminal emulator:
'cat /sdcard/flash_image > /data/flash_image'
'cat /sdcard/mtd0.img > /data/mtd0.img'
You might have to do 'chmod u+x /data/flash_image' before you run the commands (or chmod 755 /data/flash_image)
4. Repeat step 3 a couple of times if it doesn't seem to work well.
5. All done! Reboot, you should have normal usb connectivity. Post your 'fastboot oem boot' log and intermediate steps if it fails.
i got the 2 files on my sdcard, im rooted but S-ON, i tried the 3 commands
cat /sdcard/flash_image > /data/flash_image
cat /sdcard/mtd0.img > /data/mtd0.img
chmod u+x /data/flash_image
in terminal emulator on phone, but when i press enter jus shows # again
then tried /data/flash_image misc /data/mtd0.img
says illegal instruction or somethin as an error
can you help me if im doin this rite? i browsed the /data/ folder via a ESFile Browser it seemed to be empty
I had this issue with my SD using, i solved it. Just partition your SD with 512mb for ext2 primary and the rest for fat32 WITH ALSO primary partition, I was using FAT32 Primary and EXT Logical, thats why i got the error =)
Hope it helps, and sorry for my bad english
hi guys, im also getting the following error... E:cant mount /dev/block/mmcblk0p2
i have searched for days now trying to find the solution, i see something about adb and command lines etc but i have no idea how to do that!
plus i see that it means that ineternal partitions are somehow messed up, but i only get this error with one of my sd cards.. my old one works fine. so surely it is a sd card problem,
i have so far tried partitoning with cwm recovery, in windows, using gparted and no luck.. as anyone found a definate solution yet?!
thanks
Solution to E:cant mount /dev/block/mmcblk0p2
moley10 said:
hi guys, im also getting the following error... E:cant mount /dev/block/mmcblk0p2
i have searched for days now trying to find the solution, i see something about adb and command lines etc but i have no idea how to do that!
plus i see that it means that ineternal partitions are somehow messed up, but i only get this error with one of my sd cards.. my old one works fine. so surely it is a sd card problem,
i have so far tried partitoning with cwm recovery, in windows, using gparted and no luck.. as anyone found a definate solution yet?!
thanks
Click to expand...
Click to collapse
hey i had this problem a few weeks back
refer this thread just to get the update.zip file
1.format your SD card to FAT32, put update.zip on it
2.boot into fastboot, connect usb cord to phone n computer
to get into fastboot mode
press volume down + power held for a few seconds when phone is off
then press volume down once n enter fastboot
then connect the phone to the computer
3.on the computer run command prompt n browse to the director with android SDK n go into the tools folder
execute this command
Code:
fastboot oem enableqxdm 0
4.once this is done, the SD card is then recognized by the recovery
5.now reboot go back into recovery from the same volume down+power sequence n then say flash zip from SD card
to get into recovery
vol down + power at start n then select recovery (having access to recovery is important)
then choose flash zip from sd n flash the file update.zip from your sd card
basically the fastboot command n format of the sd card should be fine to let you flash a new ROM zip file n get the phone started
but the issue is actually called a USB brick in which, you lose access to bluetooth, battery drains a lot, n there is no way to access mem card via usb on the computer its not recognized
hence i flashed this update file from that forum there, which describes the fix in detail

[Q] HTC Desire bricked?

Hey guys,
I decided to root my HTC desire today but I got a problem. I used this tutorial: http://theunlockr.com/2010/09/20/how-to-root-the-htc-desire-unrevoked-method/
Then I tried to load up this ROM: http://forum.xda-developers.com/showthread.php?t=988570
It said the installation was successful but I am unable to boot up the device now (stuck on the screen where it says 'HTC' in green).
Any help would be appreciated.
First of all try shutting it down and turn it on by holding down vol-down and pressing power while keeping vol-down pressed. This will make your phone enter fastboot. In this menu you use the volume keys and power to chose recovery.
From here you just flash another rom like leedroid(just for now).
And no it's in no way bricked. The reason the rom isn't booting is probably, because you need to make an ext-partition on your sd-card. you can do this from rommanager once you get it to boot again
Yes, I can see the clockwork mod menu.
Dont worry mate, it's not bricked, once you get the hang of it you will be changing ROM's daily =P.... just install another ROM and pay attention to the partitions each ROM require
Did you reformat SD card to have FAT32 + 1GB+ ext3/ext4 partition?
And no its not bricked.. you cannot brick anything just by flashing ROM's its not that easy.
You either flashed CM7 version (you need custom HBOOT and S-OFF for that) or you didnt partitioned SD card.
Just wipe everything and try again.
Look at my reply again edited it, as i didn't read all the way through at first.
edit:
You either flashed CM7 version (you need custom HBOOT and S-OFF for that)
Click to expand...
Click to collapse
Not correct the hboot is not required, and the only difference is a larger data-partition, which allows for more user installed apps You are right about the ext-partition though, as this is very likely the problem in this case.
k3lcior said:
Did you reformat SD card to have FAT32 + 1GB+ ext3/ext4 partition?
Click to expand...
Click to collapse
No, I didn't. How should I do this?
mortenmhp said:
Look at my reply again edited it, as i didn't read all the way through at first.
Click to expand...
Click to collapse
Thanks.
Sumii said:
No, I didn't. How should I do this?
Thanks.
Click to expand...
Click to collapse
Backup your data from SD Card. (it will be wiped)
Enter Recovery.
Go Advanced/Partition SD Card.
Choose 1024MB Ext partition size, and 0 for swap. (you dont need that)
Now wipe everything, from the phone (data/factory reset and cache wipe)
Go mounts & storage and mount USB.
Now you can restore your files from PC to SD Card and Flash ROM.
Enjoy.
And if you want RcMixS 2.0, download this: http://rom.robocik.mobi/Desire/RCMixS/v2.0/RCMixS_v2.0_A2SD+_BravoHboot.zip
Do not download CM7 Version. ;-)
k3lcior said:
Backup your data from SD Card. (it will be wiped)
Enter Recovery.
Go Advanced/Partition SD Card.
Choose 1024MB Ext partition size, and 0 for swap. (you dont need that)
Now wipe everything, from the phone (data/factory reset and cache wipe)
Go mounts & storage and mount USB.
Now you can restore your files from PC to SD Card and Flash ROM.
Click to expand...
Click to collapse
I don't see the partition SD card option. The only options in the advanced menu are:
- Reboot Recovery
- Wipe Dalvik Cache
- Wipe Battery Stats
- Report Error
- Key Test
- Restart adbd
- Process dump
Damn you must have some old version, then partition your card just anywhere (im doing it on Ubuntu using gParted)
Just make sure to make 2 partitions:
Primary FAT32 - all available space (-1024MB)
Primary EXT3/4 - 1024MB
Remember Ext partition has to be second partition after FAT32.
k3lcior said:
Damn you must have some old version, then partition your card just anywhere (im doing it on Ubuntu using gParted)
Just make sure to make 2 partitions:
Primary FAT32 - all available space (-1024MB)
Primary EXT3/4 - 1024MB
Remember Ext partition has to be second partition after FAT32.
Click to expand...
Click to collapse
Okay thanks a lot. Now I only need to find a way to partition an SD card on a mac.
Download rom manager to make your cwm recovery do it. (cwm does have the tools for it, they are just no present in the interface)
It only allows for 512mb ext though, but usually it's enough.
RCMixS 2.0 requires 1GB+.

[Q] sd-ext not mounting properly

Hi
I installed (12/15/2012) [SS] Jelly Bean CM10 v2.9.1 (4.1.2) version 3.0 on my desire and followed all the settings for CPU governor and A2SD scripts. Configured my email, and installed all apps from scratch.
Everything seemed fine, worked smooth. Last night the phone crashed and rebooted and somehow lost most of the apps., including Google play which makes things harder ... Looking at memory usage, it look like there is a problem with /sd-ext.
if i open terminal, and try to run A2SD again, it also shows a problem:
/sd-ext not mounted properly, it might have errors
Found block device: /dev/block/mmcblk0ps
Removing flag a2sd
Removing flag ad2sd
Removing flag dc2sd
Setting flag a2sd
/system/bin/a2sd: line 74: /sd-ext/.a2sd: read-only file system
chmod: /sd-ext.a2sd: no such file or directory
would you also like to move DALVIK-CACHE
I put the SDcard in my computer and it showed no errors
When I go into recovery, I can mount all partiotions without problems??
For now I will go to reflash the phone and start all over.
How can I find out what happened here and how to prevent that?
And is there an easier way to repair this problem
hoping it will not occur again...
Happy new year, best whishes for everyone, and hoping for help
D.
UPDATE: cleared all data from within recovery, cleared cache from recovery and reflashed the zip
when I try to run the a2sd script error is still there!!!
put the sdcard in mu computer, deleted and recreated the partition
and then the error is gone ... ??
How did you create the partition? Use gparted or 4ext recovery only, not minitool or clockworkmod recovery
I used minitool
What is the difference?
So it will crash again?
Anything i can do as a repair or do i have to start all over again?
Thanx for your help!
Sent from my Transformer TF101 using Tapatalk 2
Minitool doesn't create the partitions properly.
Backup your sd card to pc. Then I recommend to delete all partitions and repartition using gparted. Search for guide in development section.
Copy everything back to sd card afterwards, then rerun the a2sd commands
Sorry for not understanding ...
Can I copy the ext4 partition as well then? If I delete that, I am in the same situation as yesterday after the crash (?)
Just running the a2sd again did not work then
Thx
D.
Sent from my Transformer TF101 using Tapatalk 2
duiksmurf said:
Sorry for not understanding ...
Can I copy the ext4 partition as well then? If I delete that, I am in the same situation as yesterday after the crash (?)
Just running the a2sd again did not work then
Thx
D.
Sent from my Transformer TF101 using Tapatalk 2
Click to expand...
Click to collapse
1. try to backup user apps only using titanium backup, don't know how many have been lost, but can try and save the others.
2. copy whole sd card to pc. this just copies the whole FAT32 partition of the sd card. you will not see the ext4 partition when connected to PC, don't worry about it.
3. delete all partitions and repartition using gparted (step 5 here)
4. copy the backup back onto sd card.
5. full wipe everything from recovery, flash rom, run A2SD commands and reboot etc.
6. restore any apps using titanium, should go to partition automatically if everything is working. install another app like diskusage to browse all your partitions.
How to fix the dreaded sd-ext not mounting properly, or fix A2SDGUI not rebooting/crashing
The reason this happens is because you have flashed a rom that doesnt support ext4. You will have to change the ext4 partitiion to ext3 in order to get a2sd to install properly.
If you have backed up your data and just need to get a2sd running follow this guide, I am not responsible for lost data or a corrupt sd card
1) Download aparted app. WARNING: If used incorrectly you can destroy the data in your sdcard
Click tools. There should be a partition called FS: ext4, Select it, then press delete(WARNING DATA FOR APPS WILL BE LOST)
2. Click create, then select EXT 3 this time, and the default size 999, dont touch any other settings or you'll corrupt your sdcard, dont touch the init and end parameters!
3. REBOOT the phone
4. Then try a2sd install in terminal or if your using the A2SDGUI, click Dalvik, select Dalvik on SD-EXT, then hit Move and Rebuild, wait for it to reboot, if it does not reboot hit Move! and wait for it to reboot. It should reboot, if it doesnt reboot or crashes you didnt read step 3 when I said to reboot your phone after adjusting the partition, or you mistakenly chose ext4 partition!
If your were silly enough not to backup your data, you can download gparted iso and boot it using your PC. Then connect the phone and goto the ext4 partition and COPY all the files and paste it in a temporary folder. Then delete the partition, then create an EXT3 partition and PASTE back all the data files in the ext3 partition.
alochet said:
How to fix the dreaded sd-ext not mounting properly, or fix A2SDGUI not rebooting/crashing
The reason this happens is because you have flashed a rom that doesnt support ext4. You will have to change the ext4 partitiion to ext3 in order to get a2sd to install properly.
If you have backed up your data and just need to get a2sd running follow this guide, I am not responsible for lost data or a corrupt sd card
1) Download aparted app. WARNING: If used incorrectly you can destroy the data in your sdcard
Click tools. There should be a partition called FS: ext4, Select it, then press delete(WARNING DATA FOR APPS WILL BE LOST)
2. Click create, then select EXT 3 this time, and the default size 999, dont touch any other settings or you'll corrupt your sdcard, dont touch the init and end parameters!
3. REBOOT the phone
4. Then try a2sd install in terminal or if your using the A2SDGUI, click Dalvik, select Dalvik on SD-EXT, then hit Move and Rebuild, wait for it to reboot, if it does not reboot hit Move! and wait for it to reboot. It should reboot, if it doesnt reboot or crashes you didnt read step 3 when I said to reboot your phone after adjusting the partition, or you mistakenly chose ext4 partition!
If your were silly enough not to backup your data, you can download gparted iso and boot it using your PC. Then connect the phone and goto the ext4 partition and COPY all the files and paste it in a temporary folder. Then delete the partition, then create an EXT3 partition and PASTE back all the data files in the ext3 partition.
Click to expand...
Click to collapse
Eh?
- The ROM supports ext4 just fine, most ROMs here do. ext4 is also faster than ext3...
- The problem was that the partition was poorly created in minitool partition wizard, likely that it was not properly aligned.
- The issue has already been solved...9 months ago...

Help rookie to root HTC Desire

Hello evryone.I got the Desire today and I would very much like to do root on my phone.I'm a total novice about all this and I'd like to ask someone for help.When I go in the boot menu (volume down+power) i have this:
-Revolutionary
BRAVO PVT3 SHIP S-OFF
HBOOT-6.93.1002
MICROP-051d
TOUCH PANEL-SYN0101
RADIO-5.17.05.23
Aug 10 2010
HBOOT
FASTBOOT
RECOVERY
CLEAR STORAGE
SIMLOCK
Can someone suggest where to find a tutorial step by step how to do root on my phone because I'm a total beginner?
Thanks.
Well it looks like all the hard parts have been taken care of already. The rest is a piece of cake
Revolutionary was used to s-off, which probably means that you have a custom recovery install as well.
Use volume down while in the bootloader to scroll down to RECOVERY. Then use power to select it. When the recovery boots up you should have either cwm (clockworkmod) or 4ext recovery installed. Tell me which one you have so that i can give you some more guidance.
I'm afraid that nothing of what you have said I do not have.When I select a recovery nothing happens,On the next screen I see icon of phone on the middle of the screen and two circular arrow.One point down and another point up,and then red tringle with an exclamation point in the middle.I tried several times and always the same.Is this serious problem?
talicni67 said:
I'm afraid that nothing of what you have said I do not have.When I select a recovery nothing happens,On the next screen I see icon of phone on the middle of the screen and two circular arrow.One point down and another point up,and then red tringle with an exclamation point in the middle.I tried several times and always the same.Is this serious problem?
Click to expand...
Click to collapse
Then you need to flash a recovery. Either through fastboot, or through the PB99img method.
Fastboot implies installing fastboot, adb and hboot drivers on your PC, downloading the recovery.img, and then using the command "fastboot flash recovery recovery.img".
The PB99IMG.zip is a bit easier. Follow the instructions here: http://forum.xda-developers.com/showthread.php?t=1751258
abaaaabbbb63 said:
Then you need to flash a recovery. Either through fastboot, or through the PB99img method.
Fastboot implies installing fastboot, adb and hboot drivers on your PC, downloading the recovery.img, and then using the command "fastboot flash recovery.img".
The PB99IMG.zip is a bit easier. Follow the instructions here: http://forum.xda-developers.com/showthread.php?t=1751258
Click to expand...
Click to collapse
Small correction there buddy, the command is
fastboot flash recovery recovery.img
jmcclue said:
Small correction there buddy, the command is
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Oops. Bah, I have been away for too long. Thanks
Thank you so much for the help.I've been busy these days so I have not had a chance to try what you suggested, but I will try tomorrow.f I understand correctly, I put PB99IMG.zip on the SD card,then go to bootloader menu(volume down+power) and run PB99IMG.zip.Then ask me if I want to update recovery, volume up for YES.When asko me if I want to reboot choose NO.Once its finished I have 4ext recovery and use volume buttons to navigate to recovery then press power button to enter recovery.And then what I have to do next?
You wrote to type this command
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
but I do not know where and when I need to write.
talicni67 said:
Thank you so much for the help.I've been busy these days so I have not had a chance to try what you suggested, but I will try tomorrow.f I understand correctly, I put PB99IMG.zip on the SD card,then go to bootloader menu(volume down+power) and run PB99IMG.zip.Then ask me if I want to update recovery, volume up for YES.When asko me if I want to reboot choose NO.Once its finished I have 4ext recovery and use volume buttons to navigate to recovery then press power button to enter recovery.And then what I have to do next?
You wrote to type this command but I do not know where and when I need to write.
Click to expand...
Click to collapse
Yep, thats pretty much correct. You go into the bootloader, wait a couple seconds and it should find the PB99IMG.zip that you placed on the root of your sdcard automatically. Then you press volume up to confirm the install, and then reboot. Go back into the bootloader and select recovery and you should now have 4ext recovery.
Forget about the fastboot command. That is just another method of installing 4ext, but its a bit more work. Since youre using the PB99IMG method you dont have to do this.
Once youre in recovery you have a few options:
Boring option- You can simply flash a root zip which will give you root access on the stock rom
Fun option- You can pick out a custom rom from the development section and flash it. Custom roms come prerooted, and have so many other advantages over stock. (Performance, a2sd for gaining more space for apps, battery life, customization, etc.)
Thanks for the help.Can you recommend a good rom that will not slow down the phone?I read some posts that the Desire is weak to be launched ICS rom, and that the version 2.3.7 is best for Desire.Is this true or not?
talicni67 said:
Thanks for the help.Can you recommend a good rom that will not slow down the phone?I read some posts that the Desire is weak to be launched ICS rom, and that the version 2.3.7 is best for Desire.Is this true or not?
Click to expand...
Click to collapse
Well anything over android 4+ wont run ideally on the desire.
My favorite stable rom is milwild's redux. You need to do a couple things before flashing to optimize your space usage. First create a 1GB ext4 partition using this guide. Then go here and download the PB99IMG_oxygenr2 zip. This is an hboot and will change the layout of the internal partition to maximize the amount of space for apps and app data. After youve downloaded it, rename it to PB99IMG.zip, and put it on the root of your sdcard. Then you go into the bootloader and install it the same way you did for 4ext. After that you go into 4ext, go to the wipe menu and choose "format all partitions (except sdcard)". Finally go to install zip from sdcard, select the rom i recommended above and flash it.
I have to admit that Gparted method for partitioning sd card somehow easiest for me.Again I have a few questions before I start my adventure installing milwild's redux ROM.
-
After that you go into 4ext, go to the wipe menu and choose "format all partitions (except sdcard)"
Click to expand...
Click to collapse
When formatting is complete, did I need to reboot the phone or not, or just continue to install ROM?
-
Finally go to install zip from sdcard, select the rom i recommended above and flash it.
Click to expand...
Click to collapse
Do I need to put milwild's redux ROM in the root of the Sd card same as 4EXT and flash it?
-When I select milwild's redux ROM is it enough to just mark it and click on it to install began, or has some other method?
talicni67 said:
- When formatting is complete, did I need to reboot the phone or not, or just continue to install ROM?
Click to expand...
Click to collapse
Doesnt matter. I never reboot...just format and install right after.
talicni67 said:
- Do I need to put milwild's redux ROM in the root of the Sd card same as 4EXT and flash it?
Click to expand...
Click to collapse
Doesnt matter where you put it on your sdcard. Once you go to the install menu, 4ext will allow you to browse the contents of your sdcard.
talicni67 said:
-When I select milwild's redux ROM is it enough to just mark it and click on it to install began, or has some other method?
Click to expand...
Click to collapse
Yep, thats enough. Just browse to the zip, click on it, and click once again on the check mark to confirm the installation. The reboot and enjoy.
I did half the job, now the hard part remains.I installed 4EXT recovery and partitioned SD Card but not completely.I did everything like in the tutorial, but the internal memory is not increased.Here's a picture after finishing operations.
When I check the internal memory I have only 125MB.I repeated the operation three times, and the result is always the same.I Insert the CD with Gparted in the computer, boot and go to Gparted menu,delete SD Card and create first 6.4GB like fat32 primary partition.Then select second unalocated part of the SD card and create 1.1GB like ext4 primary partition.Complete operation and when i look into my SD card size is exactly same as in the Gparted (6.4GB) but internal memory is only 125MB.No idea what to do.
talicni67 said:
I did half the job, now the hard part remains.I installed 4EXT recovery and partitioned SD Card but not completely.I did everything like in the tutorial, but the internal memory is not increased.Here's a picture after finishing operations.
When I check the internal memory I have only 125MB.I repeated the operation three times, and the result is always the same.I Insert the CD with Gparted in the computer, boot and go to Gparted menu,delete SD Card and create first 6.4GB like fat32 primary partition.Then select second unalocated part of the SD card and create 1.1GB like ext4 primary partition.Complete operation and when i look into my SD card size is exactly same as in the Gparted (6.4GB) but internal memory is only 125MB.No idea what to do.
Click to expand...
Click to collapse
The storage that it shows in settings will not show the space on your ext partition. But don't worry, its working. You can download an app such as titanium backup which will show you the amount of space on your ext partition. If you're skeptical, try installing a few apps from the play store. If you're not getting any low memory errors you are good to go.
You flashed then oxygen r2 hboot right?
Sent using xda-developers app
No, I'm not yet.I tried now to download some games from play store and got a message that I don't have enough space to do that
Do exactly the same as in video tutorial,and won't work.I'm going tomorrow to a one-week vacation.When I come back I'm gonna recorded the whole process with camerato see where I'm wrong.
talicni67 said:
No, I'm not yet.I tried now to download some games from play store and got a message that I don't have enough space to do that
Do exactly the same as in video tutorial,and won't work.I'm going tomorrow to a one-week vacation.When I come back I'm gonna recorded the whole process with camerato see where I'm wrong.
Click to expand...
Click to collapse
Try partitioning with 4ext. Also you should really switch to oxygenr2 hboot...with stock hboot you are wasting a ton of space on the system partition.
I will ty with 4EXT and please tell me one more thing.When finishing with partition SD Card with 4ext what is next?To put PB99IMG_oxygenr2.zip on SD Card and rename it to PB99IMG.zip and install it.Right?And after that put MildWild MW-9.5.zip ROM on SD Card, select it and install it and thats all or must do something more?
Forget to mention,installing PB99IMG.zip and MildWild MW-9.5.zip doing through recovery.Is that ok?
talicni67 said:
I will ty with 4EXT and please tell me one more thing.When finishing with partition SD Card with 4ext what is next?To put PB99IMG_oxygenr2.zip on SD Card and rename it to PB99IMG.zip and install it.Right?And after that put MildWild MW-9.5.zip ROM on SD Card, select it and install it and thats all or must do something more?
Click to expand...
Click to collapse
1. Partition sd with 4ext
2. Install the PB99IMG.zip using the bootloader (you DONT flash this with 4ext)
3. Go into 4ext > Wipe > format all partitions (except sdcard)
4. Install MildWild MW-9.5.zip
I have a big problem with partitioning SD Card.I tried through recovery 4ext and still not work.When I finish all process,these 1gb appears nowhere, still got 128MB internal memory.No matter what I do, or with gparted or 4ext always have 128mb of internal memory.Can I install MildWild MW-9.5.zip without expanding the internal memory?If not, can you explain to me how to do root to my phone?
talicni67 said:
I have a big problem with partitioning SD Card.I tried through recovery 4ext and still not work.When I finish all process,these 1gb appears nowhere, still got 128MB internal memory.No matter what I do, or with gparted or 4ext always have 128mb of internal memory.Can I install MildWild MW-9.5.zip without expanding the internal memory?
Click to expand...
Click to collapse
You still don't understand what has been explained before
Your internal memory will not read 'internal + sd-ext' because that's just the way the script works.
As long as the sd-card has been correctly partitioned, the A2SD script should work automatically. (you probably didn't need to use 4EXT if you follow the gparted guide exactly, but doesn't matter now)
Keep apps on internal i.e. don't 'Move to SD', and it will trick the apps apks and dalvik cache to sd-ext. You internal memory (/data) will fill up with app data (e.g. just the saved games). Another way to check is to install another app like 'diskusage', it will allow you to browse your partitions.
What is limiting you is that you are still on stock hboot. You should change to OxygenR2 hboot as advised. Currently on stock hboot your /system size is 250MB, but you're using only around ~95MB, wasting over 150MB.
If you switch to OxygenR2 hboot, the system size is 100MB, you'll waste only 5MB, and the rest gets converted to extra internal memory...total 332MB instead of 147MB...i.e. more space for apps
You should now
-nandroid backup
-flash oxygenR2 hboot, either by PB99IMG.zip method as advised, or using fastboot (search for guides)
-reboot back into recovery, full wipe and nandroid restore.
If not, can you explain to me how to do root to my phone?
Click to expand...
Click to collapse
You don't need to root your phone any more. Any custom ROM will already be rooted.

Categories

Resources