These steps will guide you to install UTA on extended rom to survive hard resets.
The principle is to disable security warning in OS so that UTA will be installed from ext rom after hard reset.
This procedure is tested and working on HTC Touch (elf) (128/256) but should work on other htc devices also.
Follow these steps at your own risk.
STEPS:
1) Build your own customized UTA.cab (let us name it CUTA)
2) Get the official version of ROM on the net/extract ROM from your device.
3) Extract .nbh images from ROM
4) Inject CUTA to EXT_ROM
5) Add the OEM folder (disable microsoft security warning) to OS_NB and rebuild OS
6) Rebuild ROM with above changes (let us name it CRUU_sighned.nbh)
7) Flash device with CRUU_sighned.nbh
It is a complicated processes but easily done if all the steps are followed carefully.
Step 1: Build CUTA:
-install UTA on device
-register it
-add all your SIMs and the numbers to send sms to.
-Save and Exit
-copy the relevant files to desktop
-use
WinCe Cab Manager to build your customized UTA (name this CUTA.cab)
-Make sure to uncheck the option "Allow user to uninstall this Application"
-Uninstall UTA on your device.
-Install CUTA.cab and confirm it is working perfectly by changing sim card.
-make sure UTA is not listed in Remove Programmes
ALL this is very important if you want UTA to work perfectly after hard reset.
Step 2: Get official ROM/extract rom from your device :
Link for Htc Touch ROMs:
Blue Elfin Rom)
ROM can be extracted from your device using
HYPERCORE kitchen
Step 3: Extract .nbh images from ROM
-download
NBHextract Tool
-use NBHExtract to extract .nbh files from RUU_SIGNED.nbh
-you will get 6 files out of which we want to modify: 05_OS.nb and 03_ExtROM.nb
Step 4: Inject CUTA to EXT_ROM
-Download
WinImage
-open 03_ExtROM.nb in win-image
You will see few .cab files and one config.txt file
- inject CUTA
-open config.txt and add this line before "LOCK: Disabled"
CAB \Extended ROM\CUTA.CAB
Step 5: Add the OEM folder (disable Microsoft security warning) to OS_NB and rebuild OS :
HTC TOUCH device:
Replace 05_OS.NB with this
05_OS.NB ( I have added the OEM folder to disable security warning to this OS.nb... no other changes are made.)
NON HTC TOUCH devices: after extracting ROM by HYPERCORE kitchen add this OEM folder. (Detailed instructions are in read me file) and rebuild OS_NB
(Security_off.zip file uploaded in next post)
STEP 6: Rebuild ROM with above changes (let us name it CRUU_sighned.nbh)
Download Dark Simpsons
ROM Tool
And build your customized ROM using the new modified 05_OS.nb and 03_ExtROM.nb
Make sure to select your device from the drop down box (HTC TOUCH users should select Elf)
Rename version to 1.00.000.C (for your convenience)
STEP 7: flash device with CRUU_sighned.nbh:
Download:
Elf_USPL
Run ELF_USPL and follow on screen instructions and complete all the three steps.
This will downgrade the SPL
-open the RUU folder, delete Elf_USPL_V1 and paste CRUU_SIGNED.nbh
-After the device has rebooted and synchronized run the RUUUpdate utility (in the RUU folder) and flash the device with your own ROM (version 1.00.000.C)
When flashing is successful
-confirm that the UTA Files are in place.
-soft reset device and confirm you get the beep of UTA working in background
-best is to remove your own sim, hard reset the device and insert a nonlisted sim and confirm that UTA is sending proper sms.
THAT's it ...you have successfully customized UTA to survive Hard resets