Hi All, we are working on unbricking HTC Desire HD and need the partition info and partition backup from a working DHD phone to move forward. If you have a working rooted DHD, you may help us on any of below. Thank you!
1. if you rooted your phone by using gfree, then as this page (http://forum.xda-developers.com/wiki/HTC_Vision) in section '6. Backup and cleanup' it mentions the gfree can backup part7backup-.bin, etc. If you have those backup files, can you please send them to us.
2. with your working phone, you may retrieve the partition info as this post (thanks E:V:A), can you post your partition info output, as well as your carrier name and ROM info. Other info like recovery type/version, HBOOT display (which shows S-ON/OFF, Radio version, etc) and CRC's are also helpful but optional.
3. If you phone's microSD has 2G or more free space, and you has some Linux and ADB knowledge, you can backup the whole internal memory of your phone to a file on SD, then pull the file over to your PC, and upload somewhere and share with us. See This post (thanks TrevE) for details. Please note this type of backup file has all your phone memory including the IMEI number and your user data, so please don't share it in public. You may use a HEX editor to search the backup file for your IMEI number and mask it (I don't know if it is encoded or encrypted somehow). If you can trust me, please upload your backup and PM me the download link.
4. If you are a developer (know python and has Linux or Windows with Python), you may try to run the attached script to pull the partition info and backup partition by partition as this post (thanks darkspr1te) . However, the post and script was not coded and tested for DHD so you may get error and need to edit the script to make it work with DHD.
Thanks for you help!
Anyone??
You wouldnt know when you would arrive in a QHSUSB_DLOAD situation.
Related
Sorry Guys if am asking this Question here....i have searched full XDA Forum for this ....got ans too but still have confusions.....
1st of all wanna know what is App2SD....Hope its the application to transfer all your application installation to SD card....
2nd i have tried several methods listed here in forum...but no result.....SD card is having full space and phone memory is just 50 MB left.....
Tried Defrost application and selected all installation to external media....(Hopefully this is the correct method...but didn't figured out for me yet....)
Tried to give EXT3 partition to SD of 512 MB...but here i don't know the full procedure and really confused how to go about.....
Tried for Froyo ROM's as i believe its having inbuilt capability to install all app to SD card....No result yet....
I requet all my frnds here to just giude me to the right path...i am sure i will do the rest ..... really confused with a lot of explanation given in forum....
One more small help needed...i need to have HTC Default dialer application as some of the ROM has removed it with some other application....
Waiting for reply....
pranavd1980 said:
Sorry Guys if am asking this Question here....i have searched full XDA Forum for this ....got ans too but still have confusions.....
1st of all wanna know what is App2SD....Hope its the application to transfer all your application installation to SD card....
2nd i have tried several methods listed here in forum...but no result.....SD card is having full space and phone memory is just 50 MB left.....
Tried Defrost application and selected all installation to external media....(Hopefully this is the correct method...but didn't figured out for me yet....)
Tried to give EXT3 partition to SD of 512 MB...but here i don't know the full procedure and really confused how to go about.....
Tried for Froyo ROM's as i believe its having inbuilt capability to install all app to SD card....No result yet....
I requet all my frnds here to just giude me to the right path...i am sure i will do the rest ..... really confused with a lot of explanation given in forum....
One more small help needed...i need to have HTC Default dialer application as some of the ROM has removed it with some other application....
Waiting for reply....
Click to expand...
Click to collapse
Someone please guide me........please
Instead of bumping your thread have you tried looking at the thread of the chef released rom for your phone as you might realise that others have same issue with the rom or not. I did a quick search of forums and i managed to find the answers within seconds.
We cant support your rom as we dont know what you are using / version and questions regarding that rom need to be posted in the correct forum thread
A|ex said:
Instead of bumping your thread have you tried looking at the thread of the chef released rom for your phone as you might realise that others have same issue with the rom or not. I did a quick search of forums and i managed to find the answers within seconds.
We cant support your rom as we dont know what you are using / version and questions regarding that rom need to be posted in the correct forum thread
Click to expand...
Click to collapse
Sorry M8...But i am really confused with several ROM's and Methods listed here...
I will follow your instructions in future....Sorry Again....
Different roms work differently and you really need to try one, then ask about it in the chefs rom thread and if you dont like try another. Swapping roms and trying to use the same instructions on each may not work so you are only confusing yourself.
A|ex said:
Different roms work differently and you really need to try one, then ask about it in the chefs rom thread and if you dont like try another. Swapping roms and trying to use the same instructions on each may not work so you are only confusing yourself.
Click to expand...
Click to collapse
Thanks Again.....
A2SD is indeed moving apps to the external memory. A lot of custom roms have it. It requires an EXT partition on your memorycard, an easy way to do that is to get rom manager from market
Sent from my HTC Desire using XDA App
Thread moved to Q&A.
judging by your post, you have already rooted your phone
here's an example how to do it with Official Froyo HTC Sense ROM v1.0c, which has built in old A2SD. I think it should work
- backup apps and system data with Titanium Backup Donate
- copy sd card content to pc in disk drive mode (by doing this, you will also copy your backups)
- download rom, radio and put them in root folder of your sd card
- you need to have some sort of recovery (whether it's update.zip in root, or permanent recovery - it's your choice)
- say a little prayer
- enter hboot -> recovery
- wipe all alvailable options (it depends on your current settings): data, cache, davlik cache, ext
- flash radio, it will ask for you to reboot from recovery, do it, it will restart few times, don't interrupt process of instalation.
- flash rom
-after you finish it, don't reboot, instead partition sd card using standard options: swap 0, ext2 512, fat32 rest, sd: ext2 to ext3 (this will format and partition your sd card, you will loose it's content
- reboot your phone, it will last longer than usual
- copy your sd card content from pc back to sd
- install titanium backup donate and restore system data and apps, it should force apps you previously had installed to sd
- reboot phone to finish restore
- install quick system info and check if your A2SD storage is partialy filled with data
-you should have your current apps and settings with A2SD enabled
Finally did it today with ROM manager huh......
Thanking all for support...
Sent from my HTC Desire using XDA App
So first of all i must say that im a completly noob at the android instalation on kaiser
I search for a noob tutorial but i coudnt fiind can someone post here a tutorial including files thanks
Here is the Guide in Sticky
How to replace Windows Mobile with Android (Guide) by Dukenukemx
scroll down to Installing Applications Onto SD Card using Ext2
This should help. The guide help me greatly, very easy to follow.
Hope this helps.
Its not tricky, I mean even I can do it, come on
I did edit a wiki page on this, but appears to be down, so here goes, from memory.
Backup any data first, just in case, not taking any responsibility for loss of data.
Firstly ensure your SD card if formatting correctly (FAT32), use on Gparted (linux live CD) to do this, (for me, I created two ext 2 partitions as well as I thought this would work best, works for me).
You then need the HaRET application to allow you to run Android. Google "haret.exe"
Extract the files this should create the right directory.
You then need to choose a build, this is personal choice, but I'll post the one I am testing right now. milanche's CyanogenMod 6 Kaiser
Put the installandroid.tar into the folder you created above.
Move to your SD card.
Find and run HeRET.
When screen shows text, tap and hold the center of the screen until you get a menu.
Choose install (ensure the options are set to SD).
Select Install
Once done, select Quit.
This then installs Android and can take a while, just leave it to get on with it.
You should then been booted into Android.
I might have forgotten something, as I am doing this from memory, but it should be fresh since I installed this last night.
Looks good to me, nice guide, don't think you missed anything
Thatnk you Zenity, but I know I couldn't have done this without your help in the begining when I first tried it. I know how it can seem all a bit over whelming.
I know a lot of people say 'search for it' but I did that just to see what I would find, and to be honest, I didn't get anything but that was of any use, so I can sympathis the search doesn't always get you the right results.
I could not remember the direcotry names when I wrote that at work and had to do it in a hurry as the entire office can see my magnified screen so it was a quick brain dump, not as nice as I would have liked to have written it given the time (which I did on the wiki but its down).
Anyway Keeps it fresh in my mind too.
I can only do this when I'm given the right files, I got confused myself when people started talking about different zImages. I tend to go for the builds where everything is bundled into one packing, as some can seem fragmented, ie Fresh Foryo, I don't doubt that it may be a good rom, but its deleivery is complicated (for me ).
Wish I had more time an experience to make my own build, I have done a bit of linix hacking in my time with shell scripts (getting wifi cardds working ona laptop etc), Its all interesting stuff.
thanks guys u helped me alot in the end i will instal android on an ext2 partition
Dear Leona,
The link seems no longer valid, can you tell where to find the latest HaRET application? Besides, how should I format my SD card? by special software? Thanks.
Dave
If you'd have problems with using Gparted Live CD like me... just because it does not mount SD card in adapter... here is what I did to partition the SDHC 4GB card...
I booted with HARET but did not select to install.. it gracefully fails to terminal
command: su
command: fdisk /dev/block/mmcblk0
deleted all current patrition (d)
created new partitions whith calculated size (8192 for 256MB)
changed type of the first and biggest patririon to FAT32 (t => c)
written all the changes to the partition table (w)
Than you should take out the card before rebooting and format FAT32 partition in win to upload all te android boot files, rebot the phone and follow with instalation...
But I must say, now I am using Scooters Cyanogen in NAND and it it far far easier
After I choose run, then a list of Linus commands ran, then it said
:loseup:/dev/block/loops: No such file or directory
Failed
Failed to reach system.img on SD card
By the way, anywhere I can download a complete set of files for running? Thanks.
try this:
http://forum.xda-developers.com/showthread.php?t=813382&page=31
look for the 4th post...
or this:
http://forum.xda-developers.com/showthread.php?t=855733
read a lot before attempting to do anything! use the search tool too, could be of some help.
For SD Partitioning, I remembered this Thread, which might help.
http://forum.xda-developers.com/showthread.php?t=619290
Sounds like you are not holding the centre Dpad button (or pressing the centre of the screen) while haret is loading, yes this can be Hit and Miss it winds me up no end.
If you have access to a Linux machine (or boot a Live CD), as well as being useful for SD partitioning it also maybe used to try out Atools (you'll need to install python and python-tk (via the package manager)) as this will get you the right Kernels, images and configure your default.txt file for you, though I haven't managed to get the build script bit working yet, but that is down to my lack of understanding the instructions
Hi all,
is it poosible to get a2sd+ on stock htc sense froyo?. I`m desperately running out of space, but i want to retain the stock froyo because of app updates, those on customs had issue not been able to update for example map, yt, etc. I may be wrong. In that case is there a rom with stock sense and latest froyo update?
Any info about rooting the handset with latest froyo update (stock) would also be helpful.
Thanks.
Hi There
I found this link the other day about forcing apps to the SD card without rooting on Froyo
http://myhtcdesire.com/category/tipstweaks
I have tried it a few times but just can't get it to work for me, perhaps I am missing something
Hope thios helps
JaykaySLO said:
Hi all,
is it poosible to get a2sd+ on stock htc sense froyo?. I`m desperately running out of space, but i want to retain the stock froyo because of app updates, those on customs had issue not been able to update for example map, yt, etc. I may be wrong. In that case is there a rom with stock sense and latest froyo update?
Any info about rooting the handset with latest froyo update (stock) would also be helpful.
Thanks.
Click to expand...
Click to collapse
DISCLAIMER: be very, very careful especially if you don't have S-OFF yet and plan to use this method. Mind your exact Desire variant and read all the info on listed stuff before attempting
I use a rooted stock rom with Darktremors Apps2SD method. You just have to install the scripts and modify the init.rc script as described in this thread
You will need to prepare an update.zip with the boot.img or have S-OFF hboot (like AlphaRev) to flash the boot partition on which the init.rc script resides.
It might be also possible to use flash_image, but I'm not sure it will be possible without S-OFF.
I used AmonRA 1.7.0.1 Recovery R5 to repartition the SD, as it seemed to me that using Clockwork which was embedded in Unrevoked 3.21, caused my last USB brick.
This will enable you to move not only the apps but also the dalvik cache to the SD's ext partition. The data from /data/data still remains in the internal storage, but moving the apps and dalvik cache is a huge space saver.
IIRC moving some apps data from the /data/data (I think it was systems apps mostly but honestly I don't recall) to the ext partition may result in errors.
Right now the situation looks like this on my phone:
Code:
# df -h /data
Filesystem Size Used Available Use% Mounted on
/dev/block/mtdblock5 147.6M 102.8M 44.9M 70% /data
# du -sh /system/sd/*
200.3M /system/sd/app
8.0M /system/sd/app-private
54.9M /system/sd/dalvik-cache
# ls -1 /system/sd/app /system/sd/app-private | wc -l
129
Additional bonus:
Because the ext partition is not being unmounted when connecting the phone as external storage to a computer, you don't end up with screwed up app links, and disappearing widgets when you do.
good luck
thanks for the info.
2 things: what is S-OFF and is there a windows based procedure as I dont have a *.nix system
JaykaySLO said:
thanks for the info.
2 things: what is S-OFF and is there a windows based procedure as I dont have a *.nix system
Click to expand...
Click to collapse
This particular *.nix system in my example is the Android OS as seen from the adb shell.
Please search the forum for what S-OFF is, there are tons of tutorials and howtos on this subject, it's basicly an unlocked variant of the HBOOT bootloader. The standard HBOOT won't allow you to flash partitions using fastboot mode like in earlier HTC models, Dream for example.
My advice is not to touch the HBOOT if you're not familiar with it as screwing something up when trying to change it is the quickest way to a bricked phone.
best of luck
"To begin, you'll need a Linux or a Mac system and basic knowledge on how to navigate through your Linux or Mac via a terminal program. The tools presented in this guide will only work with those systems."
As u said, its best I dont mess with hboot.
First things first - I think it should be possible to flash boot.img from an update.zip (just a regular update from the recovery mode). So no S-OFF modification needed this way.
Or just ask around the forum. It could be possible to flash the boot partition on the device using flash_image. Since my phone is already s-off I can't verify that.
JaykaySLO said:
"To begin, you'll need a Linux or a Mac system
and basic knowledge on how to navigate through your Linux or Mac via a terminal program. The tools presented in this guide will only work with those systems."
As u said, its best I dont mess with hboot.
Click to expand...
Click to collapse
Ah, that My bad, I thought you meant the code in my post.
Well you need a *.nix-ish environment for that particular solution, but that doesn't necessarily has to be an actual Linux / MacOS box.
There are a couple of ways to work around not having a Linux / MacOSX box:
First: If you have at least some knowledge of operating a unix shell, you can just download a live boot linux distro in the form of ISO image. Download and install VirtualBox, run the iso from there.
Second choice would be Cygwin, which is basically your *.nix environment for Windows.
Third is to install just a Windows perl interpreter needed for some of the scripts, and download a windows version of the mkbootimg binary, and just do the whole procedure manually. You pretty much just have to be able to run:
1. perl
2. cpio
3. mkbootimg
You can google all the needed exe's, and then you google "how to unpack boot.img" and take your pick - OR just take a peak inside the scripts from the semi-automatic solution (the thread you just quoted). The scripts are simplicity itself, pretty much don't differ much from a simple windows / dos batch file.
Fourth is to ask someone you trust to prepare the image for you
Either way, you have to modify the init.rc to be able to run the a2sd scipt on android boot.
OFC you can just start the process manually from a Terminal Emulator directly on the phone, and repeat it every time after you power on the phone, but that's hardly a comfortable way to go
Tell you what. If you feel really courageous I can fashion up a web form for you (and anyone else interested) which could allow you to submit a boot.img and have it modifed automatically, allow you to download a modified version. But: no warranties and also I might end up being an evil sneaky, sneaky bastard Your call
Thanks for the comprehensive info, but I`m not willing to experiment too much for the sake of not bricking the phone. I thought there might be a simpler solution....
+1 from me, getting headache from running out of space, I read online saying EXT3 was the method to go, but how to do it with rooted stock rom? (I head the only way to root Desire 2.2 is unrevoked) , please help
hongkongtom said:
+1 from me, getting headache from running out of space, I read online saying EXT3 was the method to go, but how to do it with rooted stock rom? (I head the only way to root Desire 2.2 is unrevoked) , please help
Click to expand...
Click to collapse
Like I wrote in the earlier posts. Partition with AmonRA recovery, install Darktremors APPS2SD, modify the init.rc script located on the boot partition, flash the modified boot - just browse the earlier posts. There are links to threads containing all the info you need.
Hi
I have rooted my phone with unrevoked, s-off'ed with alpha rev 1.8, partitioned 1gb of my 4 gb card to ext 3 and installed Gingerbread F1 V3 Ap2SD ENG.
On first load of the rom i can see that my SD card FAT 32 storage has been reduced but the only other memory internal memory which was at 147mb when i first booted the rom.
All apps are installing to the internal memory by default with only the option of moving to the SD FAT 32 partition. and there is no option to move to the sd ext3 part as there is no option - so I have lost 1gb off my sd card.
What have i done wrong?
on a 2nd note i appear to have a call delay when answering the phone my radio version is 32.49.00.32U_5.11.05.27 - do i need to update this ? will it solve the problem ? my carrier is vodafone UK.
appreciate the help
ararararar... Sorry had to do something.
This has been explained SO many times by me included. The way a2sd works is by symlinking the folder containing the apps(/data/app) to you ext-partition.
You cannot see this partition listed in the system info, as the partition is not supposed to be there. The system have no way of knowing that you are using an ext-partition, as it just installs apps to /data/app, however as it's symlinked to ext, they are actually being placed in sd-ext/app.
This means that you will only see you internal memory, but it still works. Your apps will just take up less space on internal, as the apk file is placed on the ext-partition. They will still take up some space for data and dalvik cache.
edit: bonus info. Install "quick system info" or "titanium backup" from the market to see the size of your ext-partition in those apps.
edit2: and if i did not make my self clear. The partition-size info in the system settings is not supposed to be a partition manager. It's written to be userfriendly, and it only provides the regular user with the partitions they should care about(/data and /sd-card). If you want a detailed view of all your partition(and there is more than a few) go get root explorer. It'll let you play around with all the partitions mounted.(you won't have access to recovery, bootloader and so on from here)
Ok thanks. I'm new to this and there's so much info to take in
With regards to the radio is there a simple way of flashing as I have alpha rev installed the method via recovery wont work. I see alot of people talking about doing this through a terminal but I could not find a comprehensive guide for this like the xda root guide. Thanks.
Darren
Sent from my HTC Desire using XDA App
Well i take it that your cache partition is too small(this is why people using alpharev cm hboot cannot use recovery for this). In that case you have already flashed another hboot(using "fastboot flash hboot hboot.img") if you haven't done this, you cache-partition should not be too small, and the recovery method should be able to do this just fine. If you have done this, use the same command to flash the radio eg "fastboot flash radio radio.img"
Either way it is very unlikely to fix your call delay(read: it won't fix your problem, as it's got nothing to do with the radio). It's a problem caused by some incompatibility between the htc libs and GB. It's quite common on GB roms apparently. Wait for HTC to release the real GB update, and we might very well be able to solve this problem.
dazzr123 said:
Ok thanks. I'm new to this and there's so much info to take in
With regards to the radio is there a simple way of flashing as I have alpha rev installed the method via recovery wont work. I see alot of people talking about doing this through a terminal but I could not find a comprehensive guide for this like the xda root guide. Thanks.
Darren
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Install android sdk:
http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK
Copy the downloaded radio.img to e.g. partition C: on your computer (if you downloaded a zip, extract the radio.img from there). Check the md5sum!!!
Boot your into fastboot mode (start it with pressed back and power button) and connect your phone to your computer.
Now open command prompt on your computer and type
Code:
fastboot devices
It should list your device now. If it does, type
Code:
fastboot flash radio C:\radio.img
(in case your radio.img was copied to C: ).
Now, observe the computer and be patient TOUCH NOTHING!!
The process will copy the image to your phone, write the image to the radio partition and perform some magic be patient TOUCH NOTHING!!
Watch the little indicator at the top of your phone screen.
Once the process appears to finish (it may not say complete) wait a further FULL 60 SECONDS and be patient TOUCH NOTHING!!
Then, and only then, reboot your phone.
Click to expand...
Click to collapse
A nice guide about adb/fastboot can you find here:
http://androidforums.com/desire-all...fastboot-windows-updated-1st-june-2011-a.html
Flashing radio is a risky thing. Because if there something is wrong, your phone won't be more than a paperweight.
Recovery Procedure below after my short story
===========================================
Hi Guys,
Just wanted to share my experience in recovering folder from internal memory of Hercules SGH-T989D.
I backed up WhatsApp folder to my computer however, it did not copy and I did not bother checking [my mistake]. I kept flashing nightly and formatted it 5 to 6 times.
Once I was done flashing the new ROM I noticed that WhatsApp folder was empty and wanted to recover it. I tried Undelete app but that did not return anything I tried DiskDigger returned pictures which I didn't need as Google Photo+ already backed it up for me. ( You guys should set up auto backup as well very good feature )
So I searched online and found ASoftTech Android Internal Memory Recovery post which was awesome. However, it lacked couple of things which made it difficult for me. It was mostly missing how to configure ADB.
I have listed the procedure which I followed and recovered my files I needed. I hope it helps someone else.
==============================================
I am providing link to PDF to dropbox. I could not attach it as it was exceeding the attachment size limit. Hopefully someone can make a mirror to this file.
How to recover files from formatted internal memory on android 4.4+
Reserved.