[Q] How Can I flash an Official European Rom on my Desire S??? - HTC Desire S

I just got my Desire S couple days ago from Singapore but from what I understand, it has an Indian IMEI and only the Indian English available for setup.
Is it possible to flash one of the European ROMs on the device? My build number is 1.31.720.2

I think its possible if you use a Goldcard (search in the forum about it)
then start flashing the rom

Will look for it and see what I can do
Is this guide too old or would it still work - http://theunlockr.com/2010/03/10/how-to-create-a-goldcard/

Theres also:
http://android.modaco.com/content/h...3/create-a-goldcard-without-adb/#entry1399590
and this:
http://android.modaco.com/content/general-discussion/305672/creating-a-goldcard/
and the easiest of all:
http://android.modaco.com/content/software/308798/pc-application-goldcardtool/

Thanks for the links. So, what exactly do I do after creating the goldcard? How do I downgrade?
MarylandCookie said:
Theres also:
http://android.modaco.com/content/h...3/create-a-goldcard-without-adb/#entry1399590
and this:
http://android.modaco.com/content/general-discussion/305672/creating-a-goldcard/
and the easiest of all:
http://android.modaco.com/content/software/308798/pc-application-goldcardtool/
Click to expand...
Click to collapse

download the rom exe file and plug you phone -goldencard in the phone- in your pc then run the exe file

Or Once you have ran the RUU you will find a PG***.zip file in temp folder, copy that to your SD-Card and boot into bootloader and hopefully it should auto detect it.

ok guys, I will try both ways and update you guys.

I created the gold card but when I try to flash the 1.28.401.1 european rom over the current 1.31.720.2 rom that I have on this phone, I get the following error.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

are you s-off? dont you need to be s-off to do this?

I am not S-OFF and I thought it wasn't necessary to be S-OFF but maybe that is the problem.

Did you put the *.zip from your temporary folder onto your goldcard and booted into hboot?

MarylandCookie said:
Did you put the *.zip from your temporary folder onto your goldcard and booted into hboot?
Click to expand...
Click to collapse
Where is this temporary folder located exactly?

Dodolom said:
Where is this temporary folder located exactly?
Click to expand...
Click to collapse
C:\Users\<username>\AppData\Local\Temp\
There should be folder in there with random numbers and letters and another folder of the same type in there also. Within that you should find a file called ROM.zip Copy that to your goldcard and rename it to PG88DIAG.zip or PG32IMG.zip
Not sure if it will work... fingers crossed

This is all I have in the temp folder and I can't seem to find what I am looking for.

Check the first folder, there should be another folder in that too, within that should be the ROM.zip.
NOTE. Have this window open and run the ruu, when it asks you to connect the phone check the temp folder above a new folder would have been created with long numbers/letters as above and in that there should be a similar folder. Within this folder you will find the ROM.zip. DONT CLOSE THE RUU INSTALLER BEFORE YOU COPY THE ROM.ZIP or it will delete the temp folder!

Just like you said, there is another folder within the first folder but, the folder that is there is empty.

Dodolom said:
I can't seem to find what I am looking for.
Click to expand...
Click to collapse
Switching to Details view in Explorer and sorting the items by date usually works best, just look for the newest folder.
(Also, there's a simple shortcut for the temp folder: %temp%, just use it like this in Start/Run or Explorer).

See, when I chose details, the newest folder is from 2.34pm , my local time, which is the first time I did the goldcard. I just did the goldcard procedure again 20 minutes ago which would make it 6pm my local time but there is no folder created for that. Interesting....
Maybe I should try to make this gold card again.

If the folders empty it means youve closed the installer!
Dont close the installer or it will delete all installation files included the rom.
Besides theres no guarantee that this will work tho?
Try empting your temp folder.

Related

[Q4DEV] Desire HD - where is the hidden partition??

When you take a look at the original ROM file for the ACE device you will see this files below:
- hboot... bla, bla, bla (which is self spelling)
- boot.img (...no comment...)
- recovery.img (...no comment again...)
- system.img (...we all know what's inside)
...a few more files and...
- lib.img (...uhhh??? what's this???)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When you open the lib.img there you can find all the files which belongs to the /system/lib folder.
So far - everything seems to be O.k. BUT now my problem and question.
When I use the PD98IMG.zip to install my device and do a backup with the RECOVERY tool and create .tar files - the /system/lib folder within the backup is empty.
When I do a wipe of my device and erase EVERYTHING on it and I try to restore my backup file this fails. This was driving me nearly crazy until I have found that the /lib folder has his own partition.
First I need to restore the original PD98IMG.zip and after this I'm able to successfully restore my backup.
On the one hand this is a great thing because this will offer more space within the /system partition and this will give the DEV's more options for porting ROM's from and to other devices.
On the other hand - where the hell is the /lib folder or partition or whatever located on the DHD device???
Regards!
I think these files are from the Sense 3.0 leaked ROM for ace rite?
For some reason they've made a separate lib.img & if you want to know how exact & where it is extracted during the installation, unpack boot.img & check init.rc / init.spade.rc..
You'll see few lines in either of the files related to extraction of lib.img..
hope this helps
fshami said:
I think these files are from the Sense 3.0 leaked ROM for ace rite?
For some reason they've made a separate lib.img & if you want to know how exact & where it is extracted during the installation, unpack boot.img & check init.rc / init.spade.rc..
You'll see few lines in either of the files related to extraction of lib.img..
hope this helps
Click to expand...
Click to collapse
Yep m8, this is related to the leaked 3.06 ROM for the ACE.
I guess this might be interesting for some DEV's and this is also a thing which needs to be covered by the guy's who are developing the kernels and ramdisk for the ACE.
Also the 4EXT Recovery should be adjust for the ACE device.
From my point of view this is a good solution to get more space on the /system partition.
The next thing is /data/at folder within the original dzdata.img and the sub folders. This folders will be mounted automatically to the /system partition. Don't know how...
Let me give an example for WhatsApp.apk
The original dzdata.img contains this folder structure:
/data/app
/data/at/app
/data/at/lib
/data/at/plugin
If I store this file within /data/at/app I can use WhatsApp without creating an hard link to the /system/apps folder.
All this things might be interesting for the DEV's.
Just a quick (related) question. How do you unpack dzdata.img?
It might not be a hidden/new partition. Quite the contrary. Notice that with the 3.06, there's a new hboot shipped. I'm theorizing, that it changes the partition layout, chopping up /system into smaller partitions. Now, as we all probably use the eng hboot and a custom update-script for unsigned roms, this doesn't concern us.
Or at least that's my theory. I remember in the sapphire/magic days, the new radio would allot more flash space to /system to fit in SenseUI, while old radio would allot more space to /data.

can not deodexing Rom with xUltima & Android Kitchen, v0.223

Hey together.
(at first: I do not want use a finished custom rom. I am happy as my Rome is now running)
I Would like to deodex my JB Stock Rom to coustomize my self with Mods and other but for almost everything i used a deodexed Rom. I tried xUltima and the Android Kitchen, v0.223 by dsixda and both doesn't work.
On the Android Kitchen, v0.223 by dsixda i can't find my TWRP Backup and i don't know how i convert it or somthig else.
On xUltima i become instantly an Error. When i delete the odex file which caused the error i become instantly a another error.
Here is a Picture from xUltima:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i have no idee how i fix this.
no one an idea?
Make a imitation ROM:
Create a dump.
Download Rhythm Manager's version of file manager.
Now go to / (self explanatory) and copy system.
It'll take a while, but copy it to sdcard.
Now copy the file onto computer. Find a ROM and copy the META_INF.
Make a empty boot.img.
Put the boot.img, system, and meta_inf into a zip folder. THis would be your ROM.
You can take it from there.
mr_verystock said:
Make a imitation ROM:
Create a dump.
Download Rhythm Manager's version of file manager.
Now go to / (self explanatory) and copy system.
It'll take a while, but copy it to sdcard.
Now copy the file onto computer. Find a ROM and copy the META_INF.
Make a empty boot.img.
Put the boot.img, system, and meta_inf into a zip folder. THis would be your ROM.
You can take it from there.
Click to expand...
Click to collapse
okay sounds quite simple but i have some questsions. it does not matter whitch META_INF i use? And how i make a empty boot.img? Can i put the Deodexed file back in the Data und Jar Folder or must i flash it?
Specimann said:
okay sounds quite simple but i have some questsions. 1) it does not matter whitch META_INF i use? 2) And how i make a empty boot.img? Can i put the Deodexed file back in the Data und Jar Folder or must i flash it?
Click to expand...
Click to collapse
1) Yes. Any ROM is okay. Just get it from an actual ROM.
2) Step 1: unhide extension by going explorer.exe --> organize --> Folder and search options --> view --> uncheck Hide extension ... --> click apply to folders--> Apply. Now simply make a .txt file on desktop and rename the extension as img, and the file name make it boot.

Delete

Delete
Thank you very much for sharing
Thanks for sharing. But I can not see any system img files via 7zip without previously repaired. May I use repaired system img files?
You must be doing something wrong. I've tried WWE and Orange PL and both extract without repairing.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks for sharing.
thank u!
Thanx mate later that day ill extraxt System dump an share it with you guys.
Thanks for the DiskInternals thingy
Since i never needed to extract a System.img I never looked for a method but I will remember this. Seems fairly straightforward.
And thanks for the creds.
I will try this one.
Btw, i made a backup with twrp. Ia there any way to get the backed up system.emmc.win file extracted? Renaming it to .tar doesn't work.
What I try to achive is an extracted ROM so I can deodex the apks
DroidShift79 said:
I will try this one.
Btw, i made a backup with twrp. Ia there any way to get the backed up system.emmc.win file extracted? Renaming it to .tar doesn't work.
What I try to achive is an extracted ROM so I can deodex the apks
Click to expand...
Click to collapse
add .tar to the end of each image and under Linux or cygwin use tar -xvf xxxx.tar
Hmm... Hoped there's anything for win 8.1
...setting up cygwin
Edit: @LeeDroid
Nothing happens when doing the command in the cygwin window...
Worked like a charm
I did have to edit the ConvertHima.bat and remove the line set wf=%cd%\ for it to work
but everything else was spot on .. thanks!!
Anyone need the 0PJAIMG_HIMA_UL_L50_SENSE70_ATT_NA_Gen_Unlock_1.32.617.6_R2_Radio_01.01_U11440221_59.04.50303G_2_F_release_426167_signed.zip
System.img or Dump
Worked great I think. I did get an error, and I received this error 4 times for sparse.img, 2,4,6,8. Here is the error: - "1 [main] sparse2img 7912 find_fast_cwd:". It also says "WARNING Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list [email protected]". I wrote cygwin, and got a reply from a Marco stating, "Dear Hal, Same answer as given last month to another guy". Then gave me this link https://cygwin.com/ml/cygwin/2015-05/msg00318.html. Followed by, "Please report the solution to whom provided the ConvertHima.bat". The answer in the link basically says a utility called rsync is being used, and the person who provided it is bundling it with an old version of the cygwin kernel. I did however get a new system_hima.img, and I started ConvertHima.bat. After completion I have what appears to be a complete system image. It's 3.53Gb in size, and has the folders - app, bin customize, etc, fonts, framework, lib, lib64, lost+found, media, priv-app, tts, usr, vendor, xbin, and has the file build.prop. It appears to have all the Deodexed APK's in app and priv-app. This is from the T-Mobile RUU. I'm using Window 8.1.
I'm trying to create a system dump (1.40.708.9)but was stuck at step 2. Where can I download my ROM.zip?
xunus said:
I'm trying to create a system dump (1.40.708.9)but was stuck at step 2. Where can I download my ROM.zip?
Click to expand...
Click to collapse
i think you misunderstand what this is for
flex360 said:
i think you misunderstand what this is for
Click to expand...
Click to collapse
That could be true. Seems like this is to extract M9's rom from an RUU and not from the phone itself.
Mr_Bartek said:
You must be doing something wrong. I've tried WWE and Orange PL and both extract without repairing.
View attachment 3226483
Click to expand...
Click to collapse
Can you send me the file system.img_01 ?
htsang08dqt said:
Can you send me the file system.img_01 ?
Click to expand...
Click to collapse
https://forum.xda-developers.com/one-a9/development/decrypt-ruu-ruu-decryption-script-htc-t3282562
Is there a Linux version of the sparse2img.exe? I am in need of this because I don't have the system.img but I have the system.img_xx chunks from the RUU ZIP.

[NOUGAT]Stock ROM FOR MOTO X STYLE XT1572

This is the stock unroot unmodified version of Moto X style EU (not tested on other regions). It includes the latest NOUGAT Update October 1st 2017. It works as an Android backup with TWRP only!!!
IMPORTANT
Please make a backup before trying it
TO INSTALL
1. Download the zip file: https://drive.google.com/open?id=1mgnOHP_TkgcOk3wm-bwy_vVfli1UaRFT
2. Unzip it and place the folder on your sd at (TWRP/BACKUP/TA39....)
3. Boot to TWRP recovery
4. Make a full Wipe (Dalvik Cache, Cache, Data, Sytem)
5. Select Restore, choose sd as storage and choose the file.
POST BACK RESULTS
https://imgur.com/a/b5sQU
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
View attachment 4359050
i've updatet my device on the the october security update, but after that something went wrong, i was able to make the stock rom back to work with this backup!
many thanks man!!!
Hi, yeah I tried this following your instructions and no matter what when I chose restore in TWRP nothing would show in the SD card. I tried the zip then the folder and then the contents of the folder only and nothing was there. Maybe I am doing something wrong? Is there a specific version of twrp that should be used?
Cheers
Jason
JStain said:
Hi, yeah I tried this following your instructions and no matter what when I chose restore in TWRP nothing would show in the SD card. I tried the zip then the folder and then the contents of the folder only and nothing was there. Maybe I am doing something wrong? Is there a specific version of twrp that should be used?
Cheers
Jason
Click to expand...
Click to collapse
You need to unzip the file on the pc and put the folder inside the folder "TWRP/BACKUP/TA39....(this folder vary from device to device) /"
Be carefully to not rename the backup folder that you downloaded or it will not work because the folder name appear inside the backup files
Husky34 said:
You need to unzip the file on the pc and put the folder inside the folder "TWRP/BACKUP/TA39....(this folder vary from device to device) /"
Be carefully to not rename the backup folder that you downloaded or it will not work because the folder name appear inside the backup files
Click to expand...
Click to collapse
Thanks, tried that, did a backup of my phone using TWRP and then copied the folder into the backup folder created by TWRP. Still when I choose restore no folders show up at all on the SD Card. The version of TWRP is am using is 3.1.1-0. Maybe I should try the latest? My phone is not stock but I don't think that should matter
Cheers
Jason
Husky34 said:
i've updatet my device on the the october security update, but after that something went wrong, i was able to make the stock rom back to work with this backup!
many thanks man!!!
Click to expand...
Click to collapse
Im glad I helped you
Is it ok, to restore this backup to my phone, which I updated to Nought and after that I installed some files (i think to downgrade bluetooth/radio) to be able to flash PureNexus 6.0.1?

My phone is a brick Help I need help

The current state of the phone is S-ON, without flashing TWRP. The phone is already locked. When I want to unlock it, it prompts "oem unlock turn off". At present, my phone cannot enter the system to flash RUU. He also has an error saying that the file is too large. , it seems the partition is corrupted, I have tried many ways to no avail, I need help thank you guys.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Acceptp said:
The current state of the phone is S-ON, without flashing TWRP. The phone is already locked. When I want to unlock it, it prompts "oem unlock turn off". At present, my phone cannot enter the system to flash RUU. He also has an error saying that the file is too large. , it seems the partition is corrupted, I have tried many ways to no avail, I need help thank you guys.View attachment 5705809
Click to expand...
Click to collapse
do following, download this tool HTC-RUU_Decrypt_Tool_3.6.8-WINDOWS64.zip extract it and go to the extracted Folder "HTC-RUU_Decrypt_Tool_3.6.8-WINDOWS64" and open a Terminal in it or open terminal and change to Folder with "cd folderPATH" and then you copy or move the "2PZCIMG.zip" to it and Type in Terminal following command for PowerShell Terminal "./RUU_Decrypt_Tool.exe -f name-of-the-2PZCIMG.zip" or for CMD Terminal "RUU_Decrypt_Tool.exe -f name-of-the-2PZCIMG.zip" and type Enter and let it Finish the Firmware extract. now are a New Folder in the "HTC-RUU_Decrypt_Tool_3.6.8-WINDOWS64" Folder "OUT_2PZC_xxxxx" go into it and open Folder firmware and only copy the "android-info.txt" to Desktop and you can Delete the "OUT_2PZC_xxxx" folder. now you rename the "2PZCIMG.zip" to "rom.zip" and Download this ARUWizard from Here ARUWizard to Flash StockROM with Windows, then you extract the downloaded zip and you see the Folder RUU ,now copy or move the "android-info.txt" from Desktop & "rom.zip" into RUU Folder and then you start Device in Bootloader or Download Mode and start "ARUWizard.exe" and follow the Steps!!! if the Flash Process Fail you must use a newer or the same "2PZCIMG.zip" and do the steps again extract the "android-info.txt" and rename "2PZCIMG" to "rom.zip" and copy it to RUU folder and start "ARUWizard.exe" again. here you find the Files HTC U11 StockROM Files on this Website show the Picture you must click on "View All 117 Files" to see the Full list of Files ,but it work only with "2PZCIMG.zip" they are Signed!!! ps you can not Downgrade your Firmware with this tool or Flash a different branding StockROM, to do this you must Manipulate your device first, and it works with Bootloader Locked or Unlocked!!! After Finish the Steps your back on StockROM

Categories

Resources