yashsingh1/xdaforums huggingface dataset:
[Nexus 6  General] dkotoric:
Ya I know but how do we know if a kernel works with CM12 or not, or do they all that are for nexus 6 work?
[Nexus 6  General] flyinj54:
All the kernels are for aosp/stock as of right now so as long as cm12 hasn't went to caf then they should work fine. So you should be able to try any of the kernels. Only one way to find out make a backup and give it a shot. Worst that would happen is it wouldn't boot.
[Nexus 6  General] dkotoric:
Ok i'll give it a try, do you know if all I need to do is, flash rom then gapps then kernel and reboot, or do I need to flash superuser as well?
[Nexus 6  General] flyinj54:
Yes exactly. You shouldn't have to flash supersu as normally cm roms have root built in. But if for some reason it didn't you could always go back into recovery and flash supersu.
[Nexus 6  General] dkotoric:
ok cool of I go, am i ok going with franco kernel?
[Nexus 6  General] flyinj54:
Sure that will work fine
[Nexus 6  General] Barbarian:
On CM12 nightly with Franco's kernel now. All is good.
[Nexus 6  General] wrongway213:
CM actually did not come rooted, I had to flash SuperSu.
[Nexus 6  General] dkotoric:
it comes rooted I think you only have to flash SuperSU if you flash a alternate kernel, did you flash SuperSU or can we just download superSU from the market?
[Nexus 6  General] wrongway213:
I flashed initially and didn't flash SuperSu or restore SuperSu app with Google restore as I heard it was all in privacy guard now. I tried to open BusyBox and didn't have root, so I restarted and flashed with SuperSu and restored app as well, I don''t imagine it gave me that prompt on BusyBox and TiBu because I didn't have SuperSu app installed, I believe the phone was not rooted. I had not yet flashed a custom kernel because I was preparing to back up the CM kernel on FKU in case Franco was incompatible or something.
[Nexus 6  General] dkotoric:
cm really messing up, I read in the non official cm12 builds that you had to flash superuser if you flash a alternate kernel which is why I assumed that was the case

I just flashed superuser in recovery and I"m all good, my only question now is if we have to flash superuser every time we flash a new nightly on top of this
[Nexus 6  General] wrongway213:
I'm curious as well.. curious as to whether everyone had to flash SuperSu to obtain root or if I messed up somehow not restoring SuperSu app as well, but I'm pretty sure that it was not pre-rooted.
[Nexus 6  General] USA-RedDragon:
Idk if it was pre-rooted (hate the lollipop packages, they're not the same to look at files) but I always flash the SuperSu zip just in case.
[Nexus 6  General] USA-RedDragon:
Yes it forces encryption. Cyanogen said they would keep implementing Google security features in their CM12 Roms. But I use Sensei kernel anyway, so i flashed it so it couldn't encrypt my device
[Nexus 6  General] USA-RedDragon:
I'm not sure, as I prefer a custom kernel sensei kernel
[Nexus 6  General] dkotoric:
ok so I know each time we flash a new nightly we have to flash the kernel as well, but do we have to flash the supersu zip every time as well?
[Nexus 6  General] vladthedog:
For root don't you just need to enable it in the development options?

I wasn't able to get stickmount to work with the above method but titanium backup successfully had root.

Had anyone been able to get it (sticknount) to work and did you have to use super su?
[Nexus 6  General] dkotoric:
I dont see a option to enable root in developer options
[Nexus 6  General] Evo_Shift:
Will the Google bugs (lack of silent mode if you want to call it a bug for instance) be present in CM? That's about the only reason I think I'd flash a ROM right now is if I knew it got rid of some of the larger issues.
[Nexus 6  General] dkotoric:
I dont see it as a option yet
[Nexus 6  General] vladthedog:
under dev options, scroll down to something about giving apps and/or ADB root access (I went back to pure shamu until I know I can get stickmount to work, so don't have the exact verbage). I'd go ahead and select both.
[Nexus 6  General] dkotoric:
Ya I dont have that option, maybe its because I dont have the stock Kernel on mine, I'm running franco.
[Nexus 6  General] wrongway213:
I've seen that option before. I think that CM12 nightlies as they stand still require SuperSu, this is the only information since they rolled out that I can find: http://androidcommunity.com/cm12-wont-use-supersu-functions-relegated-to-privacy-guard-20150105/
[Nexus 6  General] dkotoric:
hmm seems pretty dumb, I'm a huge CM fan but all these changes are making me start looking at other roms out there.
[Nexus 6  General] InGeNeTiCs:
I don't know what everyone is doing wrong. I flashed the rom, gapps, set everything up, then enabled developer options. Enabled adb access, then enabled root for adb and apps on the same screen. Root is installed, but not enabled by default. It needs to be enabled in the developer options. (Tap build number 7(?) times)
[Nexus 6  General] wrongway213:
We are flashing custom kernels.
[Nexus 6  General] zetsumeikuro:
I used to love CM but after their whole debacle with OPO and Micromax... All I gotta say is moving on :D.
[Nexus 6  General] badpanda:
Yeah that was a very unprofessionally move and very nasty way to do business. The message we got is that CM cannot be trusted...
[Nexus 6  General] kornklown69:
anyone having trouble receiving mms on at&t?
[Nexus 6  General] USA-RedDragon:
No. I'm on AT&T and can recieve MMS just fine. I'm using the AT&T VoLTE APN. I'm on CM nightly 01/07
[Nexus 6  General] USA-RedDragon:
The OTAs in settings are not working, as of 1/08 build, but cyandelta (play store) works wonderfully
[G2 Q&A, Help & Troubleshooting] ahmed470:
I bought this lg g2 D800 yesterday.

While I can run 3g,4g data on it perfectly, it doesn't work on 2g data(edge,gprs). Is there some settings I should try?

Any help would be highly appreciated.

Does any one know the difference between frequencies of D800, 801,802 and 803?
[G2 Q&A, Help & Troubleshooting] adeelraj:
Does it has external battery
[G2 Q&A, Help & Troubleshooting] AhmedRana:
A friend of mine have the same problem. His doesn't have external battery.
[One (M7) Q&A, Help & Troubleshooting] QA Bot:
[Q&A] [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio In

Q&A for [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio Included

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio Included. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[One (M7) Q&A, Help & Troubleshooting] jacklansley97:
Can' t Flash

Every time I try to flash the Optus AU reset onto my VODAPHONE AU M7, it either gets stuck at 10% if i do it with a full wipe, or 0% if I don't. Also, it never passes and MD5 verification, after multiple separate downloads.

Anyone know what to do?

Thanks.
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
TWRP back up of stock rom and stock recovery OTA 6.11.980.12

Crushalot

I have a TWRP backup of stock rom from OTA 6.11.980.12 (Optus Australia) if you are interested I can pm the link to you along with the stock recovery that came with that OTA, for you to make (when you have time ect) an aroma reset tool for Optus Aussie users that is current and only just pre Android L release for sense roms.

Let me know if that would help
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
Australian Optus Firmware & Nand of stock rom Rom

Crushalot

In case the mood takes you, and you one day feel like making an easy aroma reset for Optus Aussie users that will reset HTC m7-ul PNO7400 devices back to a (only just) pre Android L update, here is a TWRP back up of stock rom (ota 6.11.980.12) Optus Australia as, well as the Optus Aussie OTA 6.11.980.12 (contains stock recovery) 2x OTA links originally posted by deevan

TWRP Nand of stock rom Android 4.4.3, from ota 6.11.980.12 (Australia Optus)

mega.co.nz/#!BhBXBaBT!Fjsg4FNe3AzUCR-aTdiNOwM71zx6-zzKkVbuY-rZqWk

GREAT work BTW! I used your tool to successfully return my device to stock (for the purposes of updating my firmware) worked like a charm!!

firmware.6.11.980.10.zip 43.1 MB (by deeevan)

mega.co.nz/#!QlIjzZoA!R18LEGCFJ85YV91rgiViohqw-QCzXO4fVEVm9h4ab68

firmware.6.11.980.12.zip 19.1 MB (By deeevan)

mega.co.nz/#!N4oS3aSZ!z2aM04WPtN2p1d9cWnmwkBi6UY_sNCbDB0ZBDAe 2RMY

Im still under 10 posts so I cant post full links.

This may help ppl go back to stock in time for the Android L OTA push!

GREAT work BTW! I used your tool to successfully return my device to stock (for the purposes of updating my firmware) worked like a charm!!
[One (M7) Q&A, Help & Troubleshooting] yatindroid:
You can make that your self

You want to I can help you

It's easy

1st time with help of [MENTION=4139782]crushalot[/MENTION] I made 4 reset Rom for India version

Make TWRP backup of Rom which you want to make stock Rom reset zip

Install ubuntu open ubuntu

Extract backup file in ubuntu

You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)

Extract any of old reset Rom zip

Replace files and folders from New one

Now edit aroma script in meta-inf folderwith notepad +

Edit details Rom version radio version etc

Zip all files and folders

It's ready
[One (M7) Q&A, Help & Troubleshooting] alray:
If you want to use windows instead of linux, you can extract twrp backup using cygwin. All you need to do is to rename your backup files adding .tar extension then extract them using cygwin

tar -xvf your_file_name.ext4.win.tar

eg. If you want to extract system.ext4.win000, system.ext4.win001 and data.ext4.win, rename them system.ext4.win000.tar, system.ext4.win001.tar and data.ext4.win.tar. Move the system backup files to C:\Cygwin\Home\UserName\backup\System and data backup to C:\Cygwin\Home\UserName\backup\Data

open a cygwin command prompt and change directory to the correct location:

cd C:\Cygwin\Home\UserName\backup\System

then in cygwin command prompt:

tar -xvf system.ext4.win000.tar
tar -xvf system.ext4.win001.tar

cd C:\Cygwin\Home\UserName\backup\Data
tar -xvf data.ext4.win.tar

Then you have 2 folders, One System folder and one Data folder you can use to make you reset rom.
[One (M7) Q&A, Help & Troubleshooting] clsA:
Yes sir, that's exactly the method i use :good:
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
Thank you So MUCH!

I'll try that as soon as I get a chance, and report back

Cheers for the help. ?
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
Thanks Mate.

I will try on Ubuntu first as I use that about 90%of the time. I'll reply with results hopefully tomorrow! Excited to make my own easy reset with aroma.
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
Had to unlock bootloader via HTC token when my phone is S-Off...

My HTC M7 UL (PID)PNO7400, was rooted and later S-Off with fire water.

I had custom rom and recovery ect. After 6 months of this I wanted to update my firmware but for various reasons didn't want to do it via RUU so I found and used crushalots Easy Recovery Reset Tool.

This worked perfectly.

During the aroma install I chose NOT to install any firmware, just stock recovery and rom.

I also chose not to keep root as I believed that I may not be able to install OTA updates with rooted stock. (right or wrong?)

Immediately after everything was installed I was running stock 2.24.980.2 rom and recovery on 4.20.980.x firmware.

After relocking my bootloader via fastboot, there was no issues, my phone just downloaded several OTA in a row, installed each without a hitch, and about an hour and a half later I had a stock phone with the latest 6.11.980.12 firmware and software, with S-Off.

(BTW re locking the bootloader did not delete any of my data.)

As soon as this was finished I wanted to re install my beloved eragon rom, re gain root, and get my phone back the way it was pre the firmware update.

Having S-Off I thought this would be easy (fastboot flash recovery path/to/custom/recovery.img)

Didn't work.

Unfortunately I didn't keep a copy of the error message I got in terminal, however, I didnt have write permissions on that particular partition. (apologies to anyone trying to help as I know details are important here)

This stumped me, as I have rooted 3 other (older) HTC desire by getting S-Off then flashing custom recovery.img, (These phones were running 1.44 version of fastboot as opposed to my M7s 1.57) I tried to un lock the bootloader via fastboot commands just in case that worked post S-Off ie (fastboot oem unlock) but that didn't work. Firewater doesn't install its own bootloader so locking and unlocking via the s-off tool were not an option either.

I had to re apply to HTC for an unlock token and flash that before I could flash a custom recovery. I plan go back to stock again for the purposes of taking carrier OTA when my carrier starts updating with Android L, so would like to know if this is normal, if not how I possibly stuffed up.

Can any one explain why I had to unlock bootloader via HTC site when my phone is S-Off?

I'm interested in peoples thoughts/knowledge

Many thanks
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
Hi Mate.

Thanks again. A little help needed.

When extracting the .rar from the TWRP recovery I made, using terminal command line [7z x /path/to/some.rar] in ubuntu i get 4300 of this type of error

can not open output file system/bin/mkswap

can not open output file system/bin/mkswap

can not open output file system/bin/readlink...ect

Basically at the end I get a system folder with about 3 items in it, as 7zip .rar tool cant decompress most of the files from the .rar

Right clicking on system.ext4.win.000 and system.ext4.win001 and selecting 'Extract files here' or 'open archive' results in error "could not open 'xx'. Archive type not supported."

Are you able to give me more detailed instructions on how to extract/unpack the system.ext4.win.000 and system.ext4.win001

Do I need to change the file name before extracting ?

Extracting the files from crushalots tool and extracting the files from the new TWRP then replacing relevant files and changing the manifest to reflect said change in Easy Recovery tool seems quite simple, however Im having trouble just extracting the files....

Im missing something obvious.

Thanks.
[One (M7) Q&A, Help & Troubleshooting] yatindroid:
I simply extract system.ext4.win000 file in Ubuntu nothing more needed not a single error

its tar not rar !
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
Whoops! . Tar.

Thanks again I'll keep trying.

Did crushalot send you any written instructions? Are they in a thread somewhere, or just basically what you already posted?

Thanks for your time.
[One (M7) Q&A, Help & Troubleshooting] yatindroid:
I asked some questions via PM he just replied that

ask anything when you stuck
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
For anyone else following this thread atm I solved the problem by re naming the system file extension in TWRP recovery from . win to . tar. In some TWRP back ups there were 2 system folders. A system.4ext000.win and system. 4ext001.win I just merged them during the extraction process.

Also there was no Data/preloaded folder in crushalots reset tool or in any twrp backup I have made.

Haven't tested the modified reset tool yet but will let u all know if I did it correctly!
[One (M7) Q&A, Help & Troubleshooting] alray:
Exactly, see post #6

Exactly, there are 2 system archive because of the file size restriction. Merging them after extracting the files is correct.

Without /data/preload, your reset rom will not be ota update ready. You don't have /data/preload in your backup probably because you have unlocked the bootloader and did the nandroid backup after (unlocking bootloader erase /data/preload)
[One (M7) Q&A, Help & Troubleshooting] yatindroid:
In Ubuntu install 7zip software

don't rename anything just open with archive manager

system.4ext000.win open this

crushalot tool not have data/preload because most of tool was 3.xx version sense 5.5 that time preload files included in system folder
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
Thanks again yatindroid

I already have 7zip installed, However there is no option in archive manager to extract anything with it. After cd to file location I can view the . win file in terminal using [7z l file. win] but the [7z x file.win - d folder/i-want/extracted/to] command outputs the same error as stated in above post.

Q1) That aside the last step in this whole process is to zip it all up again as a . zip, so I'll be changing the file extension anyway, so does it matter if I change the file extension from . win to .tar for the purposes of extracting? If so ease explain why.

Q2) the ONLY place I have found a data/preload folder is inside a firmware .zip extracted from an OTA. It's definitely not in any TWRP back up. Did you leave that detail out of your initial instructions? Can you please tell me where to get the /preload folder from if not from the same OTA the recovery.img comes from.

Q3) do I put the data/preload folder inside the system folder of the reset tool or have it separate, along with radio.img, boot. img, recovery.img and aroma files ect.

Thanks for your time.

---------- Post added at 09:46 AM ---------- Previous post was at 09:33 AM ----------

Thanks array.

I replied to the other post before yours came up. Forgive me if I ask similar questions.

I'm assuming I just copy the /preload folder from the same OTA I get the radio and recovery. img from.

Do I put the /preload folder inside any other folder within reset tool for a 6.xx version or have it beside the system folder and .img files.

Regards and Thanks.
[One (M7) Q&A, Help & Troubleshooting] alray:
It should work. The data/preload folder from an ota zip usually (afaik this is true for the dev edition version) include all /data/preload files. If its the same thing for your version then you should be fine. In /data/preload you should have these files:

YOUR_CID.XML

All the weather animations (mp4 files)

some .png files for photo editing

htc preloaded app like flashlight.apk and calculator.apk. You might have more app depending your version.

the folder must be in your_reset_rom.zip/data/preload
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
Thanks for your excellent and timely reply.

More Qs.

I now have all folders as per your above post. I have taken data/preload, boot.img radio.img and recovery.img straight from OTA. 6.11.980.10

However my stock nand was of 6.11.980.12.

Q1) So do you know if having a system folder derived from a slightly newer version work? As far as I know the .12 OTA was a patch for the 'no voice during call' bug. OTA. 6.11.xxx. 12 did not contain a radio.img AND I can't get a data/preload folder for that ota as I can only find a 6.11.xxx.12 firmware. Not the whole OTA, which is why I reverted to making a . 980.10 reset tool despite having a slightly newer NAND.

Q2) I have edited the updater script in META-INF to reflect new radio and Android version ect. Do I need to update the MANIFEST. MF?

Hope that was clear enough to understand.

A big THANKS for your Help and time!
[One (M7) Q&A, Help & Troubleshooting] yatindroid:
No better to have all files folder from same version because when next OTA receive and apply it will check sha1/md5 so it will mismatch and terminate. if you wanna include patch simply made xxx.10 rom update it , make nandroid again make reset rom again that will be less trouble full.

No need to update Manifest
[One (M7) Q&A, Help & Troubleshooting] alray:
Its hard to tell without knowing if the .12 ota included newer /data/preload files. If yes then your reset rom will probably not be good to take future ota updates. Better to test it yourself before uploading it for everyone just to be sure. But you will need to wait for lollipop update to test if your reset rom is ota ready. Better to do like yatin suggested. Make everything from the .10 version, update your phone then repeat the process to make a .12 reset rom.

Yep delete everything (manifest.mf, cert.rsa and cert.sf) from the meta-inf folder (except the com folder) and re-sign your package. I use this autosigner. Just read the readme file for instrcutions, its pretty easy to use.

---------- Post added at 08:31 AM ---------- Previous post was at 08:20 AM ----------

I just checked 6.11.980.12 vs 6.11.980.10 firmware. radio.img was updated in .10 but not in .12 update which mean the .10 radio is the same when the phone is on the .12 version.

So you

must

use the boot.img and recovery.img of 6.11.980.12 and the radio.img of 6.11.980.10 with your 6.11.980.12 nand.

The only thing that concern me now is using the /data/preload of 6.11.980.10. Better to find the .12 ota zip file. No one captured it in the Australian thread?
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
Thanks array.

Ill swap back to .12 .img files in the reset tool with latest (.10 OTA) radio. I had that originally but second guessed my self.

deeevan has supplied many if not all the . 980. OTA on the Australian thread, however I'm pretty sure the last two (980.10 and .12) were just the firmware. zip not the whole OTA.

I'll ask him.

My next goal in life is to learn how to capture OTA. Will have a look at auto sighter tomorrow night. CHEERS for the link! Great help.
[One (M7) Q&A, Help & Troubleshooting] alray:
capturing ota is really simple! You just have to do it before installing the update on your phone because after the updated is installed, the ota file is automatically deleted from your phone.

When prompted to update your phone via OTA update, select "download update but install later".

When the download is complete navigate your phone storage to fin the update package

copy the file to your computer

then you can install the update, the package on your phone will be deleted after the installation but you'll still have a copy on your computer.
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
You beet me to the Aussie thread :o
[One (M7) Q&A, Help & Troubleshooting] Joeisgood99:
PROJEC COMPLETE!

All necessary files from .980.12 OTA/Nand and META-INF with updated/signed certs.

Thanks for your help, I learned a lot! And had fun. Now just have to wait for Optus to push out Sense Lollipop so I can test it...

Thanks again!
[One (M7) Q&A, Help & Troubleshooting] alray:
Nice keep us informed how it goes. Don't forget to backup your OTA zip file when you'll receive lollipop update so you can make a 7.xx.980.x reset rom much easier!
[One (M7) Q&A, Help & Troubleshooting] Marcel+Krissie:
Hey guys

Unsure if I should be hijacking this old thread or creating my own, however I'm having trouble.

I am in a quandry as follows:

6.11.980.7 is the current version of both boot rom and OS me and my partner are currently running on our M7's. I unlocked our phones @ htcdev and installed CWM as replacement for the stock recovery but now want to revert to full stock.

I have a backup of my factory rom but not the recovery. I came across a thread that had a pretty exhaustive list of stock recoveries but I cannot find one for the version we are running. My partners still has 6.11.980.7 ROM on her phone but CWM recovery so I cannot update her phone to the latest OTA as it fails due to the CWM recovery that has been installed.

Can I please have some help regarding this? Can I install a version of the recovery that does not match the ROM or would that be a bad idea? Our phones are from New Zealand and are unbranded from a Computer Store. They are S-ON. Can I use one of these ROMS to reset our phones back to factory?

Thank you for any help that you guys can offer regarding this.