Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
View Poll Results: Do you have a Singel Sim or Dual Sim Desire 500?
Single SIim 113 66.47%
Dual Sim 57 33.53%
Voters: 170. You may not vote on this poll

Post Reply

[How to]Root - Install cwm/twrp - Install a custom kernel - Install a custom rom

OP dummie999

4th January 2015, 02:46 PM   |  #61  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: May 2014
Unhappy Please someone help me
http://forum.xda-developers.com/gene...start-t2992993
6th January 2015, 06:56 PM   |  #62  
Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Mar 2012
More
Quote:
Originally Posted by dummie999

After unlocking your bootloader, the installation of ota (over the air) upgrades fails, because it requires a locked bootloader.
Steps to install the upgrade anyway:

Part 1:
First, you need to download the ota. Next, pull the zip to your computer, it should be located in your downloads folder.
Next, open the zip and remove the file firmware.zip, you will need it later. Next, open in the zip the file META-INF/com/google/android/updater-script. There, you need to remove this part:

Code:
ifelse( is_ship_bootloader(getprop("ro.bootloader")) == "t" ,
assert(check_cid(getprop("ro.cid"), "00000000" , "11111111" ,
"22222222" , "33333333" , "44444444" , "55555555" , "66666666" ,
"77777777" , "88888888" , "99999999" , "HTC__001" , "HTC__E11" ,
"HTC__102" , "HTC__032" , "HTC__Y13" , "HTC__M27" , "HTC__A48" ,
"HTC__J15" , "HTC__203" , "HTC__304" , "HTC__N34" , "HTC__405") == "t");
);
ifelse( is_ship_bootloader(getprop("ro.bootloader")) == "t" ,
assert(check_mid("full", "0P3Z11200") == "t");,
assert(check_mid("simple", "0P3Z11200") == "t");
);
assert(getprop("ro.product.device") == "z4u" ||
getprop("ro.build.product") == "z4u");
What you find might slightly different. For example, z4u might be z4dug, if you are on dual sim. But it usually starts at the second line of the file, so it should be to hard to find.
Then, restore the first nandroid back-up you made, because the ota checks if the files on your system partition are modified.
Next, you push the zip back to the sdcard again, and then flash it via your custom recovery.

Part 2:
While you are still in your recovery, make a backup of only your data partition! Don't make a backup of your complete system!
Now, to flash the firmware.zip, you need to lock your bootloader. Because you will have to re-unlock your bootloader after you are done, you will lose all your data again. If you are S-off, then you don't have to relock your bootloader, you can skip this.

How to re-lock your bootloader:
1. In recovery, select: Reboot Bootloader
2. Connect your phone to fastboot
3. Type: fastboot oem lock
That was easy! Your phone, however, might not boot. Don't worry about that, we will fix that later.

Now, type:
Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
This can take a short while.
Next:
Code:
fastboot reboot
You now have flashed the firmware.zip

Congrats, you have the ota installed.
It might be a good idea to keep your modified ota around, you might need it later on.

Now, you can unlock your bootloader again (htc dev, second post), check your hboot version again, install a custom recovery again (make a new backup. Don't throw away your old backup), root your phone again etc.
You can now install The Ultimate Kernel!

Credits go to @ricardo-nl, this post http://forum.xda-developers.com/show...597314&page=45

To do: Make a cool bash/awk script that removes all the assert(), so the updating won't fail if you have deleted some system files.



i do like the instructions but my software number didnt change and nothing happend except i lose my signal and there is no imei for the 2sims so please help me
i lost my phone please help there is no signal
6th January 2015, 07:15 PM   |  #63  
ufonek's Avatar
Senior Member
Flag Dvůr Králové nad Labem
Thanks Meter: 186
 
466 posts
Join Date:Joined: Feb 2014
More
Quote:
Originally Posted by sensation199290

i do like the instructions but my software number didnt change and nothing happend except i lose my signal and there is no imei for the 2sims so please help me
i lost my phone please help there is no signal

Why do not you read first before you destroy your phone? You flash to the phone firmware for singlesim. Search for DUALSIM firmware.
The Following User Says Thank You to ufonek For This Useful Post: [ View ]
6th January 2015, 07:52 PM   |  #64  
Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Mar 2012
More
Quote:
Originally Posted by ufonek

Why do not you read first before you destroy your phone? You flash to the phone firmware for singlesim. Search for DUALSIM firmware.


where i can find dual sim firmware and even if i found it will not replace system file (i mean imei and something like that) or i am wrong?
21st January 2015, 03:06 PM   |  #65  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jan 2015
Unhappy Urgent help needed
[/B]
Quote:
Originally Posted by dummie999

On HTC phones, by default, you can not replace a partition on the phone from your computer. To enable this, your phone has to be Unlocked.
There is a very good video guide about this, made by @Fliwatt:

Unlocking your bootloader will wipe all your data!
Unlocking your bootloader may void your warranty!


It is, however, necessary to root your phone. Currently, there is no other way to unlock the phone or install a custom recovery.

Then in the top bar, click register. Create an account and fill in all your data. You will get an e-mail from HTC and your account will be activated.

Once you are logged in on the site, you need to go to "Unlock bootloader", and then click get started. On the right, you see a dropdown box. Click it, and select "All Other Supported Models", then click "Begin Unlock Bootloader"

Next install fastboot. I'm not gonna hold your hand here, there are 400+ tutorials on installing fastboot, for every OS you can think of. Search for one and install it.
And, if you are on windows, then install HTC sync as well, pretty basic, even a Windows user should be able to do it

Next, on your phone, got to Settings->Battery and scroll down. There, disable the checkbox "fast boot" (not to confuse with fastboot, that's something entirely different).

Once you have done that, shut down your phone, then hold the volume down button, and the power button. This is commonly referred to as "booting into fastboot".
To move around in the fastboot menu, you need the volume keys to go up and down, and the power keys to select an option.

If the options you can choose from are:

then you need to navigate to fastboot, and then hit the powerkey.
The option you can choose from must be:


Then, on your computer, type:

Code:
fastboot oem get_identifier_token
Your output will be something like:
Code:
...
(bootloader)    
(bootloader) < Please cut following message >
(bootloader) <<<< Identifier Token Start >>>>
(bootloader) 2ADE05B9466F0DD398559C7B5A6D636F
(bootloader) 70E8FB65B9523AE73B8A22DDCD0092A2
(bootloader) D52C617B971383374332044C0D04C492
(bootloader) 707A43C4AAEC77A36DDE3060F7665574
(bootloader) 22453BF1F9FDCA6E2118385B96A3C88B
(bootloader) 4FE90D89BC086A9E9B0EA2086456D658
(bootloader) 5831DBA6ADF940D3B0DD0618B745DD18
(bootloader) AE37DC63341E4CBC66A8ACCB494E6AEE
(bootloader) 5982C1432A5C5535836953243D6B8353
(bootloader) 648EFDFD3B5F0C6D47987A0F47BC1A9F
(bootloader) 0ABF9438C059A604832ABB87696CFDD7
(bootloader) 1847D317701DC2C140294FD486109872
(bootloader) 559EE22C73E4F2F9B00AF03FB12A9F9D
(bootloader) 61DFDDD3FAB40CD8537F300078566632
(bootloader) 2142B7EC56E99DD8C4DFB1B819F9F449
(bootloader) 9B2DB0EA3E2FB18C293BD246012909ED
(bootloader) <<<<< Identifier Token End >>>>>
OKAY [  0.076s]
finished. total time: 0.076s
Don't use this code, it won't work. Do it yourself!

Troubleshoot:

Problem: I get
Code:
...
FAILED (status malformed (1 bytes))
finished. total time: 0.000s
Solution: Select the fastboot option with the powerkey.

Copy the relevant part to the HTC dev site, and submit your token. You will (should) get an e-mail that contains your unlock code. Save the attachment (Unlock_code.bin) to a location where you can find it.

Next type:
Code:
fastboot flash unlocktoken Unlock_code.bin
If you are in the same location as your unlock code, of course.

On your phone, you will now see a screen where you have to confirm that you want to unlock your phone, and that it will wipe all your data, and may void your warranty. Use the volume buttons and the power button to choose what you want.

If you selected that you want to unlock your device, then:
Congrats, your bootloader is unlocked

But hold it, before you reboot your phone to confirm that you will have to re-type your very long wifi password, you might as well continue to installing a custom recovery:


So my Problem is after doing all the steps when i attach my mobile to the desktop and open the command prompt and type the above given command it keeps waiting for the device...
and shows the text "Waiting for device". What to do now.. help urgent..... thanks in advance
21st January 2015, 04:59 PM   |  #66  
OP Senior Member
Thanks Meter: 365
 
689 posts
Join Date:Joined: Mar 2014
More
Quote:
Originally Posted by sam20481005

[/B]


So my Problem is after doing all the steps when i attach my mobile to the desktop and open the command prompt and type the above given command it keeps waiting for the device...
and shows the text "Waiting for device". What to do now.. help urgent..... thanks in advance

Are you windows 8(.1)? People report that adb doesn't work under windows 8.1, this is a generic problem, idk a fix, try googling.
Else
- broken cable?
- broken usb port?
What does "adb devices" list?
29th January 2015, 06:52 PM   |  #67  
Senior Member
Thanks Meter: 10
 
271 posts
Join Date:Joined: Sep 2011
I have single sim with hboot 1.02 , after insall TWRP phone shows only "Entering reovery" in blue color and do not get into recovery, is there any solution for this?
31st January 2015, 01:15 PM   |  #68  
OP Senior Member
Thanks Meter: 365
 
689 posts
Join Date:Joined: Mar 2014
More
Quote:
Originally Posted by nsnobel2

I have single sim with hboot 1.02 , after insall TWRP phone shows only "Entering reovery" in blue color and do not get into recovery, is there any solution for this?

Plz give me the exact steps, starting by unlocking the bootloader.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes