yashsingh1/xdaforums huggingface dataset:
[X 2014 Q&A, Help & Troubleshooting] Shemploo:
So, I figured I'd set up the scenario first in hopes to help make this understood:

1. Got the device

2. Booted/Updated to 5.0

3. Rooted using CF Autoroot

4. Remained on Stock 5.0 + Root (Stock bootloader/recovery)

- 1st "OFFICIAL" ROM came out so like the gentle flash'aholic I am, I rushed and downloaded [ROM][Unofficial][5.0.2][alpha/wip] Resurrection Remix v5.2.6[victara]

1. I installed TWRP via the Google Play App, (I think i was on 2.8.3.0)

2. Rebooted into TWRP, and did a FULL BACKUP (saved locally)

3. Formatted Davlik, System, Data, Internal Storage, Cache

4. Rebooted into TWRP, pushed the ROM files ([ROM][Unofficial][5.0.2][alpha/wip] Resurrection Remix v5.2.6[victara])

5. Flashed the ROM, GAPPS, SuperSU, Rebooted.

After about a minute of booting into the new ROM (new red loading animation) I started to get "encryption unsuccessful", and the only option was to factory reset phone, after which nothing happened, my guess was because of the custom recovery.

What was my error, and how do I prevent this from happening again?

My thinking is that wiping the Cache/System/Data/Internal/Davlik partitions somehow messed up some function someplace?

To fix it I took steps in this thread (http://xdaforums.com/moto-x-2014/help/lollipop-update-failing-how-troubleshoot-t2961633) - thanks [MENTION=915721]randyklein[/MENTION]

-Download "Official 4.4.4 Full Restore Images" from http://www.graffixnyc.com/motox.php# and extract. Move recovery.img, boot.img, and system.img into adb folder

-Boot into fastboot, plug in USB

-Using mfastboot v2, run the following commands:

mfastboot flash boot boot.img

mfastboot flash recovery recovery.img

mfastboot flash system system.img

How do I avoid this in the future if I decide to try a custom ROM/Recovery again?
[X 2014 Q&A, Help & Troubleshooting] josito_zgz:
Same problem...
[X 2014 Q&A, Help & Troubleshooting] CWick4141:
Format data in twrp to fix encryption error
[X 2014 Q&A, Help & Troubleshooting] marquesini:
will i lose my twrp backup ?
[X 2014 Q&A, Help & Troubleshooting] Shemploo:
Data partition just stores your apps (if not pre-loaded into system partition via ROM), and any data associated with them, so it leaves the Internal SD Card partition alone.

What concerns me is that I already wiped data, and I think I formatted the data partition as well, and still had the issue.

I'll have to try again soon.
[X 2014 Q&A, Help & Troubleshooting] marquesini:
I did a full wipe and then formated the data, then installed the ROM,gaaps,and supersu beta.

Got it working with root.

:)
[X 2014 Q&A, Help & Troubleshooting] CWick4141:
Formatting data in twrp is not the same as wiping data
[X 2014 Q&A, Help & Troubleshooting] Shemploo:
True, that is why I said in above post that I think I formatted it as well, but being as I'm not certain I'll have to do it again to be sure.
[X 2014 Q&A, Help & Troubleshooting] CWick4141:
You would know if you formatted data since it erases everything including internal storage
[X 2014 Q&A, Help & Troubleshooting] Shemploo:
Alright, I booted TWRP, and clicked "Data" then "Repair/Change File System" it's currently showing f2fs, my format options are EXT2, EXT3, EXT4, FAT.

I think I want EXT4 right?

UPDATE: I tried EXT4 as every partition seems to use it, and from past experience, and It's working!.

Thank you for nudging me in the right direction.
[X 2014 Q&A, Help & Troubleshooting] airmark:
edit: wrong thread
[XDA Assist] XDA Visitor:
please give steps
[XDA Assist] Darth:
Hi,

You can't "sign out". You can stop syncing it, in phone settings, accounts, Google and uncheck Gmail. Or you can uninstall the app, if rooted, with something like titanium backup.

But if you have your Google account on your device, and Gmail app and it's sync is on, you will always get your messages automatically.

?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] juandbz_:
Can anyone list me links to some ROMS for my GS4?

-AT&T GS4

- NB1

- 4.4.2

- Rooted via Towelroot

- Has safestrap v3.72 installed.

:D
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] StoneyJSG:
It's all in the S4 Android Development Forums: http://xdaforums.com/galaxy-s4-att/development
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jmjoyas:
Read post 2 of http://xdaforums.com/showthread.php?t=2616221
[AT&T Galaxy Note 3 Android Development] benwaffle:
This app allows you to use safestrap on certain devices running 4.4.4 and 5.0.

It basically runs

dd if=kernel.img of=/dev/block/platform/msm_sdcc.1/by-name/boot

I am not responsible for anything that may happen to your device.

Post stack trace/logcat in this thread if it crashes.

If you get errors when updating, uninstall first.

Source code: https://github.com/benwaffle/AT-T-Note-3-Kernel-Flasher

AT&T Note 3 - NC2: this post

AT&T Galaxy S 4 - NC1

AT&T Galaxy S 5 - NCE

If you want to modify for your device, you can edit strings.xml
[AT&T Galaxy Note 3 Android Development] corybucher:
What exactly does this do?
[AT&T Galaxy Note 3 Android Development] benwaffle:
Flash the NC2 kernel image without Odin (to access SS). To get back to nj5 or nl1 you still need odin or a flashable zip.
[AT&T Galaxy Note 3 Android Development] kizzle4:
Is there a flashable zip for us? And does that work via safe strap , flashing a kernel?
[AT&T Galaxy Note 3 Android Development] corybucher:
Installed this but it force closes everyone I open it

---------- Post added at 07:22 PM ---------- Previous post was at 07:22 PM ----------

Everytime*
[AT&T Galaxy Note 3 Android Development] benwaffle:
Can you give me a stack trace? Via 'adb logcat' or if there's a report button, there should be a stack trace section at the very bottom
[AT&T Galaxy Note 3 Android Development] corybucher:
Never mind it worked somehow
[AT&T Galaxy Note 3 Android Development] benwaffle:
If safestrap doesn't allow you to flash kernels then this is an even worse idea. Use at your own risk.
[AT&T Galaxy Note 3 Android Development] kizzle4:
Almost certain it doesn't but mostly just because we've always been stuck with one and never had this kind of option.. But I'm pretty sure we can't flash any non signed kernels with our locked boot loader.
[AT&T Galaxy Note 3 Android Development] carl1961:
Not safestrap it's bootloader preventing kernel lnstall
[AT&T Galaxy Note 3 Android Development] benwaffle:
no, it's the bootloader preventing custom kernels from actually booting

i can flash them though
[AT&T Galaxy Note 3 Android Development] carl1961:
we can flash modems with safestrap this. is your app? It would have been nice to have this to boot safestrap, and safestrap to install NJ5 kernel, then we would not need a computer all the time.

I will try and see if adb will install a kernel, if it fails then I would sat the bootloader is blocking any kernel
[AT&T Galaxy Note 3 Android Development] benwaffle:
I can make the app reboot to safestrap on flashing if you tell me how.
[AT&T Galaxy Note 3 Android Development] carl1961:
[MENTION=4402483]benwaffle[/MENTION] you were absolutely right bootloader did not stop kernel install

putting nc2boot.img on internal sdcard then using adb

adb shell

su

dd if=/sdcard/nc2boot.img of=/dev/block/mmcblk0p14

reboot

it installed ns2 kernel and it booted to safestrap

here is the cmd windows readings

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\carl>adb shell

shell@trlte:/ $ su

su

root@trlte:/ # dd if=/sdcard/nc2boot.img of=/dev/block/mmcblk0p14

dd if=/sdcard/nc2boot.img of=/dev/block/mmcblk0p14

20624+1 records in

20624+1 records out

10559760 bytes transferred in 1.450 secs (7282593 bytes/sec)

root@trlte:/ # reboot

reboot

your NC2Flasher.apk does FC and then Supersu popped so app has root

rebooted phone and app still FC

let me know what I can do to help
[AT&T Galaxy Note 3 Android Development] benwaffle:
obviously `dd` works, that's what my app does

can you give me a stack trace?
[AT&T Galaxy Note 3 Android Development] carl1961:
ok how do I grab that "stack trace?"

here is log cat

line 69

01-20 06:53:18.221: V/ApplicationPolicy(1048): isApplicationStateBlocked userId 0 pkgname com.uubmub.nc2flasher

line 208

01-20 06:53:19.461: E/AndroidRuntime(27406): FATAL EXCEPTION: AsyncTask #1

01-20 06:53:19.461: E/AndroidRuntime(27406): Process: com.uubmub.nc2flasher, PID: 27406

01-20 06:53:19.461: E/AndroidRuntime(27406): java.lang.RuntimeException: An error occured while executing doInBackground()
[AT&T Galaxy Note 3 Android Development] carl1961:
Got a idea. When you get your app to work I want to try and put nc2 on slot 1 run slot 1 which is nc2 to use your app to install nh1 kernel then hopefully it boots stock slot. If that works then we have a way to do things without odin. I already know that nc2 runs fine on Nl1 firmware except for kernel.

All attempts to install kernel from NC2 running on safestrap failed, and installing NH1 4.4.4 kernel with odin did not ignore safestrap being on slot1, so I had to use safestrap to set phone on stock slot to boot 4.4.4 rom

so even if you did a app to install NH1 successfully ,being in slot1 won't allow 4.4.4 rom to boot :( :(
[AT&T Galaxy Note 3 Android Development] sapps:
[MENTION=4402483]benwaffle[/MENTION]

Awesome app. Thank you so much for creating it for us. One of my biggest problems with 4.4.4 was having to be tied to a computer for anything i wanted to flash. This has made life so much better.

One suggestion I would have is...I wonder if it would be possible to have your reboot method automatically boot into SS instead of having to choose it. I know that [MENTION=4469503]RErick[/MENTION] had created an option for the ATTNote 3 that when reboot to recovery was chosen from the Power Options that it automatically went to SS. Maybe you and he can get that together.
[AT&T Galaxy Note 3 Android Development] TheDriller:
I'll be working on that with my update
[AT&T Galaxy Note 3 Android Development] benwaffle:
Should be trivial
[AT&T Galaxy Note 3 Android Development] K-alz:
This app is a life saver. Thanks

From my Allianced S5!
[AT&T Galaxy Note 3 Android Development] benwaffle:
I finally got around to adding the one line needed.

https://github.com/benwaffle/AT-T-N...mmit/9e2588bef587abdd6db4b14504efc340574b4770
[AT&T Galaxy Note 3 Android Development] frazmanw:
AWESOME

Thanks, its so great to have access to safestrap without using odin on computer
[AT&T Galaxy Note 3 Android Development] harley1rocker:
Att note 3 runnin tmobile alliance LL. I want to flash back to nc2. Will this app do it?
[AT&T Galaxy Note 3 Android Development] carl1961:
If you just need safestrap recover , then yes, this wonderful simple app will get you to safestrap, unless you wiped your safestrap hidden partition

If you want full nc2 stock firmware, go here http://xdaforums.com/showthread.php?t=2703006
[AT&T Galaxy Note 3 Android Development] K-alz:
[MENTION=4402483]benwaffle[/MENTION] do you think you could make the same app for the ATT S4 and S5? I have them both and it would be great to have this app.

Thanks either way :)
[AT&T Galaxy Note 3 Android Development] benwaffle:
It's open source: https://github.com/benwaffle/AT-T-Note-3-Kernel-Flasher/

You just need to put the right partition @ https://github.com/benwaffle/AT-T-N...m/benwaffle/nc2flasher/MainActivity.java#L103

And place the desired kernel img in https://github.com/benwaffle/AT-T-Note-3-Kernel-Flasher/tree/master/app/src/main/assets
[AT&T Galaxy Note 3 Android Development] K-alz:
LOL. I would if I knew how to. I don't know anything about coding and all that jazz. I'm thinking you could just decompile the app then replace the MC2 kernel with whatever kernel you want then recompile, right?
[AT&T Galaxy Note 3 Android Development] benwaffle:
You don't need to decompile when you have the source. All you do is change some text. And just changing the kernel will not work because the partitions may be different.
[AT&T Galaxy Note 3 Android Development] K-alz:
Thats even more difficult for me. I have absolutely zero knowledge in this field. I've just started learning the very basics of python (not even close to our subject. Lol) and I'm still stuck. Haha
[AT&T Galaxy Note 3 Android Development] benwaffle:
This isn't programming, and it's simple to do yourself.

Download the source https://github.com/benwaffle/AT-T-Note-3-Kernel-Flasher

Change the file name in app/src/main/java/com/benwaffle/nc2flasher/MainActivity.java on line 94

Change the file in app/src/main/assets/

open command prompt, cd to the code, run

gradlew.bat build

the apk will be in app/build/outputs/apk/app-release-unsigned.apk
[AT&T Galaxy Note 3 Android Development] churapa:
Hi, I was trying to build the app for AT&T's Galaxy S4 but I get error (screencap is attached).

It says something related to sdk location but I had checked the path and it's ok, besides if it wasn't right, I wouldn't be able to make mods, which I do without problems.

Do you have any idea what the error could be?

Thanks for your help.
[AT&T Galaxy Note 3 Android Development] carl1961:
Create a new file called local.properties in the root folder of the gradle project (KernelFlasher)

Edit the newly created local.properties file, add the single line as following:

sdk.dir=/home/user/Android/sdk

where “/home/user/Android/sdk” is the path where installed the Android SDK.

sdk.dir=C:/Users/carl/AppData/Local/Android/android-sdk (forward slash)

edit the attached and put your path and remove the .txt so file is just local.properties

if you then get "Could not resolve all dependencies for configuration..."

In Android "SDK Manager" install "Android Support Repository" from "extra" group. after these two errors I finally successfully recompile apk

also you may want to install any other unchecked building stuff like I needed to update to some lower API (I had warning after successfully recompile saying I needed target API , app here is for 19-21 API)

BTW I am learning this also , and Thanks [MENTION=4402483]benwaffle[/MENTION] for helping us to learn!!
[AT&T Galaxy Note 3 Android Development] carl1961:
[MENTION=5300329]K-alz[/MENTION] upload those two kernels

and verify those two phones can use

/dev/block/platform/msm_sdcc.1/by-name/

(look in a rom installer META-INF\com\google\android\updater-script)

it will look like this

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");

if it is diffrent then we need the mount points for each kernel

Never mind I got the kernels from [MENTION=4708661]muniz_ri[/MENTION] keep root threads but still need to verifi the mount points for each kernel
[AT&T Galaxy Note 3 Android Development] K-alz:
Carl, I'm heading to work now. I'll verify after work. Thank you so much. Been wanting to flash LP on them both, but just the idea of using odin stops me every time. Lol
[AT&T Galaxy Note 3 Android Development] carl1961:
[MENTION=5300329]K-alz[/MENTION]

Ok I already made your Flashers by using [MENTION=4402483]benwaffle[/MENTION] compiling advice.

ALL Credit to benwaffle, It was His Great tools and stuff.

REUPLOADED S5_S4_Kernel_Flasher_test.zip

S5_S4_Kernel_Flasher_test.zip 19.3 MB

https://mega.co.nz/#!jEN1SLrR!hAlrGUXKd7WkaV-a3rWbpYlOmoIAI3XdEnoUSuzDiGo

they installed for me but of course I cannot run those kernels, except for the ATT Note3 test

attached Recovery flashables to get back to lollipop

verify your S4 is BOOT=mmcblk0p20 and Your S5 is BOOT=mmcblk0p15 I got these settings from the the phones safestrap.apk

G900A_OC4_Stock_KERNEL_Recovery-Flashable.zip

I337_OC3_Stock_KERNEL_Recovery-Flashable.zip
[AT&T Galaxy Note 3 Android Development] K-alz:
Thank you so much. I'll test them both when I get off of work and let you know. I may create two threads for them in the s4 and s5 forums for people to use them.
[AT&T Galaxy Note 3 Android Development] carl1961:
ok but before you install verifi your phone to the files I used below

S4 I got the kernels and safestrap from here at [MENTION=4708661]muniz_ri[/MENTION] thread

http://xdaforums.com/galaxy-s4-att/general/how-to-update-to-i337oc3-5-0-1-keeproot-t3075814

S5 I got the kernels and safestrap from here at [MENTION=4708661]muniz_ri[/MENTION] thread

http://xdaforums.com/att-galaxy-s5/general/how-to-update-to-g900aoca-5-0-keeproot-t3076803

Just Full credit and Thanks to [MENTION=4402483]benwaffle[/MENTION] for NC2 Flasher source code and compiling help

All I did was change kernel and a few words
[AT&T Galaxy Note 3 Android Development] muniz_ri:
Hey guys. I have already adopted chainfire's FlashFire as the new Safestrap replacement in several of my threads. Works great on 5.0, no workarounds needed.
[AT&T Galaxy Note 3 Android Development] carl1961:
Thanks I read your threads and also downloaded the app, but I was hesitant about trying

But I also like TWRP recovery ;)
[AT&T Galaxy Note 3 Android Development] K-alz:
I am only going to do the S4 for now, I will hold off on the S5 until the samsung isnights 6 months are over. anyway, I've just checked the S4's meta inf and it was as you asked but a little different in the end. it was MMC...something instead of the one you mentioned.

---------- Post added at 01:38 PM ---------- Previous post was at 01:36 PM ----------

how does it work? just like mobile odin? Also, is it possible to get back to KK using it?
[AT&T Galaxy Note 3 Android Development] carl1961:
can you upload the meta-info folder?
[AT&T Galaxy Note 3 Android Development] K-alz:
Sorry, fell asleep. Lol

https://www.dropbox.com/s/dds3xt9q62sco3x/updater-script?dl=0
[AT&T Galaxy Note 3 Android Development] carl1961:
the boot is the same

this is from a AT&T OTA I337ATTEMK2

package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

this is in the............NJ4_Flasher /dev/block/platform/msm_sdcc.1/by-name/boot
[AT&T Galaxy Note 3 Android Development] K-alz:
Mine is NC1, though. I don't know if that makes any difference.
[AT&T Galaxy Note 3 Android Development] carl1961:
[MENTION=5300329]K-alz[/MENTION]

NC1_Flasher for AT&T S4

http://xdaforums.com/attachment.php?attachmentid=3261114&stc=1&d=1428979963
[AT&T Galaxy Note 3 Android Development] K-alz:
It worked like a champ[emoji1]

Thank you so much. Now I can flash any ROM I want.

We will do the S5 soon.
[AT&T Galaxy Note 3 Android Development] carl1961:
[MENTION=5300329]K-alz[/MENTION] here is S5 NC2_Flasher all credit to [MENTION=4402483]benwaffle[/MENTION] also do not forget to include Source code link and credit to [MENTION=4402483]benwaffle[/MENTION] if you post
[AT&T Galaxy Note 3 Android Development] K-alz:
Thank you very much. Now I'm looking for the lollipop OC4 kernel to make a flashable zip of it.

---------- Post added at 01:22 PM ---------- Previous post was at 01:11 PM ----------

Now if you could make THIS!! a flashable zip I'd really really appreciate it.
[AT&T Galaxy Note 3 Android Development] carl1961:
ok try attached recovery flashable
[AT&T Galaxy Note 3 Android Development] K-alz:
Thank you so much. I'll try them soon.

From my Allianced S5!
[AT&T Galaxy Note 3 Android Development] benwaffle:
Since you guys are porting this I created a tiny config section here.
[AT&T Galaxy Note 3 Android Development] carl1961:
Awesome, that will save a lot of typing and cut and pasting code!!
[AT&T Galaxy Note 3 Android Development] orangetag001:
Used the app and now my phone will not get to the AT&T startup. Just thought you should know.
[AT&T Galaxy Note 3 Android Development] benwaffle:
[MENTION=4666881]orangetag001[/MENTION] Does it get to safestrap? Did you flash your original kernel back?
[AT&T Galaxy Note 3 Android Development] orangetag001:
Sorry, I forgot to mention that it does get to Safestrap but after that prompt it would not even get to AT&T prompt. I flashed Lollipop again and getting my apps back. Lemme do some checking to see if I can get back to SafeStrap now that I'm on Lollipop again.

Edit: Just restarted and cannot get to Safestrap again.
[AT&T Galaxy Note 3 Android Development] benwaffle:
It's not a one-time safestrap fixer. You use this app, reboot to safestrap, and then flash your original kernel back (OC1 on Note 3).
[AT&T Galaxy Note 3 Android Development] orangetag001:
Ah, I see. Alright, well I feel dumb now. Thanks for the insight.
[AT&T Galaxy Note 3 Android Development] BLK♤Ninja:
This is what i get once i click install
[AT&T Galaxy Note 3 Android Development] benwaffle:
fixed, try again
[AT&T Galaxy Note 3 Android Development] BLK♤Ninja:
Yep wirking now thanks for your time buddy your tool is a needed headache releiver lol

Thanks alot
[AT&T Galaxy Note 3 Android Development] harleyusa59:
Please forgive me but i made a mistake this is what i need to recover back from SS..... AP_SM-N900A_NJ5_Kernel. I found the tar file but i need a flashable NJ5 Kernel. If you can help me with this i will be very thankful. Have a Happy Easter.
[AT&T Galaxy Note 3 Android Development] itsLazR:
It says I do not have Busybox and or Safestrap installed when I do. It was working on my Note 3 ATT right before I updated Busybox to 1.24.2 and installed it into /xbin and /bin could that be the case? What version of Stericson's Busybox is needed? Or could it have something to do with Xposed? I am running Deodexed OC2 on SMN900A
[Sprint LG G3] toastedjelly:
Hi guys

Wanted to quickly introduce myself and tell you all that I love you..... ha. Sorry this community reminds me of the old(er) LG OG on Sprint. Smaller, devoted devs keeping things running smooth. Thanks!

I picked up the LG G3 to replace my Nexus 5 that replaced my LG OG, all on Sprint.

Big fan of Dirty Unicorns and PA.

Apparently I've become a devout LG guy. **** snuck right up on me.

See you all around.
[Sprint LG G3] MikeDroid:
Welcome. I also went the route of LGOG, Nexus 5 and now the G3. Before that I had an HTC EVO.
[Sprint LG G3] toastedjelly:
Thanks. I kind of stumbled into my roll as LG fanboy.

Picked up an LG OG off digicycle real cheap ($110?) to replace my Galaxy S3 after I shattered it 2 weeks into my then 2 year agreement. Replaced THAT LG OG with......another digicycle OG for like $90. After that it was a no-brainer.

I've been through from front to back

HTC Droid Eris!!! <------------- WHERE IT ALL BEGAN FOR ME ;)

Moto DX2 <-----forgot all about that bad boy

Galaxy S3

LG OG

Nexus 5

HTC One M8 (work phone)

and now. Finally the LG G3

ahhh......memories
[Sprint LG G3] IamFlynn:
I too picked up this phone on Monday! I updated to v6 because I thought it was android 4.4.4 but its fine. V6 isn't bad at all because there is not a lot of bloatwear. For now, I really want to root my phone just to get rid of bloatwear but that's not a big issue. I'm enjoying this phone so far because its fast, thin, smooth, and just been great so far!! Also, the display is amazing!!

I just ordered a spigen slim case for my phone along with a icarez tempered glass screen protector because this phone is so fragile and I don't want to break/scratch it at all.
[Sprint LG G3] MikeDroid:
Going back a little further, I had an HTC Hero and the Samsung Instinct which is the dumbest smart phone ever. Happy New year.

If you're going to root, don't get too comfy with ZV6 because you will have to go back to ZV4 then root and then flash a rooted ZV6 or custom rom. Happy New year.
[Sprint LG G3] toastedjelly:
I didn't experience KitKat on this thing for more than two minutes while I enabled dev options and got it ready for twrp, lol.

At the time I wasn't aware Xposed was a no go on 5.0 + and now I am pretty damned torn about rolling back for some xposed lovin
[Amazon Fire Phone] Firetooth:
I have found that the so called UNLOCKED fire phone is a scam and it doesn't work in India. The return for refund process looks complex and I have to pay upfront for postage from India, an absolute nuisance, without knowing if they would really return the money for that. So instead I can give the phone to someone travelling to South africa if it works there. Kindly help