yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] benshepherd:
Summary: what worked for me

I have a Motorola Moto E (condor) that I've just updated to LineageOS 14.1 (Nougat). Here's what I had to do, partly for my own reference and hopefully this will help others with the same problem. I couldn't connect to eduroam at my workplace due to a faulty RADIUS server that doesn't handshake correctly with TLS 1.2.

First, install ADB & Fastboot. Make sure USB debugging is enabled on your device, and allow root as ADB (Developer Options > Android debugging, and Root access: ADB only).

With your device plugged in to your PC, open an ADB command prompt on your PC (Start > Minimal ADB and Fastboot). Type:

adb root
adb pull /data/misc/wifi/wpa_supplicant.conf

This will put the wpa_supplicant.conf file on your computer (on my PC, it's located in "%localappdata%\VirtualStore\Program Files (x86)\Minimal ADB and Fastboot\wpa_supplicant.conf"). Edit it with your favourite text editor (NOT Notepad, as it won't recognise the Linux newline format. I prefer metapad). Find the configuration section for your WiFi network. Mine looks like this:

network={
ssid="eduroam"
bssid=<deleted>
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="my_username@institute.edu"
password=<deleted>
[B]	phase1="tls_disable_tlsv1_2=1"
[/B]	ca_cert="keystore://CACERT_stfc"
phase2="auth=MSCHAPV2"
priority=51
proactive_key_caching=1
id_str="%7B%22creatorUid%22%3A%221000%22%2C%22configKey%22%3A%22%5C%22eduroam%5C%22WPA_EAP%22%7D"
}

To disable TLS v2.1 and get the connection working, you'll need to insert the highlighted line. Save the file in the same location.

Now turn off wifi on your device, go back to your ADB shell and type:

adb push wpa_supplicant.conf /data/misc/wpa_supplicant_new.conf
adb shell

This will open a debug prompt for your device. You're now altering files on your device as root, so be careful! Type

cd /data/misc/wifi
ls -la

You should see a directory listing, including wpa_supplicant.conf and wpa_supplicant_new.conf:

-rw-rw---- 1 wifi wifi 5412 2017-03-07 08:30 wpa_supplicant.conf
-rw-rw-rw- 1 root root 5432 2017-03-07 08:18 wpa_supplicant_new.conf

You need to overwrite the old version with the new. First make a copy of the old file:

cp wpa_supplicant.conf wpa_supplicant_old.conf

Now we need to ensure the new file has the same permissions as the old. Type:

chmod 660 wpa_supplicant_new.conf
chown wifi wpa_supplicant_new.conf
chgrp wifi wpa_supplicant_new.conf

Now to overwrite the old version:

rm wpa_supplicant.conf
mv wpa_supplicant_new.conf wpa_supplicant.conf

Type ls -la again to check the permissions are correct. You should see something like:

-rw-rw---- 1 wifi wifi 5412 2017-03-07 08:30 wpa_supplicant.conf

Finally, exit from the ADB prompt (just type exit), reboot your device, enable wifi, and try to connect again.

I hope that helps!
[Nexus 5 Q&A, Help & Troubleshooting] hans293:
Am on Lineage 15.1 and want to add it, but under Oreo Android is using WifiConfigStore.xml to store the config. How must the line look like in my case?
[8525, TyTN, MDA Vario II, JasJam ROM Development] roostaar:
How can I make some of my folders 'Hidden'?

The option is there in Explorer/Finder Properties but is greyed (grayed) out.

I am running Black Satin.

Thanks

R
[8525, TyTN, MDA Vario II, JasJam ROM Development] vijay555:
Which folders, and how hidden? Eg, hidden from yourself because you don't need them, hidden from a newb wife, or hidden from the FBI?

V
[8525, TyTN, MDA Vario II, JasJam ROM Development] roostaar:
I just want to hide my TomTom Map folder, Program Files etc which are on the SD card. They are clogging up the view in the Finder. (Im a neat freak you see..., oh alright, I give up, I just wanna hide my pr0n... ;))

PS-VJSMS is my most used app. (You Don!)
[Samsung Galaxy Core.] RitaQoS:
I screwed up registering my new Galaxy Core by entering the incorrect email address and can't complete registration and sim isnt recognized. What can I do? :o
[Samsung Galaxy Core.] jpl615605:
You will have to wait for 72hours until Google unlocks the account.
[Nexus 6 Q&A, Help & Troubleshooting] ayang02:
I'm having trouble restoring apps+data in Titanium Backup after flashing Android 6.0. I'm rooted (Supersu 2.50 plus modified boot.img provided by Chainfire).

When I restore the apps+data, the progess is stuck at 0%. I'm suspecting there's something wrong with my BusyBox, any thoughts?

Thanks
[Nexus 6 Q&A, Help & Troubleshooting] cerico76:
I think you have to manually set up the right folder in "preference".
[Nexus 6 Q&A, Help & Troubleshooting] ayang02:
Well, Titanium Backup does pick up the backup folder location and I could verify the backup files successfully. I've also tried installing Hellscore Kernel, still stuck at 0% during restore.
[Nexus 6 Q&A, Help & Troubleshooting] torecdude:
make sure youre using the latest version of titanium back up 7.2.2

its working for me
[Nexus 6 Q&A, Help & Troubleshooting] erm1001:
Goto menu preferences select another app processing mode
[Nexus 6 Q&A, Help & Troubleshooting] ayang02:
I think I also tried the "indirect" app processing mode in the latest TB (downloaded from Google Play). I can't seem to restore the apps in 6.0, not even flashing update.zip created by TB.

Good thing I had a 5.1.1 nandroid backup, went back to that.
[Nexus 6 Q&A, Help & Troubleshooting] mtebele:
Any solution please? Here is happening the same.. :(
[Nexus 6 Q&A, Help & Troubleshooting] torecdude:
I wrote before it was working for me, but that was when i had ElementalX kernel, now that i flashed modified boot by chainfire and root with 2.50 superuser. Its not working for me either.

Loved to hear if anyone solved this. [MENTION=3945698]ayang02[/MENTION]
[Nexus 6 Q&A, Help & Troubleshooting] mtebele:
So the solution would be to flash the ElementalX kernel instead of the chainfire one? If I want to flash the ElementalX kernel, I have to flash the stock kernel before, or I can do it from the chainfire one? What are the main differences between both kernels?

Thanks
[Nexus 6 Q&A, Help & Troubleshooting] torecdude:
I had ElementalX with 2.49 SU was working fine but when i tried to flash chainfire's boot image and Su 2.50 i was stuck at boot loop and had to flash factory image all over again.

I dont recommend you to try and do that. Although it might work. i dont know.
[Nexus 6 Q&A, Help & Troubleshooting] majortaylor:
Did any of y'all factory reset and wipe internal storage? I read wiping the SD card will make it work

---------- Post added at 05:40 PM ---------- Previous post was at 05:39 PM ----------

I can't find the exact post about it but it worked for me. Just make sure to backup all files to a computer before hand
[Nexus 6 Q&A, Help & Troubleshooting] ayang02:
I got it to work. Chainfire updated his boot.img for Nexus 6 and Titanium Backup also came out with a new version today. So I basically did a dirty flash from my 5.1.1 backup without wipe and everything worked for me. I didn't wipe this time, so the scenario is a bit different from my original post.

What I did:

1) I was using the latest bootloader + radio already, so I didn't flash those

2) Only Flashed system.img, Chainfire's boot.img, and cache.img

3) Install SuperSU 2.50 in TWRP

4) Reboot to System and waited for apps to upgrade

Some thoughts:

1) If your Titanium Backup has trouble finding the backup files, manually change the backup location to the correct one.

Titanium Backup's restore works for me now.
[Nexus 6 Q&A, Help & Troubleshooting] ldkud50:
If SELinux is set to permissive Apps restore.
[Nexus 6 Q&A, Help & Troubleshooting] castaway1:
i have SuperSU2.50 and elementalX 6.01 and still stuck at 0% a did try a lot of things... any other sulution then wipe SD card guys?

EDIT:

ok this works

in terminal emulator

it will not survive reboot but still better solution then nothing

THANKS ldkud50 !
[Nexus 6 Q&A, Help & Troubleshooting] mtebele:
What I did was to download all apps manually, and then restore only data. It worked.

TItanium Backup 7.1.2.1

boot.img from chainfire

SuperSU 2.49
[Nexus 6 Q&A, Help & Troubleshooting] jijishthomas:
pls help

me too having problem with titanium bkp. I had backup all my apps with data on 5.1.1 and flashed 6.0.1 rom. Now titanium bkp doesn't detect my bkp.

Tried many things like

copy bkp files to internal,

just made an app bkp and copy my bkp files to that folder etc.

still my TB doesn't detect my old bkp
[Nexus 6 Q&A, Help & Troubleshooting] piruzinho:
Yes, that worked!
[Android Q&A, Help & Troubleshooting] kumarcherry2:
is it possible for a starter without a degree in computer science learn android development and make a app that connects two phones via internet and shares data around them like a texting app ??
[Motorola Droid 4] rpadula:
Does anyone had an experience with the relay T699? i've never had any close up experience with it since i'm in Brazil and probably will import from the US.

Does the relay is worth the hassle? i would put my D4 for sale since Blackberry will come out with a new android powered device with hardware keyboard and the relay seemed like a nice cheap device for a while. Or should i just wait and get a Priv?

Thanks!
[Motorola Droid 4] Septfox:
Just looking at the specifications, compared to the D4, the Relay S has:

Lower-resolution screen

Better screen technology

Slightly better CPU

Significantly better GPU

Worse camera

No GLONASS support (GPS is usually enough anyway)

Marginally bigger battery

The keyboard layout (specifically some of the key sizes) looks slightly non-standard, may take some getting used to.

I don't know...if you can get one for very cheaply, it may be a slight upgrade. You might to check to make sure that there's support present for the phone if you intend to flash a newer ROM over stock.

Personally, I would wait and see what Blackberry is going to do, if your D4 is working fine. It's entirely possible (though maybe not highly likely given their design history) that they will make a landscape slider, should the Priv be successful.
[Motorola Droid 4] rpadula:
i really don't mind the priv not being landscape, i've owned a Dell Venue Pro, and it was kinda cool.

I've got my hand on the passport but it's just so weird...

I've checked the relay community, there's a debloat rom, cm stopped at KK and some other lolipop(5.0) roms but it's slower than here. Still a better community than Galaxy Stratosphere 2 which is non existent.

The weigh and bulk of the D4 is getting on my nerves, i've usually carried around in my backpack, but now on the pocket and also the slowdowns. I've changed the launcher, 1.4Ghz Kernels, try to keep the phone without un-needed apps but it's showing it's age. :(
[AT&T Samsung Galaxy S II SGH-I777] Lanchon:
great work!

for those wanting to peek at the script without downloading 17MB...

if [ $1 ] && [ $1 == "install" ]
then
if [ -e /system/bin/sdcard_bin ]
then
echo "Already installed."
else
mount -o remount,rw /system
cp /system/xbin/su /data/local/su_bin_backup
cp /system/bin/sdcard /data/local/sdcard_bin_backup
chmod 700 /data/local/su_bin_backup /data/local/sdcard_bin_backup

cp /system/bin/sh /system/bin/sdcard_sh
mv /system/bin/sdcard /system/bin/sdcard_bin
mv /system/xbin/su /system/xbin/su_bin

echo "#!/system/bin/sdcard_sh" > /system/bin/sdcard
echo "" >> /system/bin/sdcard
echo "while true; do" >> /system/bin/sdcard
echo " sleep 10000" >> /system/bin/sdcard
echo "done" >> /system/bin/sdcard

echo "if [ \$7 ] && [ \$7 == \"/storage/sdcard0\" ]" >> /system/bin/sdcard
echo "then" >> /system/bin/sdcard
echo "fi" >> /system/bin/sdcard

echo "#!/system/bin/sh" > /system/xbin/su
echo "" >> /system/xbin/su
echo "if [ \$1 ] && [ \$1 == \"--daemon\" ]" >> /system/xbin/su
echo "then" >> /system/xbin/su
echo " /system/xbin/sdcardd&" >> /system/xbin/su
echo "fi" >> /system/xbin/su
echo "/system/xbin/su_bin \"\$@\"" >> /system/xbin/su

echo "#!/system/bin/sh" > /system/xbin/sdcardd
echo "" >> /system/xbin/sdcardd
echo "while [ \"\$mprop\" != running ]; do" >> /system/xbin/sdcardd
echo " sleep 1" >> /system/xbin/sdcardd
echo " mprop=\`getprop init.svc.fuse_sdcard0\`" >> /system/xbin/sdcardd
echo "done" >> /system/xbin/sdcardd
echo " setenforce 0" >> /system/xbin/sdcardd
echo " runcon u:r:init:s0 /system/bin/sh -c \"
setenforce 1;
/system/bin/sdcard_bin -u 1023 -g 1023 -d /data/media/0 /storage/sdcard0&
/system/bin/sdcard_bin -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1&
/system/bin/sdcard_bin -u 1023 -g 1023 -d /mnt/media_rw/usbdisk0 /storage/usbdisk0&
\"&
" >> /system/xbin/sdcardd

chmod 755 /system/xbin/su /system/xbin/sdcardd
chmod -R 755 /system/bin/sdcard /system/bin/sdcard_sh
chown -R root /system/bin/sdcard /system/bin/sdcard_sh
chgrp -R shell /system/bin/sdcard /system/bin/sdcard_sh

chcon u:object_r:su_exec:s0 /system/xbin/su
chcon u:object_r:su_exec:s0 /system/xbin/sdcardd
chcon u:object_r:sdcardd_exec:s0 /system/bin/sdcard
chcon u:object_r:sdcardd_exec:s0 /system/bin/sdcard_sh
mount -o remount,ro /system
echo "Successfully installed (you can ignore any device busy errors and should not see any other errors)."
fi
fi

if [ $1 ] && [ $1 == "uninstall" ]
then
if [ -e /system/bin/sdcard_bin ]
then
mount -o remount,rw /system
mv -f /system/bin/sdcard_bin /system/bin/sdcard
mv -f /system/xbin/su_bin /system/xbin/su
rm /system/bin/sdcard_sh
rm /system/xbin/sdcardd
mount -o remount,ro /system
echo "Successfully installed (you can ignore any device busy errors and should not see any other errors)."
else
echo "Not installed."
fi
fi
[AT&T Samsung Galaxy S II SGH-I777] cidlover:
This looks interesting to me, I have the 4 GB pit mod on my S959G and I have been wondering if one could take the internal SD card space and put it to /data. You made my day with this but has anyone had luck in doing this mod and using xposed modules to make the external SD card the card apps, music, pictures, downloads, and etc folders as a fake internal SD card or is that what modding the android system does so that ROMs see the external SD card as the only expandable memory directory?
[AT&T Samsung Galaxy S II SGH-I777] dimoochka:
In a nutshell, this is what my mod does:

/data points to mmcblk0p10 (I think off the top of my head)

/storage/sdcard0 points to /mnt/media_rw/sdcard0 which points to mmcblk0p11 (I think off the top of my head)

By installing my PIT, you severely shrink mmcblk0p11 and expand mmcblk0p10 to monster size.

My script then changes the location that /storage/sdcard0 points to (to /data/media/0 which is located on mmcblk0p10).

Android puts everything (pictures, downloads, etc.) by default onto /storage/sdcard0 -> so these files get redirected to the partition which has all the space (/data/media/0 or mmcblk0p10).

So, to answer your question, an Xposed mod to redirect all of that stuff to /storage/sdcard1 (external SD) instead may or may not work depending on the method it uses. If it tells the system that the default directory to use is /storage/sdcard1 via some environment variable or method then there should be no interaction (which is probably the way that the mod works; that's the simplest method). If it does some unmounting/mounting of directories then that may interfere with my script depending on the timing with which the Xposed mod activates.

If you decide to try to get Xposed to do this and it doesn't work - let me know what mod you're using. I can fix my script to accommodate it.

Alternatively, you don't even need Xposed. Instead you can just edit the script at this point (in notepad):

/system/bin/sdcard_bin -u 1023 -g 1023 -d /data/media/0 /storage/sdcard0&

/system/bin/sdcard_bin -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1&

First line: change /storage/sdcard0 to /storage/sdcard1

Second line: change storage/sdcard1 to /storage/sdcard0

*don't add/remove any whitespace or new lines (or really change anything other than the 0 and 1) or you may break the script

This will swap the folders so that /storage/sdcard0 points to external SD and /storage/sdcard1 points to /data/media/0.

Why do you want to do this anyway? 14+ gigs of /data not enough for your carefully curated porn collection?
[AT&T Samsung Galaxy S II SGH-I777] cidlover:
Lol, no, I wanted to see if we turn, in theory, our Galaxy S2 phones into a phone with no Internal Memory and the only expandable memory is a external sd card to expand it, i just was thinking a few xposed modules can help after doing this mod.
[AT&T Samsung Galaxy S II SGH-I777] dimoochka:
Just to clarify, the behavior of the device after this mod is identical. If installed properly, this mod does not create any new problems that need fixing. It still behaves exactly the same as if an internal storage partition exists.
[AT&T Samsung Galaxy S II SGH-I777] cidlover:
Sorry to bring this up again, but how is sd card data handled? Like .obb files in the Android folder on the internal SD card after this mod. And has anyone tried this mod yet?
[AT&T Samsung Galaxy S II SGH-I777] dimoochka:
Real simple. Instead of files being placed into /storage/sdcard0 they are redirected to /data/media/0. At the end of the day that is the primary difference.

The /data/media/obb folder remains empty (I have no idea what this is used for normally).

I've been using this mod for 2 months, it's worked great. I think me and you are probably the only two people interested in doing it :laugh:
[AT&T Samsung Galaxy S II SGH-I777] Lanchon:
http://blog.notfaqs.com/2013/05/android-obb-files-location.html

http://developer.android.com/google/play/expansion-files.html

:)
[AT&T Samsung Galaxy S II SGH-I777] fennectech:
/system 1gb

I would like to get some help modifying the /system partition to be 1 gb is there any help i can get?
[Greenify] andy o:
Hi, I just rooted my N6 with SuperSU 2.50, and reinstalled Greenify in root mode. I'm running 6.0 final. Is shallow hibernation supposed to be working right out of the box? I don't see an option for it, but my greenified apps (tested Viber, Telegram, FB Messenger) don't wake up with GCM notifications. I'm running everything stock except for the modified boot.img for SuperSU 2.50 and root of course.
[Greenify] oasisfeng:
Yes, shallow hibernation replaces the traditional hibernation on Android 6.0. Since the 3rd-party apps need to support the priority GCM message (introduced by Google for Android 6.0) in their app to make important push (like IM messages) get through. Please contact the developer of those apps to confirm the support of priority GCM message in their apps.
[Greenify] andy o:
Hi, sorry forgot to ask. I assumed that it needed root, but does it actually need root?
[Greenify] oasisfeng:
Yes, it requires root.
[Sony Xperia M] Tommienots:
I'm always wondering why Facebook was the hardest app to install since I started using CM12.1. But now it shows error code -504 can't install app on playstore
[Sony Xperia M] Nicklas Van Dam:
try to install latest facebook app , using v50 up for android 5.0+ and you must using cm 12.1 build from 20151003 and up because on that build your app is automatically installed on ext sdcard. but you need free space on internal storage up to 280mb for installation progress . try to wipe cached data in storage option before install it ;)
[Sony Xperia M] Barney.M:
I have the same problem, tried install latest alpha and beta versions from apkmirror. None of them don't work. :(

Any other ideas?
[Sony Xperia M] Nicklas Van Dam:
try to install it with latest cm 12.1 build and install it with facebook. i don't know too why facebook it's really hard to install on our device. but i think that cause from load or extract oat.dex file from facebook app that reach more than 200mb only for that file. so i think that make slow on installation progress and sometimes is failed :)
[Sony Xperia M] Barney.M:
Clean installation of latest CM 12.1 and OpenGapps - in Google Play getting error 504.

Alpha or beta versions from apkmirror can't install. :(
[Sony Xperia M] smrodek11:
I have the same problem. It stops on "Installing". cm-12.1-20151024-NIGHTLY-nicki and C1905 here.
[Sony Xperia M] ArekFila:
Try to install Skype app first :)
[Sony Xperia M] Mysteryagr:
Same here, anybody found a solution?
[Sony Xperia M] smrodek11:
Anyone fixed this issue? It could be caused by wrong kernel?
[X Style (Pure) Q&A, Help & Troubleshooting] gerg004:
Anyone here have this phone as a company phone? I'm kind of curious how it would work.

My company uses Verizon. Right now I have the Xperia Z3v but recently cracked the screen. My employer will replace my device, but I'm wondering the best route to take to try to get the Pure. The problem is they currently pay monthly for each individual phone. Obviously the Pure is only available through Motorola and at full price.

I don't care about Moto Maker (though it'd be nice), I just need a new device and there really isn't anything out there that I want.

I've had too many Samsung devices, and will not get another Sony on vzw, even if it were a choice. I'm thinking I may need to front some of the bill to get them to got with the MXP.
[X Style (Pure) Q&A, Help & Troubleshooting] swieder711:
My MotoX is on a business account with Vz. I bought it from Moto and put in my existing SIM.
[X Style (Pure) Q&A, Help & Troubleshooting] BladeRunner:
Other than purchasing it yourself, like the above poster, there likely isn't a way. Unless you're close with whoever handles the wireless account they'll probably just hand you another Sony or whatever they can get free/cheap through Verizon.
[X Style (Pure) Q&A, Help & Troubleshooting] Oaklands:
I would just ask the person in charge. I don't know your company situation but they may let you expense some or all of it over time.
[X Style (Pure) Q&A, Help & Troubleshooting] jaseman:
I had the S6 Edge and just bought the Pure myself and swapped the SIM. Didn't tell anyone and everything works great. Verizon also.
[Moto X Q&A] core2kid:
Did something stupid and bricked my 2013 Moto X. When plugging it in, the QHSUSB_DLOAD does not show up. If I unplug the battery and plug the phone in, it connects for a second and disconnects.

From researching, I found that I need to ground a pin to kick the phone into QHAUSB_DLOAD mode. Does anybody have experience in this and know what pin needs to be grounded?
[Moto X Q&A] RazorMC:
If you were trying to root using the "brick" method, then it's advisable to check with OP and follow the instructions completely. I believe the next step in that thread was to use a script to bring it back to life.
[Moto X Q&A] core2kid:
Actually I had a Dev Edition Bootloader Unlocked XT1060 that a friend flashed to an XT1053 4.4.4 software. Obviously it failed at all system updates so I tried to restore it to the XT1060 5.1 software. That failed at flashing system.img so I reflashed from the start to 4.4.4 XT1060 software. Ran OTA once the phone was back up and it bricked.

I am getting it into the QHSUSB_DLOAD mode however I believe I have the newest 30.BE bootloader. Trying to unbrick using the following method doesn't do anything. Step 0 completes successfully however RSD can't get the phone into fastboot mode.

http://xdaforums.com/moto-x/general...loader-v30-t3153725/post62367508#post62367508
[Moto X Q&A] webxplore:
I have the same problem. Did a system update and now the screen does not wakeup. Cannot go into bootloader. No charging indication nor responds to buttons. Just black screen. Followed the guide. Step 1 completes successfully but RSDLite says phone failed to switch to fastboot mode. I am using a Verizon Moto X 1st Gen Developer Edition. Bootloader is unlocked before the problem happened. Appreciate any help.
[MeMO Pad 7 Q&A, Help & Troubleshooting] kanagawaben:
So I have a Japanese model ME572CL which I flashed with WW lollipop firmware. I then downgraded and reflashed with pre-rooted lollipop following the guide on here. But now I would like to go back to the correct JP SKU firmware, the most recent version of which is V12.14.1.17 released last month, but I believe still 4.4.2 based. Can anyone tell me the correct steps to downgrade back to that firmware? Really grateful if anyone can help!