[GUIDE] How to run SD version of CM7.1 on HTC Desire S (fried emmc chips too).

35 posts
Thanks Meter: 33
 
By kibril, Member on 7th July 2012, 12:38 AM
Post Reply Email Thread
I designed this version of the system for my broken phone with fried emmc chip. This disk can be used in the working devices as "Recovery Disk"/"Emergency Disk" for testing purposes or other google's account))

1. Get “adb” and “fastboot” from Android SDK tool.
2. Prepare a blank memory card (Micro SD 4GB and more) for recording an image of the system.
3. Download the system image to a memory card sdcard_4g.rar.
4. Decompress/unrar archive, and u get the image of the SD card sdcard_4g.img.
5. Write image to your sdcard with:
Linux:
Code:
dd if=/path_to/sdcard_4g.img of=/dev/sdX
”, where X your device.
Windows:
Write image with Image writer for Windows to Micro SD card
Experts can make own sized partitions with this structure:
Code:
sdb1 – fat32 (rest size) the external storage
sdb2 – extendet partition
sdb5 – ext2 – 4MB
sdb6 – ext2 – 4MB
sdb7 – ext4 – 585MB /system
sdb8 – ext4 – 315MB /cache
sdb9 – ext4 – 28MB /devlog
sdb10 – ext4 – about 1-1.2GB /userdata
then decompress and copy system.7z:
Code:
dd if=/path_to/system.img of=/dev/scX7
, where X your device.
6. Dowload bootloader's image “bootsd.img”.
7. Boot your phone to “BOOTLOADER” (VolDown+Pwr → Pwr).
8. Connect device to computer via USB cable.
9. Boot your device:
Command line
Code:
fastboot boot /path_to/bootsd.img
Wait 3-5 minutes (The 1st boot can take some time, depend on speed of memory card).
If all goes well, you get the device working without using the phone's internal memory!!!

Good Luck!!!

PS: Be careful the image of the memory card will erase all existing information on it! Select the correct device before recording an image on the memory card. The author assumes no responsibility for the integrity of your data and equipment damage!
If you think the author's helpful, buy him a beer!

Booting from "Recovery":
To launch an android from the "Recovery", copy the "update.zip" to your memory card at root directory of the fat32 partition. In the "RECOVERY" select "apply update from sd card" and confirm "install" by selecting "Yes - Install ...". Installing update.zip only starts the Android system from the SD card. Now you can run the system without a PC.
This method is suitable to run in an emergency, if discharged or the phone needs a restart. He uses the chroot method and kernel in your RecoveryMod, so there may be some limitations of the functional (ex. WiFi module bcm4329.ko - wifi dont work after boot from Recovery).
The Following 22 Users Say Thank You to kibril For This Useful Post: [ View ] Gift kibril Ad-Free
7th July 2012, 09:35 AM |#2  
fosco_'s Avatar
Senior Member
Thanks Meter: 35
 
More
Downloading and testing...
Will give you feed back as soon as i boot
7th July 2012, 10:13 AM |#3  
kibril's Avatar
OP Member
Thanks Meter: 33
 
Donate to Me
More
Now I'm working on others ROMs based on CM7.2 and ICS... Waiting for your replay
Sent from my HTC Desire S using xda app-developers app
The Following User Says Thank You to kibril For This Useful Post: [ View ] Gift kibril Ad-Free
7th July 2012, 11:23 AM |#4  
fosco_'s Avatar
Senior Member
Thanks Meter: 35
 
More
It works!
Everything is working ok! How about a mini-guide on how to build customized sd-images?
7th July 2012, 10:27 PM |#5  
kibril's Avatar
OP Member
Thanks Meter: 33
 
Donate to Me
More
Mini howto)
U can modify the contents of the memory card directly through the card reader. U need a PC with Linux only, because Android - a Linux + virtual machine Dalvik. Now you do not need "RECOVERY" to clear/wipe the cache or user data. Simply delete unnecessary or format /cache or /date partitions, without fear of damaging the data on your phone, you can always restore from an image memory card, or take another card.
Change "/system" partition to add/remove programs, sounds, pictures and more right on the disk.
PS: Howto about progamming, compiling kernel or android... It's not a trivial task, it can be described in several books. And the principles have been repeatedly described in the Internet. I may write later. Still a lot of things I can do.
The Following User Says Thank You to kibril For This Useful Post: [ View ] Gift kibril Ad-Free
9th July 2012, 07:51 AM |#6  
basementcat's Avatar
Junior Member
Thanks Meter: 2
 
More
the mposelys
Hah if only HTC could come up with a solution such as this! +1
9th July 2012, 05:52 PM |#7  
kibril's Avatar
OP Member
Thanks Meter: 33
 
Donate to Me
More
Mostly Devices can boot by this way, if they have MicroSD or USB port. This is "Linux way".

Sent from my HTC Desire S with fried EMMC Chip using xda-developers app
9th July 2012, 08:05 PM |#8  
Junior Member
Flag Hyderabad
Thanks Meter: 1
 
More
Awesome! it is working! I almost got my phone boot after 10 months. THANK YOU SO MUCH!. Is it possible to directly boot into SDcard after rebooting?
10th July 2012, 04:31 AM |#9  
kibril's Avatar
OP Member
Thanks Meter: 33
 
Donate to Me
More
Im working on boot from the Recovery. U need SD Card Class 10 or 6 to quick booting phone.

Sent from my HTC Desire S with fried EMMC Chip using xda-developers app
10th July 2012, 11:16 AM |#10  
Junior Member
Thanks Meter: 0
 
More
you can upload an image flash drive with the original firmware 4.0
12th July 2012, 01:05 PM |#11  
Junior Member
Thanks Meter: 0
 
More
Great !!
for me it works !! i got my phone back after 3 months of death
but there is small problem ! when i switched it off then turned it on it gets stuck on HTC logo
and i have to do the last few steps again and again to turn the HTC on.

"7. Boot your phone to “BOOTLOADER” (VolDown+Pwr → Pwr).
8. Connect device to computer via USB cable.
9. Boot your device"

is there any way to avoid this ??

Many thanks for you man
Post Reply Subscribe to Thread

Tags
desire s, fried emmc, saga rom, sd rom

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes