yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] slamming_sammy1:
I would like to know too. I didn't even know about this unlock app and went ahead and purchased an unlock code, nowI have no way to enter it to unlock the phone. darn. most phones just pop up a screen for you to enter an unlock code on bootup if it's a foreign sim but not this phone.
[General Questions and Answers] clu1688:
I too was concerned at the beginning, however if you pay attention to active apps shown in Cleanmaster, usually few are active in CPU usage. I used to clear memory manually, but now I just leave it, and the phone doesn't appear to slow down even when memory shows 90% used.

Maybe we got lucky on Avant. Compared with GS4 4.4.2, I view Avant is better one in battery performance and daily tasks. I do not play games so no comment there. Of course GS4 has much much better camera. Overall in usability, Avant got my vote.
[General Questions and Answers] PaulaTheKoala:
I'm not sure if I should update or not... Last time I updated an android device root became available for the previous version and I wasn't able to root for a few months..
[General Questions and Answers] Hamsterkill:
Anyone know if this phone really supports LTE Band 12 (700Mhz A-block)? The FCC docs appear to suggest it supports bands 2, 4, 5, and 12, but the official specs on Samsung's site list 1, 2, 4, and 5 and T-Mobile only lists bands 2 and 4 on theirs. Not sure which frequency specs to believe.
[General Questions and Answers] kdkirk08:
so i made an insecure boot image and flashed it but since the bootloader is still locked it wont reboot, flashed the stock one and it booted right up. does anybody have any guidance on how to unlock it or where its even stored at? also when in download mode it says "system status: custom" cant remember if it said that before or not. does anybodys say anything different?
[General Questions and Answers] radiohead7778580:
Doesn't look like it
[General Questions and Answers] Planterz:
It's possible that the phone physically supports band 12, since that's the one they've just bought from Verizon and are getting it ready. But it's just not enabled yet in software.
[General Questions and Answers] Cobra11Murderer:
agreed, i believe it does support it but not fired up till that part of the network is launched.., tmobile has said it does support it (contacted them via twitter, and tforce via facebook) both said the same thing.. FCC says also.. i bet there will be a update in the future to enable it in the next few months.., just like this last update enabling Volte
[General Questions and Answers] codyedmonson:
Which version do you have? Metro or T-Mobile?
[General Questions and Answers] afr33sl4ve:
Much to my dismay, I learned that TouchWiz and all Emergency APK's must remain untouched for Ultra Power Savings Mode to work properly.

I blocked (pm block via ADB) said APK's, went into UPSM and got a black screen. I tried rebooting, but it got stuck on Xposed. Fine, disable Xposed. Got in to find a black screen with a somewhat functioning notification bar. Couldn't leave UPSM. I was at the ER waiting to be seen, so I couldn't work on it then.

Got home, did some research. S#!?, TouchWiz must remain in a functional state. Damn. Used pm unblock. Block = False. Reboot, and nothing. Huh. Unblock all Emergency related APK's. Get back in, disable Emergency mode from power/reboot menu (what's it officially called anyway?), and was greeted by a EULA. Hot damn! We're getting somewhere.

Was greeted by TouchWiz, and Hangouts was consistently crashing. Ok, fine. Open App Drawer. Nothing there. Dammit.

Did a factory reset at that point. No use in fighting with it any longer than I did.

So much for disabling TouchWiz, however.
[General Questions and Answers] erikman1983:
I use the Metro one, T1. Bluetooth doesn't work, Wifi doesn't at all. I can't find any other ROM to flash to this to make it work right andI don't get data service where I live, just my WiFi comcast.

---------- Post added at 12:21 AM ---------- Previous post was at 12:15 AM ----------

Fix though - my data did start working after about an hour. Not within a mile of where I live does it anyways though. That was a relief. There must be some way I can fix this. I haven't seen anyone else say anything else about WiFi not working. Does anyone know of anyway I can get the original factory reset back working? Maybe some direction on why this doesn't work and could it be something I could fix? This is HORRIBLE. The splash screen comes up T-Mobile too, which I kinda expected, but I thought both phones were identical...

---------- Post added at 12:33 AM ---------- Previous post was at 12:21 AM ----------

That link doesn't go to anything. I put the avant slim on today and I have no WiFi or bluetooth....and no stock recovery. Anyway someone could post one or get this link to work? I'd GREATLY appreciate it...
[General Questions and Answers] kdkirk08:
I typed out a long reply but just thought I'd say this instead. It'll cover all grounds. Read the ****ing thread.

Not being rude. I just thought common sense was relative to this forum.
[General Questions and Answers] erikman1983:
I've been...I am...I've been working 18 hr's a day, I'm TRYING VERY HARD to find that...every time I have to get on this I'm seeing the screen double, I got to the point where I couldn't find it for so long I thought I'd ask for a little help. Not trying to disrespect the forum. All I've found was I should have done a backup, but my phone stopped working, I didn't have the option and it wouldn't let me do the wipe data and start over, it'd just do the same thing and stop on the Metro PCS logo. Even long-pressing power wouldn't shut it off...
[General Questions and Answers] kdkirk08:
You'll have to reflash the the firmware and start from scratch.

If you want I can walk you through step by step how to build a stock rom to flash through twrp. I think I know why wifi calling wasn't working on the avant slim rom. I just don't have the time to build one right now. Once you get the necessary files you can remove the non essentials to debloat it to remove the hassle of doing it on the phone.
[General Questions and Answers] erikman1983:
Hey, thanx anything would help. I read the whole thread. My build is ...ANK3 and Baseband ...ANH3 So, where I'm at is getting that file from sammobile for the ANK3 for the T-Mobile one from Dec. 2014. Flashing that, then trying your mod again. I don't know where to get the original files from. There was that link with the recovery and boot, but they were small and I tried flashing the zip, which didn't work, then I unzipped and tried to do it as a recovery and I couldn't get it to work. I need this to work, I think I just need a little direction, there's gotta be a file Metro uses that Tmobile doesn't that I can get somewhere. I've never flashed without making a backup first, but I JUST got the custom recovery, then the phone froze up before I had anymore time. I didn't think I would have a prob finding an original recovery, it's not bricked... Thanx for the response and all the effort you put into this man. You say u might know why the wifi didn't work, is it a file I can just add back into it or anything?
[General Questions and Answers] kdkirk08:
When I made the rom I took a few short cuts To cut down the time needed to make it. Which probably broke a few things.

If you're on MetroPCS then download the latest firmware from sammobile for them. No need to flash the tmobile firmware to make my semi funky rom work when you can make your own from that firmware.

After you download it and flash it through odin, get the cf-auto root file from his website. Idk if the link in the thread is still broken but just do a Google search. You'll find it. Then find the CORRECT twrp for this phone. All of which will be flashed using odin. 3.07 I've found to work the best.

Also, if you're wanting the stock recovery back just reflash the cf-auto root file. It replaces the stock recovery back when it's done. So it'll remove twrp and put it back to the stock recovery.

When you have all that sorted out either pm me or something and if you or anybody else is interested I'll help you out to get a stock rom with everything working put out so you can have something to flash incase something goes wrong. So you won't have to keep reflashing the firmware. (Incase somebody doesn't make a back up)

If J0 doesn't put something out by then. I haven't been keeping up with the thread.
[General Questions and Answers] erikman1983:
Cool

I can do this now, thanks a lot. I almost just did what I was planning, but checked back and saw this. I still have saved the correct file from cf root on my SD card. I just downloaded the Tmobile dec firmware, I'm gna get the Metro one now and do what you said. After I sleep lol. Thanx a ton man, this destroyed my day. It would've taken me forever to figure that out.
[General Questions and Answers] moccor:
Alright so I tried FX Explorer with the root add-on and mounted the system read-write so I was able to move the apps to system/apps folder. Then I changed the permissions but it didn't seem to work. Can you tell me how the permissions have to be set? I think I did RW-R-R not 100% sure though it might have just been RW-R
[General Questions and Answers] j03lpr86:
https://www.androidfilehost.com/?w=files&flid=23836

If anybody needs to download nk3 firmware for Tmo or mpcs here they are.

I put them on afh cause I sicked and tired of the super slow d/l speed of sammobile
[General Questions and Answers] codyedmonson:
Thank you, mine didn't download at all, pressed the download button and nothing happend -_-
[General Questions and Answers] OutaTheLoneWolf:
Unlock

My sister apparently never paid the full contract for the phone, so what should I do with it, T-mobile Will not unlock it, Is there a way to do the sim unlock through commands? Or return it to them?
[General Questions and Answers] codyedmonson:
You can use Odin to flash metro pcs's firmware and it will switch you to metro's.
[General Questions and Answers] OutaTheLoneWolf:
I am on Verizon sadly :<
[General Questions and Answers] erikman1983:
You have to sign up to the sammobile site, sign in, search for the model (SM-386T1) and then click firmware downloads, then click the appropriate one....or just click that cool link he put up.

---------- Post added at 12:47 AM ---------- Previous post was at 12:35 AM ----------

Hey, if that link really is broken, I have the file, let me know, and I'll upload it and post a link. I still have it on my laptop.
[General Questions and Answers] codyedmonson:
I did that, pulled up the chrome log thing and it just kept saying "attempting to download". I'll just download it from here lol.

This is for everyone, you all should go check out the Android forums thread for this and start posting there since it actually has a dedicated thread for our " unloved" device. Just a suggestion.
[General Questions and Answers] OutaTheLoneWolf:
I will buy a pizza for who ever is able to make the phone work with Verizon.

XD

No but seriously, If you can find a way to force the sim unlock you would be my hero and would probably get a pizza.
[General Questions and Answers] Deceptitech:
Unfortunately Verizon uses CDMA, and can't use an unlocked phone for GSM carriers. However, I have my former T-Mobile unlocked.
[General Questions and Answers] OutaTheLoneWolf:
If there is no way to get it to work the only thing I can do is sell it.

It really is a shame because it would make such a good phone, much better than my Galexy S4.

Anyone want to buy it XD
[General Questions and Answers] nyran20:
I'm having an issue rooting. I followed the instructions on the first post and now I can't get into the Play Store ("check your connection and try again" -- over wifi). I've already factory reset and it still doesn't work. Any ideas before I go back to stock?

EDIT: Turned off wifi, synced/registered with carrier and worked
[General Questions and Answers] codyedmonson:
That's your connection. I'm using the playstore fine.
[General Questions and Answers] darkside11:
Guys i have a simple question i read most of the thread and i have bee able to find out if

g386t chainfire root will work on g386t1 METRO PCS 4.4.2.

KOT49H.G386T1UVU1ANH3

LET ME KNOW SINCE IM NEW IM STILL WORKING ON DO A BACKUP WITH TWRP(dont know how to)any link will be helpful
[General Questions and Answers] anthony92170:
Yes it does
[General Questions and Answers] codyedmonson:
Yes the root is universal for G386T model phone, also you might want to flash the ank3 update to your phone via Odin or just go to your settings and look for system updat under about phone. After you flash it then that's when you want to root and install twrp.
[General Questions and Answers] darkside11:
Thanks guys. Got it to work.
[General Questions and Answers] Bobby Tables:
I currently have 35.0, but the apparent DNS failures happen with every version I've tried. [Edit: even with no extensions installed, even when data and cache are cleared, even when uninstalling and reinstalling.]

Maybe I should connect to Wi-Fi, fire up Wireshark on a laptop, and see what it's trying to do when it fails. Everything else on this phone works fine, including Chrome and the stock browser.
[General Questions and Answers] kdkirk08:
Yeah, for anybody who gets this phone and is new to this thread, I'd update to the newest firmware by taking the ota's before rooting. Save yourself from having to download the firmware later and re-root. Just my opinion.
[General Questions and Answers] j03lpr86:
I finally found my phone today back to cooking my rom only thing tho i switched to tmo so imma be basing it of of nk3 from tmo first once i get that knocked out imma do metro then even tho both phones have same hardware specs i noticed when i did i diff on both nk3 roms there are some differences in the framework files
[General Questions and Answers] PwnYourFace:
Hey everyone,

I've tried reading and doing searches to see if anyone else is having any issues but it seems like it might just be me? I just got his phone and I'm trying to root it. I've followed the steps using Odin and the T-Mobile root .tar files but I'm stuck. Odin goes through fine, says the device is added, I put in CF-Auto-Root.tar and I try to start it, but it just gets stuck. It stays on recovery.img and nothing happens.

Everywhere I've read states you can use T-Mobile files for MetroPCS phone so I don't understand the issue. Please advise? Thanks guys and sorry if I'm asking this question again! I promise I tried looking!
[General Questions and Answers] codyedmonson:
Make sure you have the drivers installed for your phone. Also, it may take a few minutes to flash, give it time.
[General Questions and Answers] PwnYourFace:
Drivers are installed; it connects properly when I plug it in. And it's been stuck on recovery.img for like...20+ minutes. Any idea?
[General Questions and Answers] kdkirk08:
Are you using windows 7?
[General Questions and Answers] PwnYourFace:
Yes! I am!
[General Questions and Answers] kdkirk08:
Well then idk! Are you using the Odin that came with the cf root file?! 3.07?!
[General Questions and Answers] PwnYourFace:
Yes! V3.07 Odin. I even tried running it with Admin. The phone is fully updated to ANK3. Drivers installed. I made sure to use USB debugging. Anything else I'm missing?
[General Questions and Answers] kdkirk08:
Lol okay, just to cover the basics, you did extract the files from the zip right? You're not trying to flash these inside the archive right? Stupid question but just making sure.
[General Questions and Answers] codyedmonson:
Do you have USB debugging enabled? This has screwed up some other root processes I've used on other phones.
[General Questions and Answers] PwnYourFace:
It was my lame computer. Not sure why but I switched to my sisters computer and it went

through just fine. Thank you!!
[General Questions and Answers] A.Thomas:
Avant Slim . Zip

So is anyone able to download the Slim Rom zip file for Avant? When I click the download link on the first post, it just tells me sorry about my damn luck. Is there another mirror or something I could use to download it? Thanks in advance...
[General Questions and Answers] codyedmonson:
I would advise to stay away from this ROM, its only an unsecure kernal and way debloated, too much stuff was deleted and it broke some of the features of the phone.
[General Questions and Answers] Glitchonly:
:confused::confused:
[General Questions and Answers] codyedmonson:
? I'm saying some of the stuff is broken because WiFi, bluetooth and WiFi calling are broken? Read through the thread and it'll tell you everything you need to know.
[General Questions and Answers] lox2013:
What Roms are working so far
[General Questions and Answers] drewonion:
What Roms are working so far<br />

<br />

I don't think there is a fully all stable rom yet. But it is in the works. We just have to be patient and hopefully more deb's will join in on this great mid range phone
[General Questions and Answers] kdkirk08:
Lox is not to be spoken to :P He can read.
[General Questions and Answers] Stratis1978:
I'm building my first cyanogenmod (based off the S4 mini), as per the porting guides advice.

If that goes as planned I move to the porting stage.
[General Questions and Answers] Masterchief87:
Another way to root is to just flash twrp with Odin then flash the newest supersu zip with twrp.

If you wanna find out how to use twrp, Google is your friend. A quick search will find plenty of how-to guides complete with screenshots.
[General Questions and Answers] lox2013:
I have a problem with my tethering it keep going off and on is there a way I can tether
[General Questions and Answers] Rain Dogs:
lox2013, what method are you tethering with? If WiFi, I would look into WiFi Tether Router.
[General Questions and Answers] lox2013:
WiFi tether router won't work for me the issue I'm having is when I turn on the mobile hotspot when I try to connect my phone to another phone it just don't read BC the data isn't sending out no data to the other phone through tether
[General Questions and Answers] gdanko:
Does anyone have another link to ANK3? SamMobile is giving a 502.
[General Questions and Answers] Planterz:
You need to create a new APN. It should be identical, except IPV should be 4 instead of 6.
[General Questions and Answers] lox2013:
Can u take a screen shot so I know how it looks like
[General Questions and Answers] gdanko:
Can someone paste the PIT file? I don't have Windows and Heimdal isn't working.
[General Questions and Answers] j03lpr86:
https://www.androidfilehost.com/?w=files&flid=23836

---------- Post added at 11:34 PM ---------- Previous post was at 11:30 PM ----------

Heimdall doesn't work with the avant . For now we're all stuck with having to use odin till heimdall gets updated to work with the new protocol.
[General Questions and Answers] Rain Dogs:
Copy

your

Default

APN entry

Edit

the newly copied APN entry

Set APN protocol to IPv4

Set APN roaming protocol to IPv4

Let me know how it goes, lox2013.
[General Questions and Answers] crazyut:
Yep, I rooted using the 386t recovery shortly after that and did post my success. I guess that was missed. But, thanks for posting a reply).
[General Questions and Answers] LAQ25:
unpack and repack kernel

hey guys i extract my boot.img with the code

$ unmkbootimg boot.img

the i extract initramfs.cpio.gz to my working directory with

gunzip -c ../initramfs.cpio.gz | cpio -i

after i edit the init.rc and the default.prop file i repack the image with

find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz

then i try to merge the ramdisk and kernel with

mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --base 0x20000000 --cmdline 'no_console_suspend=1' -o new_boot.img

when i flash the new kernel i boot straight into samsung download mod. any suggestions or any info i left out?

i changed the following in default.prop

####################################

# ADDITIONAL_DEFAULT_PROPERTIES

#

-persist.security.ams.enforcing= 1

+persist.security.ams.enforcing=0

-ro.secure=1

+ro.secure=0

-ro.allow.mock.location=0

+ro.allow.mock.location=1

-ro.debuggable=0

+ro.debuggable=1

ro.adb.secure=0

persist.sys.strict_op_enable=false

persist.sys.whitelist=/system/etc/whitelist_appops.xml

-persist.sys.usb.config=mtp

+persist.sys.usb.config=adb

########################################

AND THE FOLLOWING LINE IN init.rc

##################################

# Configure SEAndroid booleans and enforcing mode

- setsebool debugfs 1

+ setsebool debugfs 0

+ setenforce 0

###################################

repacked with the command from the working dir

$ mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --base 0x1dfff00 --cmdline 'console=null androidboot.console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37' -o new_boot.img

should i have done anything else?

the unmkbootimg command gave me this warning but i did not know what to do with it.

*** WARNING ****

This image is built using NON-standard mkbootimg!

OFF_KERNEL_ADDR is 0xFE208100

OFF_RAMDISK_ADDR is 0x00200100

OFF_SECOND_ADDR is 0xFF100100

Please modify mkbootimg.c using the above values to build your image.

****************

Extracting kernel to file zImage ...

Extracting root filesystem to file initramfs.cpio.gz ...

All done.

*******************

I have since recompiled mkbootimg and edited the necessary parameters in mkbootimg.c recompiled with gcc following these intructios(plus my editing)

https://gist.github.com/jberkel/1087757

when i repack the kernel with the same command as above and flash the boot image to my phone STILL boots straight into download mode

any hints? i havent checked out logcat or i dunno if logcat is available during bootup(ill try and let anyone interested know)
[General Questions and Answers] j03lpr86:
don't use that mkbootimg use instead from https://github.com/osm0sis/mkbootimg

its the one is used to make an insecure boot.img with init.d support permissive kernel.
[General Questions and Answers] LAQ25:
That is the mkbootimg I recompiled I tried it with the standard settings and.then compiled again with new mkbootimg.c settings. Right now.the only thing I can think of is that the orig boot.img is larger than the repacked version. There is a command to makr them equal in size by adding a bunch of filler 0xff. can't remember the code
[General Questions and Answers] j03lpr86:
Not really use these commands to unpack and pack. I pulled it off the ArchiKitchen script
[General Questions and Answers] lox2013:
What u working on kernel or rom
[General Questions and Answers] j03lpr86:
Both.

---------- Post added at 09:41 PM ---------- Previous post was at 09:37 PM ----------

I almost had a fully functional debloated ROM with wifi calling working and everything except camera and flashlight wouldn't work.
[General Questions and Answers] lox2013:
For which firmware BC I don't have ank3
[General Questions and Answers] j03lpr86:
Download ank3 off of afh I have both stock firmwares posted on there so nobody has to wait more than an hr to download.
[General Questions and Answers] mc00:
Just curious does the slim rom has provision/upsell removed? I use tethering like crazy i have someone selling me this badboy for 70bucks brand new
[General Questions and Answers] epicboy:
What's up guys, so I just got my hands on an Avant. And I'm surprised that there's no custom roms available for it yet. Does anyone know where to find the source tree for this device so I can build a few roms?
[General Questions and Answers] lox2013:
I can't get no computer
[General Questions and Answers] drewonion:
[quote name="j03lpr86" post=58719989]Download ank3 off of afh I have both stock firmwares posted on there so nobody has to wait more than an hr to download.[/QUOTE]<br />

I can't get no computer <br />

<br />

Use your phone. Change your browser to desktop and have a file Manger that handles zip files. If it's tar and other formats not flashable through your recovery. Your SOL without a PC!
[General Questions and Answers] kdkirk08:
If you give me a bit I'll make a flashable zip to upgrade your firmware through that. I saw it done somewhere else, so I'll see if I can't get one put up.