yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] therikz2:
Hello

I am a newbie to the forum but I used to visit and check stuffs here in india

I own j5

Model : J500f

I rooted it with kingroot and then changed to su with steps given in one of a thread in xda

then for xposed I set my SElinux premmisive with terminal emulator with this code

su
mount -o remount,rw /system
mkdir /system/su.d
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "echo 0 > /sys/fs/selinux/enforce" >> /system/su.d/permissive.sh
chmod 755 > /system/su.d/permissive.sh

and it worked well tooo but after sometimes notification came

I clicked on it then it gone to the security area with one big red shield saying restart to revert changes I clicked it and then my phone restarted and then I am always booting imto recovery I tried restoring with my back up it was succesfull but it still boots into recovery, tested my buttons they are alsooo fine

please helppp meee
[General Questions and Answers] PalmCentro:
Next time you'll need to delete security log agent apk in system/app.

Now to unbrick you'll have to reflash stock, go to sammobile and find your firmware there.
[General Questions and Answers] therikz2:
Thankk you alot i tried it and it worked
[Moto G4 Questions & Answers] lokinmodar:
I followed some tutorial in this site https://goo.gl/fz0bIx and now i can't fix the wi-fi mac address (appears as 02:00:00:00:00) and it can't find the wifi networks :(

Can anyone help me?
[Moto G4 Questions & Answers] garva1:
Please tell what you have flashed
[Moto G4 Questions & Answers] lokinmodar:
I followed the tutorial and flashed this: https://dl.twrp.me/athene

followed the next steps on the tutorial and flashed this: https://drive.google.com/file/d/0B3TKzy1UugHNT1RvNURsWmRoMVk/view

and then installed the supersu as described there: https://download.chainfire.eu/751/SuperSU/BETA-SuperSU-v2.62-3-20151211162651.zip

The wifi does not work (gives me the strange address) and i don't know if this is related to a corrupted /persist partition. The wifi folder inside it has no files.

----

I think the issue may be related to this (not sure tho): the ROOT files are for "athena 1641/1643" model. I have "athene 1626" model.

If it is related to the files i pointed above, how do i fix it? Is Returning to stock rom the right way?

----

DTV module is faulty too. Probably the thing i flashed corrupted it too.
[Moto G4 Questions & Answers] Felikx:
I have the same problem!
[Moto G4 Questions & Answers] libralibra:
May I make the claim that there's no working root available for Moto G4? I had this problem as well.

I jumped from Moto G1 to Moto G4 a couple of weeks ago. I tried to root it immediately after I received my device. I came across with several posts talking about the rooting process. By following those instructions, I got a clean backup after installing TWRP and before doing anything else. Then I tried to install SuperSU for a couple of times with different versions from 2.36 to the latest one 2.74 - NONE of them worked. It left you a non-bootable Moto G4. it stopped at the Moto logo - no animation of changing to Lenovo logo. I have to restore my phone over and over again.

Suddenly, I found the one posted above and flashed the modified boot.img. It can boot the device. However, before I tried to check if the root was successful or not, I noticed the wifi problem. Then I realised that the modified boot.img might be ONLY suitable for Moto G4 Plus (I don't know if it really works, I have not G4 Plus to test - it's just a guess!). So I make a full restore and get the wifi working now.

That's my attempts on rooting Moto G4 till now. If anyone has a working root, please tell us the process.
[Moto G4 Questions & Answers] lokinmodar:
I did not make a backup (stupid, i know). I'm trying to find a rom that works but had no success. The one i've found is giving me an error in twrp. I just want to get it back to original :/
[Moto G4 Questions & Answers] libralibra:
Try to search in this page: wwwDOTfilefactoryDOTcom/folder/c6cdedc45a775d27/?sort=created&order=DESC&show=100

Remember that our Moto g4 is XT1622. there're some on that page. I did download them in case something went wrong while rooting. but i never flash them - thanks to the backup. There's one said XT1622 specifically in the file name but it also said TESCO. I'm not sure if it's for TESCO network only or not - better to try. Someone mentioned that the file 'XT1621-XT1622-XT1642_ATHENE_MPJ24.139-23.4_cid50_subsidy-DEFAULT_CFC.xml.zip' contains the XT1622 image and thought to be correct as it appears in the file name. I also tried 'mfastboot.exe getvar all' before the modification. The saved txt file from that command has the same version information: Athene 6.0.1, MPJ24.139-23.4.

Anyway, try to get the stock rom and flash it. Reboot to see if the wifi worked. If so, fastboot and flash TWRP and that's it - do not proceed any further. For the time being, we have to be patient for a working root method on Moto G4. I just cannot understand why people are writing some 'INSTRUCTION' they don't know if it worked or not.
[Moto G4 Questions & Answers] lokinmodar:
I'll search this site. My phone box says XT1626 (Brasil version with DTV)

Update:

Flashed the 1626 version from the site using mfastboot and this sequence: This Post

Now it seems to be working fine (gotta test DTV. It found the channels but my signal is bad so...)

WIFI is alive and well ^^
[Moto G4 Questions & Answers] garva1:
How you solved the WiFi issue.
[Moto G4 Questions & Answers] lokinmodar:
Just flashed the entire XT1626 firmware using the sequence i posted above. No issues at all. Phone working completely fine
[Moto G4 Questions & Answers] TomasWilson:
Help!

I have the same Issue, my MAC-Adress shows some bull***t and my WiFi wont show anything. I already tried to flash two different XT-1622 ROM's but it did NOT help me at all. I now will also try to flash the XT-1626 ROM, hoping that it will somehow fix my device. If anyone who sees this has an idea how to fix this or encountered the same problem and already fixed it, please notify me.

Thank you.

EDIT:

Turns out, that I am the biggest retard and not worth living on this world anymore.

I always executed the different ROM-Flashes by using the default batch-file given by the "how to reset" post creater... But instead of putting it in the core directory of the extracted zip i just put it in the mfastboot folder. Ofcourse, it executed very fast, i couldnt read the error codes, but my device always just resetted itself, and restarted. I thought it already was a new rom flashed, but it actually was the same over and over again. Now i found out, flashed one xt-1622 rom and its back up, working :D

God I feel stupid now.
[Moto G4 Questions & Answers] lokinmodar:
Which model is in the phone box barcode? I followed that and managed to make my phone come back to life following the steps i posted above
[Moto G4 Questions & Answers] TomasWilson:
I cant actually look at the box, because I dont know where it is right now. I am actually pretty sure it was an XT-1622.
[Moto G4 Questions & Answers] lokinmodar:
There is a tag on the phone's battery. Model is in there too. What country are you?
[Moto G4 Questions & Answers] libralibra:
or you can use the command I posted above: mfastboot.exe getvar all

there's a line said something like: (bootloader) sku: XT1622

that's the model. it's better to make backup and record as many information as possible before doing any modifications.
[Moto G4 Questions & Answers] Yudi313:
Hi, i have same problem. Please, can you tell me any way around not installing stock rom again or another custom rom to see if it has wifi fixed or if all fails, install stock rom

Please any way to fix the wifi problem?
[Moto G4 Questions & Answers] tekweezle:
Where do you see this bogus address?

I;ve unlocked and rooted 2 Moto G4 XT1625 phones that show this bogus address in a wifi widget I use on my home screen. I don;t seem to have a problem connecting to wifi. When I go to Settings about phone status I see the correct address
[Moto G4 Questions & Answers] Yudi313:
I used to see it on the advance settings in wifi.. however, I like Android so I play alot with it :) if you ever get any problem make sure you have a stock mpj or npj Rom with fastboot flash compatibility. And flash all the. Image sparse chunk :good:
[Moto G4 Questions & Answers] tekweezle:
After updating to Nougat, the bogus 02:00:00:00:00:00 address still displays on my wifi widget but displayed correctly in settings. No problem getting connected to wifi networks.
[Android Q&A, Help & Troubleshooting] mr__gutz:
Is there any tool for flashing other than sp flash tool? Any link please.

In a Mediatek device.
[Tilt, TyTN II, MDA Vario III General] grizzley:
It dawned on me today....

The Today plugin weather screen... instead of putting your city or state or zip code (whatever) wouldn't it be helpful if the application could use the built in GPS to grab your current location and update the weather for you?

Like, if you drive from City #1 ----> 300 miles ---> City #2, your weather automatically updates based on your GPS location in City #2
[Tilt, TyTN II, MDA Vario III General] maryjos:
That does sound cool....but I don't want to even think about the lag on my Today screen for it to be trying to access GPS. :D
[Tilt, TyTN II, MDA Vario III General] grizzley:
OPTION:

[] Use GPS

[] Do Not Use GPS

This way, people have options and also you can choose GPS only when you go on journey.
[Nexus 6 Q&A, Help & Troubleshooting] H4X0R46:
So what do y'all think? I love my Nexus 6 for its shear size, I personally would LOVE to see another huge Nexus like this one! Thoughts? ;)
[Nexus 6 Q&A, Help & Troubleshooting] TriguyRN:
I really don't think it would ever happen again. I like the size of my Nexus 6 but, I really think that 5.7 in would better suit me for my next phone. Basically, I'm not on the whale phone bandwagon but, I'm not in the 5 in phone camp either.
[Nexus 6 Q&A, Help & Troubleshooting] Face_Plant:
My greatest desire from the next Nexus is something around 5 inches that I can easily use with one hand and doesn't swing around like giant brick in my pocket that hits me in the nuts every time I take a step. My last 3 phones have all been huge (5.7 inches or larger), so I'm ready for a change.

If they make two Nexuses (or is it Nexii?) again this year, hopefully they'll be of equal specs instead of a huge premium device and a small budget/midrange device.
[Nexus 6 Q&A, Help & Troubleshooting] gee2012:
Yeah agree, even the OP3 felt and looked small in comparison to the 6 inch Nexus i had. Do miss the bigger screen sometimes though when watching youtube, video`s and pics ;)
[Nexus 6 Q&A, Help & Troubleshooting] TMG1961:
For me a 5.2 inch screen would be perfect. I had the LG G2 before my nexus 6 and that was for me the perfect size.
[Nexus 6 Q&A, Help & Troubleshooting] NLBeev:
I can understand that. But 6" size compared to 5,7" is not much. For me it's the back of the N6. It's round and should be flat. Just for easier fitting in car kit and belt cases.

Secondly an option to choose dark themes for system and G-apps.
[Nexus 6 Q&A, Help & Troubleshooting] H4X0R46:
The round back I can agree with, if you've never wanted your Nexus 6 to slide off of a flat table, guess what? Too bad! Lol [MENTION=5788953]Face_Plant[/MENTION] it's racking you? Jesus! Never had that issue brother LOL I'm a sucker for a huge display, the size of this phone was a HUGE factor in purchasing it, icing on the cake that it was a Nexus, stock Android and a HUGE dev scene!
[Nexus 6 Q&A, Help & Troubleshooting] Gedablo666:
I like my Nexus 6, but its to wide for me. Something like Nexus 6p, Xperia Z3 perfect for my hand and its easy to use with one hand. Before buying I know that phone is really big, but I bought it because its Nexus and I never buy again other brand than Nexus. :)
[Nexus 6 Q&A, Help & Troubleshooting] NLBeev:
Arguments about the screen size would be different, when the Nexus phones would be exactly the same (inside) and the only difference would be the screen size.
[Nexus 6 Q&A, Help & Troubleshooting] H4X0R46:
After getting this Nexus 6, I'm sold on them for sure! I'm only going for the Nexus line now.
[Nexus 6 Q&A, Help & Troubleshooting] H4X0R46:
It's true, I mean, the 6p is more powerful than the 6, but that small bit of screen to me is wonderful. I like how wide the 6 is! The 6p is strangely long to me.
[Nexus 6 Q&A, Help & Troubleshooting] simms22:
me, being 5'7", with average sized hands, would absolutely LOVE for the next nexus to be 6".. but i have a feeling that it wont happen :(
[Nexus 6 Q&A, Help & Troubleshooting] MN.Nexus:
I had 2 Nexus 6Ps and on both the bezel bent at the volume rocker. Sold them both instantly and bought (another) White 64gb Nexus 6 sealed in the box for 350. Best phone I've ever had. Still waiting for something worth upgrading to, because obviously the 6P was a FAIL
[Nexus 6 Q&A, Help & Troubleshooting] JimSmith94:
I love the size of my 6" Nexus 6, but I think it will be easier to use a 5.7" in VR headsets, at least the ones that are available now.
[Nexus 6 Q&A, Help & Troubleshooting] NLBeev:
The N6 screen has 1440 x 2560 pixels. I've seen 5,7" phones with 1080 x 1920.

The use of 5,7" would be OK as long apps including G-apps does not use the higher resolution.

Or do I see it wrong?
[Nexus 6 Q&A, Help & Troubleshooting] JimSmith94:
I was thinking more of the physical size being able to fit into VR headsets. Even with my case off, my Nexus 6 barely fits and even then it's hard to keep the power and volume buttons from getting hit.

Another reason to accept the newer/smaller size on a new Nexus is for the upcoming Daydream, Tango, and Valve.

http://www.slashgear.com/road-to-the-next-nexus-android-htc-daydream-tango-valve-20444943/
[Nexus 6P Themes and Apps] flex360:
Attached is dynamic navbar mod. This is for Android Nougat NBD90X

Flash in TWRP

Download Link Below

https://www.androidfilehost.com/?fid=457095661767100593
[Nexus 6P Themes and Apps] jaythenut:
Cool nice work ?
[Nexus 6P Themes and Apps] 1112ee:
Why is this file so much smaller than my default framework-res?
[Nexus 6P Themes and Apps] noooooo:
Can someone please post a flashable zip for encrypted user? Thanks in advance
[Nexus 6P Themes and Apps] Javiisawesome310:
can i use this with M?
[Nexus 6P Themes and Apps] flex360:
Apktool compression
[Nexus 6P Themes and Apps] Curiousn00b:
Flashable zip, I'm assuming you have TWRP.

Why not download the APK, mount /system and place it in the framework folder?
[Nexus 6P Themes and Apps] noooooo:
No twrp, only flashfire
[Nexus 6P Themes and Apps] Curiousn00b:
Never heard of it till just now. [emoji14]

I'm not at my computer right now, but I can build you one.

If you want to do it yourself, find a zip that extracts something to the /system directory and you can also just replace whatever's in it with the APK and the framework directory. The script should have " extract /system/ " so it'll work either way.
[Nexus 6P Themes and Apps] noooooo:
Oh well, i made it after a few try, but thanks for the help!

For everyone else that is encrypted, and for op if he wants, here's the zip
[Nexus 6P Themes and Apps] Davide_M12:
For me it doesn't works.
[Nexus 6P Themes and Apps] jiajialing:
confirm it's working, tks mate
[Nexus 6P Themes and Apps] Davide_M12:
Can you let me know how is your procedure?

I rename the old file res-framework.apk to res-framework_OLD.apk and after I copy the file in OP to system/framework. I set permissions but when I reboot the device, my phone doesn't boot. I do it with TWRP 3.0.2.

Where I wrong?

Thanks.
[Nexus 6P Themes and Apps] jiajialing:
twrp, mount system

adb pull /system/framework/framework-res.apk c:\xxxxxxxx

adb push -p framework-res.apk /system/framework/

reboot, should work.

---------- Post added at 08:50 AM ---------- Previous post was at 08:45 AM ----------

just found not all apps working, but anyway, tks again.

---------- Post added at 08:51 AM ---------- Previous post was at 08:50 AM ----------

just found not all Apps working, but anyway tks mate.
[Nexus 6P Themes and Apps] flex360:
Only works for material apps
[Nexus 6P Themes and Apps] flex360:
Don't rename the old framework. Just do a replace of the file that was it inherites the permissions of the old framework file
[Nexus 6P Themes and Apps] Davide_M12:
I have replaced old file now, but the phone doesn't boot again.

The flashable zip on the 1st page is good?
[Nexus 6P Themes and Apps] flex360:
What android version are you on?

Are you on Android M or N?
[Nexus 6P Themes and Apps] Davide_M12:
N DP4 rooted with systemless
[Nexus 6P Themes and Apps] eqbirvin:
Is this the mod that leaves the nav bar black when keyboard is open?
[Nexus 6P Themes and Apps] noooooo:
Yeah, when I open the keyboard the navnbar becomes black
[Nexus 6P Themes and Apps] sharkie405:
Thanks for the mod. It's working as it should for me. The only thing I've noticed is that in some apps, e.g. Facebook, the navbar becomes gray. Anyone else getting that? Anyway to make all non-material apps stay black?
[Nexus 6P Themes and Apps] Raiden350:
Good mod bit can you tell me how to remove it ? I used flashable zip
[Nexus 6P Themes and Apps] Koragg618:
Here's the stock APK, I'm pretty sure you can replace this one with the one in the ZIP and flash it.

https://drive.google.com/file/d/0B5ElPl_w5ocETjlmbDlLdmplWFk/view?usp=drivesdk
[Nexus 6P Themes and Apps] JP_93:
Will this zip also work on M?
[Nexus 6P Themes and Apps] Raiden350:
Doesn't work :/
[Nexus 6P Themes and Apps] sharkie405:
Anyone know if they have this exact same mod for Marshmallow? I've tried Ultimate Dynamic Navbar, and a couple of Xposed mods, but they don't work as well as this one.
[Nexus 6P Themes and Apps] milestone2mod:
I'd love to get this working on M! Is there anybody who could do a flashable zip? I don't wanna mess around with the framework manually (got bad experiences from my old Galaxy Nexus times)
[Nexus 6P Themes and Apps] Mennpiko:
It will be compatible with dp5? Thanks for the work

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P Themes and Apps] sharkie405:
I somehow manage to get this effect on M without this mod. I think it's probably Lolistat, but I'm not sure because nothing about Lolistat says that it should affect the navbar. I don't really see what else could be doing it though. I did install the Xposed module Flat Style Bars, but then uninstalled it because it was to buggy. I'm not sure if somehow that changed something that didn't change back after having uninstalled it, but in any event, I've got a status-bar-color matching navbar in every app.

Edit: So after some quick playing around, I discovered that it is in fact Lolistat that is changing the navbar to match the status bar color. In order for that to work you have to set your Global Settings like so:

[IMG="Lolistat Global Settings"]https://lh3.googleusercontent.com/qFNFWyBFbpgoIB5pW4JqY1oVtiOic1Hu4pAKmRYsIFaBlkJqm11o7dStZ4S-uK84kfZByVQW2-t8_6zFZsZDG9HqzTn0M6pY-l0WSXEGH19Wg5v9xeLBlyc5YQLFIhsokBHKFOtetCZGpd_uvcrePKh4KgsSPP8_U_ucIYLgrDTSUV1B4iJm2XP0SxHD0zVQaU_RJP2et0VJPha9Zv4T4Mz0Y9sNPw_IqYahi1Kp31HSln2Jz-yZkkGeoiCJu8TriB3rdZCddvGNemREfwY8_OEZRTaDOeM3tnQ79XPJErHitUR8fa6qEhlDJYDywnYpiWTiKJ_TxdnD367tMdGxBu8NS9RD0oC9F7KzD80wkXf3P6lxELERhBb4BxOwADuo3FjhemxL3dTgZ1UsCtAYFOhrKEnh_DEhKC8YAtvLuEQvQ7zfJ4SrqYwdbqy76I50LYzF6LgHDC5zZna3qFpG-zopuRHh5jhf2Co41KewBfbg5ZHWvJhnCaP_fDm9XIh2Pz156dI0AQVzg9vhgPx508jR-WPgO471f3yVuS_R3uSvt-tF9wjRdexkazgRjuZRMt9K_tCdSvV_AefZrkBaDZrdEYy09Q4=w538-h955-no[/IMG]
[Nexus 6P Themes and Apps] tsuttie99:
No. I am getting FCs all over the place.... scrambling to try and revert... Can anyone point me in the right direction to revert the flashable zip install?
[Nexus 6P Themes and Apps] BakedTator:
Just dirty flash dp5 again
[Nexus 6P Themes and Apps] flex360:
ill make a version for dp5
[Nexus 6P Themes and Apps] Mennpiko:
I have tried several times, I followed your tutorial, decompile the apk, modify the lines style.xml, I put the signature of the original and compile, the replacement for the original apk framework in the system but does nothing, it It remains the same ?
[Nexus 6P Themes and Apps] BakedTator:
Can't wait man!
[Nexus 6P Themes and Apps] Mennpiko:
Hi [MENTION=2979097]flex360[/MENTION], it would be possible to look at the framework that I have modified to have if you tell me why it does not work, thanks

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P Themes and Apps] sharkie405:
Deleted for re-post.
[Nexus 6P Themes and Apps] sharkie405:
http://xdaforums.com/showpost.php?p=67878540&postcount=41
[Nexus 6P Themes and Apps] eregev:
That site is giving error every time I attempt a download. Mirror?
[Nexus 6P Themes and Apps] sharkie405:
F@ck flex360

F@ck flex360.
[Nexus 6P Themes and Apps] eregev:
Beautiful beautiful perfect awesome. Thank you dear sir. Especially with the slim bar. ?.
[Nexus 6P Themes and Apps] dbrohrer:
Thank you very much! Works great!
[Nexus 6P Themes and Apps] pacman photog:
I got bootloop when copied in twrp
[Nexus 6P Themes and Apps] Mennpiko:
A perfect works for me
[Nexus 6P Themes and Apps] sharkie405:
That's weird. Did you try both of them?
[Nexus 6P Themes and Apps] pacman photog:
Yes tried both. Flashed backup file after both. Not sure. It did this for dp4 but flash zip worked. No clue some days. Lol
[Nexus 6P Themes and Apps] sharkie405:
I'm about to upload two zips. Will you flash them both for me and let me know that they work? I've flashed them myself, but a second opinion is always good.
[Nexus 6P Themes and Apps] pacman photog:
100% and thanks. I'll backup frame again
[Nexus 6P Themes and Apps] sharkie405:
I've added both zips to my original post. Try them both out, if you don't mind, and let me know. They both worked for me.
[Nexus 6P Themes and Apps] pacman photog:
I tried the normal and it looped. But mini nav worked. Could be a LCD setting maybe? I'm at 480
[Nexus 6P Themes and Apps] sharkie405:
I'm at a loss on this one. I wouldn't think so, but it's possible. If you felt like it, you could change your res back to it's original and try it out again.

Was the mini nav the one you were really after anyway?
[Nexus 6P Themes and Apps] pacman photog:
Hey it's all good. Could be something I did lol. No clue.

Greatly appreciate the work. To be honest. Just liked the colour. And then you added that so I wanted to test. Works good for me. Thanks again for the work.
[Nexus 6P Themes and Apps] tauio111:
Very odd behavior here on DP5.

Flashing Dynamic + Slimmer navbar = bootloop

Flashing Dynamic only = bootloop

Restoring backed up framework-res.apk = System UI crash

First thought it would be a permissions issue, but setting the permission to 0644 via adb still results in system UI crashing.

Most likely has to do with the custom screen size value I have set - so if you try, set it to the default size first.

It seems as if it caches it somewhere (not in dalvik nor regular cache).
[Nexus 6P Themes and Apps] sharkie405:
Were you able to get your system back up and running? If so, did you try them again but changing the screen size to normal first?
[Nexus 6P Themes and Apps] tauio111:
Had to wipe data partition, whatever else I did didn't fix it (even reflashing system.img).

Very weird behaviour.
[Nexus 6P Themes and Apps] flex360:
if someone posts the framework res from dp5 i can make it in no time

thing is i dont have root or anything of the sort anymore
[Nexus 6P Themes and Apps] BakedTator:
It has already been done for dp5...just have to go back a page and search
[Nexus 6P Themes and Apps] flex360:
updated to DP5
[Nexus 6P Themes and Apps] djide01:
Chrome looks weird with this mod. Or is it just me?
[Nexus 6P Themes and Apps] sharkie405:
You mean because it makes the Navbar gray?
[Nexus 6P Themes and Apps] djide01:
Yeap
[Nexus 6P Themes and Apps] Tylog:
Oh, the first time that I notice the thread, exactly what I wanted. with Xposed there lolistat, for N now this mod, thank you for that.
[Nexus 6P Themes and Apps] sharkie405:
That's just the way it is. It only works with "material" apps, or so I'm told. I believe it has something to do with the way a given app is coded. I've noticed the gray bar in the Play Store, Facebook, Chrome, and several others.
[Nexus 6P Themes and Apps] rajdeep312:
Plz make overlay