yashsingh1/xdaforums huggingface dataset:
[HTC One A9] theNdroid:
When I tried to install the RUU via sd card I get an error message

19 RU_MAIN_VER_FAIL os-version in android-info missing or i

19 RU_MAIN_VER_FAIL os-version in android-info missing or i

FAIL19 RU_MAIN_VER_FAIL os-version in android-info missing or i

I'm lost and don't know what to do. Can someone help?
[HTC One A9] Lefteris Fragiadakis (Frago):
Something wrong with ur cidnum or modelid, this Means that this version u are trying to install is not compatible with ur mobile check

Fastboot getvar all

In Fastboot mode
[HTC One A9] theNdroid:
./fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_hiaeul

(bootloader) version: 1.0

(bootloader) imei: *************

(bootloader) version-main: 1.55.617.4

(bootloader) boot-mode: RUU

(bootloader) version-baseband: 1.0.U00297.1@51014

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PQ912000

(bootloader) cid: BS_US001

all:

finished. total time: 0.008s

It's the same. That can't be the problem. On the RUU page one guy was saying that you had to flash the zip using the htc_fastboot, but I don't know how to use it. Terminal said there was "no such file or directory" when I tried ./htc_fastboot
[HTC One A9] Lefteris Fragiadakis (Frago):
I can't understand what is wrong, are u sure u download the correct firmware?
[HTC One A9] theNdroid:
Yes. When I flashed the ROM zip from your OP I think that updated my phone to 6.0.1 and now I can't go back.
[HTC One A9] theNdroid:
Not sure what this means
[HTC One A9] techlogik:
^Yeah, I had all sorts of problems myself. Hence, if you have a PC, just follow what I did peeps. Seems like it is going to be quick/easy the method described. But, I took the 6hr route and just finishing up restoring/setting up my phone from earlier and did an RUU, take the update, then flash TWRP, Install SU and restore apps/settings/setup phone again from scratch.

Maybe one day this will get easier with some custom Roms and work and support by Devs!

---------- Post added at 06:25 PM ---------- Previous post was at 06:09 PM ----------

Sure you can go back, just RUU the last one from HTC support...that will take you back to 6.0. Then TWRP/Root phone from there. It will start prompting you to update to 6.0.1 though after that unless you turn it off.

Sorry if I'm not understanding, but that is the point of the thread, getting up to 6.0.1 update that came out yesterday, if you are rooted/s-off and unlocked bootloader.
[HTC One A9] theNdroid:
That's the issue. I don't have a PC. I'm currently using a Mac.
[HTC One A9] Lefteris Fragiadakis (Frago):
Which firmware u trying to install and give you that error?
[HTC One A9] Lefteris Fragiadakis (Frago):
And try this

fastboot oem writecid 11111111
[HTC One A9] theNdroid:
So then what is the error message that I'm getting? I'm using the RUU.zip from http://xdaforums.com/one-a9/general/wip-ruu-htc-one-a9-t3240344/page12#post64490714. Which is the 6.0 for the Unlocked US version which matches my version. I don't understand what the issue is.
[HTC One A9] rashad1:
I'm in the same boat. It seems it won't let you downgrade if you have S-on
[HTC One A9] theNdroid:
1.12.617.6 from http://xdaforums.com/one-a9/general/wip-ruu-htc-one-a9-t3240344 , the poster said I needed to use the htc_fastboot but it isn't working. Not sure how I'm supposed to go about doing that.

---------- Post added at 09:39 PM ---------- Previous post was at 09:37 PM ----------

What's that supposed to do? I don't want to mess up my phone anymore than it already is and since I'm responsible for what I do with my device I'd like to know what I'm actually doing to it before I do it. Especially since your method is what got me into this situation to begin with.
[HTC One A9] CarinaPDX:
Some thoughts:

The Android SDK is available for the Mac and Linux - you don't need a PC. The SDK includes fastboot and adb. Just search for it on the net.

The fastboot in the SDK was, and probably is, limited to flashing 2GB and smaller files and IIRC will have a problem flashing an RUU. HTC made their own version for flashing the larger files, referred to as htc_fastboot. Search for HTC fastboot and you should find the download location. If you are only going to use the fastboot command I think you should just download it from HTC and be done with it. Again, PC, Mac, and Linux versions available. [Edit: This is not true- htc-fastboot is only available for Windows. Dumb. My apologies for any confusion.]

One article is: http://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378

Greg
[HTC One A9] theNdroid:
Somebody on the RUU Collection page told me that you can, but idk if that's true.

---------- Post added at 10:06 PM ---------- Previous post was at 09:49 PM ----------

The problem is the .exe files is are not compatible with OS X , not Android SDK.

---------- Post added at 10:32 PM ---------- Previous post was at 10:06 PM ----------

I can't use RUU. I'm on Mac and can't download or open .exe files. And if it is possible to go back to 6.0 then why can't I install the 1.12.617.6 zip file via external sd card? I keep getting an error message. http://dl-1.va.us.xda-developers.com/3/5/8/8/7/5/6/1451084762767.jpg?key=2FsdBgDYjbW733z5QV414Q&ts=1451100796
[HTC One A9] AntikerTa:
CID and MID is right?

Did you Download the right Firmware? https://www.androidfilehost.com/?fid=24269982087008238

Make you a Full Wipe with TWRP and after this Format Data, precaution? So i have done it and it works perfectly. :o
[HTC One A9] Lefteris Fragiadakis (Frago):
So re-download the 6.0.0 firmware from this thread

http://xdaforums.com/showthread.php?t=3271861

Try with this,

If this not working, extract stock recovery from the firmware i upload in the first post

Then flash it,

Fastboot flash recovery recovery.img

Then as i said make ur mobile supercid111111

Download this zip

http://www.mediafire.com/?5yxd8ixi2t6592j

Put it in external sd card and try to install it with stock recovery
[HTC One A9] xXminiWHOOPERxX:
Anyone able to get a /system dump. And boot.img for 6.0.1?
[HTC One A9] Lefteris Fragiadakis (Frago):
Twrp backup in first post
[HTC One A9] xXminiWHOOPERxX:
Thank you ! Desire EYE community will love this!!!
[HTC One A9] Lefteris Fragiadakis (Frago):
Don't forget this is for A9,Proceed with caution
[HTC One A9] rashad1:
"write cid permission error"
[HTC One A9] xXminiWHOOPERxX:
I'm well aware lol, ported 6.0 just this week to our eye.. just finished fixing bugs and 6.0.1 gets released lol
[HTC One A9] Atze001:
The new update 6.0.1 seems to have trouble with a cards. I can't use any of my cards as internal memory. Anyone else with this problem?

Gesendet von iPad mit Tapatalk

---------- Post added at 11:04 AM ---------- Previous post was at 10:52 AM ----------

I see there is a thread already with this sdcard problem. Seems it was an root issue

Gesendet von iPad mit Tapatalk
[HTC One A9] Lefteris Fragiadakis (Frago):
Try without changing cid
[HTC One A9] rashad1:
Is the stock recovery supposed to detect the OTA_HIA_AERO_UL_M60_SENSE7GP_ATT_MR_NA_Gen_Unlock_1.55.617.4-1.12.617.6_release_464765.zip automatically? Because it's just showing a phone with an exclamation mark then it goes to the bootloader.
[HTC One A9] techlogik:
Pay the $$$ and Sunshine it. S-Off. Worth it. I can go up/down all day withouth even having to lock the bootloader etc..again.

Previously with the locked version you unlocked, you had to S-On the phone, lock bootloader often to get an RUU to run, now it just works and I don't touch anything after S-Off/Bootloader Unlock.
[HTC One A9] rashad1:
Unfortunately I can't boot it so I can get S-off. As soon as it's bootable again I will get s-off
[HTC One A9] techlogik:
By this time, you could have maybe setup a VM machine on your Mac, and run windows, and get ADB working so you can do all of this in Windows. Hate to say it. But HTC, kind of like the opposite of Apple, prefers you have Windows and builds the RUUs for it and expect that platform.

Then you can just run the RUU, as long as you are S-Off and your bootloader is unlocked, nothing more to do...oh and have HTC Sync/drivers installed in the Win VM.
[HTC One A9] rashad1:
I have parallels running Windows XP Professional, just for rooting and what not. When I click the RUU exe file, it seems to install but nothing happens.
[HTC One A9] Lefteris Fragiadakis (Frago):
Νο, u will install zip from stock recovery
[HTC One A9] Lefteris Fragiadakis (Frago):
Sent a photo when u insert in recovery
[HTC One A9] theNdroid:
I don't think you need S-off to do this.
[HTC One A9] techlogik:
Maybe so, but would highly recommend it. I've RUU back to 6.0 about 6 times now, taken the update, not taken the update, installed TWRP and re-rooted all manually. I stopped using these downloads posted, update methods, TWRP backups and try to restore, bunch of people that are trying this that are S-Off/Bootloader unlocked and trying to get to 6.0.1 are having nothing but problems all over. Myself as well. Wouldn't even boot anymore. Then SDCard reading errors etc. Just a mess.

Plus, you learn how to root/twrp yourself and not rely on others. Always good to learn ADB/Fastboot/returning to stock, custom recovery, SU etc..for yourself to know what is and isn't a problem when it appears.

Would like to work on getting just a firmware flash file/update for all the downloads coming out. That is what is a next good step for any development IMO.

But my two cents, this 6.0.1 update isn't worth it. There is no radio/baseband update. That is likely coming in the future when VZW support is ready I would imagine. Otherwise, these are just incremental update to certain partitions/features/minor bugs.

(bootloader) kernel: lk

(bootloader) product: htc_hiaeul

(bootloader) version: 1.0

(bootloader) imei: xxx

(bootloader) version-main: 1.12.617.6

(bootloader) boot-mode: download

(bootloader) version-baseband: 1.0.U00297.1@51014

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PQ912000

(bootloader) cid: BS_US001

all:

Latest Firmware 6.0.1 update:

C:\Appz\Android\TWRP Recovery Install>htc_fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_hiaeul

(bootloader) version: 1.0

(bootloader) imei: xxx

(bootloader) version-main: 1.55.617.4

(bootloader) boot-mode: download

(bootloader) version-baseband: 1.0.U00297.1@51014

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PQ912000

(bootloader) cid: BS_US001

Program updates apparently/fixes.
[HTC One A9] theNdroid:
How do I extract the recovery?

---------- Post added at 04:07 PM ---------- Previous post was at 04:03 PM ----------

I am very comfortable with fast boot, adb and the command line. The reason why I can't RUU is because I have a MAC. If I had windows I would've used the RUU from yesterday, but RUU isn't an option for me unless I find a windows computer to use, I just don't want to have to spend 2.5 hours traveling.

And I primarily want the update for the new battery improvements that I've heard about and the emoji's. It's worth it for my personal use.
[HTC One A9] techlogik:
FYI. I did a logcat and got a URL that is working or the OTA download for 1.55.617.4 package.

http://fotadl-az.htc.com/secure/OTA...1.12.617.6_release_464765zld9nan9dwqoxea3.zip

Firmware.zip is inside that. The location is someplace I can't see to find on the device itself though.

file = /data/user/0/com.htc.updater/files/OTA_HIA_AERO_UL_M60_SENSE7GP_ATT_MR_NA_Gen_Unlock_1.55.617.4-1.12.617.6_release_464765.zip
[HTC One A9] Lefteris Fragiadakis (Frago):
Its inside the zip, drag the recovery in ur fastboot folder
[HTC One A9] theNdroid:
I already installed the update, the problem is my phone won't boot to system. I keep getting redirected to the boot loader with that error message under the "s-off".
[HTC One A9] Lefteris Fragiadakis (Frago):
From stock recovery if u make factory reset?
[HTC One A9] theNdroid:
I restored the TWRP backup you provided and attempted to go to stock recovery and I just got stuck there. I hard reset (held volume up) and got sent back to the boot loader screen.

I tried the latest RUU on the HTC page and that didn't work either. The RUU said my phone was already updated to 1.55.617.4 and asked me if I wanted to "Update" to 1.12.617.6" I pressed yes and the RUU stopped in the middle and said ERROR (155) : Unkown Error. It ran me through some trouble shooting steps but they didn't do anything, I just ended up getting sent back to the boot loader screen with the same *** init_fg... error.
[HTC One A9] Lefteris Fragiadakis (Frago):
I can't understand what went wrong,,,
[HTC One A9] techlogik:
theNDroid, what is your exact phone model again? The RUU on this thread is for the ATT/Cricket. It won't work on a CID BS_US001 Unlocked/Developer phone. You could have to super CID 11111111 for it to run.

I have tried/used the same downloads from this thread, and the same issue happens that you get, it give me a init_fs_blah mount error and you end up at Bootloader always after you try the install from the SDCard.

Did you download the RUU from HTC support directly and try that one for your phone? There are only two of them on their site, the Unlocked and the ATT/Cricket versions.

http://www.htc.com/us/support/rom-downloads.html

Once I downloaded the BS_US001 version for the A9, it RUUs no issues. Reboots afterwards fine and never has failed. I'm running Windows 10 with the latest HTC Sync manager/drivers as an FYI.

It really should be that easy and should work assuming you have the correct RUU and drivers in Windows.
[HTC One A9] Lefteris Fragiadakis (Frago):
HTC Stock Music App & Widget By Frago

http://xdaforums.com/one-a9/themes-apps/htc-stock-music-app-widget-frago-t3279880
[HTC One A9] jaypeg123:
You don't think the themes and apps section is good enough for this?
[HTC One A9] Lefteris Fragiadakis (Frago):
No, i want the friends in this post to see what i upload in the themes and app section, not everyone like u have the time to explore the HTC ONE A9 FORUM
[HTC One A9] jaypeg123:
Well there is a reason for why there are different sections here. And the topic for this thread is? Not apps and themes! You my friend are off-topic And hijacking this thread. And it does not matter if you started it yourself.
[HTC One A9] pradeepvizz:
Can someone please upload the contacts and phone Apk from this backup? i tried download and extract it and end up facing errors..
[HTC One A9] theNdroid:
I used the RUU from the HTC website and ran it on my Windows 7 Virtual Machine. Can you run me through your exact steps since you've had the *** init_fg_ mount blah *** error ? I'm thinking that I can't downgrade because when I try to RUU it says that I already have (1.55.617.4) and its asking me to go back. It stops right at 1%. I think the error I'm getting at the bootloder has to do with something not being mounted, I was reading an old HTC One thread and they were getting that error because their system wasn't mounted.
[HTC One A9] techlogik:
^ I don't understand how it is giving you that message. The only RUU available is the 6.0.0 version. So it will take you down. It will show on the install RUU page that you have 1.55...but who cares, you won't have that anymore, keep moving forward and let it flash the 6.0.0 RUU and downgrade you so your phone will work again. You will then be a back to the original stock ROM 1.12.617.6. That is the only RUU available besides the ATT 1.27 one.

There is not such thing as a 1.55.714 RUU, it simply shows that on the install page, then you click to the next page and it will tell you what it is going to downgrade to. Assuming you are S-Off, otherwise, you got problems. That is why first thing anybody should do with their stock phone is 1) unlock bootloader, 2) S-Off with sunshine. Then you can upgrade/downgrade and RUU all day/night.

Are you even S-Off and bootloader unlocked? The old HTC One phones required you to relock the bootloader to RUU, you don't need that with an unlocked US phone that is bootloader unlocked and S-Off. It will RUU back to the stock 6.0.0.
[HTC One A9] rashad1:
This is what he's talking about:
[HTC One A9] theNdroid:
Disregard. I solved the issue by flashing stock boot, recovery, and system images. Someone from the "RUU Collection" page told me that flashing then would solve my issue, and he provided me with the downloads.

If anyone else is having this issue, you can find the solution on the RUU COLLECTION thread, page 13 #122.

Thank you guys for all your help.
[HTC One A9] Captain_Throwback:
I created a stock rooted ROM from the backup & firmware in the OP and am uploading it now. Not sure if that'll help anyone, but figured I might as well. Will post back with link once upload is complete.
[HTC One A9] techlogik:
Right exact problem I had. You have to get the stock recovery installed, then you can use the RUU on the phone. Because you are S-On still. S-Off ASAP once it is up and running. Life will be easier. You won't have that problem anymore. The stock RUU from HTC will just run and install itself and put you on the original firmware/6.0.0 version then.

If you want to go up to 6.0.1 after you S-Off the phone, don't put a custom recovery on, just check for OTA, let it install the update. Then, fastboot TWRP and then format Data, then install Super SU 2.65 Beta, it will be 6.0.1, with TWRP and Rooted with SU now.
[HTC One A9] Captain_Throwback:
So, here's the stock rooted ROM I built from the TWRP backup and boot.img from the firmware in the OP, based on 1.55.617.4 (Android 6.0.1) Dev Edition.

https://basketbuild.com/devs/Captain_Throwback/One (A9)/ROMs/1.55.617.4

Features:

- Rooted (SuperSU 2.65)

- Forced Encryption disabled

- dm-verity disabled

NOTE:

- You cannot use the external SD card as internal storage, because that would require dm-verity to be enabled, which isn't possible on a custom ROM.

Not sure if anyone cares about this or needs it, but I figured I should post it here. I can't test whether everything works on my A9 because it's on Sprint, but I can at least say that it boots and WiFi works.
[HTC One A9] rashad1:
That's exactly what I did, except I'm not paying $25 for s-off. I'll just stop tinkering with the firmware for now, maybe when the next big update rolls around.
[HTC One A9] theNdroid:
Will using Sunshine to turn S-off format data?
[HTC One A9] CarinaPDX:
I just downloaded, and think I do need it, so thank you.

IIUC I can put this on the root of the external SDcard and power into the bootloader for the automatic install. I am S-ON with 1.55.617.4 (weird OTA - see post #7) and a flawed root (not supersu), so I need to at least reinstall the boot.img. (I screwed up and didn't make a copy of boot.img before rooting - lesson learned.) I have also not succeeded in formatting /data w/o encryption, so will have to do that after the rom install. Then add the su directories to /data?

Perhaps the zip of the same name in the OP would serve to set it back to stock but the explanation was not specific enough to be certain of that: do you know if it is indeed the unmodified 1.55.617.4 rom? My reading is that it is likely the 1.12.617.6 rom in TWRP backup form with the 1.55.617.4 OTA as the next download - not useful to me as I can't downgrade.

I have done a fair amount of installing firmware on my Note 8, but HTC is a different kettle of fish... I am grateful for all the help...
[HTC One A9] Captain_Throwback:
What I posted is a recovery-flashable ROM. You already have TWRP, so in TWRP, you first use the "Format Data" option from the Wipe menu to remove encryption and wipe data and internal storage. Reboot recovery, and then flash the ROM. That'll give you the 1.55.617.4 stock rooted ROM and whatever firmware was already installed on your device.
[HTC One A9] timi666:
Is it deodex?
[HTC One A9] Captain_Throwback:
It's whatever the stock ROM was.
[HTC One A9] techlogik:
No

I don't think there is any deox at this time, so that would be a no. Without a Kernel source and then being able to deox...not much for Roms anytime soon.

Back on the M7/M8, the custom Roms were great and support, M9, things started to wane...and now with the A9, nothing from Devs. They might not bother at all for a long time, or if ever.
[HTC One A9] Captain_Throwback:
Not sure what kernel source has to do with deodexing a ROM? I just didn't bother with that because we first need to make sure the ROM works. Once that's confirmed, more custom stock-based ROMs can be built.
[HTC One A9] Captain_Throwback:
I just uploaded a deodex version to the same folder.

It'd be nice if someone could provide feedback on either version.
[HTC One A9] AntikerTa:
I am downloading it and will try it. Thank you.

Edit: Have installed the Rom without Problems. It is working.
[HTC One A9] CarinaPDX:
I'll be installing it in the next couple of hours, and will let you know. Thanks again.

Greg
[HTC One A9] CarinaPDX:
OK, found out what I had done wrong with the format data: after formatting is finished there is a reboot button which booted me back to system and apparently reformatted. It is necessary to go back to the main menu and reboot from there to boot back into recovery to avoid this. Details matter...

I have your rom in my external_sd/TWRP/BACKUPS/HT5BLBE01484 folder (the HT5... is the number from a previous backup - should I have used yours?). It offers to install [edit: I should say restore] META-INF, supersu, and system but not the critical boot.img. How do I do that? And in what order do I install? I would guess system then supersu but don't know about the META-INF and boot.img.

Thanks again.

Greg
[HTC One A9] Captain_Throwback:
The rom is a flashable zip. You don't unzip it, you copy the zip to the device (it doesn't matter where) and install it using the install menu in recovery. It's not a TWRP backup that you restore. I think you may be confused . . .
[HTC One A9] CarinaPDX:
You think? :eek: Steep learning curve, compounded by reading too many threads with different approaches.

It does seem to all be working now, so I can finally use my phone as a phone. And start installing apps now that the /data is unencrypted and I can backup with TWRP. Come to think of it, I had better do a full backup tonight... Also time to buy the supersu pro license. Chainfire has definitely earned his keep in the Android community. But you have climbed up the list as well...

Thanks for all of the help.

Greg
[HTC One A9] AntikerTa:
I use the deodex Rom since Yesterday without Problems. No Optimizing Apps more after Reboot after Xposed install. All Apps work perfectly. Big Thanks to [MENTION=1162986]Captain_Throwback[/MENTION]
[HTC One A9] lsun06:
I am missing something. I downloaded ROM, and flashed through recovery, rebooted, goes to white screen with green HTC and goes off and that's as far as it goes. I'm missing something. I've flashed a thousand roms on HTC for years. Not quite sure what I'm missing here. Gonna keep trying though.
[HTC One A9] Captain_Throwback:
Did you Format Data in recovery, reboot recovery and wipe cache & system first? It's supposed to reboot once on its own to install the files for root. After that, it should boot normally.
[HTC One A9] lsun06:
I did. I did that. I'm getting ready to try again. I am s off, unlocked and all that on 1.12.617.6. I am going to do it all on phone this time. The rar file I'll change to a .zip ? Flash it then do I immediately do the 2PQ9IMG through download mode on SD card ?
[HTC One A9] Captain_Throwback:
rar file? You must not be talking about the ROM I posted, then. Please disregard what I said, then.

I'm going to create my own post for my recovery-flashable ROM to avoid confusion here.
[HTC One A9] lsun06:
I was. Maybe that's what's screwing me. I had downloaded the deodex one also and no bones.
[HTC One A9] mytohn:
I've got a problem with mediafire download link

can any one pls upload with other host ?

Thank you
[HTC One A9] Lefteris Fragiadakis (Frago):
What problem?
[HTC One A9] mytohn:
could not completed download

link is always disconnected
[HTC One A9] Lefteris Fragiadakis (Frago):
Try with diffrent explorer