Related
Hi all!
I've been tinkering with rom changes recently,
and I find it a bit fraustraring to restore all my apps semi-manually
(using titanium backup),
I noticed titanium has the option to create a "update.zip" file
but it's discribed as an option to install titanium itself,
I know there is a manual way to make a directory tree and place the right files in the right places and all, but I'm not a progremmer, I have no idea what files go where in android (I barely have a clue where they go in ms-windows).
Is there an automated way to batch up all my apps with their data into one file?
It would be possible I'm guessing, however its not as simple as putting the folder structure / apps in a zip. You have to write a updater-script so that CWM can install the files.
This tutorial should help you out, and explains the commands that can be used.
http://forum.xda-developers.com/showthread.php?t=994940
Hey guys,
i wrote a small tutorial for all this people which have the galaxy s i9010 ( its like the captivate only for german market [armani] ) and want install Cyanogenmod with 100% WORKING GPS.
That was really the main problem, but i solved it with the help of this forum.
please extract all my files, i had to compress them but you cant use them as zip!
First of all go back to stock with your phone. You can download all files from http://www.sammobile.com/showthread.php?t=20 but pay attention:
If you dont use the following files, your phone wont work.
Donwload BOTH Firmwares and choose these 3 files for flashing with Odin:
-GT-I9010-CSC-MULTI-OXA902407.tar.md5 (444,851 mb) --> CSC
-I9010XXKB2-REV00-ALL-low-CL909299.tar.md5 (279,501 mb) --> PDA
-MODEM_I9010XXJK9_REV_00_CL737172_SIGNED.tar.md5 (12,291 mb)--> PHONE
Now you are on stock and everything is working fine but you have Android 2.2
Download the latest Cyanogenmod for Samsung CAPTIVATE on http://www.cyanogenmod.com/
- extract all files into a new folder
- replace the existing modem.bin with the JK9-Armani-modem (same name Modem.bin)
- open with notepad and edit the file META-INF/com/google/android/updater-script
- change all entries “SGH-I896” to GT-I9010 [found this solution here] http://forum.xda-developers.com/showpost.php?p=15822109&postcount=67
- save the file and compress via 7-zip to a new zip-file ( mark all files and folders --> right-click --> 7-Zip --> add to XXX.zip
- put this new zip-file into your sdcard
- Now root your phone via "onecklickroot" ( enable USB-debug and dont forget restart after that) http://forum.xda-developers.com/showthread.php?t=803682
- replace this 3e_recovery file with the existing in System/Bin
- install Rom-manager and install clockworkmod (choose samsung captivate)
- reboot into recovery menu and press 2 times "reinstall packages", after that you start into the clockworkmod
- choose install zip from sd and choose your created zip-file
- copy stock gps files to your internal sd
- start root-explorer and copy all files (the folder gpsd to system/bin
the both files to system/etc)
-reboot phone
OPTIONALLY
you can install "gapps", if you need apps like google-market. You do it same like installing Cyanogenmod, reboot into recovery, install from sd etc.http://goo-inside.me/gapps/
you can use the really nice HTC-keyboard, just put the two keyboard files on your sd card, install them and choose settings/language and keyboard HTC_IME
to activate the keyboard go to sms and press a long time into the text field, now you can choose your input method
Have fun and enjoy your galaxy s I9010 with Android-Version 2.3.7
previously it was very difficult to flash I9010, this post was like real itinerary for me. ThankY!
Though even here i've made a mistake
At the 1st step while flashing with Odin DONT MARK Re-Partition as there is no Pit
No Problem , i know this phone is really difficult to flash back to stock or flash a rom with working GPS
I forgot to upload the PIT, if you need it take it from here.
Greetz from Germany
something seems to be going wrong..
it keeps telling it is updating but it doesnt proceed anymore.
Maybe this is because i cant go back to the original stock rom coz the link is broken (and i dont fully understand th explaination with the 3 files and what to do.
I have a stable andromeda 3 build running but my gps isnt working.
I already copied the gps files into their destination folders(and it asked me to replace so i did this properly).
Should my gps work when i did this or should i take additional steps to get it running?
Thanks in advance
seems like i only miss the 'phone' file , the rest i found via google on the samware site , only the phone file (and the pit , but that one is here already) i still dont have , anyone can help?
Hey yoshiwa,
you need to download all files you can get for samsung i9010 on the samfirmware site. After downloading and extracting you have 5 files, but you only need the three i posted. Its really recommend that you flash back to stock before flashing a new rom.
armani26 said:
Hey yoshiwa,
you need to download all files you can get for samsung i9010 on the samfirmware site. After downloading and extracting you have 5 files, but you only need the three i posted. Its really recommend that you flash back to stock before flashing a new rom.
Click to expand...
Click to collapse
We could install gingerbread bootloader to our I9010 to install custom GB roms?
- replace this 3e_recovery file with the existing in System/Bin
Click to expand...
Click to collapse
Sorry this is the only thing i did not understand?
yoshiwa said:
something seems to be going wrong..
it keeps telling it is updating but it doesnt proceed anymore.
I have the same problem.
Click to expand...
Click to collapse
@MikeFRG
in your folder System/Bin exist a file named recovery. You must overwrite it via root-explorer with the new recovery-file (the modded 3e_recovery file )
@ erycx and szika87
you dont need any bootloaders, just download Odin put in the right fields the right files. You need phone, CSC, PDA, and the small pit file... and it works
Thanks man! It really does work for me. CM7 & CM9
Thank you. It work for my 9010 ARMANI. First I've installed th CM7 and used it for a month without any trouble. Now I used your manual to do the same with CM9. Really cool. It seems to be ok.
Hello.
I flashed a I897 Stock GB ROM on my Armani and my phone modem is not working anymore.
Can you please help?
bbogdanmircea said:
Hello.
I flashed a I897 Stock GB ROM on my Armani and my phone modem is not working anymore.
Can you please help?
Click to expand...
Click to collapse
The whole instructions are in the OP, read it, understand it and follow it.
Thanks, now I am back on I9010 stock.
Can you confirm that all the file links that you posted are working?
I will try and download all files and follow the steps.
Now after going through I897 without phone modem, then bootloop, the back to Armani I can say that I got some experience with Odin and
flashing.
Anyhow do you have any idea why on ROOTED 2.2 ROM Manager will not flash the Clockwork even if it says that it is successfull?
Well now with stock 2.2 and factory reset and everything wipe the phone seems to be moving really fast compared to before I started the whole process.
What can you say about the Cyanoged, how is it working in terms of speed and lagfix?
Thanks!
Will get back.
PS: Now that I looked into the OP I saw that still a Clockwork in needed for installing Cyanogen, but I cannot install Clockwork so I cannot follow your instructions.
Is there any other way to install custom recovery except the ROM Manager application?
bbogdanmircea said:
Thanks, now I am back on I9010 stock.
Can you confirm that all the file links that you posted are working?
I will try and download all files and follow the steps.
Now after going through I897 without phone modem, then bootloop, the back to Armani I can say that I got some experience with Odin and
flashing.
Anyhow do you have any idea why on ROOTED 2.2 ROM Manager will not flash the Clockwork even if it says that it is successfull?
Well now with stock 2.2 and factory reset and everything wipe the phone seems to be moving really fast compared to before I started the whole process.
What can you say about the Cyanoged, how is it working in terms of speed and lagfix?
Thanks!
Will get back.
PS: Now that I looked into the OP I saw that still a Clockwork in needed for installing Cyanogen, but I cannot install Clockwork so I cannot follow your instructions.
Is there any other way to install custom recovery except the ROM Manager application?
Click to expand...
Click to collapse
ROM Manager doesn't support the Captivate. You'll need to flash a custom kernel using Odin (speedmod for 2.2). The only thing I dunno is if it's compatible with the I9010.. But before doing so, you wanna do all the other steps with CM (changing the updater.script and such) and have it on the root of your internal.
After flashing speedmod, you'll be booting directly in recovery to flash the modded CM. Don't forget to grab the Gapps.
It would be really great if you:
1.put link to speedmod kernel and how to flash it on stock 2.2
2.put a link to the modified zip CM archive for I9010
The guide on how to do it.
For now I will wait for these files and a complete guide, I don't want to mess my I9010 again.
I got last CM and tried to modify updater.script, I replaced I896 with I9010, then I observed
I897 also. Should also I897 be replaced to I9010.
Wouldn't it be better if you could post all the modified files that needed to be put into the zip,
or the full zip for the Armani?
Thank you and waiting for the files and steps if you would be so generous.
bbogdanmircea said:
It would be really great if you:
1.put link to speedmod kernel and how to flash it on stock 2.2
2.put a link to the modified zip CM archive for I9010
The guide on how to do it.
For now I will wait for these files and a complete guide, I don't want to mess my I9010 again.
I got last CM and tried to modify updater.script, I replaced I896 with I9010, then I observed
I897 also. Should also I897 be replaced to I9010.
Wouldn't it be better if you could post all the modified files that needed to be put into the zip,
or the full zip for the Armani?
Thank you and waiting for the files and steps if you would be so generous.
Click to expand...
Click to collapse
I don't have a I9010 so Idk much about it. I'm only using the search function (as you should) to find the information I provided you with.
No, I don't have time to get the CM10 zip and change all the script but it's really easy to do. Just search all the SGH-I896 and SGH-I897 and replace them with SGH-I9010. Easy enough.
Speedmod kernel can be found using the search function in the Dev section.. Get the .tar version of it as you will be flashing it with Odin.
As for CM, the whole instructions are already in the OP, if you want a link, I'll just link the OP...
Friendly advice: Go read and understand what you're doing otherwise you'll end up with a bricked phone.
Ok so I will ask more questions until I get it right:
- replace this 3e_recovery file with the existing in System/Bin
- install Rom-manager and install clockworkmod (choose samsung captivate)
- reboot into recovery menu and press 2 times "reinstall packages", after that you start into the clockworkmod
Will these steps work if I dont install the speedmod kernel? Are these steps going to get me the clockwork recovery?
Can I pack the files also with Total Commander zip utility, or I have to use 7zip?
I downloaded cm-10.0.0-captivatemtd
I modified the updater script, I will post it here, can you check that this is ok:
Hello.
Back with a feedback about your instructions and a problem that I had:
I did the following steps:
1.I downloaded latest cm10 and decompressed to a folder
2.I copied the modem.bin that you provided and the updater.script that I posted earlier and then compressed back with 7zip, copied the zip to
my sdcard
3.I copied the recovery file on System/bin with Root_explorer
4.I installed ROM Manager and flashed Clockwork
5.I rebooted 2 times and did reinstall packages, then after that I got to the clockwork recovery
6.I selected install sdcard from zip and selected the image that I modified
The install then started but it halted to an error related to update.zip, it kept showing an option that said to select update.zip,
or some other options, something with adb and so on...
I kept on selecting the cm.zip but it kept on showing the error with update.zip, I selected update.zip but still it showed off the error.
From what I saw on the screen, the error was related to what it is checked in the updater.script, cm is looking for GT-i9010 but in
update.zip you have only captivatemd or something like that...
Are you sure there is no need of an modified update.zip archive on my sdcard too???
After this I got the battery out, put in on Download mode and flashed back to the Armani firmware, now it is back and running,
but I am so sad that I couldn't install CM10.
If you have any ideas why it didn't work please get back with some info, also can you check the updater.script that I posted or better that this,
can you post a modified working cm archive for Armani ???
Thanks a lot!
Some simple (I hope) questions. Let's say I do a full CWM backup and copy the complete backup directory to my desktop. If I now want to change something inside this backup can I simply change the relevant .tar.a file(s), write their new checksums into nandroid.md5, copy everything back to the sd card and expect the whole thing to work?
No 2: I have just let the HD+ update itself to cm-10.1.3-ovation (final) and all went swimmingly. However, I saw that the update is not done incrementally, instead the whole zip is downloaded and the /system tree simply overwritten with its contents. I had put some bits and pieces into /system/app and /system/bin and modified a few files inside of /system, all of which changes were of course gone. So a better update strategy might be to download any new version from the CM website to a desktop machine, patch the .zip file there and then have CWM install it. Can CWM install such an update file like any other .zip or is the update.zip route the correct way?
Or perhaps the best way to update in such a scenario is to download the .zip, sync it with an existing CWM backup (as in the first question) and restore the backup?!
If you get the md5 sum right editing the tar should work.
You can edit the downloaded zip before you flash it and it will still install. But editing after install is about the same amount of work.
What I used to do on the Nook Color was to modify the gapps zip to add the /system changes I wanted and then reflashed the gapps every time I flashed a new ROM. That way gapps were refreshed and the new changes were inserted in /system. Or, you could make your own zip to flash only your changes. The easiest way to make one is to edit the gapps zip to put your changes in and then delete the gapps files from the zip.
Do these zip changes with archive software without totally unzipping and rezipping.
Edit: Since some of my changes were modifications to build.prop, I developed a script to edit the new ROM's build.prop on the fly as part of the zip. That way build date, etc stayed right. If you want, I can use PM to send you a copy of my old edited gapps for you to study. However, since you are on CM10.1 stable, you will probably not be updating again.
Sent from my Nook HD+ running CM10.1 on emmc.
> If you get the md5 sum right editing the tar should work.
Okay, thanks for the confirmation.
> You can edit the downloaded zip before you flash it and it will still install.
But how do I trigger that install, once in CWM? That was my 2nd question.
> But editing after install is about the same amount of work.
Not in my case as I have a) no MTP and b) can easily auto-sync huge directory trees with a powerful command line tool.
I think the best way forward is to ignore the installing of new install .zips via CWM, however this is done. Instead I'll produce a nandroid-compatible backup directory and "restore" that.
Thanks again for your help.
TooMuchSloeGin said:
> If you get the md5 sum right editing the tar should work.
Okay, thanks for the confirmation.
> You can edit the downloaded zip before you flash it and it will still install.
But how do I trigger that install, once in CWM? That was my 2nd question.
> But editing after install is about the same amount of work.
Not in my case as I have a) no MTP and b) can easily auto-sync huge directory trees with a powerful command line tool.
I think the best way forward is to ignore the installing of new install .zips via CWM, however this is done. Instead I'll produce a nandroid-compatible backup directory and "restore" that.
Thanks again for your help.
Click to expand...
Click to collapse
You don't trigger it, you manually boot to CWM and manually install it. Go to install zip from SD and choose where you put it.
And by editing after install, I meant editing /system once it is installed on the Nook.
Sent from my Nook HD+ running CM10.1 on emmc.
I've got a phone that may or may not be totally frakked due to careless build.prop modding and have been asked to try and recover it without wiping, OS flashing, or any other methods that could potentially lead to a wipe. ADB is a no-go, but I've got CWM access. I've never needed to make a CWM-flashable *.zip before, so I never learned how. I'm crunched for time and could really just use a break. Could somebody please put this build.prop into a CWM-flashable *.zip for me?
i new user, how i can upload my build prop
I would be extremely grateful!
Thanks in advance!
i must get 10 post.. jeez..
Hi, try to use Aroma File Manager. With it you can copy your new build.prop to the appropriate location.
To use the file manager, simply download it to your computer, copy it onto your phone through recovery and then when you are in recovery go for flash zip and choose the file you downloaded.
[Q&A] [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio In
Q&A for [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio Included
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio Included. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Can' t Flash
Every time I try to flash the Optus AU reset onto my VODAPHONE AU M7, it either gets stuck at 10% if i do it with a full wipe, or 0% if I don't. Also, it never passes and MD5 verification, after multiple separate downloads.
Anyone know what to do?
Thanks.
TWRP back up of stock rom and stock recovery OTA 6.11.980.12
Crushalot
I have a TWRP backup of stock rom from OTA 6.11.980.12 (Optus Australia) if you are interested I can pm the link to you along with the stock recovery that came with that OTA, for you to make (when you have time ect) an aroma reset tool for Optus Aussie users that is current and only just pre Android L release for sense roms.
Let me know if that would help
Australian Optus Firmware & Nand of stock rom Rom
Crushalot
In case the mood takes you, and you one day feel like making an easy aroma reset for Optus Aussie users that will reset HTC m7-ul PNO7400 devices back to a (only just) pre Android L update, here is a TWRP back up of stock rom (ota 6.11.980.12) Optus Australia as, well as the Optus Aussie OTA 6.11.980.12 (contains stock recovery) 2x OTA links originally posted by deevan
TWRP Nand of stock rom Android 4.4.3, from ota 6.11.980.12 (Australia Optus)
mega.co.nz/#!BhBXBaBT!Fjsg4FNe3AzUCR-aTdiNOwM71zx6-zzKkVbuY-rZqWk
GREAT work BTW! I used your tool to successfully return my device to stock (for the purposes of updating my firmware) worked like a charm!!
firmware.6.11.980.10.zip 43.1 MB (by deeevan)
mega.co.nz/#!QlIjzZoA!R18LEGCFJ85YV91rgiViohqw-QCzXO4fVEVm9h4ab68
firmware.6.11.980.12.zip 19.1 MB (By deeevan)
mega.co.nz/#!N4oS3aSZ!z2aM04WPtN2p1d9cWnmwkBi6UY_sNCbDB0ZBDAe 2RMY
Im still under 10 posts so I cant post full links.
This may help ppl go back to stock in time for the Android L OTA push!
GREAT work BTW! I used your tool to successfully return my device to stock (for the purposes of updating my firmware) worked like a charm!!
Joeisgood99 said:
Crushalot
I have a TWRP backup of stock rom from OTA 6.11.980.12 (Optus Australia) if you are interested I can pm the link to you along with the stock recovery that came with that OTA, for you to make (when you have time ect) an aroma reset tool for Optus Aussie users that is current and only just pre Android L release for sense roms.
Let me know if that would help
Click to expand...
Click to collapse
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
yatindroid said:
Install ubuntu open ubuntu
Extract backup file in ubuntu
Click to expand...
Click to collapse
If you want to use windows instead of linux, you can extract twrp backup using cygwin. All you need to do is to rename your backup files adding .tar extension then extract them using cygwin
Code:
tar -xvf your_file_name.ext4.win.tar
eg. If you want to extract system.ext4.win000, system.ext4.win001 and data.ext4.win, rename them system.ext4.win000.tar, system.ext4.win001.tar and data.ext4.win.tar. Move the system backup files to C:\Cygwin\Home\UserName\backup\System and data backup to C:\Cygwin\Home\UserName\backup\Data
open a cygwin command prompt and change directory to the correct location:
Code:
cd C:\Cygwin\Home\UserName\backup\System
then in cygwin command prompt:
Code:
tar -xvf system.ext4.win000.tar
tar -xvf system.ext4.win001.tar
Code:
cd C:\Cygwin\Home\UserName\backup\Data
tar -xvf data.ext4.win.tar
Then you have 2 folders, One System folder and one Data folder you can use to make you reset rom.
alray said:
If you want to use windows instead of linux, you can extract twrp backup using cygwin. All you need to do is to rename your backup files adding .tar extension then extract them using cygwin
Code:
tar -xvf your_file_name.ext4.win.tar
eg. If you want to extract system.ext4.win000, system.ext4.win001 and data.ext4.win, rename them system.ext4.win000.tar, system.ext4.win001.tar and data.ext4.win.tar. Move the system backup files to C:\Cygwin\Home\UserName\backup\System and data backup to C:\Cygwin\Home\UserName\backup\Data
open a cygwin command prompt and change directory to the correct location:
Code:
cd C:\Cygwin\Home\UserName\backup\System
then in cygwin command prompt:
Code:
tar system.ext4.win000.tar
tar system.ext4.win000.tar
Code:
cd C:\Cygwin\Home\UserName\backup\Data
tar data.ext4.win.tar
Then you have 2 folders, One System folder and one Data folder you can use to make you reset rom.
Click to expand...
Click to collapse
Yes sir, that's exactly the method i use :good:
Thank you So MUCH!
I'll try that as soon as I get a chance, and report back
Cheers for the help. ?
yatindroid said:
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
Click to expand...
Click to collapse
yatindroid said:
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
Click to expand...
Click to collapse
alray said:
If you want to use windows instead of linux, you can extract twrp backup using cygwin. All you need to do is to rename your backup files adding .tar extension then extract them using cygwin
Code:
tar -xvf your_file_name.ext4.win.tar
eg. If you want to extract system.ext4.win000, system.ext4.win001 and data.ext4.win, rename them system.ext4.win000.tar, system.ext4.win001.tar and data.ext4.win.tar. Move the system backup files to C:\Cygwin\Home\UserName\backup\System and data backup to C:\Cygwin\Home\UserName\backup\Data
open a cygwin command prompt and change directory to the correct location:
Code:
cd C:\Cygwin\Home\UserName\backup\System
then in cygwin command prompt:
Code:
tar system.ext4.win000.tar
tar system.ext4.win000.tar
Code:
cd C:\Cygwin\Home\UserName\backup\Data
tar data.ext4.win.tar
Then you have 2 folders, One System folder and one Data folder you can use to make you reset rom.
Click to expand...
Click to collapse
Thanks Mate.
I will try on Ubuntu first as I use that about 90%of the time. I'll reply with results hopefully tomorrow! Excited to make my own easy reset with aroma.
Had to unlock bootloader via HTC token when my phone is S-Off...
My HTC M7 UL (PID)PNO7400, was rooted and later S-Off with fire water.
I had custom rom and recovery ect. After 6 months of this I wanted to update my firmware but for various reasons didn't want to do it via RUU so I found and used crushalots Easy Recovery Reset Tool.
This worked perfectly.
During the aroma install I chose NOT to install any firmware, just stock recovery and rom.
I also chose not to keep root as I believed that I may not be able to install OTA updates with rooted stock. (right or wrong?)
Immediately after everything was installed I was running stock 2.24.980.2 rom and recovery on 4.20.980.x firmware.
After relocking my bootloader via fastboot, there was no issues, my phone just downloaded several OTA in a row, installed each without a hitch, and about an hour and a half later I had a stock phone with the latest 6.11.980.12 firmware and software, with S-Off.
(BTW re locking the bootloader did not delete any of my data.)
As soon as this was finished I wanted to re install my beloved eragon rom, re gain root, and get my phone back the way it was pre the firmware update.
Having S-Off I thought this would be easy (fastboot flash recovery path/to/custom/recovery.img)
Didn't work.
Unfortunately I didn't keep a copy of the error message I got in terminal, however, I didnt have write permissions on that particular partition. (apologies to anyone trying to help as I know details are important here)
This stumped me, as I have rooted 3 other (older) HTC desire by getting S-Off then flashing custom recovery.img, (These phones were running 1.44 version of fastboot as opposed to my M7s 1.57) I tried to un lock the bootloader via fastboot commands just in case that worked post S-Off ie (fastboot oem unlock) but that didn't work. Firewater doesn't install its own bootloader so locking and unlocking via the s-off tool were not an option either.
I had to re apply to HTC for an unlock token and flash that before I could flash a custom recovery. I plan go back to stock again for the purposes of taking carrier OTA when my carrier starts updating with Android L, so would like to know if this is normal, if not how I possibly stuffed up.
Can any one explain why I had to unlock bootloader via HTC site when my phone is S-Off?
I'm interested in peoples thoughts/knowledge
Many thanks
yatindroid said:
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
Click to expand...
Click to collapse
Hi Mate.
Thanks again. A little help needed.
When extracting the .rar from the TWRP recovery I made, using terminal command line [7z x /path/to/some.rar] in ubuntu i get 4300 of this type of error
can not open output file system/bin/mkswap
can not open output file system/bin/mkswap
can not open output file system/bin/readlink...ect
Basically at the end I get a system folder with about 3 items in it, as 7zip .rar tool cant decompress most of the files from the .rar
Right clicking on system.ext4.win.000 and system.ext4.win001 and selecting 'Extract files here' or 'open archive' results in error "could not open 'xx'. Archive type not supported."
Are you able to give me more detailed instructions on how to extract/unpack the system.ext4.win.000 and system.ext4.win001
Do I need to change the file name before extracting ?
Extracting the files from crushalots tool and extracting the files from the new TWRP then replacing relevant files and changing the manifest to reflect said change in Easy Recovery tool seems quite simple, however Im having trouble just extracting the files....
Im missing something obvious.
Thanks.
Joeisgood99 said:
Hi Mate.
Thanks again. A little help needed.
When extracting the .rar from the TWRP recovery I made, using terminal command line [7z x /path/to/some.rar] in ubuntu i get 4300 of this type of error
can not open output file system/bin/mkswap
can not open output file system/bin/mkswap
can not open output file system/bin/readlink...ect
Basically at the end I get a system folder with about 3 items in it, as 7zip .rar tool cant decompress most of the files from the .rar
Right clicking on system.ext4.win.000 and system.ext4.win001 and selecting 'Extract files here' or 'open archive' results in error "could not open 'xx'. Archive type not supported."
Are you able to give me more detailed instructions on how to extract/unpack the system.ext4.win.000 and system.ext4.win001
Do I need to change the file name before extracting ?
Extracting the files from crushalots tool and extracting the files from the new TWRP then replacing relevant files and changing the manifest to reflect said change in Easy Recovery tool seems quite simple, however Im having trouble just extracting the files....
Im missing something obvious.
Thanks.
Click to expand...
Click to collapse
I simply extract system.ext4.win000 file in Ubuntu nothing more needed not a single error
its tar not rar !
Whoops! . Tar.
Thanks again I'll keep trying.
Did crushalot send you any written instructions? Are they in a thread somewhere, or just basically what you already posted?
Thanks for your time.
Joeisgood99 said:
Whoops! . Tar.
Thanks again I'll keep trying.
Did crushalot send you any written instructions? Are they in a thread somewhere, or just basically what you already posted?
Thanks for your time.
Click to expand...
Click to collapse
I asked some questions via PM he just replied that
ask anything when you stuck
yatindroid said:
I asked some questions via PM he just replied that
ask anything when you stuck
Click to expand...
Click to collapse
For anyone else following this thread atm I solved the problem by re naming the system file extension in TWRP recovery from . win to . tar. In some TWRP back ups there were 2 system folders. A system.4ext000.win and system. 4ext001.win I just merged them during the extraction process.
Also there was no Data/preloaded folder in crushalots reset tool or in any twrp backup I have made.
Haven't tested the modified reset tool yet but will let u all know if I did it correctly!
Joeisgood99 said:
For anyone else following this thread atm I solved the problem by re naming the system file extension in TWRP recovery from . win to . tar.
Click to expand...
Click to collapse
Exactly, see post #6
In some TWRP back ups there were 2 system folders. A system.4ext000.win and system. 4ext001.win I just merged them during the extraction process.
Click to expand...
Click to collapse
Exactly, there are 2 system archive because of the file size restriction. Merging them after extracting the files is correct.
Also there was no Data/preloaded folder in crushalots reset tool or in any twrp backup I have made.
Click to expand...
Click to collapse
Without /data/preload, your reset rom will not be ota update ready. You don't have /data/preload in your backup probably because you have unlocked the bootloader and did the nandroid backup after (unlocking bootloader erase /data/preload)
Joeisgood99 said:
For anyone else following this thread atm I solved the problem by re naming the system file extension in TWRP recovery from . win to . tar. In some TWRP back ups there were 2 system folders. A system.4ext000.win and system. 4ext001.win I just merged them during the extraction process.
Also there was no Data/preloaded folder in crushalots reset tool or in any twrp backup I have made.
Haven't tested the modified reset tool yet but will let u all know if I did it correctly!
Click to expand...
Click to collapse
In Ubuntu install 7zip software
don't rename anything just open with archive manager
system.4ext000.win open this
crushalot tool not have data/preload because most of tool was 3.xx version sense 5.5 that time preload files included in system folder
yatindroid said:
In Ubuntu install 7zip software
don't rename anything just open with archive manager
system.4ext000.win open this
crushalot tool not have data/preload because most of tool was 3.xx version sense 5.5 that time preload files included in system folder
Click to expand...
Click to collapse
Thanks again yatindroid
I already have 7zip installed, However there is no option in archive manager to extract anything with it. After cd to file location I can view the . win file in terminal using [7z l file. win] but the [7z x file.win - d folder/i-want/extracted/to] command outputs the same error as stated in above post.
Q1) That aside the last step in this whole process is to zip it all up again as a . zip, so I'll be changing the file extension anyway, so does it matter if I change the file extension from . win to .tar for the purposes of extracting? If so ease explain why.
Q2) the ONLY place I have found a data/preload folder is inside a firmware .zip extracted from an OTA. It's definitely not in any TWRP back up. Did you leave that detail out of your initial instructions? Can you please tell me where to get the /preload folder from if not from the same OTA the recovery.img comes from.
Q3) do I put the data/preload folder inside the system folder of the reset tool or have it separate, along with radio.img, boot. img, recovery.img and aroma files ect.
Thanks for your time.
---------- Post added at 09:46 AM ---------- Previous post was at 09:33 AM ----------
alray said:
Exactly, see post #6
Exactly, there are 2 system archive because of the file size restriction. Merging them after extracting the files is correct.
Without /data/preload, your reset rom will not be ota update ready. You don't have /data/preload in your backup probably because you have unlocked the bootloader and did the nandroid backup after (unlocking bootloader erase /data/preload)
Click to expand...
Click to collapse
Thanks array.
I replied to the other post before yours came up. Forgive me if I ask similar questions.
I'm assuming I just copy the /preload folder from the same OTA I get the radio and recovery. img from.
Do I put the /preload folder inside any other folder within reset tool for a 6.xx version or have it beside the system folder and .img files.
Regards and Thanks.
Joeisgood99 said:
I'm assuming I just copy the /preload folder from the same OTA I get the radio and recovery. img from.
Click to expand...
Click to collapse
It should work. The data/preload folder from an ota zip usually (afaik this is true for the dev edition version) include all /data/preload files. If its the same thing for your version then you should be fine. In /data/preload you should have these files:
YOUR_CID.XML
All the weather animations (mp4 files)
some .png files for photo editing
htc preloaded app like flashlight.apk and calculator.apk. You might have more app depending your version.
Do I put the /preload folder inside any other folder within reset tool for a 6.xx version or have it beside the system folder and .img files.
Regards and Thanks.
Click to expand...
Click to collapse
the folder must be in your_reset_rom.zip/data/preload
{
"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"
}
alray said:
It should work. The data/preload folder from an ota zip usually (afaik this is true for the dev edition version) include all /data/preload files. If its the same thing for your version then you should be fine. In /data/preload you should have these files:
YOUR_CID.XML
All the weather animations (mp4 files)
some .png files for photo editing
htc preloaded app like flashlight.apk and calculator.apk. You might have more app depending your version.
the folder must be in your_reset_rom.zip/data/preload
Click to expand...
Click to collapse
Thanks for your excellent and timely reply.
More Qs.
I now have all folders as per your above post. I have taken data/preload, boot.img radio.img and recovery.img straight from OTA. 6.11.980.10
However my stock nand was of 6.11.980.12.
Q1) So do you know if having a system folder derived from a slightly newer version work? As far as I know the .12 OTA was a patch for the 'no voice during call' bug. OTA. 6.11.xxx. 12 did not contain a radio.img AND I can't get a data/preload folder for that ota as I can only find a 6.11.xxx.12 firmware. Not the whole OTA, which is why I reverted to making a . 980.10 reset tool despite having a slightly newer NAND.
Q2) I have edited the updater script in META-INF to reflect new radio and Android version ect. Do I need to update the MANIFEST. MF?
Hope that was clear enough to understand.
A big THANKS for your Help and time!