yashsingh1/xdaforums huggingface dataset:
[One (M7) General] lee1763:
cant get into sd card so how to apply android 4.2.2 custom rom

---------- Post added at 05:38 PM ---------- Previous post was at 05:32 PM ----------

i can get into cwm recovery but when i choose zip from sd card it keeps saying cant mount sd card so nothing come up
[One (M7) General] bgcngm:
Then send the .zip to the internal storage via ADB:

adb push update.zip /sdcard/

Please wait for it to be finished, it will take a while.
[One (M7) General] lee1763:
keep saying device not found when i put in command adb push update.zip /sdcard/ but device is found because it lets me fastboot erase cache and everything else guess i got a brick here. This all started I was using moonshine to s-off and it was going well until moonshine got hangup on ADB it could find it so it went into the home screen of my phone and that all it does on boot up it get to the white 3G screen then reboots and back to that reboots and back to that. it wont go further. Its stuck in moonshine command mode

---------- Post added at 06:53 PM ---------- Previous post was at 06:47 PM ----------

I cant find no way to undo moonshine. I tried restarting the program but its not recognizing the phone at all
[One (M7) General] bgcngm:
The adb command I told you needs to be executed when phone is connected under recovery mode. If you can get into CWM recovery, I guess you will be able to bring it back to life.
[One (M7) General] lee1763:
can get into recovery mod but its not excepting no commands keeps saying device not found. I tired to sideload I tired flashing I tired every thing the only thing that will work is htc one 802w stock rom 4.2.2 it seems that it will recolonize that if i tired it but no stock rom with update yet.
[One (M7) General] bgcngm:
Have you checked if adb drivers are installed? The phone is detected as a different device depending if it is in fastboot or recovery mode.
[One (M7) General] fer3on_sci:
Hi, after having trouble copying the ruu file to sdcard i used this command to push it and it succeeded, after that i locked the bootloader, but when i enter to bootloader again you said that it'll automatically start upgrading but nothing happened! and when locked the bootloader it prevented me from accessing recovery, it says system warning. please help.

---------- Post added at 01:36 PM ---------- Previous post was at 01:05 PM ----------

i also tried to flash using hisoon tool but it failed and also using "fastboot flash zip Rom.zip" but got this error FAILED (remote: 43 main version check fail) :(
[One (M7) General] bgcngm:
What are you trying to do? Flash the RUU or install a custom ROM?
[One (M7) General] fer3on_sci:
flash the RUU that you posted, so i can revert to stock and update to 4.2.2
[One (M7) General] bgcngm:
If your main version is already higher it will fail. Otherwise you should either apply it this way or this way:

fastboot oem rebootRUU
fastboot flash zip RUU.zip
[One (M7) General] fer3on_sci:
I'm on 4.2.2 but i think i messed it up, so i thought to go back from scratch, what's the solution then to get a clean official rom if I'm not able to go back ?
[One (M7) General] bgcngm:
Why do you think you messed it up? Have you updated OTA? In your case I would just try to flash the latest firmware.zip. Read my latest posts.
[One (M7) General] fer3on_sci:
yes i updated OTA, then unlocked bootloader and rooted, i went and deleted some chinese programs. in the apps menu the folders are still in chinese though i changed it to english, i tried to install the gms app for gapps more than 7 times but it always hangs up the phone and i restart it at the end :(
[One (M7) General] bgcngm:
I can share my nandroid backup later on. The backup was made immediately after 4.2.2 OTA update and having wiped userdata.
[One (M7) General] fer3on_sci:
thanks a lot, will be waiting you :)
[One (M7) General] 3hpv9w9m8E:
bgcngm, could you please answer: can I delete/add some apps (and change some strign in for ex. build.prop) from zip file with OTA (or from ZIP file with stock rom) and flash it after it? May be I have to sign it with some kind of zip.signer app?

Thank you.
[One (M7) General] bgcngm:
No, you can't. There's no way you can sign it with manufacturer keys.

EDIT: To serve your purposes (installing unsigned .zip) you need to flash CWM recovery.
[One (M7) General] rigodon:
Yes, please :)
[One (M7) General] 3hpv9w9m8E:
you have to disable "show location info" in phone app settings (for ex.from three dots menu from dialer):cowboy:

---------- Post added at 10:21 PM ---------- Previous post was at 10:13 PM ----------

Thanks, so after installing back CWM |I will be able to flash latest OTA again, cutted for just changes in build.prop and some apps, or this is not as easy as I think ))

Sorry for noob Q. ))
[One (M7) General] spatial_bob:
Do you know how to disable r/w protection so that I can install busybox on this model?
[One (M7) General] bgcngm:
Disable r/w protection?!? Do you mean mount system as writeable? You can install busybox from a zip via CWM. Just search around the forum and you'll find it.
[One (M7) General] lee1763:
if anyone can find a stock RUU for the 802w with the update already 4.2.2 pleases share. I been looking for it and they only have the 4.2.1. stock rom. My phone is stuck in a soft brick and the only way to fix it will be revert back to stock and start over. My problem is i updated my phone to 4.2.2 and now i cant revert back. So i need the stock 4.2.2 RUU. I have tried everything that i found here but nothing seems to work. Can't ever push no roms to my phones through adb phone not recognize. device not found
[One (M7) General] AssumedAlias:
Soft brick fix

I was in the same boat about 5 minutes ago. This was what I did;

Install CWM recovery.

Download the CWM Nandroid for HTC Developer Edition from here (I got the one by rockd0gg).

Somehow get the backup onto the SD card (backup should be in /clockworkmod/backup/<folder extracted from backup file>).

Boot into CWM recovery.

Go to Backups & Restore and choose advanced restore or advanced restore form external (depends where you place the backup)

Restore only system.

Reboot to Android.

You should be able to use the phone somewhat now. Things that don't work which I know of right now:

Wi-Fi

Bluetooth

External SD Card

We'll get full functionality when someone here posts a nandroid backup of their HTC 802w. At least it isn't a paperweight now :).
[One (M7) General] spatial_bob:
Yes thanks that's what I meant.

I couldn't find a zip for the latest version. Can you point me in the right direction?

Do I need to first uninstall the busybox app before flashing or it doesn't matter?
[One (M7) General] Crake:
I also would like to know, if someone can help.

I froze some apps on Titanium Backup, but i am afraid that something went wrong, because, i can't use a-Gps function, and and don't have the GPS trigger on the status bar...

I also installed the "http://www.modaco.com/topic/361634-xmod-modaco-toolkit-for-xposed-framework/" in order to get again the % on the battery icon, but doesn't work.

Every time i reboot the phone i have to wait a lot since it tells me that Android is beeing updated, 57 Apps !!!

I followed the Bruno tips about this, but unfortunately they don't work for me...it's annoying!

I also don't have the Developers option on Settings Menu.

Well they are so many things that i wonder why i moved from the 4.1.2 Rom...
[One (M7) General] bgcngm:
Here you go: HTC 802w 2.17.1402.2 stock nandroid backup.7z - 730.03 MB

EDIT: Official RUU has been already released. Grab it from here.
[One (M7) General] sunnyyen:
"Android is Updating, Optimzing 1 of 37" shows after every reboot

I'm using the China Mobile version 802t with Google disabled. Unlocked and rooted to install Google service. Then I flashed back to stock recovery and installed all OTA updates all the way up to the latest 2.17.1403.2. Problem is, after the latest update, everytime I reboot the device it'll take about a minute to show the message "Android is Updating, Optimzing xx of 37". Any solutions?
[One (M7) General] lu_peng2:
some wher back in this thread is te solotion even postetd twice or trippel
[One (M7) General] slyk2203:
I can not say often enough..... THANK YOU... your make my day... weekend.... month.... after many troubles to update to 4.2.2 I did it with your backup.... ( I had to fix md5 mismatch....) but then it worked perfecktly.... now I take a custom rom and will have finaly more time for my son....
[One (M7) General] AGPPC:
Hi,

How did you fixed md5 mismatch ? Please help ...

Also if you can please advise steps that you followed?

Many Thanks
[One (M7) General] slyk2203:
Hi

please search the forum and look for md5 mismatch: you have to rename the new backup you downloaded. After you did it you can use custom recovery to recover the backup. After that you will get 4.2.2 android.

What I did not manage to do is to instal custom ROM because of HBOOT version (is older)...
[One (M7) General] bgcngm:
How did you got a md5 mismatch? I have kept the files secure and also checked md5 checksums before uploading the backup... :o
[One (M7) General] AssumedAlias:
Hash bypass

I can attest that the md5 matches, as I used the backup to restore with no problems. Hash values mismatching generally means that the file didn't download properly, so I suggest you download it again and check the hash values again

If you want to throw caution to the wind or the md5 mismatches for the second time as well try this:

Check the hash of all the files and list all of them down separately on some file.

Open the nandroid.md5 file from the backup file provided.

Check which files have different hash values.

Replace the hash values that differ with the hashes that you got.

Save the file (I am adding this part because of personal experience).

Do the rest of the steps required for restore.

I honestly suggest that you don't do this, as you'll probably face more problems down the line from an improper restore and/or brick your device further. There is a reason why backup files have hashes in the first place ;).
[One (M7) General] AGPPC:
Thanks a Lot bgcngm :)

Do you know of any way to remove Chinese apps ?
[One (M7) General] rigodon:
Any patches for BlinkFeed in 4.2.2?
[One (M7) General] AGPPC:
Hi bgcngm , Do you know how can i access GPS as it is not available in Wireless& Networks settings ?

Thanks
[One (M7) General] AGPPC:
I am using this patch.
[One (M7) General] AGPPC:
Hi,

Do you or anyone else have fb.zip that you can share by any chance?

Thanks
[One (M7) General] emresez:
Help needed for nandroid restore to a locked 802w using stock rom

Hi there..

Thanks for your big effort to provide such a service. Upgrading with OTA method doesn't work for me because HTC servers let me download with only 0.1kb. I guess im not the only one who is in that situation and i dont know how you can manage OTA downloads faster.

Since there is not an official RUU it seems this is the only way for me to upgrade with your backup.

I have an unlocked 802w with stock rom and i downloaded your zip file.

I am not as novice as you are so can you please enlighten me how can i restore your backup to my phone step by step?

I guess these are the steps i should follow, if im wrong or missing something please correct.

1) Should unlock first with the instructions on HTCDev page.

2) Install a custom recovery -if so which one, CWM? TWRP? can you provide a working custom recovery link for 802w

3) Copy your 7zipped nandroid backup file to SD card.

4) Rebooting phone in recovery mode and perform restore operation with choosing the 7zipped file from sdcard.

My sdcard is 16gb, does the size of my sdcard is relevant for restoring procedure, it has plenty of free space on it.

I have already some data -music, office files, pdfs etc- on sdcard, will they be lost after restoring?

If I mess up somewhere in the procedure am i be able to relock and revert back to old official 4.1.1 RUU without problem?
[One (M7) General] slyk2203:
You have to use the code ADB:

Code:

adb shell

# cd /sdcard/clockworkmod/backup/NAME OF THE BACKUP

# rm nandroid.md5

# md5sum *img > nandroid.md5

should work.
[One (M7) General] AssumedAlias:
Opening Post pretty much cover your first two questions. Three and four are wrong -maybe, never tried that, but I don't think so as CWM as a pretty specific format for restoring. Here are the remaining steps to get what you want.

Follow up to step 4 of the OP.

Extract the downloaded backup into an empty folder.

Copy that folder into /sdcard/clockworkmod/backup/ on your external SD card.

Boot into recovery. By booting into bootloader and then selecting recovery option.

Go to Backup & Restore.

Make a backup to external SD card.

Optional; Copy the backup you just made to your computer.

Wipe everything except for external SD card. (Select Go Back, then Mounts & Storage, Select Format <partition>. Again all except external SD card.

Go back into Backup & Restore.

Select Restore from External Storage.

Select the backup you copied over. Not the one you made.

Wait for it to finish.

Reboot.

Note that you will lose all data except for the stuff on your external SD card (unless you made that backup), so I suggest you copy everything to your computer (both internal and external as a precaution). You will be able to relock, but I don't think that you'll be able to restore using the RUU.
[One (M7) General] AGPPC:
You also need to have the official facebook and twitter apps installed to see the options under Services & Apps.

Hello,

Can anyone please upload fb.zip file as i don't have account on 4shared.com/zip/Cg-fERqb/fb_online.html

Thanks
[One (M7) General] lee1763:
since i am in a soft brick my sd card is not recognize when trying to load to it in adb any suggestions. I been trying to do this backup but one of the procedures is getting the backup to the sd card i put in the command but it keeps saying device not found can anyone help me to get my phone to regonize sd card in soft brick.. Now it does recognize my phone when trying to do anything else in fastboot adb just not my external sd card. even when i am in recovery. it states cant mount.. Please help. I been stuck in soft brick for a week trying every option.
[One (M7) General] bgcngm:
Flash the recovery that I've shared along with my nandroid backup and you'll be able to mount external sdcard. ;)
[One (M7) General] Crake:
Yes, you are right, but like i told before unfortunately doesn't work here...
[One (M7) General] sunnyyen:
Android is Updating message after every reboot

Didn't work for me. Rooted the phone again, successfully deleted /system/framework/com.google.widevine.software.drm.odex, message popped up again after reboot. Then I found the file is back to where it is again.

One thing I noticed though is that the message only pops up after reboot. If I power off and then power on again, it doesn't show up.
[One (M7) General] lee1763:
stock rom

when someone can find the stock 802w RUU 4.2.2 please post . I have been looking everywhere cant find so far
[One (M7) General] bgcngm:
Try deleting the file under recovery mode. The reason is that stock kernel prevents writing to system partition. A workaround is to load this kernel module, which I guess it should work also on 802w.
[One (M7) General] sunnyyen:
I use a Chinese version CWM recovery v6.0.3.2. When connected to pc, "adb devices" can list the device and show it's in recovery, but when try to "rm /system/framework/com.google.widevine.software.drm.odex" under adb shell, it says no such file or directory.

I have another 802t that's been through exactly the same sequences as this one: rooted-installed gapps in 4.1.2-flashed stock recovery-OTA all the way to 4.2.2-third recovery to flash 4.2.2 gapps-back to stock recovery for future OTA. I did a factory reset in hboot to this one. Message still pops up but only for like 2 seconds "Android is Upgrading.. starting applications". So I guess only the apps installed before the 4.2.2 OTA needs optimazation after reboot.
[One (M7) General] bgcngm:
Have you mounted /system partition before trying to delete the file? :silly:
[One (M7) General] spatial_bob:
is it possible to replace/flash the international version of the mail and cloud apps so that the default services are not Chinese?
[One (M7) General] AGPPC:
Hi,

Anyone successful in S-off HTC one 802w?

If yes can you please post the method.

Thanks
[One (M7) General] sunnyyen:
How do I do that?

BTW, earlier guess that message only pops for apps installed before upgrade to 4.2.2 is wrong. Installed apps after factory reset and got the message again.
[One (M7) General] bgcngm:
Fix "Android is upgrading" message every reboot, after installing gapps

Reboot into recovery:

adb reboot recovery

Then mount system and delete the file:

adb shell
mount system
rm /system/framework/com.google.widevine.software.drm.odex
[One (M7) General] ptuananh:
The first try, I flash superSU through CWM then I got "Android is upgrading..." everytime I restart.

Second and third tries, I root it manually and install superSU from Google Play. Never got the annoying message again.

That is my experience. BTW, I install busybox manually as well.
[One (M7) General] maxcasio:
is there anyone manage to unlock sim for 802d? please share. thanks
[One (M7) General] AGPPC:
Hi ,

i was able to do adb reboot recovery

when i type adb shell on command prompt it says :

C:\Users\ag>cd ../..

C:\>cd Android

C:\Android>adb reboot recovery

C:\Android>adb shell

error: device not found

C:\Android>mount system

'mount' is not recognized as an internal or external command,

operable program or batch file.

Any suggestions what i am doing wrong here... This is first time i am doing command line...

And i am using your 4.2.2 ROM (Many Thanks) , can you please confirm if Bluetooth headphones paring is working for you as mine is not pairing?

And have you been able to S-Off the device yet?

Thanks
[One (M7) General] bgcngm:
You have to install Google ADB drivers. Please check your computer device manager when phone is connected under recovery mode.
[One (M7) General] AGPPC:
Hi Anyone know how to disable boot sound of China telecom and the Logo when power on device?

Thanks
[One (M7) General] ptuananh:
You follow the instruction posted in the previous posts to mount the /system in recovery mode, then delete/replace the boot animation and sound in /system/customize/resource.

:)
[One (M7) General] AGPPC:
Thanks man, thanks a lot for your reply ....

I am installing SDK now ... I hope it is easy enough to delete the files

Do you know how to S-Off 802w ??

Looks like Revone method is not working for 802w

Thanks
[One (M7) General] ptuananh:
No, I don't know and I'm pretty sure that revone is not working with 802w for now.
[One (M7) General] dj_lex:
Hello,

Sorry if i'm off-topic, but I have a problem with the w version of the dual sim One.

I just bought it, and I use it in Romania.

I have Google Apps installed (bought it like this), but I don't have the "Software update" submenu under the "About" menu. The android version is listed 4.1.2, even though I have the advanced notification area (toggles). I also don't have Facebook on Blinkfeed.

Any idea how can I update to an official 4.2.2 version? Or at least get the submenu? What about facebook on blinkfeed?

Thank you!
[One (M7) General] bgcngm:
You can try flashing the RUU and then updating OTA. Grab it from one of my previous posts.
[One (M7) General] dj_lex:
How do I know for which network was it made? I bought it from here, and it is not branded. I mean what stock rom should I flash?

Thank you!

---------- Post added at 09:59 PM ---------- Previous post was at 09:44 PM ----------

And I noticed a difference between my actual toggles, which are Samsung style, they have small icons, and stay always there. On my friend's HTC One (not dual sim) which he updated OTA to 4.2.2, he has to push the old settings button in the notification area, and then huge toggles appear...

Maybe I have a custom rom installed on my dual sim? How can I find out if this is the case?

Thank you!
[One (M7) General] lee1763:
S-OFF

I was able to s-off the 802D with moonshine very easy. The only thing you have to uninstall htc sync if anyone whats to try this let me know Ill give you step by step instructions. Also I have to find a way to get any rom on it because when I tried with S-off cid 1111111 it didnt work I think I have to change my Hboot.. Not sure anyone can help since most things for this phone is in Chinese. Keep in mind I have three phones (two 802d's) and one 802w. I soft brick my 802w with moonshine but I figure out why that happen. Now until we get a stock 802w RUU 4.2.2 so if anything goes wrong you can start again from scratch I DO NOT RECOMMEND DOING MUCH WITH YOUR 802W> BECAUSE IF YOU UPGRADED FROM 4.1.2 TO 4.2.2 YOU CAN NOT GO BACK NO METHOD WORKS ON HERE. TRUST ME I TRIED THEM ALL. The problem is once you soft brick meaning can only get into bootload, recovery, your phone is not recolonize in adb shell. It will see it in plain adb fastboot so on, But not adb shell. So i'm still searching for that 4.2.2 stock RUU for 802w. So people be careful learn from me who is now in soft brick waiting. But s-off did work on my 802d with moonshine (windows) which i have now. But that install any rom crap is not true unless there is another step besides s-off cid 111111 because I tried it and almost brick my 802d when installing a ATT rom to it.
[One (M7) General] bgcngm:
I don't think you've tried every possible method. There's one thing you may want to try: decrypt 4.1.2 RUU (using ruuveal), extract system.img, boot.img and userdata.img, erase partitions and then re-flash:

fastboot erase system
fastboot erase boot
fastboot erase userdata
fastboot erase cache
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot reboot

Please note, that for this method to work bootloader has to be unlocked.

EDIT: Here is the link to the decrypted 4.1.2 RUU. I'm pretty sure that this method will work for you.
[One (M7) General] anton wen:
Please.. Need help, does anyone here got htc one 802D china telekom sim 1 cdma locked, sim 2 gsm was no problem.. Anyone got a clue to unlock sim 1? s-off can unlock it ?
[One (M7) General] varunsonu:
Hey guys!!

Special thanks to OP and some other members for their hard work and a great thread.

I am facing an unusual issue of screen turned on while charging. Whenever i charge my 802w, through adapter or PC, the screen stays on and shows a big battery being charged in the center of the screen. How can i disable this?

i tried searching for the stay awake option but couldn't find it.

Will appreciate it if anyone can shed some light on this..

thanks
[One (M7) General] kiwiandy:
Cant get this to work

This just doesnt work for me. And its the same with the files for the bootup sound and animations.

I can delete them.. they are gone, but when I re-boot they appear back again.
[One (M7) General] sunnyyen:
Followed every step, deleted the file. However messages still pops up. I checked again after reboot, and the file is gone for sure, didn't come back as before. So apparently the cause of my issue isn't that odex file.
[One (M7) General] sunnyyen:
Thanks for sharing. Can you advise how to root it mannually? I still want to keep my stock ROM so that I can switch back to stock recovery for future OTAs like I did before.
[One (M7) General] kiwiandy:
Thanks.. I should pay more attention

the .odex file wasnt re-appearing, what I was seeing was a .jar file with the same name.

I have deleted that also.. now when the phone starts it says updating.. but then starts immediately.

But the startup music and animation files are definitely re-appearing.

I have deleted them using Root explorer (mounted with R/W) but they always re-appear after a re-boot.

I can't seem to be able to cd to /system/customize/resources using adb shell

~ # cd /system/customize/resource

/sbin/sh: cd: can't cd to /system/customize/resource

~ # ls

cache init.rc sys

data proc system

default.prop res tmp

dev root ueventd.goldfish.rc

etc sbin ueventd.rc

init sdcard

~ # cd system

/system # cd customize

/sbin/sh: cd: can't cd to customize

/system # ls

bin
[One (M7) General] AGPPC:
Don't delete any file just rename cu mp3 files.