yashsingh1/xdaforums huggingface dataset:
[Moto E Q&A, Help & Troubleshooting] -z3r0-:
http://xdaforums.com/moto-e/development/rom-stock-motorola-lollipop-rom-t3167111

This ROM might be free from any major bugs, also you won't face any Annoying random reboots.

You can say it's perfect.

Cheers!
[Moto E Q&A, Help & Troubleshooting] midish:
thank you

the main reason for me to try other roms in the first place was the poor performance and the heavy usage of storage on the Stock one.. so I think I would come back to it only if I don't find anything better.

I have tried kitkat, lollipop and marshmallow... and correct me if I'm wrong but I believe that lollipop had the worst performance.. and marshmallow the best between those 3.
[Desire 626 Android Development] Abskurity:
This Is My First Shot at making something for this device,so please bear with me.:D

This Is A Custom Stock ROM that has been debloated and slimmed down a bit to my personal liking.

ive used SuperR's Kitchen on Ubuntu to bring this to you guys.

i used Captain_Throwbacks Metro Base ROM as a starting point.

i will include my list of apps that i have removed in the second post.

i would suggest a factory reset and dalvik/ART wipe

as always,if your device explodes or stops working,i assume no responsibility for any damages or data loss.

flash at your own risk.

if anyone has any suggestions and/or input,please feel free.

im no developer,just taking a shot at this.

the goal is to remove as much bloatware as possible,whilst maintaining stability.

:cool::cool::highfive:

i added /data/app support as well as busybox & deodexed the ROM.

im currently uploading my first build to google drive and will share links shortly.

bear with me as i dont have the best internet connection.

DeZiREv5K

OP Updated with newer build.

6-14-16 build changelog

--Removed HTC Launcher(replaced with google now launcher)
--updated play store to latest version
--updated HTC Service pack to latest and integrated back into ROM(no longer needs Seperate download)
--attempted to add back the official metropcs device unlock app(Thanks [MENTION=3100103]sandix[/MENTION] !)

6-16-16 build changelog

---removed google play launcher & replaced with nova launcher(issue with installment on first boot)

6-19-16 build changelog

-- changed ZIP compression method(v3 was too large)

This is A Flashable Zip,should flash in TWRP.

Special Thanks to the following folks:

[MENTION=3100103]sandix[/MENTION] for the continuous hard work in the forums here

[MENTION=1162986]Captain_Throwback[/MENTION] for his stock rooted metroPCS ROM.

[MENTION=5787964]SuperR.[/MENTION] for his Excellent Kitchen!!!

[MENTION=3689960]nightbreed813[/MENTION] for his thread layout & list of modifications to his ROM
[Desire 626 Android Development] Abskurity:
This Is My Bloat_Custom File that i edited by hand to suppliment in the kitchen.

these are all the apps/folders that were removed prior to building.

system/app/BasicDream*
system/app/Calculator*
system/app/CalculatorWidget*
system/app/Chrome*
system/app/Cloudex*
system/app/CloudPrint*
system/app/Drive*
system/app/DriveActivator*
system/app/Exchange3Google*
system/app/FaceLock*
system/app/Font_Helvetica*
system/app/Font_XinGothic*
system/app/Font_Yuen*
system/app/Gmail2*
system/app/GoogleTTS*
system/app/Hangouts*
system/app/HoloSpiralWallpaper*
system/app/HtcCarGps*
system/app/HtcBackupReset*
system/app/LiveWallpapaers*
system/app/HtcLogLevel*
system/app/HTC_Connect*
system/app/HTCZero*
system/app/IMEMurasuIndic*
system/app/IMEMurasuViet*
system/app/IME_TP_Basic*
system/app/IME_TP_ValueAdd*
system/app/Kidmode-google*
system/app/Maps*
system/app/MPCS_Blockit*
system/app/MPCS_Metro411*
system/app/MPCS_MyMetro*
system/app/NoiseField*
system/app/PhaseBeam*
system/app/Photos*
system/app/PrintStudio*
system/app/talkback*
system/app/YouTube*
system/priv-app/HtcDotMatrix*
system/priv-app/HtcFileManager*
system/priv-app/HtcDLNAMiddleLayer*
system/priv-app/MPCS_MetroAppStore*
system/priv-app/iCloudTransfer*
system/priv-app/MPCS_MetroZONE*
system/priv-app/MPCS_RSU*
system/priv-app/LMIRescue*
system/priv-app/Velvet*
system/priv-app/LMIRescueSecurity*
system/priv-app/HtcSoundrecorder*
system/priv-app/Twitter*
system/priv-app/MirrorLink_MirrorLinkService*
system/priv-app/MPCS_Lookout*
system/priv-app/PolarisOffice*
system/priv-app/Mail*
system/priv-app/HTCSpeakCyberon*
system/priv-app/Facebook*
system/media/audio/notifications*
system/media/audio/ringtones*
system/media/audio/alarms*
[Desire 626 Android Development] Abskurity:
TO DO List:

edit updater script to change out rom title

check what works and what does not

(Possibly) remove More files/Free up more space

upload newer build as first one fail with status 7 in recovery.(assert error)
[Desire 626 Android Development] sandix:
Check my build and compare to yours to see what can be removed. ;) I'm sure you will find a lot more that can be done.
[Desire 626 Android Development] talking_llama:
when will a working link be available? very excited for this rom
[Desire 626 Android Development] Abskurity:
i already uploaded a newer build,will update OP with working link. :p

[MENTION=3100103]sandix[/MENTION] ,thank you very much i definitely will do that! :)
[Desire 626 Android Development] talking_llama:
worked for me, thank you!
[Desire 626 Android Development] Ipoke Smot:
sweet. finally a flashable rom for our metro variant. was debating on trying nightbreed's rom, as someone mentioned in that thread that they tried it and it worked. didn't want to kill the phone though as it is a daily driver. will report after using.
[Desire 626 Android Development] Abskurity:
Let me know how it works out.also,if you have any suggestions feel free to throw them out here.
[Desire 626 Android Development] corrado85:
so i assume i have to install TWRP and flash this?
[Desire 626 Android Development] nightbreed813:
Yeah it's required
[Desire 626 Android Development] trekie4ever:
Just looking at channel log I'm assuming this is still relevant. I'm on V3 and with some frustration (I don't have Wi-Fi and had to trick my 6yr old laptop to boot up) I got it running well.

As someone who has hard bricked smart phones since the xv6800, this is a first good go. Inspires me to start cooking my own roms.

Suggestion: A file browser would have made it so much smoother. No one with half a brain will ***** about es file explorer or root browser being cooked in. Fortunately bad habits inspired me to always backup original stock. Most people would've been screwed there. Dirty flash. Pdanet. Got it all up and going.

Keep up the good work. Look forward to any tweakings you find out of my league

Sincerely,

Satisfied end user
[Desire 626 Android Development] Abskurity:
Thank you for the input,much appreciated.also,i updated OP with a newer build that uses nova launcher as default and puts back a few apks that got cutout by mistake.
[Desire 626 Android Development] sgeto:
My phone got simlocked after trying this ROM. It's still locked even after restoring the nanodroid backup I made prior to flasing this ROM.

I'm not in the US sooo I am not using sprint.

Any advice?

Thanks
[Desire 626 Android Development] Abskurity:
This ROM is based off of the original Stock MetroPCS USA variant,i didnt add anything that would potentially affect your simlock status.ive only removed stuff that was already there.

If youre not in the US and youre not using MetroPCS Variant of the phone,you shouldnt be flashing this ROM to be 100% honest.flashing incompatable firmwares across devices can sometimes lead to bricks.whats your Carrier and device?
[Desire 626 Android Development] i2andog:
https://www.mediafire.com/?451vq4nmp7paz2a
[Desire 626 Android Development] Abskurity:
That APK will just crash,as the required lib files etc to accompany the APK are missing.
[Desire 626 Android Development] sgeto:
I agree. It's very unusual.

I got this phone from a local phone shop. The owner seem to have unlocked the phone with some kind of service. I contacted my carrier who wrote down a couple of numbers from inside the phone (including the original phone number) and boom, I was able to use the phone with my number.

I have a theory about the error. Maybe you could see if that makes sense:

Maybe the phone isn't locked. But after a factory reset it keeps trying to "activate" the phone using the methods given by sprint.

There's this one step during the initial setup (right after factory resetting the phone) where it tries to register the phone, and fails. This step takes at least tem minutes and returns an error that locks up the phone.

I think the phone assumes that it's locked because it's not able to "reach" sprint servers and denies all incoming and outgoing calls/messages because of this.

If you know a way out of this please let me know.

Another user also provided me with an app that seems to be solving the issue. But it's not marshmallow compatible. Any ideas on that one as well?

Thanks a lot. And great debloating work you did there :)

---------- Post added at 05:37 PM ---------- Previous post was at 05:34 PM ----------

Please tell me more about this app. Cam it solve my issue?

Thx
[Desire 626 Android Development] Abskurity:
Again,what is your Carrier?if youre using anything other than MetroPCS USA,you should not use this ROM.thats #1.#2 is if youre using sprint,you should get the RUU to return the phone to factory software,and i assume youre using sprint because our Metro devices havent gotten MM yet,and you mentioned it.

And yes,CDMA/Sprint phones will not work correctly if theyre not provisioned from the carrier correctly.so if the activation is failing,then youre not going to be able to use the device to send messages etc until its activated correctly.

Suggestion,try using nightbreeds MM ROM thats for those kinds of carriers.
[Desire 626 Android Development] sgeto:
Oh lesson learned. I'm from Yemen and my carrier is YemenMobile (CDMA). I don't know why but I assumed that the phone won't mind the ROM since it was kinda unlocked. SORRY.

The phone was saying Sprint when I bought it. I think I'm going to get back to factory and see if that does the trick. :-/

My extended apologies
[Desire 626 Android Development] asj2583:
Flashed your ROM and the Google calendar isn't working! Keep getting to turn storage on! Any remedy to fix this?
[Desire 626 Android Development] 1equals2:
So, if I want to move from Sandix's ROM to this one, what exactly do I need to do? I'm guessing that since Sandix's ROM uses older firmware than this one, that I would need to revert to stock (using an RUU, I assume?), grab any updates or service packs or whatever (if the RUU didn't give them to me already) and then flash your ROM?
[Desire 626 Android Development] nightbreed813:
Do a full wipe after making a backup then install. The rom will update the firmware when installing.
[Desire 626 Android Development] Abskurity:
This is correct,you can either RUU to stock,or wipe/factory reset in TWRP and then flash the ROM from OP. Ive updated the service pack etc,so nothing else is required to flash.as far as the person with the calendar issue,try downloading it directly from play store.i removed alot of stock bloat & google apps from the ROM,so you will have to download what you need yourself after setup.
[Desire 626 Android Development] asj2583:
I did and after flashing another ROM I can confirmed you deleted the calendar provider apk which won't allow the calendar to work properly! Do you know where I can download a stock rom as I plan to sell this phone and get a something better but I don't want to ruu.
[Desire 626 Android Development] Abskurity:
If you download Captain Throwbacks ROM,that should include everything thats missing.theres a link in OP
[Desire 626 Android Development] talksickisil:
I'm still on the original 5.1 firmware. Do you want me to pull my calendar provider .apk and post it here?

[MENTION=225651]op[/MENTION] , could you make us a flashable MM rom of the newest firmware that we can flash in twrp??? The reason I ask is, I did install this Rom you have posted here. I was a fan of it. I only switched back to the original firmware I've always had. Version 1.10 or whatever it is because I was too lazy to do all the tweaks to your Rom that I already did on the original firmware. But this rom worked very good. That's why I hope you might post a flashable 6.0.1 rom. But either way thanks for the work you did to bring us this one.
[Desire 626 Android Development] 1equals2:
So this image includes all of the appropriate partitions (boot, radio, whatever else)? That was always the problem with Sandix's ROM (although his was just a TWRP recovery, not fully flashable like this) (not that any of this slowed me down from using Sandix's stuff).

Now though I just caught up on the Marshmallow threads. I'm wondering if I should just wait for a debloated version of that. I would do the debloating myself (although I probably would not put it up here because of the extra work and support involved in that and I just don't put the time into it anymore) if I had a good list of what you and Sandix already confirmed could and could not be removed.

Either way, thanks for the work on this and the ongoing help and support in this thread.
[Desire 626 Android Development] Abskurity:
Thank you guys for all your assistance in making this ROM a good one.

To the person who asked about partitions,itd flashable from recovery,however i think the only two* partitions flashed are /system and /data,although im not positive.

As of right now,id like to make a debloated MM build,but i no longer have the means to do so.i will keep you guys updated if for some reason i can.

EDIT: /boot is also flashed,thats where the kernel resides.

The RUU for marhsmallow on our metro 626s is now available,and ive found a windows based tool to decrypt the RUU.maybe i can do this without linux after all.
[Desire 626 Android Development] asj2583:
I went ahead and flashed the Sprint Marshmallow firmware on the 626 from Metro and everything works! To bypass activation just remove your sim card and don't connect to wifi and let it attempt to activate. After a while it won't be able to activate the phone and will let you bypass it and go to the main screen where you can insert your sim card and use the phone as normal!
[Desire 626 Android Development] Abskurity:
I also can confirm this works as well,before the RUU & OTA were even available.however little things i couldnt deal with bothered me haha,guess its just me.anywho,not to derail this,but hopefully within the next week or so,i can have something MM based for you guys.
[Desire 626 Android Development] nightbreed813:
Do you need the decrypted rom?
[Desire 626 Android Development] talksickisil:
OK I tried to do this. I don't understand what you mean when you say to let it attempt to activate. I took sim card out before it even booted, but if I don't connect to any Wi-Fi it just stays on that screen waiting for me to select a Wi-Fi network. I waited almost an hour.
[Desire 626 Android Development] Abskurity:
Thatd be great if you can.i found a universal 64 bit windows decrypter somewhere on xda,but if you already have it thats awesome.
[Desire 626 Android Development] talksickisil:
OK just to whoever wants to get onto the metro MM firmware without using ruu or ota or locking boot loader, or switching back to stock recovery or even using any computer at all.Bare with me lol. I downloaded night breed813s sprint mm rom, couldn't get past the Wi-Fi sceen on set up. So... I downloaded str8upxs twrp backup, and flashed only the system backup after doing a wipe on top of nightbreeds rom. Everything seems legit so far. I still have root and twrp.I even left my sim card in the whole time.LoL. Maybe somebody can compare my baseband with theirs but everything works.
[Desire 626 Android Development] Abskurity:
That may seem like alot of work to the average user whos not too up to par with this stuff.im gunna try and get a ROM together here soon for MetroPCS MM.also,theres a different kernel on the official MM build for Metro. Small difference.im not sure how much of a difference that will make anyway.
[Desire 626 Android Development] talksickisil:
I figured something would be different. In the screenshot you posted it looks like my baseband is different also. And yeah, it could be complicated for some. But if somebody else doesn't have a PC but is rooted already it's just another option. This isn't any tougher than locking a bootloader or running fastboot commands so why not mention it since it did work for me? My only gripe is the red disclaimer on boot when you are booting recovery from another ROM is now showing up every time i boot up the phone. And I'll definitely try your ROM if it's flashable and debloated like the one in OP is.
[Desire 626 Android Development] nightbreed813:
I'll post it when I get home from work
[Desire 626 Android Development] asj2583:
Sorry for not replying sooner but all I did was turn off my phone at which time I took my sim card out. Booted up into recovery and flashed the Sprint firmware after wiping and then rebooted back into the system. After it booted up I went thru the setup where I skipped connecting to wifi. Shortly after it attempted to activate the phone where I let it do its thing for a few minutes. After you few minutes it failed and it let me skip it and go to the main screen. I then inserted back my sim card and connected to WiFi. That's it. Other than the red text at the splash screen and the occasional LTE turning into a G everything works great!
[Desire 626 Android Development] talksickisil:
Im still tempted to try this. Lol. It's just if I didn't connect to wifi it wouldn't go passed the connect to wifi screen... The only way I could get past it was to connect to Wi-Fi. (Xfinity so I couldn't log in because you need the web browser to do it but "connected" none the less. )A screen popped up saying attempt 1 of 5 failed and it said if I wasn't activating with a customer service rep to click continue. I clicked continue but it just kept attempting to activate. So thats how I ended up getting onto metro MM in a very strange way lol
[Desire 626 Android Development] Abskurity:
I did some fiddling around,i have a MM rom set to go but i wanna test it out on my phone first to be sure it boots.ill keep you guys posted.
[Desire 626 Android Development] talksickisil:
Nice. Hopefully I can dirty flash it, because I've got my phone set up pretty nicely right now.
[Desire 626 Android Development] nightbreed813:
You probally don't need it anymore, internet went out, but here it is https://drive.google.com/file/d/0BzHOZHL6ZwXhUnctZzl3ZGVsTU0/view?usp=sharing
[Desire 626 Android Development] sonnykaiboy:
By any chance was this rom built with a32eul? Or was it built from a32e? Also if anyone is interested. I'm currently uploading my metro pcs ota update for MM to my google drive account. When it's done uploading I'll share the link to the file here. And yes it's a zip file ?

Key note. This will only work if you have a a32eul model.
[Desire 626 Android Development] Abskurity:
I built a MM debloated rom flashable in TWRP,but it doesnt boot, i tested it on my phone and it refused to boot.so for now i wont be uploading until i find a solution.
[Desire 626 Android Development] 1equals2:
That's too bad.

Do you mind letting us know (tracking) what you removed to debloat it? I don't mind repeating that on my phone if I can make use of your experience.
[Desire 626 Android Development] Abskurity:
The same stuff that i removed mostly from the LP build.nothing out of the ordinary.to be honest im not positive,but i might think it has to do with the boot partition,the supersu installer for MM thats included decompresses the boot partition and patches it somehow prior to flashing.thats the only thing i could think of.
[Desire 626 Android Development] nightbreed813:
Were you able to get the stock version to boot? Or did both stock and debloat fail?
[Desire 626 Android Development] Abskurity:
Just the debloated version that wouldnt boot,i just putthe folder hierarchy together in windows,edited the updater script with notepad++ and zipped with 7zip.you have any advice?
[Desire 626 Android Development] talksickisil:
Any way you could post the non debloated version? It would be much appreciated. I can't get wifi working with my current setup. All I need is something I can flash through twrp. I can debloat and flash SU myself.
[Desire 626 Android Development] Abskurity:
There is no non debloated version,i extracted everything from the RUU
[Desire 626 Android Development] talksickisil:
OK well thanks anyways. It looks like I'm going to have to make my way to somebody's PC this weekend
[Desire 626 Android Development] nyttliv7:
Is it only me? The calendar won't work? Tried both Google and htc? Seams to be something wrong with the sync? I do believe the system file: "calendar storage" is missing?
[Desire 626 Android Development] nyttliv7:
Did this thread die?
[Desire 626 Android Development] worldextermination:
I flashed this ROM after unlocking the bootloader and flashing TWRP and installing the latest version of SU. Everything worked perfectly, but I received a notice saying my software version was out of date and I should update. I updated, it broke the custom ROM, and I had to flash back to stock. Now, even after multiple attempts, I can't get this ROM running. I repeated the exact process that I followed the first time I flashed this ROM successfully, but now it sends me through infinite bootloops. Does anyone have any idea what the problem could be? It doesn't make sense...It shouldn't bootloop after I got it running and followed the exact same process from a clean stock flash.
[Desire 626 Android Development] hp79:
Probably because you are on Marshmallow and this rom is based on lollipop. Normally, you can't downgrade. There is a workaround though to go back to Lollipop. I think if you go back to Lollipop stock RUU then you should be able to reinstall this rom.
[Desire 626 Android Development] worldextermination:
You're the one that created and posted the workaround, haha. I'm going to try it and report back.
[Desire 626 Android Development] hp79:
Yeah, I got carried away trying to perform the SIM Unlock on my MetroPCS HTC 626s. With the help of others I was able to downgrade to Lollipop and run the SIM Unlock tool for a permanent unlock. Then I tried a custom ROM and wifi didn't work :(

Maybe I didn't try hard enough, but I just went back to stock Marshmallow after the SIM Unlock was done. Since there is root and TWRP, I think I'll just debloat the stock OS myself. But do let us know if you were able to run custom Lollipop ROM smoothly after downgrading.
[Desire 626 Android Development] worldextermination:
First of all, let me say that your method worked perfectly and I was able to install this ROM. You said your WIFI didn't work? Did you flash the Advanced Stock ROM, because it says in the OP that the ROM does not have WIFI support.

Either way, this ROM is the ****! Thanks so much!
[Desire 626 Android Development] android problems:
could you upload a backup recovery of your phone so i could just put the backup file

could you please push backup on your phone and send me the file so i can restore my phone to that. it has no os installed and the bootloader is all it goes to so im soft bricked can still go to custom recovery . i tried flashing something with cyanogen and i never use that recovery before. thanks
[Desire 626 Android Development] android problems:
could you just make a backup of your system boot and all that and then send me that backup to restore to . just dont check your data in twrp i have no phone right now and i need to fix it so bad. i cant even call my girlfriend this zip wont show up to flash
[Desire 626 Android Development] xuweisheng:
Can this rom work on 626 Asia version(A32_UL)?
[Desire 626 Android Development] Deonta23:
this work for the att desire 626s? id assume its probably the same
[Desire 626 Android Development] Jerryvail924:
http://xdaforums.com/desire-626/development/kernel-wip-port-lollipop-5-1-source-t3470476
[Desire 626 Android Development] Kernel ranger:
Does this work with HTC D626PH (Mediatek MT6792) ARMv7 processor?
[Desire 626 Android Development] HeWasNumberOne:
Will this work for a 626 running Android 6.0.1? If not, can someone point me in the right direction?