yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
Works perfectly.

Could someone share his mixer_paths_tasha.xml from /system/etc? I ****ed it up.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] mrsachou:
https://www.mediafire.com/?sva8n6vl75b8kmb
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Updated with newest changes from Mi5Devs on Github :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
How can I fix Audio FX crashing issue? :/
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
It's implemented in the newest build. ;)

Did you updated to the latest version? Did you tried to clean the cache of the app? If that does not help we have to check if you're the only one with this problem.

Maybe someone with the same problem?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] razibrizal:
Hello i have bug for music, music is to slow on headset and if i play game the music go normal

Build rom 28/8/16

---------- Post added at 02:18 PM ---------- Previous post was at 02:18 PM ----------

Hello i have bug for music, music is to slow on headset and if i play game the music go normal

Build rom 28/8/16
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Did you have tried another music player? If yes, we have to check if someone else got this problem...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
No capacitive home button function on FP scanner right?

I really miss that function. But so far only MIUI have it. And i hate MIUI. T.T
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
Fixed the AudioFX crashing by updating to newest version, thanks.

However, why volume (headset) is so low? Even at max volume, it's playing quite quiet, it was really loud at stock MIUI - that's the only con in this ROM, otherwise - awesome!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] razibrizal:
Yeah thats bug like mine, try to play any game and the sound will be normal
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] razibrizal:
Or you just take a foto from camera and the sound will be loud
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] XpShiva:
audio record

audio record from video camera is so quiet....can it be fixed?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] axel199513:
Can't stop working hardware buttons. I'd like to have on-screen buttons, not harware. And sometimes screen doesn't turn on
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
I updated the rom, I also tried to fix the sound problem ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] axel199513:
Everything OK and sound is workingb but still problem with buttons...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] XpShiva:
thanks!....i will try now:)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Okay, and you're sure there is no option to disable it? I don't use PAC atm. But maybe someone can help you... :rolleyes:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] axel199513:
There is an option to disable them but after locking and unlocking the device them start working again
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Strange, I will check that when I have the time for. It that okay for you?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] tlxxxsracer:
This! once using the capacitive ability of the home button on MIUI, i cant go back to a physical button. Hope this can be implemented
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
No, this is not possible without kernel source :crying:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Seems like a general issues on all roms, have to wait untill Mi5Devs can fix it. I dont have time this weekend, but i can have a look in it after monday.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kot5678:
Ok now after update left button is back & right i cant set... its ****ty I would like to use it like on old version so how to set right button to back and left to list of apps ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Read second post!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
Thanks for fixing the audio! Everything is flawless now, best ROM out there :)

btw, I'm from Poland and in Polish "Ambient display" and its settings are not translated, maybe there is any way that I can help you with this?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
There you have to ask PAC Team ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] razibrizal:
Can you make hotplug kernel like smiui kernel do?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
How can I get in touch with them? :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
I already thought about it, but i dont know much about kernels :rolleyes:

I tested it and i noticed that the phone feels more laggy, but no big increase in battery :(
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Their Forum or Webpage :confused:

And I never translated a ROM or a part of it, sorry...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
Freedom is fatal-crashing, ehh :confused:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 4719:
Democracy still working?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
I dont get it :confused:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
I wrote with a developer of them and they have sent me this link, where you can help translate the rom. I hope this helped you.. https://crowdin.com/project/pac-rom
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Nagasaky2x:
Kernel available!

https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/gemini-m-oss
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] spavian:
Oauuu, niceeeee
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] mbcl:
has been working great for a week or two, thx
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Thanks for the feedback!

I will update it when we got the kernel from source working. At the moment i have som problems with dtb files in the kernel after compiling it.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] spavian:
Thank you for your work, waiting for a good working kernel..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Mcign:
Great rom thank you !!!

2 questions :

Is possible to invert back and recent soft touch ? OK flash the file in the OP , sorry

Is possible to use single touch home button without press it ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Without kernelsource not...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] TachyOS:
Can't wait for you devs to update with latest kernel from Xiaomi
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
I know, but the source Xiaomi released an incomplete source an this have to be fixed first. :(

Then I will update this Rom with Nougat Version & Kernel :p
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] TachyOS:
Awesome! Will looking forward for it ;)!

Mi 5 really needs love. Probably the best high end phone with small screen.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Updated with the newest changes from PAC and Mi5Devs!

This will be the latest build untill the kernel works or we get nougat prebuilt zImage ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
Any bigger changes? :D

*this feel when you don't even need capacitive home*
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcel112:
404 on androidfilehost?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Thanks, I dont know why my file got deleted :rolleyes:

New Link: https://www.androidfilehost.com/?fid=24727369092696478
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 4719:
Great update. Rom feels perfect.

Thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcel112:
I know there is a link to gapps but wich variant do we need for pacman?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Its up to you, you just have to use ARM64 & Android 6.0 GApps ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] miragef1:
The new link still doesn't work for me :(
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
I've tested it right now and the newest link is working. :angel:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bayusuputra:
Hi, is it normal that my phone is encrypted by default? Thanks!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ro_bo:
Is this rom based on CM or AOSP? I know there are only CM sources for mi5 right now, but someone said that this is basem on AOSP.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
The rom itself is AOSP Based, but it uses CM device tree, what makes it possible to use CM device source with some little tweaks. You can see the changes on my github page. ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nikoum:
When i open the Pac console and and try to check the changelog, it crushes and there is a message "Unfortunately Pac console has closed"

Also i can not find some of the advertised features of the rom such as Ram bar, Omni switch, pac console ota updater, AOKP weather, volume step customization.

I have tried three different latest versions of the rom and now i am on 20/09/2016 version.

Are these features included in the rom?

As i am not really familiar with these, can anybody help me in this matter?

Thank you
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
The changelog does not work, because its on an official build and i did not fix that...

I never used such features in this rom, and now i'm on CM. So I cant tell you where these features are and how to use them :( Maybe there is someone on pac who can help you better in this point.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nikoum:
Thanks for the reply. So this rom will not get any more updates?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Its pretty sable at the moment, so i dont see why i shoukd update it at the moment. The kernel source thats here at the moment does has a major bug, headphones are not working. So i decided to update the rom whith kernel, when this bug is solved. ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nikoum:
Thanks a lot, I will check back in time.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kemalafiantoro:
Hello guys, wanna ask something

I recently flashed this rom and its blazingly fast man thanks!!

But one thing that bother me is that sometimes, the battery reducingby 2-3%. For example when i fully charges my phone and started using it, then it reduced directly to 98%, not 99%. Then after that when my battery is 91%, then it reduced directly to 89%.

Why is that? Any of you guys experiencing this? Are there any way to fix this?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] NexusPenguin:
Hi,

Well, I can't tell for sure about this ROM as I do not use it.

But some questions :

- I assume you made a clean install, so probably that isn't the problem ;

- I assume you may not have proceeded to a "Wipe battery data", which may help... I don't do it really much, but I know I should...

If that doesn't help, I would then see if the report about battery life is correct or not. I mean, will it last as long as it did before ? Or does this affect the real battery lasting ?

Regards.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
This is normal, it refreshes the battery percentage not that often ;) The battery does not drain more or less! :angel:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] RandomPRSN:
Can someone confirm that the audio (head phones and delays in sound) aren't present within the ROM? :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
As it's based on pre-built kernel, audio is working.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Update

New update with custom built kernel, there are many commits kernel wise, but the custom kernel has also one major bug (headphones do not work), if you are useing headphones stay on latest with prebuilt kernel ;)

For the ones that don't use headphones, flash the latest version and enjoy the custom kernel :p
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] tndb:
Thanks for the update :) Any noticable changes with the custom kernel compared to prebuilt kernel (other than the missing headphone) or any other goodies?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kemalafiantoro:
Ahh so thats how it is. Well alright then!!

One last question, why is the gps is so hard to lock? When i try to use google maps for navigating it cant even locked at all. Why is that and how to fix it?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Update:

Download in the OP, here the major changes:

Headphones fixed

Ambient display fixed

Kernel Upstream with CM
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] chandgokul1:
Can't download ROM,android file host sire setr error
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] TachyOS:
Found it..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] chandgokul1:
thnks 4 working link...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] TachyOS:
Why there are so many tweak missing in pac console???
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] chandgokul1:
i m using the rom,,, finally excellent rom with everything working fine finally, thnks developers

only want how to force expand all notification in pacrom by default ? (dowt want exposed)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] chandgokul1:
peculiar problem again i face, my sim 1 (jio 4g VoLTE) again reset to only lte and randomly to the volte and lte, at the same time when i try to reboot phone my advanced menu(all power off, reboot, recovery etc) not showing, just reboot option showing though i have enabled it in developer settings ,

after reboot everthing ok, no network flactuaing, advanced menu shows as normal,

but when the problem start no advanced menu showing........

what is tge the cause?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] :
[MENTION=5296790]33bca[/MENTION]

in latest build, usb otg is not working. i can confirm that my usb is working because it does mount and works well in twrp.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
I dont know this error, so i cant do anything untill i have a logcat when this problem happens...

Someone with the same issue?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
OTG is also not working on cm, as far as i hear, but i cant test it and without a logcat, i cant help :confused:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] neodante:
One question [MENTION=5296790]33bca[/MENTION] ...Why for example for Mi4 there are many 7.0 roms and for mi5 there isn't any ??
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Because the Mi4 has the kernel source longer and the marshmallow base is more stable. I dont think that any dev will try to build Nougat untill Marshmallow is stable.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] chandgokul1:
plz update the rom built with latest 31th cm13 version, all the serious network bugs r fixed, now like stable rom,

i love this rom, want from this one
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Just wait, update is comming today!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
New Update!

download in the OP, major changes:

USB OTG fixed

Lights improvements

LED brightness LibLights control

Enable sdcardfs

Modem Update

ROM Upstream with PAC

Kernel Upstream with CM
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] TachyOS:
1/11/16 build makes my Manga Rock apps cannot even load a page.

Anyone can confirm it? Go to and download https://play.google.com/store/apps/details?id=com.nab.khanhluongthanh.mangarock&hl=en

Previous build I can use the apps normally

And of course I contacted the Manga Rock team too.

#EDIT

I revoke back to 21/10

The apps works fine.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Oehr:
When I try installing supersu through TWRP, I get an error:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vallabh1994:
How to enter diagnose mode as i want to use qpst but phome is not detected while on this rom

I ttied setprop sys.usb.config diag,adb but nothing happens

Plz help me thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vallabh1994:
Video call on volte not working ....

And i solved the issue of adb diagnose mode by replacing init.qcom.usb.rc from boot image with stock qcom.usb image as in pac rom"s us.rc file sys.usb.config duag,adb property is not present so i added it and then my phone is getting connected in diagnose mode also.... But video call is not working thats the issue to be fixed
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
I dont know, i dont have volte, so i cant test it... a logcat would be helpful ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vallabh1994:
Ok Will give you.,
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vallabh1994:
sir here uis logcat attached

there's also issue that sometimw when volte is enabled msgs from other sim fail to send
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Update:

Download in the OP

Rom upstream with PAC

Kernel Upstream with CM

Firmware Update to Global Beta 6.9.29
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
Final

Update:

Download in the OP, the next build will start with Nougat!

Rom upstream with PAC

Kernel Upstream with CM

3G Fixed
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] :
Waiting for next build:good::good:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] efferato:
Hello everyone!

I've been using this rom on my mi5, I like it a lot but with the last 2 versions I am having huge connection problems, since most of the time cellular data just does not work. there is no H or 3G beside the mobile connection icon in the quick settings, if i keep switching plane mode on and off sometimes i get H connection for some seconds but it just shuts off by itself. I just did a clean installation of the latest version (wipe cache, dalvik and data, install rom+gapps+supersu) and the problem persists.

Cellular data was of course working with stock MIUI and other roms.

Any hint? should I just downgrade to a previous version? Can I provide any other useful info about my problem?

Thanks!

edit: logcat attached of what happens when turning off wifi
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] shashank957:
Awesome rom man, smooth like butter, just one question, any idea when are CM guys planning to make home button tap work, i really like that, dont want to hard press home button everytime..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ICuaI:
Try this app -> http://xdaforums.com/android/apps-games/app-fingerprint-to-unlock-t3466549
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ICuaI:
[MENTION=5296790]33bca[/MENTION]

Do you have any idea, when upgrade to nougat will come?

Just read on fb that they will change their project...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 33bca:
PAC is not updated anymore, atleast theit github seems to be inactive...

If you wa t nougat, i can recomend you to use Resurrection Remix, it has also alot of features.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ICuaI:
I know that there are a lot of nougat roms. :)

But still satisfied with pac for the moment. Now I'm waiting patiently for DU.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] yakir4u:
Hi

my phone having soft break after installing superuser on this rom

is it only me?
[T-Mobile Note 7  Questions & Answers] kenifer:
I order mine on the 6th and was told to come back on the 19th to pick it up. Wonder if someone receive a call from Sam's Club to pick-up the Note 7 today.:cool:
[T-Mobile Note 7  Questions & Answers] fatboypup:
its not the 19th
[T-Mobile Note 7  Questions & Answers] RJBurton:
I called. Was told the phones aren't in-store and won't be available until consumer opening time at 10a tomorrow. I was going to be there at 0730 with my business membership. Glad I called.
[T-Mobile Note 7  Questions & Answers] coal686:
Same here, but they called me. The rep asked what time I was coming in if I'd like to make an appointment. I told him 7:30 as the pre-order paper said anytime 7:30 - 8:30 (PM). He looked it up and said he's the first one coming in at 9:00. I'd have been upset if I found that out the hard way.

So, I'll be there at 9:00. The extra $150 gift card from Sam's was really the deciding factor for me.
[Android General] gizz68erz:
Hi!

I'm using the Samsung Galaxy S7 and i have tons of pictures on my phone.

When i am cleaning the cache (with the built in tool) of my phone, of course all these thumbnails will be deleted too.

Is there any way to do a re-generate job of thumbnails? It's very annoying that i have to scroll through every album to generate the thumbnails.

Another way would be a cache cleaner with exceptions, but i couldnt find one with this working and without having root.
[Moto G 2015 Q&A, Help & Troubleshooting] debopriyobasu:
Hello dear XDA members!

I have been trying out a lot of ROMs recently and among the ones I tried,I found Resurrection Remix and Dirty Unicorns to be one of the most feature packed ROMs,but can't decide which one is better.

Although Resurrection Remix is official for Moto G3 and DU is unofficial,I would like to ask in general,which ROM works better for you?

I generally like feature packed ROMs which offer lots of tweaks and wouldn't settle for simple ROMs...but it is only my personal opinion.

If you have tried any other ROMs with more customizability than the ones mentioned above,do let me know.
[Moto G 2015 Q&A, Help & Troubleshooting] Secuential:
The only thing that makes me prefer RR is Live Display, which wasn't present in DU when I tried it some months ago. But apart from that, I don't find anything else, they both offer a lot of customization. And there is an app in Play Store that does the same as Live Display, but I prefer having that option baked in the ROM.

And being official or unofficial doesn't change the way the ROM works, they are both excellent ROMs in my opinion :)
[P3600 General] Jackuuuuu:
I find that each time after reset, default in-call volume is not at maximum...

Is there a registry fix it?

Thanks guys! :D
[Galaxy Note II Q&A, Help & Troubleshooting] kirank08:
Its been a long time since I booted my Galaxy Note-II (GT-N7100) as I use an iPhone and Nexus 5 as my daily drivers.

The phone wont boot past the Samsung Galaxy Note II GT-N7100 logo. I am able to access the recovery and download mode as well, and I have flashed the latest stock rom from Sammobile using the Odin. The flashing was successful. however the phone doesn't boot past the logo. Also the phone will not power up unless connected to a PC, it wont power up even when connected to a charger and will immediately shut down when the USB cable is disconnected from the PC. I flashed TWRP 3.0.2 Custom Recovery using the Odin and tried installing CM 13 based Rom through the mem card, however the log reads patching image unconditionally and also that "Failed to mount /system" (invalid argument). The phone when restarted into recovery can no longer mount the /system partition. However on flashing the stock rom using Odin, the /system partition is available for mounting. The recovery log also shows MTP enabled, but my PC doesn't detect the phone when in recovery, it only detects the phone in Download mode. I have the Samsung drivers installed. Since the phone is not being detected in recovery I am unable to use the adb.

I am out of ideas and request your suggestions other than approaching a service centre.

If I can somehow access the phone via ADB, I might be able to check the memory partitions for corrupt units, and possibly create a custom PIT file to repartition and suit the available memory units.