[Q] Help Please!!! Active cmdline overflow (1085 bytes) - One (M7) Q&A, Help & Troubleshooting

Hello! I'm a new guy with android.
Today I flashed the stock rom htc sense 5.5 latest and it rebooted with the red massage "Active cmdline overflow (1085bytes)." Cannot get access into the recovery mode.
Then I tried to reinstall the recovery with the latest version ( the same as which I used to install the rom) : fastboot flash recovery TWRP.img fastboot erase cache fastboot reboot-bootloader. But it did NOT workQAQ.
Please help!!!!
HTC One developer edition unlocked s-off cid 1111111 hboot 1.56
I don't want to lose my phone :crying:

davidliu8023 said:
Hello! I'm a new guy with android.
Today I flashed the stock rom htc sense 5.5 latest and it rebooted with the red massage "Active cmdline overflow (1085bytes)." Cannot get access into the recovery mode.
Then I tried to reinstall the recovery with the latest version ( the same as which I used to install the rom) : fastboot flash recovery TWRP.img fastboot erase cache fastboot reboot-bootloader. But it did NOT workQAQ.
Please help!!!!
HTC One developer edition unlocked s-off cid 1111111 hboot 1.56
I don't want to lose my phone :crying:
Click to expand...
Click to collapse
please explain "it did not work"
is your phone M7 or M7ul or M7wlv
post your fastboot getvar all and a link to the recovery you used
remove your serial no and IMEI from your post

Infor
clsA said:
please explain "it did not work"
is your phone M7 or M7ul or M7wlv
post your fastboot getvar all and a link to the recovery you used
remove your serial no and IMEI from your post
Click to expand...
Click to collapse
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4A.23.3263.28
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 3979mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-4dab9d12
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Here was where I download the stock rom http://forum.xda-developers.com/devdb/project/dl/?id=3599

davidliu8023 said:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) product: m7_ul
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111
Here was where I download the stock rom http://forum.xda-developers.com/devdb/project/dl/?id=3599
Click to expand...
Click to collapse
I hate to be the bearer of bad news, but that link does very well say:
Applies to: HTC Droid DNA
if i remember correctly (yes you're not the first), that installer overwrites your misc partition (mmcblk0p19) with the kernel, and that's very bad!!
only way to theoretically fix it, is if you can get to a custom recovery. I say theoretically, because most "active cmdline" problems, were unable to get back to a custom recovery, only bootlooping into bootloader.
you could try downgrading hboot to 1.44, that solved it for some people.
but unfortunately, at this time, i have to say it's probably going off to repair pretty soon. (i hope i'm wrong!)

nkk71 said:
I hate to be the bearer of bad news, but that link does very well say:
Applies to: HTC Droid DNA
if i remember correctly (yes you're not the first), that installer overwrites your misc partition (mmcblk0p19) with the kernel, and that's very bad!!
only way to theoretically fix it, is if you can get to a custom recovery. I say theoretically, because most "active cmdline" problems, were unable to get back to a custom recovery, only bootlooping into bootloader.
you could try downgrading hboot to 1.44, that solved it for some people.
but unfortunately, at this time, i have to say it's probably going off to repair pretty soon. (i hope i'm wrong!)
Click to expand...
Click to collapse
Yikes !! never saw that coming...

nkk71 said:
I hate to be the bearer of bad news, but that link does very well say:
Applies to: HTC Droid DNA
if i remember correctly (yes you're not the first), that installer overwrites your misc partition (mmcblk0p19) with the kernel, and that's very bad!!
only way to theoretically fix it, is if you can get to a custom recovery. I say theoretically, because most "active cmdline" problems, were unable to get back to a custom recovery, only bootlooping into bootloader.
you could try downgrading hboot to 1.44, that solved it for some people.
but unfortunately, at this time, i have to say it's probably going off to repair pretty soon. (i hope i'm wrong!)
Click to expand...
Click to collapse
I think you are right....... I flashed hboot 1.44 then the overflow be solved... But when I tried to connect the phone with fastboot mode on 1.44. laptop do not recognize my phone... And I need to wait a short period of time to wait the devices(phone) to recognize itself connected to a laptop!
At first I still can boot to recovery, then it just cannot make it any more!!! Ohhhhhhhh. sosad about my stupid mistake

davidliu8023 said:
I think you are right....... I flashed hboot 1.44 then the overflow be solved... But when I tried to connect the phone with fastboot mode on 1.44. laptop do not recognize my phone... And I need to wait a short period of time to wait the devices(phone) to recognize itself connected to a laptop!
At first I still can boot to recovery, then it just cannot make it any more!!! Ohhhhhhhh. sosad about my stupid mistake
Click to expand...
Click to collapse
are you using Win 8.1? hboot 1.44 doesn't work with Win8.1
use a Windows 7 PC (or Ubuntu), to reflash a custom recovery
and IF (yes it's a big if) you can get to recovery, then let me know. If you can't get to a custom recovery, then send it to repair, even a full ruu flash won't fix it.... (already tried)
Sorry

If you manage to get into TWRP, might try restoring a known good mmcblk0p19 by pushing it to /sdcard and writing it with dd.
Code:
adb push mmcblk0p19.bin /sdcard/mmcblk0p19.bin
adb shell dd if=/sdcard/mmcblk0p19.bin of=/dev/block/mmcblk0p19
I've attached a zipped up p19 from my AT&T m7_ul.
It's worth a shot as a last resort.

Thank you and I will try it if I can get to the customize recovery.
Sent from my HTC One using XDA Premium 4 mobile app

davidliu8023 said:
Thank you and I will try it if I can get to the customize recovery.
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
try both TWRP and CWM and different versions too... one guy (after flashing a Sprint ROM) wasn't able to boot to TWRP, but was able to get to CWM.
Good luck

nkk71 said:
try both TWRP and CWM and different versions too... one guy (after flashing a Sprint ROM) wasn't able to boot to TWRP, but was able to get to CWM.
Click to expand...
Click to collapse
Most recoveries won't boot with a corrupted misc partition because the bootloader control block (BCB) is written there and it's very likely that the 'junk' written into p19 will overflow the kernel command line when the recovery attempts to read the kernel args.
I could easily do a TWRP build that skipped checking the BCB for args, so that TWRP would boot. Then could flash a good copy of p19 into misc.

cschmitt said:
Most recoveries won't boot with a corrupted misc partition because the bootloader control block (BCB) is written there and it's very likely that the 'junk' written into p19 will overflow the kernel command line when the recovery attempts to read the kernel args.
I could easily do a TWRP build that skipped checking the BCB for args, so that TWRP would boot. Then could flash a good copy of p19 into misc.
Click to expand...
Click to collapse
well that is definitely beyond my knowledge!! (rewriting TWRP)... though i do believe you made the 2.0.7.4 update :good:
so if you can manage to write up an "emergency" recovery just to get adb working, i think a lot of people (well a few, since luckily this isn't happening too often) could be helped
.... sort of like and ENG TWRP ... i guess touch, and all other stuff isn't required, just a fully functional adb shell and busybox (especially dd)

nkk71 said:
well that is definitely beyond my knowledge!! (rewriting TWRP)... though i do believe you made the 2.0.7.4 update :good:
so if you can manage to write up an "emergency" recovery just to get adb working, i think a lot of people (well a few, since luckily this isn't happening too often) could be helped
.... sort of like and ENG TWRP ... i guess touch, and all other stuff isn't required, just a fully functional adb shell and busybox (especially dd)
Click to expand...
Click to collapse
@davidliu8023
Ok, here it is. I've tested it in so far that it boots, but it was a small change (commenting out about 15 lines of code) so it should be good to go.
Obviously I cannot test the 'active cmdline overflow' error, but the logic that reads the bootloader message structure has been removed, so you should be able to get into recovery with this version even with a corrupted misc partition. Flash it in fastboot as usual.
twrp-recovery-2.7-m7-nobcb.img
md5sum 49d82928b583052bbb19b62058cb023f
If you can get into recovery with this then you might try restoring mmcblk0p19 using the instructions posted previously.

cschmitt said:
@davidliu8023
Ok, here it is. I've tested it in so far that it boots, but it was a small change (commenting out about 15 lines of code) so it should be good to go.
Obviously I cannot test the 'active cmdline overflow' error, but the logic that reads the bootloader message structure has been removed, so you should be able to get into recovery with this version even with a corrupted misc partition. Flash it in fastboot as usual.
twrp-recovery-2.7-m7-nobcb.img
md5sum 49d82928b583052bbb19b62058cb023f
If you can get into recovery with this then you might try restoring mmcblk0p19 using the instructions posted previously.
Click to expand...
Click to collapse
Thank you, downloaded and can confirm MD5 you posted... but not flashing it
davidliu8023 said:
Thank you and I will try it if I can get to the customize recovery.
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
OP, @cschmitt has just posted the best possible solution for you!!

cschmitt said:
Obviously I cannot test the 'active cmdline overflow' error, but the logic that reads the bootloader message structure has been removed, so you should be able to get into recovery with this version even with a corrupted misc partition. Flash it in fastboot as usual.
Click to expand...
Click to collapse
So a question @cschmitt: had a quick (uneducated look ) at TWRP code, and see it does look at the misc partition for bootloader message or whatever... but since that's so important, why isn't is either included in an ruu, or rebuilt during an hboot/firmware flash?

nkk71 said:
S...why isn't is either included in an ruu, or rebuilt during an hboot/firmware flash?
Click to expand...
Click to collapse
I don't think it included because it contains some device specific data used by the bootloader; the BCB, current CID, current OS version (this is why some devices don't show an OS version in fastboot, it somehow gets overwritten with 0x00 in misc.)
That's one of the risks of s-off, you can flash a kernel to the misc partition. With s-on that would never happen.

cschmitt said:
I don't think it included because it contains some device specific data used by the bootloader; the BCB, current CID, current OS version (this is why some devices don't show an OS version in fastboot, it somehow gets overwritten with 0x00 in misc.)
That's one of the risks of s-off, you can flash a kernel to the misc partition. With s-on that would never happen.
Click to expand...
Click to collapse
strangely enough they do seem to vary slightly, from phone to phone, including the CID part, which since flashing 4.19.401.8 is no longer there for me... shows up fine in bootloader and fastboot getvar though. guess CID is being pulled from p3 or p4 (which seem identical, except the offset)

nkk71 said:
strangely enough they do seem to vary slightly, from phone to phone, including the CID part, which since flashing 4.19.401.8 is no longer there for me... shows up fine in bootloader and fastboot getvar though. guess CID is being pulled from p3 or p4 (which seem identical, except the offset)
Click to expand...
Click to collapse
I think the CID in p19 comes in to play mainly if you set super-CID. In that case p4 and p5 have 11111111 but if you check ro.boot.cid when the OS is running it will still report the CID from p19, in my case CWS__001.
I have seen cases where first 200 bytes of p19 are 0x00 instead of the usual values, not sure what causes that.

cschmitt said:
I think the CID in p19 comes in to play mainly if you set super-CID. In that case p4 and p5 have 11111111 but if you check ro.boot.cid when the OS is running it will still report the CID from p19, in my case CWS__001.
I have seen cases where first 200 bytes of p19 are 0x00 instead of the usual values, not sure what causes that.
Click to expand...
Click to collapse
hmm, and in my case ro.boot.cid is not even there anymore, and CIDGetter is reporting 11111111, so I guess the fallback is actually p19, not p6 as I had first thought.
to write it back or not, that is the question

nkk71 said:
hmm, and in my case ro.boot.cid is not even there anymore, and CIDGetter is reporting 11111111, so I guess the fallback is actually p19, not p6 as I had first thought.
to write it back or not, that is the question
Click to expand...
Click to collapse
I wouldn't worry about it. I've had times when CID and/or OS ver in p19 have become blank, didn't cause any issues. And flashing a firmware.zip restored both values. Maybe they are copied out of the android-info in the zip?

Related

[Q] Custom Rom/Recovery w/o tampered message?

Hello.
I just got my One, upgraded from the One X
I am very skilled regarding rooting, flashing custom roms, recoveries, etc. I just have a quick question.
Is it possible to install custom rom, custom recovery and turn the phone S-OFF - WITHOUT getting the tampered message?
- If no, tell me that
- If yes, read on
Second case: Does this RRU match my M7?
First of all, what have i done myself:
- Unlocked bootloader
- Installed TWRP
- Made a nandroid backup
- Relocked bootloader because i want to flash [ROM] Android Revolution HD 3.2 Google Edition | High Quality & Performance | Android 4.3 Jelly Bean | 2.14.1700.15
- Flashed latest firmware for my phone - 2.24.401.1 (the thread above states that its not needed but recommended)
- Got the TAMPERED message and wants to get rid of that (and return from HBOOT 1.54 to original HBOOT 1.44)
In order to get rid of that message, this guide state i must use "method 2", and as part of that method 2, i must find the correct RRU.
The following is the output of getvar all before firmware update:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.14.3250.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.29.401.16
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: REMOVED
(bootloader) imei: REMOVED
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__Y13
(bootloader) battery-status: good
(bootloader) battery-voltage: 3980mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Too many links))
finished. total time: 0.043s
Click to expand...
Click to collapse
And this is getvar all after firmware update:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: 4A.17.3250.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.24.401.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: REMOVED
(bootloader) imei: REMOVED
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__Y13
(bootloader) battery-status: good
(bootloader) battery-voltage: 4010mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-d16dc66985
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.043s
Click to expand...
Click to collapse
Will this RRU be for my phone: RUU_M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13.3231.27_10.31.1131.05_release_310878_signed.exe
- I found it here: http://www.androidruu.com/index.php?developer=M7
I chose it as its the RRU for the M7 Europe model that gets closest to my original main version (1.29.401.16 vs 1.28.401.7), also the radio in that RRU is just a tad older than my own original radio.
Also, is it possible to downgrade like that (im quite certain it is, just want to be sure).
Kind Regards
TwinAdk
Wait, you was in 1.44 hboot and now you're on 1.54?
If yes, you can't get the s-off.
The tools for the S-OFF are working only in 1.44 hboot, and, i if read right, now you have the 1.54 and you can do nothing...
****, you are kidding me, right? And RUU downgrade is not an option? That will downgrade my RUU too.
Aside from S-OFF being down the toilet, are there any other downsides to Hboot 1.54?
TwinAdk said:
****, you are kidding me, right? And RUU downgrade is not an option? That will downgrade my RUU too.
Aside from S-OFF being down the toilet, are there any other downsides to Hboot 1.54?
Click to expand...
Click to collapse
You can't downgrade with any ruu if you don't have the S-OFF...
Nope, but now you can't remove the ****Tampered**** line and you can't get the S-OFF...
Guich said:
You can't downgrade with any ruu if you don't have the S-OFF...
Nope, but now you can't remove the ****Tampered**** line and you can't get the S-OFF...
Click to expand...
Click to collapse
God dammit.. Well, are there any downsides regarding custom roms, to having the 1.54 hboot? Also, is it likely S-OFF will ever be avail. with 1.54?
TwinAdk said:
God dammit.. Well, are there any downsides regarding custom roms, to having the 1.54 hboot? Also, is it likely S-OFF will ever be avail. with 1.54?
Click to expand...
Click to collapse
No, you can flash all rom, kernel, mod, theme that you want.
For the S-OFF, no, devs said that they will work on the tool for the S-OFF when the new update form htc will come with the 1.55 hboot
Guich said:
No, you can flash all rom, kernel, mod, theme that you want.
For the S-OFF, no, devs said that they will work on the tool for the S-OFF when the new update form htc will come with the 1.55 hboot
Click to expand...
Click to collapse
So when 1.55 hboot arrives, work will start for S-OFF for that HBOOT? Any ETA on 1.55?
TwinAdk said:
So when 1.55 hboot arrives, work will start for S-OFF for that HBOOT? Any ETA on 1.55?
Click to expand...
Click to collapse
Atm there are some leaks of android 4.3 and new hboot 1.55, but this isn't the update that we will get.
For the question, yes
Guich said:
Atm there are some leaks of android 4.3 and new hboot 1.55, but this isn't the update that we will get.
For the question, yes
Click to expand...
Click to collapse
Okay, thanks
Now that i booted the phone, my storage is not available and wifi does not turn on (it says enabling, but thats all) - great start! Any idea why?
Ill look into it tomorrow my self, im off to bed now... Guess the One X will be in service for a few more days...
EDIT: Im on a firmware thats NOT for the android version i have, i think thats the problem. I guess ill have to sideload the custom rom running 4.3, and get it running that way.
Freaking hell, no S-OFF!
You relocked your bootloader after the flash of the rom?
If yes, you have to unlock this, reflash the rom and the kernel, and do a wipe of cache and dalvik-cache...
Guich said:
You relocked your bootloader after the flash of the rom?
If yes, you have to unlock this, reflash the rom and the kernel, and do a wipe of cache and dalvik-cache...
Click to expand...
Click to collapse
I cannot flash the rom as my SD is unavail... Is it an option to sideload the ROM?
TwinAdk said:
I cannot flash the rom as my SD is unavail... Is it an option to sideload the ROM?
Click to expand...
Click to collapse
Flash the stock recovery and then do a factory reset in bootloader, this will fix your sd.
After flash a custom recovery and try to use the sideload
Guich said:
Flash the stock recovery and then do a factory reset in bootloader, this will fix your sd.
After flash a custom recovery and try to use the sideload
Click to expand...
Click to collapse
Hello.
I flashed the stock recovery, and factory reset the phone. It rebooted during factory reset (of course), and booted normally afterwards. Wifi and storage did however still not work.. From within android im told that the storage is "Unavailable" (ill post screenshots later) - and from TWRP, i am told that i have "Internal storage" of 28xxx mb available (not sure about the excact size, around 28 gb) - but i cannot mount it and make it available from windows.
I can see the phone in windows, as a HTC media unit, and browse the content (storage -> legacy -> more folders -> root of SD card with folders like "downloaded" etc - default folders). But when i get there i cannot create folders or files, i can only view the content.....?
1. I cannot downgrade with RRU, since im S-ON
2. My Wifi and storage SEEMS broke (i suspect its because i flashed the firmware mentioned earlier, and my android version is not happy with that firmware - someone with more insight are welcome to comment on my guessing here)
3. Sideloading the rom i want to use (based on android 4.3) seems to be the only option - but can i sideload when my SD is not available in recovery?
Starting to worry a bit here
And thank you for all your help so far :good: I didnt get to say that last evening.. Appriciate!
Kind Regards
Hello sir,
first of all, let me say you screwed up already when not researching XDA before doing an update. Since i have done so myself numerous times, let me advise you to make it a habit, when buying a new phone to specifically research downsides of updates before accepting any.
Particularly in the HTC world, it has become a common thing to only gain S-OFF while the phone is in early software states and loose this ability towards later releases. Until now, many HTC phones i have had to deal with, had issues with disabling security on later firmwares.
Then, the storage problem you describe could possibly be related to something i have seen a fair few times. What Guich told you to do is usually the ultimate trick to get it back working. But let me ask this first: were you able to access storage from windows normally before the update? Or could you also face a driver issue?
OK. Guich's comment did not help. You flashed the stock recovery from the firmware you run. Then you ran Factory Reset from within Bootloader? Or from within android? If the latter, try the first...
I will be putting up stock recoveries from different RUU's soon on my thread here: http://forum.xda-developers.com/showthread.php?t=2316726 but you also find them on the forum already by searching. Try different stock recoveries and factory reset from Bootloader.
Then, if that doesn't help, try to run the OTA 2.24 (which already runs on your phone!) again by booting into bootloader, then picking "Fastboot" there (use volume down and up to navigate and power to confirm) and then going to your adb/fastboot with a command window. Oh, connect phone to PC of course
Lets say you have adb and fastboot plus the dll files in C:\Android. Open a CMD window and do "CD C:\Android" to go there.
there, run "fastboot oem rebootRUU" (type exactly as i do here, omit the quotes though).
then, copy and paste the OTA file (obtain HERE) to the same folder (C:\Android).
For easier typing in CMD, rename the OTA to something short and simple like test.zip or whatever.
then go back to your CMD Window and type in "fastboot flash zip test.zip"
Since its the same hboot and firmware in the OTA like you have on phone and since this package is official and signed, your phone ---should--- accept the flash. If not (maybe because you got the wrong model ID or wrong CID) i wouldn't really know how to proceed. But you DID accept that OTA before so it MUST be for your phone or else it wouldn't have flashed in the first place.
If it flashes fine, boot your phone up and check if it fixed everything.
If not, run the check for software update in Settings/Info/ and see if there is already an official OTA for your phone available that brings you past the 2.24. If not, download one of the inofficial OTA's and --- hope --- that you can flash it. Like 3.18 or 3.22. The first is for Asia/Taiwan though and will almost certainly NOT flash on your phone and the second is BrightstarUS and for the DEV edition and will also almost certainly not flash. But its worth a try.
beyond that, i have no more valuable tips. Only thing I would try is to flash CWM and do a clear storage, wipe data, wipe everything there. But be sure to have your nandroid ready if you do that. CWM uses a slightly different formatting method so it could possibly correct issues. In the past, i have read about screwed up SDcards related to CWM formatting more often than those that got screwed up by TWRP though. So its not exactly ideal to play with CWM on a phone that has already issues with its partition. But if i was desperate, i would do it anyway.
If that doesnt help or make it worse, do the very same thing on TWRP, pick the "wipe Data" option which prompts you to type "yes" into an input line. This will once again format your SD with a different method. It could possible correct this problem.
DO NOT attempt to screw around with the SD Partition using tools like MiniTool or EASUS if you can access the sd from them at all!
The SD Card is an EXT4 file system and cannot be formatted with FAT or NTFS from windows. If you do that, the phone wont work at all anymore. The exact parameters to format the partition externally are not known to me and i doubt you can address the partition from within windows at all. Maybe it works under linux...
Sorry. Cant be much help here. If that all doesnt work, just flash stock recovery back and restore your stock nandroid and send it in for repair. Them service dudes will have the right RUU and fix it for you.
[EDIT]
Oh and before i forget: if you can fix it with these tips, you owe me one
You have to flash Team Venom's ViperOne then instead of ARHD! :laugh:
Aroma installer is running now!! So excited to see the result! I sideloaded the zip, via adb sideload Nice short article on it here: http://teamw.in/ADBSideload
Will return with outcome :highfive::fingers-crossed::fingers-crossed::fingers-crossed:
EDIT: Its back! Running custom rom with sd card avail and wifi working! Pew, saved by adb sideload, increddible!

[SOLVED - thx nkk71 !] Wiped everything & S-ON - Please help :(

Hi everybody,
I already checked a lot of threads in xda but it didn't solve my problem so I do it by myself...
Just got a HTC One and when I wanted to install the Google Edition ROM by bigxie with mini SDK, ADB and TWRP... I just messed up:
- OK to unlock bootloader
- S-OFF didn't work
- I accidentaly wiped everything: the OS...
I tried push a ROM with adb push rom.zip /sdcard/rom.zip but it didn't help:
- S-ON didn't allow me to install custom ROMs
- I couldn't turn my phone S-OFF because my PC didn't recognise it anymore + have no OS
- adb devices command didn't see my phone
Then I tried to relock it to install an official RUU from HTC but:
"(bootloader) signature checking...
FAILED (remote: signature verify fail)"
I guess it comes from my HBOOT-1.54, I red we have to be in 1.44 but one more time I can't downgrade my HBOOT because I'm not S-OFF.
Now my HTC One M7_UL is :
* TAMPERED *
* RELOCKED *
*** Security Warning ***
- S-ON
- HBOOT-1.54.0000
Checkmate ?
Thanks in advance...
can you unlock your phone using HTCdev? get a new token and try.
---------- Post added at 06:29 PM ---------- Previous post was at 06:20 PM ----------
samih7 said:
Hi everybody,
I already checked a lot of threads in xda but it didn't solve my problem so I do it by myself...
Just got a HTC One and when I wanted to install the Google Edition ROM by bigxie with mini SDK, ADB and TWRP... I just messed up:
- OK to unlock bootloader
- S-OFF didn't work
- I accidentaly wiped everything: the OS...
I tried push a ROM with adb push rom.zip /sdcard/rom.zip but it didn't help:
- S-ON didn't allow me to install custom ROMs
- I couldn't turn my phone S-OFF because my PC didn't recognise it anymore + have no OS
- adb devices command didn't see my phone
Then I tried to relock it to install an official RUU from HTC but:
"(bootloader) signature checking...
FAILED (remote: signature verify fail)"
I guess it comes from my HBOOT-1.54, I red we have to be in 1.44 but one more time I can't downgrade my HBOOT because I'm not S-OFF.
Now my HTC One M7_UL is :
* TAMPERED *
* RELOCKED *
*** Security Warning ***
- S-ON
- HBOOT-1.54.0000
Checkmate ?
Thanks in advance...
Click to expand...
Click to collapse
Do you still have a custom recovery installed?
nkk71 said:
can you unlock your phone using HTCdev? get a new token and try.
Click to expand...
Click to collapse
Thanks for your answer.
Yes, I can. Should I install TWRP or CWM afterwards ?
samih7 said:
Thanks for your answer.
Yes, I can. Should I install TWRP or CWM afterwards ?
Click to expand...
Click to collapse
doesnt matter, either will do. choose the one you prefer.
were you able to unlock bootloader?
nkk71 said:
doesnt matter, either will do. choose the one you prefer.
were you able to unlock bootloader?
Click to expand...
Click to collapse
Yes, it's now unlocked and I installed TWRP.
samih7 said:
Yes, it's now unlocked and I installed TWRP.
Click to expand...
Click to collapse
ok, can you post a "fastboot getvar all" (remove IMEI and s/n before posting)
nkk71 said:
ok, can you post a "fastboot getvar all" (remove IMEI and s/n before posting)
Click to expand...
Click to collapse
Here it is :
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: 4A.17.3250.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: xxxxx
(bootloader) imei: xxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: ORANGB10
(bootloader) battery-status: good
(bootloader) battery-voltage: 4286mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-d16dc66985
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.039s
samih7 said:
Here it is :
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) product: m7_ul
(bootloader) modelid: PN0710000
(bootloader) cidnum: ORANGB10
finished. total time: 0.039s
Click to expand...
Click to collapse
another missing version-main , this is really getting weird.
are you still looking to go s-off? if so you're on hboot 1.54, which means a 2.24.xxx.? ROM, so download and try rumrunner with this
http://www.htc1guru.com/dld/guru_reset_m7_2-24-401-1-zip/
and/or
http://www.htc1guru.com/dld/guru_reset_m7_2-24-401-8-zip/
select WIPE, select ROOT, unselect "stock recovery"
nkk71 said:
another missing version-main , this is really getting weird.
are you still looking to go s-off? if so you're on hboot 1.54, which means a 2.24.xxx.? ROM, so download and try rumrunner with this
and/or
select WIPE, select ROOT, unselect "stock recovery"
Click to expand...
Click to collapse
If version main is the version of the OS, I don't have one. :-S
Yes I'm still looking for it and install the Google Edition ROM...
Ok I'll try it, it's downloading, I hope it'll recognise the phone.
samih7 said:
If version main is the version of the OS, I don't have one. :-S
Yes I'm still looking for it and install the Google Edition ROM...
Ok I'll try it, it's downloading, I hope it'll recognise the phone.
Click to expand...
Click to collapse
version-main is the firmware version of the phone, just seems it's disappearing a lot last couple of days.
hboot 1.54 has firmware 2.24.xxx.x, so one of the roms I linked will hopefully get you s-off using rumrunner
nkk71 said:
version-main is the firmware version of the phone, just seems it's disappearing a lot last couple of days.
hboot 1.54 has firmware 2.24.xxx.x, so one of the roms I linked will hopefully get you s-off using rumrunner
Click to expand...
Click to collapse
Ok.
So I need to push and flash the ROM on TRWP, boot on it and a screen will appear with "WIPE" then "ROOT" and unselect stock recovery ?
Thanks.
NB: When I try to do a Factory Reset in TRWP, it fails with an "Unable to mount cache" error message.
NB1: Can't flash the ROM you gave me. Since I did an "Format Data" wich removes datas & encryption on internal storage, I can't flash anything...
NB2: OK I can't mount /data, /sdcard either...
samih7 said:
Ok.
So I need to push and flash the ROM on TRWP, boot on it and a screen will appear with "WIPE" then "ROOT" and unselect stock recovery ?
Thanks.
NB: When I try to do a Factory Reset in TRWP, it fails with an "Unable to mount cache" error message.
NB1: Can't flash the ROM you gave me. Since I did an "Format Data" wich removes datas & encryption on internal storage, I can't flash anything...
Click to expand...
Click to collapse
say what?
unable to mount cache is OK, probably because of the fastboot erase cache
if push dosn't work , sideload it: http://forum.xda-developers.com/showthread.php?t=2317986
nkk71 said:
say what?
unable to mount cache is OK, probably because of the fastboot erase cache
if push dosn't work , sideload it: http://forum.xda-developers.com/showthread.php?t=2317986
Click to expand...
Click to collapse
It's ok, I found an issue by formatting /data in CWM (I deleted TWRP)
The .8 ROM is installed but the fingertouch screen wasn't usable during the installation, I don't know if it means that's not a good version ?
--
Damn man you made my day, the ROM is installed and I can use my HTC again !
Is it the official RUU ?
But unfortunately it's still S-ON.
Thanks a lot
samih7 said:
It's ok, I found an issue by formatting /data in CMW (I deleted TRPW)
The .8 ROM is installed but the fingertouch screen wasn't usable during the installation, I don't know if it means that's not a good version ?
--
Damn man you made my day, the ROM is installed and I can use my HTC again !
Is it the official RUU ?
Click to expand...
Click to collapse
touchscreen wasnt working because you probably used 6.0.3.1, get the latest from here: http://forum.xda-developers.com/showthread.php?t=2173863 (though that one takes VERY long to backup/restore nandroids), so either get 6.0.3.2 or TWRP if you do nandroids frequently.
It's getting late for me, so have to sign off in a bit, and now that your phone is up and running, we can pick this up tomorrow....
you can try rumrunner now to get yourself s-off.
I'll check back tomorrow....
You can still hit the thanks button on my posts if i helped
nkk71 said:
touchscreen wasnt working because you probably used 6.0.3.1, get the latest from here: http://forum.xda-developers.com/showthread.php?t=2173863 (though that one takes VERY long to backup/restore nandroids), so either get 6.0.3.2 or TWRP if you do nandroids frequently.
It's getting late for me, so have to sign off in a bit, and now that your phone is up and running, we can pick this up tomorrow....
you can try rumrunner now to get yourself s-off.
I'll check back tomorrow....
You can still hit the thanks button on my posts if i helped
Click to expand...
Click to collapse
No problem, take your time. Thank you for helping me !!
I hit the "thanks" but it doesn't appear anything, is it normal ?
--
I red I didn't need to get myself S-OFF to install a Custom Rom, is it true ?
I'm trying to get the Google Edition ROM again... Without success.
I flash boot.img in fastboot (& make clear cache) + flash the ROM normally (wipe cache + dalvik cache) via TWRP but my device enter in a boot loop when I reboot after installation (I just see the Google language selection, just to make me more frustrated lol...). Same with CyanogenMod.
Root Checker says "Congratulations ! This device has root access" and I unlocked the bootloader so I don't understand...
Maybe because of the CID of my phone is from Orange Poland (ORANGB10) ? I maybe should get S-OFF & Debrand ?
Thanks for your answer.
Definitely do s-off if you can. It may save you if things go south..
---------- Post added at 12:02 AM ---------- Previous post was at 12:01 AM ----------
However you need unlocked bootloader + custom recovery to install custom ROMs. Not S-off.
SaHiLzZ said:
Definitely do s-off if you can. It may save you if things go south..
---------- Post added at 12:02 AM ---------- Previous post was at 12:01 AM ----------
However you need unlocked bootloader + custom recovery to install custom ROMs. Not S-off.
Click to expand...
Click to collapse
I finally got S-OFF and achieved to install the stock Google Edition 4.4 ROM with this thread : http://forum.xda-developers.com/showthread.php?t=2358781
I had to SuperCID (fastboot eom writecid 11111111) because changing the android-info.txt didn't work.
Could you tell me in which case is it useful to flash stock recovery (he says it's for future OTA's) ?
Does it mean I could do updates via Software Update in Android the menu ?
NB: In the best case, I would like to get the updates via Android interface and have the most "official" Google Edition ROM (I don't want to change it, sooner or later).
Thank you.
samih7 said:
I finally got S-OFF and achieved to install the stock Google Edition 4.4 ROM with this thread : http://forum.xda-developers.com/showthread.php?t=2358781
I had to SuperCID (fastboot eom writecid 11111111) because changing the android-info.txt didn't work.
Could you tell me in which case is it useful to flash stock recovery (he says it's for future OTA's) ?
Does it mean I could do updates via Software Update in Android the menu ?
NB: In the best case, I would like to get the updates via Android interface and have the most "official" Google Edition ROM (I don't want to change it, sooner or later).
Thank you.
Click to expand...
Click to collapse
NB: In the best case, I would like to get the updates via Android interface and have the most "official" Google Edition ROM (I don't want to change it, sooner or later).
Click to expand...
Click to collapse
I wouldn't , but that's your choice :laugh:
Anyway, I didn't read the thread you linked, but to get OTAs, you need "odexed stock rom", and "stock recovery" for OTAs to work properly,
you also need to change your CID (and possibly MID) to GPe
I think GPE CID is "GOOGL001" and MID is "PN0712000" (I THINK)
So if you're stock rom + stock recovery + correct CID & MID, you'll receive future OTAs just fine,
remember to keep S-Off.
if all good, would you mind editing the main thread title to include [SOLVED]. thanks
nkk71 said:
I wouldn't , but that's your choice :laugh:
Anyway, I didn't read the thread you linked, but to get OTAs, you need "odexed stock rom", and "stock recovery" for OTAs to work properly,
you also need to change your CID (and possibly MID) to GPe
I think GPE CID is "GOOGL001" and MID is "PN0712000" (I THINK)
So if you're stock rom + stock recovery + correct CID & MID, you'll receive future OTAs just fine,
remember to keep S-Off.
if all good, would you mind editing the main thread title to include [SOLVED]. thanks
Click to expand...
Click to collapse
Why wouldn't you ? :laugh: I like Google's refinement, don't you ?
How could I verify I'm in stock recovery ?
I flashed it, and now when I click on RECOVERY in BOOT LOADER, it doesn't enter in recovery anymore: get that little Android green toy down with a red triangle.
Ok fine.
samih7 said:
Why wouldn't you ? :laugh: I like Google's refinement, don't you ?
How could I verify I'm in stock recovery ?
I flashed it, and now when I click on RECOVERY in BOOT LOADER, it doesn't enter in recovery anymore: get that little Android green toy down with a red triangle.
Ok fine.
Click to expand...
Click to collapse
"get that little Android green toy down with a red triangle" -> yep, that's stock recovery :good::good:
if you simultaneously and briefly press POWER + VOLUP + VOLDOWN, you'll get to the stock recovery menu (really tiny font). you'll have to try a couple of times to get the timing correctly.

[Q] HTC One Bootlooping after Google Edition ARHD 6.0 installation

At this time I am pretty much hopeless... Seriously, nothing works, but if a miracle happens and I get my HTC One back to life it will be thanks to you guys.
So... This is my story:
Today I was using my HTC One M7_UL like any other day, I had Android OneDroid BETA 15 (a CyanogenMod with a few tweaks) installed and I got bored of it, so I decided to flash a Google Edition ROM. Came to the forum and looked for the thread with most replies on "Custom Android HTC One ROMs" and found the winner of the Google Edition ones, the ARHD 6.0 Google Edition. Fine, I thought, let's flash this [email protected]%#. So I started by downloading the latest version (roughly 550 MB) and connecting my HTC One to my Windows 8.1 Pro computer. The HTC drivers don't work with my 8.1 Pro Windows but since I only needed it to send the .zip file to my Internal Storage I gave it a shot. Copied everything, disconnected and proceeded to my recovery (TWRP) where I Wiped it up and flashed ARHD 6.0 GE. After installing, still on the recovery, restored the phone to factory presets and rebooted it. A Google logo appeared and some Nexus-like balls started to spin, some weird sh%t. Until there, everything absolutely fine, but it stood there with the balls spinning for 3~4 minutes and I thought it was normal because it was the first boot after flashing the new ROM. Got to Language Settings on the Android Welcome screen but then it quickly turned black and reeboted. HTC Logo appeared for roughly 1 second and it got black and rebooted again, this time starting back up but when I got to the Language setup it would do the same thing, over and over again.
So I started looking into it and didn't find many answers, then I decided to try and flash another Google Edition ROM, SkyDragon, but as I am a COMPLETE NOOB in this rooting and wobbly wobbly thingies I had no idea how I would get the .zip file to the Internal Storage, since the HTC One HAS NO SD CARD!!! I researched a bit and found sth called ADB Sideloading, which I am certain you know what it is, but the thing is, since my computer doesn't quite work with HTC Drivers I had to use my sister's PC, with Windows 7 and HTC One All-in-One kit. I could access my bootloader and recovery despite of the bootloop, which I think is a good thing, so I put it to fastboot mode, connected the cable to her computer and on the phone it changed from "fastboot" in red to "fastboot usb" in red also, so I thought, oh ok, it will work now. But when I tried ADB commands or tried any of the commands on the All-in-One thing it would just say "NO DEVICES FOUND" or something among those lines.
Anyway, if someone got this far I already thank you for trying to help but I am pretty certain I got a bricked device. I don't even now what to do, should I try to ADB Sideload this other ROM or should I try a Sense ROM, cuz I read somewhere that Google Edition ROMs only work when migrating from Sense ROMs, and if I am supposed to flash a Sense ROM how would I do so? Please try to be as simple as possible, I don't know much and I am pretty noob, anyways, thank you so much, and I hope you can help me!
(Also, before this bootloop it was S-OFF and now it shows as S-ON)
Waiting for a response,
John B.
You need TWRP 2.6.33 or newer.
You need to be S-Off.
You need to have wiped cache and dalvik and probably a full format (except sdcard) wouldn't go amiss before installing. It sounds to me like it wasn't wiped properly.
The device doesn't S-On on its own, you probably did it with the toolkit or something.
ADB doesn't work in fastboot mode, fastboot mode is for fastboot command, such as flashing recovery.
Are you still unlocked?
Give us the output of
fastboot getvar all
Without IMEI and Serial Number.
BenPope said:
You need TWRP 2.6.33 or newer.
You need to be S-Off.
You need to have wiped cache and dalvik and probably a full format (except sdcard) wouldn't go amiss before installing. It sounds to me like it wasn't wiped properly.
The device doesn't S-On on its own, you probably did it with the toolkit or something.
ADB doesn't work in fastboot mode, fastboot mode is for fastboot command, such as flashing recovery.
Are you still unlocked?
Give us the output of
fastboot getvar all
Without IMEI and Serial Number.
Click to expand...
Click to collapse
Yeah I am unlocked and untempered.
Here is my fastboot getvar all:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.14.3250.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: xxxxxxxxxxxx
(bootloader) imei: xxxxxxxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4309mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Too many links))
finished. total time: 0.077s
And I am ABSOLUTELY SURE that before all of this it was S-OFF, ABSOLUTELY!
BenPope said:
You need TWRP 2.6.33 or newer.
You need to be S-Off.
You need to have wiped cache and dalvik and probably a full format (except sdcard) wouldn't go amiss before installing. It sounds to me like it wasn't wiped properly.
The device doesn't S-On on its own, you probably did it with the toolkit or something.
ADB doesn't work in fastboot mode, fastboot mode is for fastboot command, such as flashing recovery.
Are you still unlocked?
Give us the output of
fastboot getvar all
Without IMEI and Serial Number.
Click to expand...
Click to collapse
Also my TWRP is 2.6.3.3 so I should be good about that right?
Jvov said:
Also my TWRP is 2.6.3.3 so I should be good about that right?
Click to expand...
Click to collapse
Yes, but as far as I know, you need to be S-Off for GPE KitKat ROMs.
Do you really have no version-main?
If your hboot is 1.44 and dated prior to June, you should be able to use revone to S-Off, but you'll need a booting ROM of Android 4.2.2.
BenPope said:
Yes, but as far as I know, you need to be S-Off for GPE KitKat ROMs.
Do you really have no version-main?
If your hboot is 1.44 and dated prior to June, you should be able to use revone to S-Off, but you'll need a booting ROM of Android 4.2.2.
Click to expand...
Click to collapse
Can you explain exactly how can I do that?
Just flash back to another ROM for the moment that has root then use rumrunner to get S-OFF then flash ARHD GPE again. You'll be fine then.
Sent from my One using XDA Premium 4 mobile app
Also don't do a reset after flashing the rom. It will boot loop every time.
Bat cave One
zelendel said:
Also don't do a reset after flashing the rom. It will boot loop every time.
Bat cave One
Click to expand...
Click to collapse
Solved, thanks to all!

Active cmdline overflow!

Hi, my dad just got a HTC One and tried to install a ROM but failed terribly by wiping everything that he possibly could, don't ask me how, and then he had me fix it because he couldn't. I sideloaded Android Revolution HD but got error 7 (old recovery) so I updated the recovery and that's where the problems started, I got the error 'Active cmdline overflow!' which I couldn't find a solution to, I installed an older recovery and it worked fine so it turns out that I can't install any recoveries capable of KitKat ROMs without getting that problem that prevents me from booting or getting to recovery. I restored using an RUU which didn't fix much; I can't update the stock ROM without getting a boot loop and if I try to change the kernel so I can S-OFF I get 'Active cmdline overflow!' again!! Now I'm stuck in bootloader because I can't flash any kernels Can anyone help me please?
Getvar all:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4A.17.3250.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT3B2W900221
(bootloader) imei: ***************
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: VODAP001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4275mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-09ff2ded
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Thanks in advance Sorry if I got anything wrong this is my first post in a very, very long time
Please provide specific versions of recovery that works and the version that results in active cmdline overflow.
cschmitt said:
Please provide specific versions of recovery that works and the version that results in active cmdline overflow.
Click to expand...
Click to collapse
CWM - 6.0.4.5+ causes the error I think
TWRP - 2.6.3.3+ causes the error
All others seem to be fine
Jak3Mac said:
CWM - 6.0.4.5+ causes the error I thing
TWRP - 2.6.3.3+ causes the error
All others seem to be fine
Click to expand...
Click to collapse
Have you tried this: http://forum.xda-developers.com/showthread.php?t=2708134
cschmitt said:
Have you tried this: http://forum.xda-developers.com/showthread.php?t=2708134
Click to expand...
Click to collapse
No, it's the LTE version of the phone so that recovery won't work
Jak3Mac said:
No, it's the LTE version of the phone so that recovery won't work
Click to expand...
Click to collapse
??? It's for m7_ul, which is your phone.
cschmitt said:
??? It's for m7_ul, which is your phone.
Click to expand...
Click to collapse
I'm sorry, I don't know what's wrong with me :laugh: I'll give it a try when I get up, it's 3:30 am so I'm ready to sleep but I'll need to find and flash the stock kernel first because the current kernel is causing the issue at the moment and this prevents me from getting to recovery
cschmitt said:
Have you tried this: http://forum.xda-developers.com/showthread.php?t=2708134
Click to expand...
Click to collapse
I tried this, it doesn't work. Same issue: "Active cmdline overflow! (1025 Bytes)"
Jak3Mac said:
I tried this, it doesn't work. Same issue: "Active cmdline overflow! (1025 Bytes)"
Click to expand...
Click to collapse
Thanks for giving it a try. So as soon as you return to a pre-2.6.3.3 TWRP the error no longer appears in hboot screen?
We seen this error in various cases and trying to nail down the exact cause.
FYI, Some have had luck with downgrading to a pre-1.54.000 hboot.
cschmitt said:
Thanks for giving it a try. So as soon as you return to a pre-2.6.3.3 TWRP the error no longer appears in hboot screen?
We seen this error in various cases and trying to nail down the exact cause.
FYI, Some have had luck with downgrading to a pre-1.54.000 hboot.
Click to expand...
Click to collapse
Yes that's right, it's very odd. I'm going to try and flash the Viper ROM using 4.2.2 and see if I can S-OFF, then I'll write super CID and downgrade hboot.
***Update***
I flashed the venom ROM but when using Rum Runner I'm getting a lot of pours so I don't think it's going to work
Jak3Mac said:
Yes that's right, it's very odd. I'm going to try and flash the Viper ROM using 4.2.2 and see if I can S-OFF, then I'll write super CID and downgrade hboot.
Click to expand...
Click to collapse
Here's hboot 1.54.0000 Aug 19, 2013 from GPE 3.07.1700.1. There are several 1.54.0000 hboots with different production dates, but the Aug 19 version is the last one to not include the 'Active cmdline overflow' code, so it should work for you once you are s-off.
firmware_3.07.1700.1.zip
cschmitt said:
Here's hboot 1.54.0000 Aug 19, 2013 from GPE 3.07.1700.1. There are several 1.54.0000 hboots with different production dates, but the Aug 19 version is the last one to not include the 'Active cmdline overflow' code, so it should work for you once you are s-off.
firmware_3.07.1700.1.zip
Click to expand...
Click to collapse
Thanks for all your help, could you help me out with S-OFF? I'm getting infinite pours but there's not much I can do about it, I can't flash kernels or flash the current rom. Would stock recovery help?
Jak3Mac said:
Thanks for all your help, could you help me out with S-OFF? I'm getting infinite pours but there's not much I can do about it, I can't flash kernels or flash the current rom. Would stock recovery help?
Click to expand...
Click to collapse
You're trying to get a specific rom and kernel installed to s-off?
Assuming bootloader is unlocked, just pull the boot.img out of the kernel zip you want and 'fastboot flash boot boot.img'
For the rom, maybe find a nandroid backup of the \system partition for the rom you want and just restore it using the older twrp or cwm recovery. Might work.
Ask in the rom thread your trying to install, maybe someone will post a backup for you. Or search for the 'guru reset' thread, I think there are some nandroid backups there.
cschmitt said:
You're trying to get a specific rom and kernel installed to s-off?
Assuming bootloader is unlocked, just pull the boot.img out of the kernel zip you want and 'fastboot flash boot boot.img'
For the rom, maybe find a nandroid backup of the \system partition for the rom you want and just restore it using the older twrp or cwm recovery. Might work.
Ask in the rom thread your trying to install, maybe someone will post a backup for you. Or search for the 'guru reset' thread, I think there are some nandroid backups there.
Click to expand...
Click to collapse
Flashing any kernel triggers the active cmdline error
On the guru reset thread I found one from a phone with the CID vodap002 but mine's vodap001, it will still work though won't it? I'm downloading now, will update the post when I've restored it
***Edit***
I think the partitions are messed up :\ I can't mount cache in recovery which is one of the symptoms of this. Would re-flashing the firmware solve this issue? If I could find it, that is
***Edit 2***
CWM isn't picking up the nandroid I might have to give up on this one, I don't know what to do. I'll put a JB ROM on for now, that'll have to do

[Q] HTC One unlocked, tampered, S-ON and custom recovery - Can I do OTA

Hi,
I have an HTC One PN07120. It is unlocked, tampered S-ON, has custom recovery installed, and is running AT&T 4.3 JellyBean stock.
In a few days Sense 6.0 OTA update will become available for my device, so I was wondering if I can just normally run the setup and update my system or I have to relock my device or something?
PLEASE RESPOND
Torcidas1950 said:
PLEASE RESPOND
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=52894276&postcount=9
+ you need stock recovery, ota update will not flash using a custom recovery.
PLEASE SEARCH
alray said:
http://forum.xda-developers.com/showpost.php?p=52894276&postcount=9
+ you need stock recovery, ota update will not flash using a custom recovery.
PLEASE SEARCH
Click to expand...
Click to collapse
So if I got you right, only thing that matters is that I have stock recovery instead of custom recovery. And how do I do that?
Torcidas1950 said:
So if I got you right, only thing that matters is that I have stock recovery instead of custom recovery.
Click to expand...
Click to collapse
Well yes and no, it depend what you did with your phone, read the link I have posted above, will not write all again
And how do I do that?
Click to expand...
Click to collapse
flash stock recovery the same way you have flashed a custom one
Code:
fastboot flash recovery name_of_recovery.img
you need the recovery that match your present firmware #
Torcidas1950 said:
Hi,
I have an HTC One PN07120. It is unlocked, tampered S-ON, has custom recovery installed, and is running AT&T 4.3 JellyBean stock.
In a few days Sense 6.0 OTA update will become available for my device, so I was wondering if I can just normally run the setup and update my system or I have to relock my device or something?
PLEASE RESPOND
Click to expand...
Click to collapse
You should be fully stock, including recovery, before taking an OTA, except that you can (and should) stay s-off and unlocked. You may not even get the OTA otherwise.
So I think I have found the stock recovery needed for my device. Now there is a small problem, I have 2 stock recovery files for my device and I do not know wich one to choose because when I typed "fastboot getvar all" I didn't find any information at "version main", just blank space. How should I know wich one to pick?
iElvis said:
You should be fully stock, including recovery, before taking an OTA, except that you can (and should) stay s-off and unlocked. You may not even get the OTA otherwise.
Click to expand...
Click to collapse
alray said:
Well yes and no, it depend what you did with your phone, read the link I have posted above, will not write all again
flash stock recovery the same way you have flashed a custom one
Code:
fastboot flash recovery name_of_recovery.img
you need the recovery that match your present firmware #
Click to expand...
Click to collapse
So I think I have found the stock recovery needed for my device. Now there is a small problem, I have 2 stock recovery files for my device and I do not know wich one to choose because when I typed "fastboot getvar all" I didn't find any information at "version main", just blank space. How should I know wich one to pick?
Torcidas1950 said:
So I think I have found the stock recovery needed for my device. Now there is a small problem, I have 2 stock recovery files for my device and I do not know wich one to choose because when I typed "fastboot getvar all" I didn't find any information at "version main", just blank space. How should I know wich one to pick?
Click to expand...
Click to collapse
post your "fastboot getvar all" (excluding IMEI and s/n)
nkk71 said:
post your "fastboot getvar all" (excluding IMEI and s/n)
Click to expand...
Click to collapse
Here it is:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4A.17.3250.20
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: xxxxxxxxxxxxxx
(bootloader) imei: xxxxxxxxxxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3894mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Torcidas1950 said:
Here it is:
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4A.17.3250.20
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) product: m7_ul
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) gencheckpt: 0
Click to expand...
Click to collapse
did you change radio?
hboot 1.55 + MID + CID would indicate you are on 3.xx.502.x version
so i guess: http://d-h.st/D8F or http://d-h.st/6bH would be a suitable recovery, but you need to have your phone's ROM 100% stock
nkk71 said:
did you change radio?
hboot 1.55 + MID + CID would indicate you are on 3.xx.502.x version
so i guess: http://d-h.st/D8F or http://d-h.st/6bH would be a suitable recovery, but you need to have your phone's ROM 100% stock
Click to expand...
Click to collapse
Well, the guy who fixed my phone from a bootloop and bricked state said he has done the s-off, found a suitable stock RUU and installed, then he put S-ON back and unlocked bootloader if I decide to do any mods in the future.
Torcidas1950 said:
Well, the guy who fixed my phone from a bootloop and bricked state said he has done the s-off, found a suitable stock RUU and installed, then he put S-ON back and unlocked bootloader if I decide to do any mods in the future.
Click to expand...
Click to collapse
1- If you are 100% stock then Settings -> About should also show your correct version number
2- you rooted the phone, so that may or may not have changed some system files, so OTA may not work
3- once S-Off stay S-Off, my personal opinion
In my humble opinion, three choices really, when it comes to "modding" or not your phone:
A) stay stock and don't mess with it to get OTAs
B) you cannot achieve S-OFF (due to newer hboots, or device problems) -> fine live with an unlocked bootloader, and accept the fact that you cannot install OTAs .... you can however "download and install later" the OTA, then pull it to your phone, and use the signed firmware.zip in it
C) you can achieve S-OFF and want to mod your phone -> then do it, get S-Off and enjoy the freedom (but don't flash things not meant for your phone!! this goes for S-On too)
Of course you're going to say that "but S-Off is dangerous", it's a double edged sword... sometimes you are able save your phone thanks to S-Off, and sometimes you can brick it completely.
But then again, you can easily brick an S-On phone too (especially one that is modded), and much more difficult to save than an S-Off phone.
^^ All that is my personal opinion, and I'm not suggesting you S-Off, but if you want to mod your phone (whether S-On or S-Off), you need to be aware of what may, or may not, go wrong, and have done some reading and research
Good Luck
Well, its not worth it. I wont risk bricking my phone again
Torcidas1950 said:
Hi,
I have an HTC One PN07120. It is unlocked, tampered S-ON, has custom recovery installed, and is running AT&T 4.3 JellyBean stock.
In a few days Sense 6.0 OTA update will become available for my device, so I was wondering if I can just normally run the setup and update my system or I have to relock my device or something?
PLEASE RESPOND
Click to expand...
Click to collapse
Torcidas1950 said:
Well, the guy who fixed my phone from a bootloop and bricked state said he has done the s-off, found a suitable stock RUU and installed, then he put S-ON back and unlocked bootloader if I decide to do any mods in the future.
Click to expand...
Click to collapse
Torcidas1950 said:
Well, its not worth it. I wont risk bricking my phone again
Click to expand...
Click to collapse
Those are completely rhetorical highlights, so you can disregard :cyclops:
Good luck, enjoy, and let us know how the OTA update goes
nkk71 said:
Those are completely rhetorical highlights, so you can disregard :cyclops:
Good luck, enjoy, and let us know how the OTA update goes
Click to expand...
Click to collapse
I will if I eventualy decide to do it, so one last question: can I damage my phone in any way if I try flashing stock reckovery?
Thank you so much for all the information you have given me
Torcidas1950 said:
I will if I eventualy decide to do it, so one last question: can I damage my phone in any way if I try flashing stock reckovery?
Thank you so much for all the information you have given me
Click to expand...
Click to collapse
That's a tough one... cause even if you manage to pull out the cable, at exactly the right (ie wrong) moment while flashing recovery, it wouldn't affect bootloader... and with a good bootloader (hboot, and some other variables) you should be able to revive your phone.... now mess with hboot, and that's a whole different story!!
As I said, this is my personal opinion, so maybe get some second opinions on the subject... I can only answer on what i've done, seen, experienced, fixed, not fixed, etc.
Maybe someone wiser will add his/her opinion to this
nkk71 said:
That's a tough one... cause even if you manage to pull out the cable, at exactly the right (ie wrong) moment while flashing recovery, it wouldn't affect bootloader... and with a good bootloader (hboot, and some other variables) you should be able to revive your phone.... now mess with hboot, and that's a whole different story!!
As I said, this is my personal opinion, so maybe get some second opinions on the subject... I can only answer on what i've done, seen, experienced, fixed, not fixed, etc.
Maybe someone wiser will add his/her opinion to this
Click to expand...
Click to collapse
Well, I am not planing to unplug the cable haha.. well if someone else knows please tell, the update is coming soon so I would like to know, but if its risky, there is no way I'm doing it
Torcidas1950 said:
but if its risky, there is no way I'm doing it
Click to expand...
Click to collapse
I hope you have a sense of humour, so no offense meant, but... why did the chicken cross the street (and was it risky?)
Wish you all the best
nkk71
nkk71 said:
I hope you have a sense of humour, so no offense meant, but... why did the chicken cross the street (and was it risky?)
Wish you all the best
nkk71
Click to expand...
Click to collapse
So, yesterday the OTA was finally released, and today I have flashed stock recovery... Now waiting for the OTA notification to come
Sent from my HTC One using XDA Free mobile app
hello guys,
i did a deep search, but nothing found about it, or found but did not understood, so i will ask you. if in my stock recovery it also says (TAMPER), will be possibly to instal OTA?
L.E. - rest is like the title of the topic - Unlocked, S-ON, tampered..

Categories

Resources