Hey All, have google and googled for the past week but nothing specific to this issue I'm having.
I want to restore my stock firmware so I can get OTA updates! I didn't make any sort of backup when I began playing with different roms. I have htc_039 unbranded aus htc one. Bootloader has been unlocked with S-on and TWRP installed.
Downloaded Deevans/bugsys nandroid backup that matched my phone details (http://forum.xda-developers.com/showpost.php?p=41368105&postcount=375&nocache=1&z=2030115523399023) but there isn't any sort of instructions on installing these.
When i have tried to flash the rom I get "installation aborted" and when playing with fastboot it has given me messages that it cannot find certain .txt files (something like android.txt and a few other ones.
Could someone please tell me what im doing wrong or list the instructions to install this? I don't know if I have to lock the phone again, restore the recovery file first, no idea!!! Or is there anyway to turn the Android Revolution 12 image to get OTA (i dont think so)?
If you need any further phone info I will post.
Can anyone help with this?
When I try to flash the file in TWRP it starts and stops at "Updating partition Details".
What have i not setup right? Have been using these resources:
http://www.androidpolice.com/2010/0...nandroid-backup-and-clockworkmod-rom-manager/
http://www.addictivetips.com/mobile/how-to-perform-and-restore-a-nandroid-backup/
http://www.redmondpie.com/how-to-ba...android-using-clockworkmod-recovery-tutorial/
http://www.redmondpie.com/how-to-in...recovery-on-your-android-smartphone-tutorial/
http://androidteen.com/how-to-restore-htc-one-to-stock-firmware/#Nandroid
???
Hi,
I'm new to the htc one so not sure here but from what I understand and anyone please correct me if wrong - but if it's Deevans nandroid 1.29.980.2 (Australia unbranded) it's a CWM backup and I don't think they work in TWRP.
So think you would have to flash CWM, then flash "restore" nandroid from CWM or find a TWRP nandroid.
Also think you need s-off before you do ota as no way to gain s-off with revone on updated hboot 1.54 yet.
Hope this helps.
pjc21 said:
Hi,
I'm new to the htc one so not sure here but from what I understand and anyone please correct me if wrong - but if it's Deevans nandroid 1.29.980.2 (Australia unbranded) it's a CWM backup and I don't think they work in TWRP.
So think you would have to flash CWM, then flash nandroid from CWM or find a TWRP nandroid.
Also think you need s-off before you do ota as no way to gain s-off with revone on updated hboot 1.54 yet.
Hope this helps.
Click to expand...
Click to collapse
Thank for the reply
I have tried to install this with CWM which gave me those first missing ".txt" files. I will give it another go with CMW and post the results.
I will also S-OFF before doing the above.
Phone is now S-off and put CWM as the loader. Tried the zip file again and says:
Finding update package
Opening update package
Installing update...
Installation aborted.
I have also downloaded the file twice to confirm its not corrupted and it opens through winrar with no problems.
Any other suggestions?
jgt777 said:
Phone is now S-off and put CWM as the loader. Tried the zip file again and says:
Finding update package
Opening update package
Installing update...
Installation aborted.
I have also downloaded the file twice to confirm its not corrupted and it opens through winrar with no problems.
Any other suggestions?
Click to expand...
Click to collapse
I would try restore it like a backup, so unzip and put files in your CWM backup folder.
Not sure how CWM backup folder looks but in TWRP it's like /sdcard/TWRP/BACKUPS/... or /data/media/0/TWRP/BACKUPS/...
So I would try unzipping and copy files (boot, data, recovery, system) to /sdcard/CWM/BACKUPS/folder/put files in here - then boot to recovery and try "restore" option and browse to backup folder. You could probably copy the files to any folder on the sdcard and restore from recovery not sure.
pjc21 said:
I would try restore it like a backup, so unzip and put files in your CWM backup folder.
Not sure how CWM backup folder looks but in TWRP it's like /sdcard/TWRP/BACKUPS/... or /data/media/0/TWRP/BACKUPS/...
So I would try unzipping and copy files (boot, data, recovery, system) to /sdcard/CWM/BACKUPS/folder/put files in here - then boot to recovery and try "restore" option and browse to backup folder. You could probably copy the files to any folder on the sdcard and restore from recovery not sure.
Click to expand...
Click to collapse
Thanks for your suggestion and that was going to be my next question. The file I mentioned in the first post is x.xxx.xxx.zip (x as the numbers) and inside that zip is a folder with the same name x.xxx.xxx and inside that folder are all the files.
I tried putting the folder only in CMW but wont detect it, tried it with the .zip file and fails. Have now just put all the files into the folder and tried again with same failure.
There is a very long error in the recovery.txt file it made, don't know if its any use but the first line that pops out is:
Starting TWRP 2.6.0.1 on Fri Aug 2 06:23:49 2013
BOARD_HAS_NO_REAL_SDCARD
I put the file into this link if you know of anything, makes little sense to me. http://pastebin.com/Tvp2Qp2X
jgt777 said:
Thanks for your suggestion and that was going to be my next question. The file I mentioned in the first post is x.xxx.xxx.zip (x as the numbers) and inside that zip is a folder with the same name x.xxx.xxx and inside that folder are all the files.
I tried putting the folder only in CMW but wont detect it, tried it with the .zip file and fails. Have now just put all the files into the folder and tried again with same failure.
There is a very long error in the recovery.txt file it made, don't know if its any use but the first line that pops out is:
Starting TWRP 2.6.0.1 on Fri Aug 2 06:23:49 2013
BOARD_HAS_NO_REAL_SDCARD
I put the file into this link if you know of anything, makes little sense to me. http://pastebin.com/Tvp2Qp2X
Click to expand...
Click to collapse
Are you using TWRP recovery? or CWM recovery?
pjc21 said:
Are you using TWRP recovery? or CWM recovery?
Click to expand...
Click to collapse
I have now tried both TWRP and CWM and fails, also have installed ROM manager and another one I cant recall from play store. Also booted into recovery and went to the 'restore' option from the menu but cant find any directories..
I dont know if this has anything to do with it but noticed in the contents of the file:
ARCHIVE: cache.ext4.tar
ARCHIVE: data.ext4.tar
ARCHIVE: system.ext4.tar
boot.img
cache.ext4.tar.a
data.ext4.tar.a
nandroid.md5
recovery.img
recovery.log
system.ext4.tar.a
system..ext4.tar.b
Not to get ahead of myself but HTC ONE is ext2or 3 by default, its not something simple as having to change it to ext4? Its just something that stood out.
Just done google search on CWM backup location and seems to be /sdcard/clockworkmod/backup - so you could try copy the zip and/or files there and try restore from CWM recovery and see if that works.
pjc21 said:
Just done google search on CWM backup location and seems to be /sdcard/clockworkmod/backup - so you could try copy the zip and/or files there and try restore from CWM recovery and see if that works.
Click to expand...
Click to collapse
Interesting that there was no 'backup' folder inside that folder. Have created it and putting the files and zip in there now.
Was also googl'n and found this article:
http://miuiandroid.com/community/th...d-restore-error-while-restoring-sd-ext.15611/
Someone mentioned to now open the zip file when it downloads. I'll try your suggestions and this and let you know what happens tomorrow.
Thanks again
Morning,
Have downloaded the .zip file again twice and put it onto the SD and clockwork Mod backup folder and it has aborted again.
Any ideas on what to try from here?
Related
Hey there =)
I'm a proud owner of a Optimus 2x. I've rooted my phone and flashed the "stock rom" ( From this topic) and downloaded 2 Custom ROMs ( Thisone and another one from a dutch forum).
However, when I go to CWM and do a Backup and complete wipe, when I wan't to flash the rom (as said how to do it in the topics) I get things like this:
"Finding udate package. . .
Opening update package. . .
E:Can't open /sdcard/update.zip (bad)
Toggle signature verification: on/off
Toggle script asserts: on/off
I tried all possible options.
When I got the signature verification ON, then CWM says the signature is not verified
I worked with both V10A and V10B, both don’t work
What do I do wrong?
Killastyle said:
Hey there =)
I'm a proud owner of a Optimus 2x. I've rooted my phone and flashed the "stock rom" ( From this topic) and downloaded 2 Custom ROMs ( Thisone and another one from a dutch forum).
However, when I go to CWM and do a Backup and complete wipe, when I wan't to flash the rom (as said how to do it in the topics) I get things like this:
"Finding udate package. . .
Opening update package. . .
E:Can't open /sdcard/update.zip (bad)
Toggle signature verification: on/off
Toggle script asserts: on/off
I tried all possible options.
When I got the signature verification ON, then CWM says the signature is not verified
I worked with both V10A and V10B, both don’t work
What do I do wrong?
Click to expand...
Click to collapse
Try to select zip file from SD Card. If you have renamed the ROM to update.zip this should work fine, if that's the case the update.zip is corrupted.
I’ve already tried that to, doesn’t work. I suppose that a ‘’physical’’ MicroSD means one you can touch, so a real one (I got one and placed the ROMs on the MicroSD). I also tried making the .zip files a ‘’Read Only’’. I just keep getting the same screen that it doesn’t work.
And is there also a difference between a NANDROID backup and the backup I do in CWM?
Killastyle said:
I’ve already tried that to, doesn’t work. I suppose that a ‘’physical’’ MicroSD means one you can touch, so a real one (I got one and placed the ROMs on the MicroSD). I also tried making the .zip files a ‘’Read Only’’. I just keep getting the same screen that it doesn’t work.
And is there also a difference between a NANDROID backup and the backup I do in CWM?
Click to expand...
Click to collapse
Yes, you need a physical SD card. See if it gets mounted in CWM. Nandroid backup is the backup you do from the backup/restore menu in CWM.
If you keep getting the same screen you have not selected the zip file that contains the ROM. Your CWM is looking for update.zip that should reside on the root of your physical SD card. If you select choose zip you can navigate to the rom zip file you downloaded.
How can I check if it gets mounted in CWM? I can find the update.zip (I renamed the zip file myself to update.zip) When I check in Astro I go to "sdcard/_ExternalSD" and there is on the root of the external SD the update.zip package..
However, I've done a backup back to the standard rom and now I see the LGE-Version is back to LGP990-V10a. Here are all my specs:
Basebandversion: 1035.21_20110223
Kernel: 2.6.32.9
Buildnumber: FRG83G
LGE: LGP990-V10a .
Can you maybe explain to me step by step how I can do a custom rom again? I think I have to start from scratch again?
Killastyle said:
How can I check if it gets mounted in CWM? I can find the update.zip (I renamed the zip file myself to update.zip) When I check in Astro I go to "sdcard/_ExternalSD" and there is on the root of the external SD the update.zip package..
However, I've done a backup back to the standard rom and now I see the LGE-Version is back to LGP990-V10a. Here are all my specs:
Basebandversion: 1035.21_20110223
Kernel: 2.6.32.9
Buildnumber: FRG83G
LGE: LGP990-V10a .
Can you maybe explain to me step by step how I can do a custom rom again? I think I have to start from scratch again?
Click to expand...
Click to collapse
First off, if you install MCR Fr12 then go and update your baseband to the newest one. Follow these instructions: http://forum.xda-developers.com/showthread.php?t=1008070
Download the MCR Fr12 again to ensure that it's not corrupted, check the MD5 of the zipfile and compare it with the one stated in the first post.
Put the zipfile on the external SD card, no need to rename it.
Reboot into CWM, and (not having my phone here, so maybe I don't remember the exact phrases) advanced menu/toggle signature check off and wipe all data (cache/user/dalvik)
install zip from SD card (not apply update.zip) and navigate to the downloaded rom and press power to select it. This should install MCR Fr12 without problems.
Hope it helps.
Edit: Are you able to browse the SD from CWM ? If not try formatting the SD card in your PC as FAT(32).
I haven't done it this way before, so I'm gonna check it out
And I think I'm able to browse the SD from CWM, because when I do ''Install zip from SD card" i can navigate trough the maps I created and the update file is on the root. I will try this asap ! I hope this works thx
edit: How can I check the MD5 of the zipfile?
The: E:Can't open /sdcard/update.zip (bad)
can refer to a corrupted update.zip so try and download it again
Tayutama said:
The: E:Can't open /sdcard/update.zip (bad)
can refer to a corrupted update.zip so try and download it again
Click to expand...
Click to collapse
+1
Had this error many times on my old Hero
Tayutama said:
The: E:Can't open /sdcard/update.zip (bad)
can refer to a corrupted update.zip so try and download it again
Click to expand...
Click to collapse
So that means that all the 4 different times I downloaded the file it has gone corrupted?
Killastyle said:
So that means that all the 4 different times I downloaded the file it has gone corropted?
How can I check the MD5 files?
Click to expand...
Click to collapse
Maybe
Try searching for winMd5SumPortable, nice tool to check MD5 sums.
Killastyle said:
So that means that all the 4 different times I downloaded the file it has gone corropted?
How can I check the MD5 files?
Click to expand...
Click to collapse
Well it might refer to a corrupted download
What is the size of the file after you downloaded it?
Also regarding checking MD5 i use a program called HashTab.
It's a a small program that adds a tab when you check a files properties.
EDIT: also that error can also just be it looks for a file called update.zip but can't find it.
In windows you might see the file as update.zip but in reality it's called update.zip.zip and that also courses that error.
If you haven't renamed it, then choose install zip from SD card instead of install update.zip in CWM and then select the file
And still it doesn't work. I've checked the MDA on the file where I downloaded it to, then it's correct. However, as soon as I copy/paste or cut/paste the file to my MicroSD root, the MDA doesn't match anymore. Can that be the reason?
I might have the solution. When I do a full wipe via CWM, the base version goes back to V10a, maybe that is the solution. I will download the file directly to the MicroSD right now. I let you guys know if its working
Edit: omfg, I found out, I think it's working right now. I formatted and mounted the MicroSD via CWM, copied the file to the MicroSD and the MD5 was now still the same. Right at this moment my phone is writing it to the system. So it was probably the MicroSD not correctly formatted or such... Thx for all the help guys
Killastyle said:
I might have the solution. When I do a full wipe via CWM, the base version goes back to V10a, maybe that is the solution. I will download the file directly to the MicroSD right now. I let you guys know if its working
Edit: omfg, I found out, I think it's working right now. I formatted and mounted the MicroSD via CWM, copied the file to the MicroSD and the MD5 was now still the same. Right at this moment my phone is writing it to the system. So it was probably the MicroSD not correctly formatted or such... Thx for all the help guys
Click to expand...
Click to collapse
is there any update to this i also get this kind of error/
I can't find my flashable zips in 'choose zip from sdcard'. I tried to put it in a specific folder that I made but it is invisible in clockwork recovery. Also I noticed that old files are visible in clockwork recovery although I already deleted those old files. I can't flash custom rom because of this.
Also when I installed ARHD Google play edition 4.2.2 my virtual sdcard contents were all deleted and my backups gone. I don't know what happened, the aroma installer said that the virtual sdcard will remain untouched. Please help
Is it safe to just reflash CWM? I am having problems with cwm it can't find any file that I put in my sdcard.
-edit-
I restored my phone, safely returned from stock but problem not solved..
please help..
wagaca90 said:
please help..
Click to expand...
Click to collapse
Is there a 0/ entry in you CWM folder list?....... if so your files are in that folder
4.2.2 has a different folder structure to support multiple user.
When you copy a custom ROM.zip to the phone, you find it under SDcard/0/
Make yourself familiar with the new handling of SDcard under 4.2.2
It is explained in the forums
Sent from my HTC One using xda premium
Hi,
Tried creating an 'image.zip' with CWM 6. There is a successful confirmation message that the file was written to /sdcard/clockworkmod/image.zip. But I can't find the file and there is no change in the available space after supposedly having written the file. I think the file was not saved.
I'm using trickdroid 7.5.0 / android 4.2.2.
Any ideas what's wrong?
Thanks
joeycyq said:
Hi,
Tried creating an 'image.zip' with CWM 6. There is a successful confirmation message that the file was written to /sdcard/clockworkmod/image.zip. But I can't find the file and there is no change in the available space after supposedly having written the file. I think the file was not saved.
I'm using trickdroid 7.5.0 / android 4.2.2.
Any ideas what's wrong?
Thanks
Click to expand...
Click to collapse
Did you try TWRP.. anything above and including v2.6.3.3.. unfortunately me being a noob cannot post the link to it.. you will have plenty links here on the forum
Use TWRP CWM has been buggy for a few years now.
joeycyq said:
Hi,
Tried creating an 'image.zip' with CWM 6. There is a successful confirmation message that the file was written to /sdcard/clockworkmod/image.zip. But I can't find the file and there is no change in the available space after supposedly having written the file. I think the file was not saved.
I'm using trickdroid 7.5.0 / android 4.2.2.
Any ideas what's wrong?
Thanks
Click to expand...
Click to collapse
I have the same issue. I am on 4.4.4 and I installed CWM only to create this zip file. I only see it within CWM but can't find it in Explorer in the same folder. I generally use TWRP.
DanRo80 said:
I have the same issue. I am on 4.4.4 and I installed CWM only to create this zip file. I only see it within CWM but can't find it in Explorer in the same folder. I generally use TWRP.
Click to expand...
Click to collapse
CWM stores backups in /data/media/clockworkmod (old 4.1.2 filesystem), now sdcard goes to /data/media/0/....
you'll need to use a root-enabled file explorer to get to /data/media/
nkk71 said:
CWM stores backups in /data/media/clockworkmod (old 4.1.2 filesystem), now sdcard goes to /data/media/0/....
you'll need to use a root-enabled file explorer to get to /data/media/
Click to expand...
Click to collapse
AWESOME! I found it. Thank You
[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!
I'm unable to delete a folder named '3Minit Download' from the previous user. The folder contains a ton of images that I cannot delete and create a problem when I try to upload my gallery because the photos from the folder update as well, over 300.
My Sig contains the rom I'm on. When I received the phone, I wiped and replaced the image for rooting and flashing purposes. I figured doing so would remove whatever was on the phone but it did not.
I have tried changing the permissions to the folder but I receive the message attached...
Any would would be greatly appreciated. Thanks.
re: folder/file deletion
projekt1 said:
I'm unable to delete a folder named '3Minit Download' from the previous user. The folder contains a ton of images that I cannot delete and create a problem when I try to upload my gallery because the photos from the folder update as well, over 300.
My Sig contains the rom I'm on. When I received the phone, I wiped and replaced the image for rooting and flashing purposes. I figured doing so would remove whatever was on the phone but it did not.
I have tried changing the permissions to the folder but I receive the message attached...
Any would would be greatly appreciated. Thanks.
Click to expand...
Click to collapse
Use the file manager in twrp to delete the folder "3Minit Download"
and or delete the all files and subfolders folders in "3Minit Download"
Reboot the phone.
Good luck!
Misterjunky said:
Use the file manager in twrp to delete the folder "3Minit Download"
and or delete the all files and subfolders folders in "3Minit Download"
Reboot the phone.
Good luck!
Click to expand...
Click to collapse
Thanks for the suggestion. However, when I try to delete the folder in TWRP (2.8.7.4), it says to 'swipe right to delete' but there is no slider so it won't delete.
Any other ideas? Willing to try just about anything.
re: twrp slider
projekt1 said:
Thanks for the suggestion. However, when I try to delete the folder in TWRP (2.8.7.4), it says to 'swipe right to delete' but there is no slider so it won't delete.
Any other ideas? Willing to try just about anything.
Click to expand...
Click to collapse
There is something wrong with your twrp then if the slider don't show up.
You need to flash the latest "compatible" twrp for the Note 4 N910T phone.
There is no official release of TWRP 2.8.7.4 at this time.
You need to get flash twrp 2.8.7.0 for N910T tmobile device.
Here is a download link for twrp 2.8.7.0 odin version and the
twrp 2.8.7.0 zip file recovery flash version in case you want
to flash it, you may need to odin flash it if you cannot flash
it using your twrp 2.8.7.4 .
Here is a download link for both the odin flash and recovery flash versions of twrp 2.8.7.0:
https://www.dropbox.com/s/ytmvdwmgnmmqtrq/twrp2870-TAR+zip file version twrp2870.rar?dl=0
Inside this zip file both the TAR and ZIP versions of twrp are included.
Good luck,
Have a great day!
Success!!
For some odd reason, I had to go down to TWRP 2.8.5.0 (tmo) for the slider to return.
Thank you!!
projekt1 said:
Success!!
For some odd reason, I had to go down to TWRP 2.8.5.0 (tmo) for the slider to return.
Thank you!!
Click to expand...
Click to collapse
You don't have to downgrade TWRP...
Solution... Most likely you have a Theme inside your TWRP folder, and that theme is compatible with 2.8.5.0... And not for latest TWRP. (so latest TWRP displays incorrectly)
Delete the Theme folder from your internal storage (TWRP -> theme), then upgrade to latest TWRP, and everything should be ok.