[SOLVED] cLK / NativeSD sboot not working - HD2 Android Q&A, Help & Troubleshooting and Genera

I don't think I'm doing anything wrong. Followed these instructions to the letter, at least 6 times now.
The process I've followed:
1. Task29 to wipe phone
2. Installed cLK 1.5.11 with CWM 8
3. Partitioned the SD card (16GB Adata Class 10) using MiniTool in Windows
- 8GB FAT32 primary
- 8GB EXT4 primary
4. Copied ROM zip to SD card (eg. CMTight_leo_beta_v1.0_div3.zip)
5. Copied "flash_sboot_v2.zip" to SD card
6. Rebooted phone, added sboot partition in cLK
7. Booted recovery, and installed ROM
- SD-EXT
- no RMNET
8. Installed "flash_sboot_v2.zip"
9. Rebooted, selected "KERNEL @ sboot [UNDEFINED]"
... and I land up back in recovery, exactly where the installation process left off (step 8).
I have tried various ROM's, all the same result.
"Show Log" from CWM curiously shows:
mtd: erase failure at 0x0002000 (I/O Error)
mtd: erase failure at 0x0002000 (I/O Error)
mtd: skipping write block at 0x00020000
Done!script result was [Done!]
Click to expand...
Click to collapse
I've tried searching for the "UNDEFINED" sboot error, but found a vague reference to startup.txt, but no descriptive fix.
Any help? Please!!

GiZZoR said:
I don't think I'm doing anything wrong. Followed these instructions to the letter, at least 6 times now.
The process I've followed:
1. Task29 to wipe phone
2. Installed cLK 1.5.11 with CWM 8
3. Partitioned the SD card (16GB Adata Class 10) using MiniTool in Windows
- 8GB FAT32 primary
- 8GB EXT4 primary
4. Copied ROM zip to SD card (eg. CMTight_leo_beta_v1.0_div3.zip)
5. Copied "flash_sboot_v2.zip" to SD card
6. Rebooted phone, added sboot partition in cLK
7. Booted recovery, and installed ROM
- SD-EXT
- no RMNET
8. Installed "flash_sboot_v2.zip"
9. Rebooted, selected "KERNEL @ sboot [UNDEFINED]"
... and I land up back in recovery, exactly where the installation process left off (step 8).
I have tried various ROM's, all the same result.
"Show Log" from CWM curiously shows:
I've tried searching for the "UNDEFINED" sboot error, but found a vague reference to startup.txt, but no descriptive fix.
Any help? Please!!
Click to expand...
Click to collapse
In clk recovery, there is
an Option to Partition your sd card. Use this After patition with Mini Partition Tool. Only with Mini Partition Tool it does Not work. Try it and give Feedback.

Fixed!
mr-evil1 said:
In clk recovery, there is
an Option to Partition your sd card. Use this After patition with Mini Partition Tool. Only with Mini Partition Tool it does Not work. Try it and give Feedback.
Click to expand...
Click to collapse
Thanks, Fixed.
I had tried partitioning in cLK, but the same problem persisted.
So, I downloaded and installed cLK without recovery, and installed 4EXT recovery.
Used 4EXT to partition the SD card, 4GB EXT4 and rest FAT32.
Now all works.

mr-evil1 said:
In clk recovery, there is
an Option to Partition your sd card. Use this After patition with Mini Partition Tool. Only with Mini Partition Tool it does Not work. Try it and give Feedback.
Click to expand...
Click to collapse
Thats not correct, I formated my sdcard this weekend, repartition it using Minitoool and I have everything working.
The steps followed are the correct, so I don't see a reason to it doesnt work.
The problem might be the recovery, try one of these and then try to install rom again:
http://www.goo.im/devs/Xylograph/Various/Recoveries/NAND
Those recoverys can be flashed using your recovery, no need to use fastboot commands.
Notice that the 4Ext recovery needs 7mb recovery size in cLK.
Personaly I use TWRP (5mb) and have no problems.
EDIT: GiZZoR You're faster than me! :good:

Just for completeness, my device is partitioned as:
recovery 10mb
system 150mb
cache 10mb
sboot 5mb
Using:
kokotas' LK version 1.5.1.1 (black_lk_20120920-No_Rec.7z)
Xlyograph's 4EXT NAND Recovery

Related

[Q] HD2 & App2SD

Hello everyone,
I've an issue and I am looking for your advise & support. I've bought HTC HD2 512 EU with the following NAND specification:
Android ver: 2.2.1
Baseband ver: 15.42.50.11U_2.15.50.14
Kernel ver: 2.6.32.15-saint.J_Rev.005-g009fade-dirty [email protected] #8
Build no: Desire HD Rev.10.XU
Software no: 1.72.405.3
aMAGLDR V1.13
The Issue: I wanted to install App2SD to be able to install apps in SD Card.. I followed this thread => http://forum.xda-developers.com/showthread.php?t=926015 & followed Darktremor instructions here.. However, When I entered the MAGLDR menu /AD Recovery I found no CWM recovery mode "no boot source".. So what should I do next as Darktremor approach assumed that there is a CWM recovery mode to be able to format, partition and flash the App2SD, while I haven't!.. What should I do to make it work?
Thank you,
unzip attached file.put the folder you get to your sd card.in mgldr menu: services-boot settings-ad sd dir-find the folder and choose it. now you'll go to mgldr menu automatically now take the second choice:ad sd. so you'll go to ad recovery.(by this method you have to do all these steps each time in order to go ad recovery.so it is recommended to flash a recovery using daf and usb flasher.but this will erase your installed android rom.) and in ad recovery menu backup your current rom.because darktremors method doesn't go well with som roms.and know that it leads 2 extra reboots after you flash it.
mutil, thanks for the reply. I did as you mentioned.. got into the CWM successfully but failed to partition the SD correctly. After it said=> "Done..! partition SD successfully!" I got the screen full of errors like=>
E: Can't mount /cache/recovery/log
E: Falid to find "cache" partition to mount at "/cache".
E: Can't open /cache/recovery/last_log
E: Can't find misc
P.S: I choose partition size of 1024mb & swap of 256mb..
Update: I ignored those errors & installed the App2SD & rebooted but didn't notice any change! The available space on the internal storage still 201mb!.. SD card now reads 14gb, previously 15gb..
download a2sdgui from market. move dalvik cache to sd.this gives you some more space.i think a2sd will work for applications you install from now on.therefore i install it just after i installed a new rom.btw 256mb swap is high. you must know that it may harm your sd (but i also use 128mb swap in spite of its risk)
mutil said:
download a2sdgui from market. move dalvik cache to sd.this gives you some more space.i think a2sd will work for applications you install from now on.therefore i install it just after i installed a new rom.btw 256mb swap is high. you must know that it may harm your sd (but i also use 128mb swap in spite of its risk)
Click to expand...
Click to collapse
Done!..
Thank you mutil...
About the swap, do you suggest me to redo the whole process again and limit the swap to maybe 128mb?.. I remember that swap partition is always double the mem size..
What is the max recommended ext partition size for the App2SD? because on the CWM you can make the partition up to 2048mb..
no just for that, it doesn't worth to redo everything.next time when you change rom you arrange it.i dont have much knowledge but the swap is said to harm sd-card.but as my experience it also improves speed.
Ext
If u want to install apps on EXT partition don't use App2SD,or A2ext use Data2ext.
Similar to a2ext, where data/app were stored inside your ext partition of the SD card, data2ext stores the whole /data inside your ext partition.
That means your internal storage will barely be used, and because nowadays some SD cards runs faster than your internal memory.
Instructions:
*This is a CyannogenMod version!Not tested on DHD Roms!
1.Make a Ext3 Partition via CWR
2. Flash data2ext_for_CM via CWR (attached) (DON'T FLASH IT ON THE FIRST BOOT OF ANY ROM!)
3. Go to your terminal emulator/adb shell to type data2ext --enable
4. Reboot
5. Go check your Ext storage via Titanium Backup(Your internal storage [220 mb~] will not be increased you must check the ext space from the Overview page of your Titanium Backup [SD card(a2sd):....mb(...mb free)])!
antonymilo said:
If u want to install apps on EXT partition don't use App2SD,or A2ext use Data2ext.
Similar to a2ext, where data/app were stored inside your ext partition of the SD card, data2ext stores the whole /data inside your ext partition.
That means your internal storage will barely be used, and because nowadays some SD cards runs faster than your internal memory.
Instructions:
*This is a CyannogenMod version!Not tested on DHD Roms!
1.Make a Ext3 Partition via CWR
2. Flash data2ext_for_CM via CWR (attached) (DON'T FLASH IT ON THE FIRST BOOT OF ANY ROM!)
3. Go to your terminal emulator/adb shell to type data2ext --enable
4. Reboot
5. Go check your Ext storage via Titanium Backup(Your internal storage [220 mb~] will not be increased you must check the ext space from the Overview page of your Titanium Backup [SD card(a2sd):....mb(...mb free)])!
Click to expand...
Click to collapse
mmmm, will give it a try
Does it has a GUI?

Need help booting 'Imilka Gingerbread 0.8'

Hey,
I need help with Imilka Gingerbread 0.8, as I don't have 10 posts yet I can't reply in that thread so I have to start a new thread (which is actually .. pretty odd).
I have an EU HTC HD2 and I'm trying to install NAND + CWR, it is my fourth ROM Im using, first NAND, all SDbased androids did work immediatly
Flashed original HTC HD2 ROM
Reformatted SD card FAT32
Used Task 29
Installed radio 2.15.50.14
Installed HSPL 2.08
Installed MAGLDR1.13
Flashed it according to advice 5/170/44 layout
Did every wipe at AD Recovery
Partitioned my 32gb SDcard 1024mb with 0 swap
Installed zip from SDcard
Rebooted
Waiting for about 2 hours at the black screen with green HTC, post says: First boot can take up to 10-20 minutes.
EU users need 5/180/5 CWR system partition and ext2/3/4 partition on sdcard.
TMOUS users need 5/360/5 or more CWR system partition.
ext2/3/4 partition will be made @ AD Recovery partition SD card ?
If not, how can I make this partition, without linux and stuff. Just windows 7.
Or am I doing it in the wrong order?
Just did it all over again
This time with 5/180/5 layout and made ext3 partition using easeus on windows using instead of clockwork thingy.
nope, still doesn't go past the black screen + green HTC
booting for an hour now, nothing
Think I found the problem.
Updated AD recovery to 5.0.2.3 orsomething there was an option show log
and it said creation of EXT2 partition was aborted, so now I put the SD in my card reader and manually formated it ext2. retrying now
Nope, nothing
I can manually mount everything but SD-EXT
show log::
mount: mounting /dev/block/mmcblk0p2 on /sd-ext
failed: invalid argument

Can I repartition NAND without Windows (Linux or SD tools only)

What I have:
MGLDR 1.13
CWM - 5.0.2.6
Ubuntu working
What I want:
To enlarge my system part from 155 to 200 MB
What I tried:
HD2 NAND toolkit under wine - woll not work cos USB drivers cant be installed ( Or I dont know how. Emulation starts OK)
ClockWorkMod SD version:
I tired:
For MAGLDR up to 1.13, booting from SDCard (SD-files version):
Download the file attached
Extract the files to the root directory of your sdcard
Start recovery within MAGLDR with menu point "AD SD"
Recovery should start
You're done
Click to expand...
Click to collapse
but all I got is
SD kernel open failed
Click to expand...
Click to collapse
SD card is 8GB, class 4 (I suppose). Cant swear how exactly it was formatted, used gparted default options.
Any help appreciated
This probably isn't the answer you were looking for, but cLK 1.5 supports repartitioning on the device. It can also be installed via sd card. It's aim (amongst other things) is to completely remove the need of a PC, in case you have a broken USB port.
cLK thread : http://forum.xda-developers.com/showthread.php?t=1114053&page=96
The only thing that is holding me back from clk is the rmnet issue. I will probably find a pc and do the re-part that way, or try with a smaller, freshly formatted 2 gb SD card.
will report if I succeed with the SD mgldr method.
Sent from my HTC Desire HD using xda premium
MAGLDR + Recovery
When you are flashing the recovery (after flashing the MAGLDR), there is a flash.cfg file (text-file), which configures the partitioning. You can simply change the corresponding values before flashing.
Celestion said:
When you are flashing the recovery (after flashing the MAGLDR), there is a flash.cfg file (text-file), which configures the partitioning. You can simply change the corresponding values before flashing.
Click to expand...
Click to collapse
I know that. The problem is that the kernel, which should boot the install procedure of CWM( and the process of re-partitioning) never actuall starts...

ClockWorkMod failure.

Hello XDA forum,
I recently received my dad's 'old' HD2, and I wanted to get rid of the WM6.5. In the past I've been playing around with some other Android devices, and those were pretty straight forward.
Now, after reading a few guides I tried installing the PARANOID Android ROM through CWM. (I have HSPL 2.08, MAGLDR, CWM etcetera. (I also did a Team29 wipe)) But now I face a problem; When I try to install the .zip file, it prompts me with the following lines:
__________________________
--Installing:/sdcard/PARANOIDANDROID HD2 [v1.5a].zip
Finding update package...
Opening update package...
Installing update...
Installation aborted.
__________________________
I have tried every single way of mounting the SDcard and writing the .zip file to it over and over again, but all it does give the same error over and over. (MAGLDR USB Storage, CWM Mounting, Mounting in card reader and so forth.)
Now my question is; Am I doing something horribly wrong?
First of all, once you do a "Team29" wipe, you'd have to reinstall MAGLDR and then CWM.
It's "Task29", and you don't have to do it every time you want to install a ROM.
Now, what Radio are you on? And what is your CWM version? And can you open the ROM.zip on your PC without errors?
Marvlesz said:
First of all, once you do a "Team29" wipe, you'd have to reinstall MAGLDR and then CWM.
It's "Task29", and you don't have to do it every time you want to install a ROM.
Now, what Radio are you on? And what is your CWM version? And can you open the ROM.zip on your PC without errors?
Click to expand...
Click to collapse
Oh ofcourse. I meant Task29. Also, I did reinstall MAGLDR and CWM. The CWM version is v5.0.2.6 and my radio is Leo_RADIO_2.15.50.14.
When I open the zip on the PC, everything is just fine.
SiemHermans said:
Oh ofcourse. I meant Task29. Also, I did reinstall MAGLDR and CWM. The CWM version is v5.0.2.6 and my radio is Leo_RADIO_2.15.50.14.
When I open the zip on the PC, everything is just fine.
Click to expand...
Click to collapse
What partition size did you flash?
Nigeldg said:
What partition size did you flash?
Click to expand...
Click to collapse
Well, I wasn't sure what to take for that, so I took the default for the Cache(45MB I believe that is in the HD2Toolkit, and for the Partition size I took 200MB)
Also, I tried several SD cards, all giving me the same errors. I also tried to install a Tytung kernel .zip file which gives the exact same error.
After a failed install, select the advanced > report error option in cwm. Then mount your SD card as USB mass storage, get the log from /clockworkmod and post it here.
Swyped from my HTC HD2 using XDA app
SiemHermans said:
Well, I wasn't sure what to take for that, so I took the default for the Cache(45MB I believe that is in the HD2Toolkit, and for the Partition size I took 200MB)
Also, I tried several SD cards, all giving me the same errors. I also tried to install a Tytung kernel .zip file which gives the exact same error.
Click to expand...
Click to collapse
As I know PARANOIDANDROID HD2 v1.5b, it has 2Mb cache and 150Mb system partition.
For installation follow this, (your sdcard must have clean ext partition or you can create it via recovery mod. And you have to have 2.08.HSPL)
1. do Task29
2. install Radio ROM 2.15.50.14
3. Install Magldr 1.13 (via HD2 Toolkit Magldr button)
4. Install Recovery CWM (2Mb system cache, 150 Mb system Partition, via HD2 Toolkit Recovery Button)
5. Clear cache/Dalvick cache (on recovery mode your HTC)
6. Load your android .zip file in sdcard via Recovery mod.
Please read this..(PARANOIDANDROID HD2 v1.5b Rom)
http://forum.xda-developers.com/showthread.php?t=1662881
it says,
..
Partition table :
Code:
misc ya 1M
boot yboot|ro 5M
system ya 150M
cache ya 2M
userdata ya|asize|hr allsize
powerofthink said:
(your sdcard must have clean ext partition or you can create it via recovery mod.
Click to expand...
Click to collapse
not necessary

Doubt with native SD ROM

Hi there,
I successfully flashed an Android 4.2.1 Native SD ROM on the HD2's NAND (TimeJelly). This is the procedure I followed (coming from a complete erase of the phone's NAND, as the result of a failed previous attempt, lol):
Flashed HSPL 2.08
Flashed Radio compatible with 576 MB of ram (12.xx.50.xx if I recall correctly)
Flashed MAGDLR 1.13
Flashed CWM 6.0
Flashed the ROM from CWM by choosing zip from sd card.
And everything is good and working. But, I used one friend's SD to flash (since I still don't have one)... Now, I'd like to swap out the SD I used to flash (I understand it did automatically create an Ext4 partition on it?) and use the one I'll buy tomorrow.
What do I have to do? Without the SD the phone will just refuse to boot, stucking at the green HTC logo. Do I just have to partition the new SD from CWM? Do I have to flash everything again? (Jeeeeez).
I understand the EXT4 partition would be used only for the data, since it is stated Data2Ext in the ROM's title. ROM is in the NAND with DATA2EXT (the exact option I chose during installation, second one).
Any help will be GREATLY appreciated
4l3xXx said:
Hi there,
I successfully flashed an Android 4.2.1 Native SD ROM on the HD2's NAND (TimeJelly). This is the procedure I followed (coming from a complete erase of the phone's NAND, as the result of a failed previous attempt, lol):
Flashed HSPL 2.08
Flashed Radio compatible with 576 MB of ram (12.xx.50.xx if I recall correctly)
Flashed MAGDLR 1.13
Flashed CWM 6.0
Flashed the ROM from CWM by choosing zip from sd card.
And everything is good and working. But, I used one friend's SD to flash (since I still don't have one)... Now, I'd like to swap out the SD I used to flash (I understand it did automatically create an Ext4 partition on it?) and use the one I'll buy tomorrow.
What do I have to do? Without the SD the phone will just refuse to boot, stucking at the green HTC logo. Do I just have to partition the new SD from CWM? Do I have to flash everything again? (Jeeeeez).
I understand the EXT4 partition would be used only for the data, since it is stated Data2Ext in the ROM's title. ROM is in the NAND with DATA2EXT (the exact option I chose during installation, second one).
Any help will be GREATLY appreciated
Click to expand...
Click to collapse
If I understand correctly you want to move your sd content/installation to a new card, yes?
Go to the sd card thread in my signature and read post # 2. Specifically the part about backing up and restoring an sd card image.
---
If you choke a smurf, what color does it turn? (via Tapatalk)
NYLimited said:
If I understand correctly you want to move your sd content/installation to a new card, yes?
Go to the sd card thread in my signature and read post # 2. Specifically the part about backing up and restoring an sd card image.
---
If you choke a smurf, what color does it turn? (via Tapatalk)
Click to expand...
Click to collapse
Nono, I just installed a native sd ROM on the phone's NAND, and now it will simply not boot without an EXT4 formatted SD (because the /data partition is there, not on the NAND).
I repartitioned the SD from CWM this morning choosing 2 GB of EXT partition, and 2 GB of FAT32 partition, and everything is working. But, there's another problem. Whenever I reboot the phone, it will simply lose EVERY single setting, and it prompts me again to choose the language, google accounts ecc...
Any help?
4l3xXx said:
Nono, I just installed a native sd ROM on the phone's NAND,
Click to expand...
Click to collapse
no you didnt, , a nativeSD rom lives in the EXT partition, If you installed a rom to nand, then its a nand rom. If you install it to teh FAT partition, its an SD rom, if you install it to the sd-ext, its a nativeSD rom.
I understand it did automatically create an Ext4 partition on it?
Click to expand...
Click to collapse
no, you must create the ext partitions yourself.
Sounds to me like you have a nand rom, which is also using dataonext, , meaning teh rom lives on Nand, and the data partition is mounted onto the sd-ext, , in which case.....
into CWM - full backup
new sd card into phone
into cwm - create ext partition on new sd card
in cwm - selectively restore ONLY the sd-ext partition (you will need to have coppied over the fat32/clockwork/backups folder from the old card to teh new card)
reboot.
samsamuel said:
into CWM - full backup
new sd card into phone
into cwm - create ext partition on new sd card
in cwm - selectively restore ONLY the sd-ext partition (you will need to have coppied over the fat32/clockwork/backups folder from the old card to teh new card)
reboot.
Click to expand...
Click to collapse
The SD card image backup would, essentially, duplicate a card in entirety, all partitions included.
---
If you choke a smurf, what color does it turn? (via Tapatalk)
NYLimited said:
The SD card image backup would, essentially, duplicate a card in entirety, all partitions included.
Click to expand...
Click to collapse
i didn't say anything about an sd card backup, i said do a full cwm backup, which includes the system, data, boot and sd ext partitions, and not the fat32 partition, and then restore only the sdext partition to the new card (after of course creating teh new ext partition on teh new card)
edit

Categories

Resources