yashsingh1/xdaforums huggingface dataset:
[G 2014 Q&A, Help & Troubleshooting] G4LAXY5552:
Hi sorry if this is wrong place to post or its been answered I'm trying to install factory ROM on xt1072 I need to put fastboot v2 and IMG in tools folder but can't find it .:confused:
[G 2014 Q&A, Help & Troubleshooting] G4LAXY5552:
might help

Make sure all the folders are visible. click start>control panel>Appearance and Personalization>Show hidden files and folders then click "Show hidden files, folders and drives" The file should be in C:\Users\Username\AppData\Local\Android as mentioned above. otherwise you can check by opening Android SDK Manager - top left under SDK path.

share improve
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
Hi everybody !

I'm Androlark, a young french developper, who need your help today..

All yesterday long (I don't if syntax is correct but I don't care) I've been trying to port CyanogenMod to my device, the HTC Desire 820(n) a51_ul.

I think I'm not that far from success, 'cause my out folder near the 28 Gb, and this is a good new !

I'm asking you some help today, to help me to fix that error, and if my build finally works, I'll share it.

So, here's my problem:

Target persist fs image: /home/androlark/android/system/out/target/product/htc_a51ul/persist.img
Usage:
mkuserimg.sh [-s] SRC_DIR OUTPUT_FILE EXT_VARIANT MOUNT_POINT SIZE [-j <journal_size>]
[-T TIMESTAMP] [-C FS_CONFIG] [-D PRODUCT_OUT] [-B BLOCK_LIST_FILE] [-L LABEL] [FILE_CONTEXTS]
make: *** [/home/androlark/android/system/out/target/product/htc_a51ul/persist.img] Error 1

I'm using the "brunch cm_htc_a51ul-eng" command, and I've took the kernel and the device repo from fergy's github (cannot post links :crying:)

I'm compiling with Ubuntu 14.04 btw.

I hope somebody is gonna help me, and thanks for your time.

PS: My Skype is on my profile, if you prefer Skype ^^'.
[Desire 820 Q&A, Help & Troubleshooting] Dragonfail:
[MENTION=352916]fergy[/MENTION] [MENTION=5083850]Thecrazyskull[/MENTION]
[Desire 820 Q&A, Help & Troubleshooting] Thecrazyskull:
Use my trees
[Desire 820 Q&A, Help & Troubleshooting] Dragonfail:
https://github.com/Thecrazyskull/device_htc_a51ul
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
Thank you for your answers, I'm trying it.
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
Back to you guys, I got a new error:

/home/androlark/android/system/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/androlark/android/system/out/target/product/a51ul/obj/ETC/sepolicy_intermediates/policy.conf
HOSTCC scripts/basic/fixdep
device/htc/a51ul/sepolicy/rmt_storage.te:2:ERROR 'unknown type mmc_block_device' at token ';' on line 27077:
#line 1 "device/htc/a51ul/sepolicy/rmt_storage.te"
allow rmt_storage mmc_block_device:blk_file { { getattr open read ioctl lock } { open append write } };
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/androlark/android/system/out/target/product/a51ul/obj/ETC/sepolicy_intermediates/sepolicy] Erreur 1

I'm doing some researches by my side, and thanks again.
[Desire 820 Q&A, Help & Troubleshooting] Dragonfail:
Send later your results
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
It's fixed, I just took the rmt_storage.te from [MENTION=352916]fergy[/MENTION] 's Github.
[Desire 820 Q&A, Help & Troubleshooting] Dragonfail:
Good. Will you compile?

---------- Post added at 12:34 PM ---------- Previous post was at 12:22 PM ----------

We are waiting :)
[Desire 820 Q&A, Help & Troubleshooting] Thecrazyskull:
FYI: my trees are made for cm12.1 not cm13, so dont expect to boot cm13 with my trees
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
Yeah, so the only way to fix it is to use your trees, but I can't use them.. :c
[Desire 820 Q&A, Help & Troubleshooting] Thecrazyskull:
Build cm12.1, boot cm12.1 then move onto cm13
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
(post edited)
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
Hi guys, I just got a new issue:

Target userdata fs image: /home/androlark/android/system/out/target/product/htc_a51ul/userdata.img

Build image output_image_file from input_directory and properties_file.

Usage: build_image input_directory properties_file output_image_file

make: *** [/home/androlark/android/system/out/target/product/htc_a51ul/userdata.img] Error 1
[Desire 820 Q&A, Help & Troubleshooting] Dragonfail:
Did you fix?
[Desire 820 Q&A, Help & Troubleshooting] Emresaygin:
Pls try make cm12.1 or aosp 5.0.2. This roms haven't problem because kernel is ok. You edit kernel and make cm12.1 rom.
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
I haven't fix it yet, sorry..
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
I know you're expecting a lot of me, but know that I've a life behind and I'm not all day long here to work..
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
I've decided to answer to your request. I'm gonna try to build CM 12.1 for D820, and from there I may try to build CM 13.

(Got the impression that my english sucks a little bit.. x))
[Desire 820 Q&A, Help & Troubleshooting] Dragonfail:
And what's results?
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
I just came back from school. Just working on it.
[Desire 820 Q&A, Help & Troubleshooting] Kunalmutha1998:
I hope you complete it and upload it as soon as possible , I would really be grateful

Thanks in advance
[Desire 820 Q&A, Help & Troubleshooting] Dragonfail:
and what results? is ok?
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
Hi guys ! I successfully built CM12.1 for the "a51ul" model of HTC's device (there's a difference with "a51_xx", I think). I don't know if the ROM works, 'cuz my release keys have been modified (thanks to Tomal Discovery..). If anyone can try, please tell me.
[Desire 820 Q&A, Help & Troubleshooting] Dragonfail:
Send for all in HTC 820 android development. create subject
[Desire 820 Q&A, Help & Troubleshooting] kunal1998:
i can try send me a link
[Desire 820 Q&A, Help & Troubleshooting] Dragonfail:
Me too
[Desire 820 Q&A, Help & Troubleshooting] Thecrazyskull:
Its not a matter of release keys, that doesn't matter.

The problem is the device tree, i'm 100% sure it won't boot cm13 take that word from me.
[Desire 820 Q&A, Help & Troubleshooting] Dragonfail:
[MENTION=5083850]Thecrazyskull[/MENTION] but what if we will have update to android 6.0?
[Desire 820 Q&A, Help & Troubleshooting] Kunalmutha1998:
Dude any update ??
[Desire 820 Q&A, Help & Troubleshooting] Androlark:
I made a post in the correct category.

And [MENTION=5083850]Thecrazyskull[/MENTION], I know, and that's why I built CM 12.1..
[Desire 820 Q&A, Help & Troubleshooting] ukhellfire666:
hey.

hope u dont mind me posting on an older thread, but did u ever find a way to fix this? im getting the same error with cm13, and cant get around it... wondered if u had any solutions?
[Desire 820 Q&A, Help & Troubleshooting] Dragonfail:
Without source code we will not cm ..
[Desire 820 Q&A, Help & Troubleshooting] dev.kasibhatla:
Did you solve this problem? so far i have been unable to
[HTC One E8] yourmate:
This is a TWRP backup for the HTC E8 Dual SIM (M8sw - mec_dugl) which was remodeled to EU version.

You can remodel your Chinese M8sw following this thread [*please see #1]. If you run into problems then check out my post here [*please see #2].

1. Make a TWRP backup of your current system to your SD card. (This sets up the correct file system you need and also a good safety measure)

2. Unpack the TWRP I have provided and copy to your SD card INTO THE RELEVANT FOLDER!! (Next to your previous backup)

* PARANOID MODE *

Perform a factory reset and then reload your previous backup so you can check it's working OK then go to 3.

* LAID-BACK MODE *

3. Do a FULL wipe but do NOT reboot.

4. Reload the TWRP with Marshmallow.

5. Reboot

6. Enjoy :)

Please make sure you don't factory reset otherwise you'll lose root. That case go to recovery and flash superSU again.

Rom Information :

Android 6.0.1

HTC Sense 7.0

Software 3.07.401.1

Stock Kernel 3.4.0

Rooted

Permission & Terms :

Feel free to use it but please note that all the usual legal crap applies: YOU ARE responsible for your own actions I am only providing the means to screw up your device. Only do this if you know what you are doing. (BTW this is a good advice for another aspects of your life as well)

Credits :

[MENTION=223784]HTC[/MENTION] to finally release it...

Download from here. [working link as of 14/07/2016]

Deleted apps (you can either install them from Google Play or download them from above link and place them in their location):

Deleted directories from system\app

Books\

ExactCalculator\

HTCBackup\

HtcBackupReset\

IMEXT9Arabic\ to IMEXT9Ukrainian\ except English & English UK

KidMode-google\

Music2\

MyTask\

News_Republic\

Newsstand\

NewsWeather\

Photos\

PlayGames\

PlusOne\

skype_raider_stub-2.1.431.31\

Skype_Stub\

Twitter_Client\

Videos\

YouTube\

Deleted directories from system\priv-app

Browser\

Calendar\

Camera\

Facebook\

GooglePlusPlugin\

HTCAdvantage\

HtcDotMatrix\

HtcFileManager\

HTCZero\

Instagram_SN_Plugin\

LinkedIn_Fsplugin\

Lucy\

Mail\

Stock\

Twitter\

Weather\

#1 If you could not download the files from there please see #2.

#2 I updated my post here with working links to the original files.
[HTC One E8] moviehunter2009:
Sorry....i made the remodel trick and im on 4.4..i have an official update for loli 4 months now ,but im a little confused of how to do it...some say its buggy too so i was waiting for MM ....

Now if i understand...i only have to flash from twrp your rom? no ruu,firmware etc?? only this and im ok?
[HTC One E8] yourmate:
Download #3 from this list and put it on your SD card as 0PAJIMG.zip and flash that first.
[HTC One E8] moviehunter2009:
Thank you...ill try it next week..
[HTC One E8] hamid_1367:
Is this backup works on HTC E8 Dual SIM (M8sw - mec_dugl) without remodel?

i have a Chinese version dual sim, in 5.0.2 and i want to go 6.0.1 with this backup, is it works or not?

thanks
[HTC One E8] yourmate:
I could not test it as mine was already converted to EU. You could test, but I think you gonna need to change the CID & MID and you need to be S-OFF to be able to do that.

If you feel adventurous you can try but first charge your phone and download this so you can recover if the flash fails. In case you have the triangle with the red exclamation mark then rename the image to 0PAJIMG.zip put it on your SD card's root directory and keep pressing Vol Down. When it reboots it will flash back your original ROM.

Report back please.
[HTC One E8] kracz:
Don't try. You must be S-Off and change CID & MID.

KR
[HTC One E8] yourmate:
Yeah, that's what I've thought.
[HTC One E8] kracz:
Yes, but will have flash Stock EU RUU. If remodeling your phone, update will take place automatically. I remodel phone and now I have pure Android 6.0.1
[HTC One E8] yourmate:
That's true. I posted this for two reasons, firstly to save time to go through all the hassle of updating (3 or 4 times depending your ROM) and secondly to get one without the HTC bloatware and rooted out of the box :)
[HTC One E8] moviehunter2009:
Sorry but do you know if i have to be on stock recovery and unroot the phone to flash the file?
[HTC One E8] yourmate:
No, you do not.

Although keep in mind that the update process will start automatically if certain conditions* met and after the update you'll be fully official (kernel/recovery/system). You will lose all personal data on internal drive

* conditions needs to be met

- rebooted to hboot

- image renamed correctly

- image in root directory of SD

- you chose to run the ruu when prompted
[HTC One E8] moviehunter2009:
thanks again for your help.. this weekend ill try it.
[HTC One E8] thanhi:
Your zip was missing boot.emmc.win
[HTC One E8] melquisedec:
Is there any RUU rom Marshmallow for this M8Sw?
[HTC One E8] yourmate:
No, there isn't AFAIK
[HTC One E8] moviehunter2009:
Ok... My phone was ok with the method on this post... i was in kitkat remodeled and i follow the guide of this guy and now im on 6....thanks again..

Now i have a friends phone but he is on 5.02...with no remodel... it is soff CID is ok MiD also... he wants to make his phone like mine... what should i flash to him? should i start from the No1 of the guide or should i flash MM from recovery? Any help would be :good:
[HTC One E8] kracz:
I think, will make the procedure remodel safer. I use my phone with android 5, and need pure android with ota.

I went through the procedure By DutchDanny:

http://www.bindroid.com/276-remodel-s-off-needed-m8sw-china-remodel-to-m8sw-eu

to 6 point and get OTA update to MM.

KR
[HTC One E8] moviehunter2009:
Ohhh boy.... i was expecting something more easily... its ok... ill have to start over because its not mine and he has only one phone.. thanks my friend.. your very helpful.. :good:
[HTC One E8] moviehunter2009:
Well new story this morning...i did the remodel of my friends phone...everything ok...on step 5 i flashed the zip as in this forum http://xdaforums.com/showpost.php?p=63323416&postcount=27 (L50_SENSE60 ROM).

After that the phone found the update ,downloded but gave me a mesage that it could not be flashed because the system was not "original" or something like this...well the point is that i had no root, original recovery and only unlocked bootloader...in my phone everything was ok and all updates was made with unlocked bootloader...so i relocked the bootloader...but again nothing...the same message with problem of not original system...so i flashed MARSHMALLOW TWRP - HTC E8 (M8sw mec_dugl) - bloatware removed & rooted....

Everything ok...it was late night so i leave it open with wifi on and no google set up etc ,left it to do it today in the morning...when i woke up the phone was dead ( i left it with at least 75% of baterry). i push the power buton ..nothing...i put it to charge..nothing....when i conect it to the power suply not even the power led lights up...the phone is dead...can someone explain what happened or what i can do to restore it??

Its my friends phone and he is going to kill me :crying:
[HTC One E8] yourmate:
Firstly as I and many others stated before - if you're S-OFF no need to lock the bootloader.

Secondly, I know it's no consolation but I don't think the phone's dead due to the upgrade. I have literally bricked mine twice while playing around with this but with a HTC you have quite a good chances to recover from a softbrick.

Try a couple more charger, try to boot to HBOOT also you can connect to a pc to check whether the hw has been recognised or not.

I would leave it on a charger - you have tried with yours - for a couple hours and then see what's going on.

Btw not to rub it in but if I do unpaid upgrades for friends I ALWAYS tell them beforehand that it could go both ways and make sure they understand and ACCEPT the risk - so they won't kill you afterwards ;)
[HTC One E8] yourmate:
As I have already said before the only reason I posted this TWRP backup is to save considerable amount of time over the "normal way" of OTA updates which will take a couple hours and then the time it takes to root and delete all the bloatware it comes with originally.

I did not say it's better, nicer or safer than the OTA ;)
[HTC One E8] kracz:
It's OK m8. I don't need root. It's long (normal) way I know. When done, I have originally HTC and can install OTA updates.

KR

---------- Post added at 11:47 AM ---------- Previous post was at 11:39 AM ----------

Why you use this zip? When I wrote that I use procedure DutchDanny.

KR
[HTC One E8] moviehunter2009:
Ok guys....everything is ok...i was in panic in the morning but after i googled Htc E8 dead (something like that) i found many cases like mine...all i have to do is push power and volume up + dpwn for some seconds...and voila...

I was scared to death but everything was ok and rom and phone is just fine...

The twrp rom is ok and i dont have to waste time for upates like mine..

Thanks everyone for the answers and sorry for any confusion i made.
[HTC One E8] toooner:
This doesn't work for me. I've carried out remodel, flashed EU RUU, installed TWRP, wiped, installed TWRP MM backup from OP link and it just gives a black screen then loads into recovery.

Plan now is to reflash RUU, OEM lock and install OTAs. Unless anyone has any other suggestions?

Thanks

tooner
[HTC One E8] smiter:
hi, what did you use for s-off? moonshine, firewater or SunShine?
[HTC One E8] generalugh28:
Hiya tooner

If you have a M8sw as per the OP but are still can't get to MM yet, you can try my twrp backups in http://xdaforums.com/one-e8/general/tedious-update-m8sw-to-marshmallow-twrp-t3346318 which I did after following OP but failed to get MM downloaded/installed.

Basically, I did what you are planning and did a twrp backup at each stage and then put back the original recovery then wait for OTA...

Good luck!

---------- Post added at 03:57 PM ---------- Previous post was at 03:51 PM ----------

[MENTION=220747]yourmate[/MENTION], a couple of hours???:eek: More like a couple of days!!!

Many thanks to you, I have now got MM on my phone but I did it the hard way after I can't use your twrp backup so I followed your alternative route. See http://xdaforums.com/one-e8/general/tedious-update-m8sw-to-marshmallow-twrp-t3346318

My big gripe with MM is that I can't get Xposed and SenseToolbox to work anymore:crying: Might even consider downgrading back to LP just for that.
[HTC One E8] DutchDanny:
People who have issues with the TWRP can try my backup.

I have the boot.img included to make it work.

And I made it multi language. You need to full wipe before restoring this backup.

HTC_ONE_E8_m8sw_Marshmallow-6.0
[HTC One E8] yourmate:
[MENTION=220747]yourmate[/MENTION]Many thanks to you, I have now got MM on my phone but I did it the hard way after I can't use your twrp backup so I followed your alternative route. See http://xdaforums.com/one-e8/general/tedious-update-m8sw-to-marshmallow-twrp-t3346318[/QUOTE]

You are more than welcome ;)
[HTC One E8] yourmate:
you have to pay to get some sunshine in your life ;)
[HTC One E8] sanijsnj:
Hello OP, can you please also share your a twrp backup of your boot partition? I couldn't find it in the zip file.

EDIT: nvm...I was able to find a boot.img, thanks for sharing your twrp backup. saved me a lot of time and troubles! :D
[HTC One E8] yourmate:
I'm sorry I did not find this post earlier, I'm happy that you are sorted :)
[HTC One E8] yourmate:
OP updated as some of the download links in linked thread are down.

Please note that my link for the TWRP image is still working so unless you want to do the original conversion you are good to go!
[HTC One E8] fcatt:
I remodeled my e8 following the method on the linked thread, then tried to update to marshmallow following this method. Got as far as the final reboot with everything seeming to go fine, but then after that reboot the phone got stuck on a system bootloop. Thankfully I can still access boot loader and recovery, but any time I try to boot to system, it just gets stuck in a loop on the white HTC logo screen.

Don't suppose anyone has any ideas what could be going wrong?
[HTC One E8] yourmate:
Which guide did you follow exactly? Which firmware did you use? Has MID number been changed [and checked]?

I have already sold the phone un/fortunately but before that I've redone the whole process and it worked. That's when I reuploded all the missing files.
[HTC One E8] fcatt:
I followed the instructions from DutchDanny's post (which you kindly uploaded a pdf of - thanks!) to remodel to the EU version (using stock eu 1.21 twrp backup, kitkat 1.21 chinese firmware and eu 1.21 ruu which you reuploaded). Then I followed your 'laid-back mode' to load marshmallow via twrp recovery.

On checking MID it seems that it's still 0PAJ20000 not 0PAJ21000, although DutchDanny's instructions should have changed this - I assume this is where I'm having problems, thanks for the tip to check!

I honestly have no idea how to change MID by myself, but now I know what I'm looking for at least :)

(and thanks again for providing this all in the first place!)

EDIT: found another source for how to change the MID - I think I was just having issues copy-pasting the one here, oddly enough - and am now successfully running marshmallow! Thanks for your help :)
[HTC One E8] yourmate:
Sometimes we just need to be shown the path to follow ;)
[HTC One E8] vh1981:
this is so nice, can you tell me how to remove these apps? i want to remove hangout and Polaris thing... :) thanks!
[HTC One E8] Hasibur Rahman:
As a Rooted user,, you can use Link2sd.apk to remove system app...
[HTC One E8] yourmate:
Just delete the app from the system partition rather than install another junk ;)

Mysterious ways of life - I just got an E8 from a friend (which I will use for a specialized task) and I needed to read and download my own solution to have it updated to MM and the junk removed. I did not click on Thanks though ;)
[HTC One E8] Hasibur Rahman:
After flashing this rom,,In play store Decice certification : Uncertified. ?

why?
[Galaxy Note 3 Themes and Apps] kirtandoshi:
Hi all,

I searched all the threads here on XDA but could not find a solution to the above.

Would the fine gentlemen of XDA please help and let me know if there is a way i can get a delete button on the SMS popup or an alternative solution, so that i do not need to go into the SMS app itself to delete messages.

Running Dr. Ketan Rom L22

Thanks in advance.

Regards,

Kirtan doshi