yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Core Prime Questions & Answers] gdeepp:
SMG360V

hello sir no need any thing just debugging on and connact to PC if u have any problem in 4.4 it will auto update to 5.1 via kies 3 my handset was stuck on Verizon activation so i just install kies 3 and now its ok also if u have reactivation lock problem it remove during update ..... and for root i just start lg one clik root its restart and after that i installed kingroot 4.5 work fine for me thanks
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
From what I've found, TWRP deems to be the way to go. I have a few other pieces to collect before I can do any compiling. I have the system, boot, recovery, userdata, app apks, and something else, that I don't remember at the moment, all pulled. I have to get the kernel, cwm source, and a few proprietary pieces from Samsung, which thankfully are open source. Once I get everything together, I'll give it a go and put together a stock rom so we have something to revert to should anything happen.

I'll probably do two stocks, one with and the other without root.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Alright looking forward to you getting that done! I just rooted My sm-g360v and wanted to know how to install twrp on it. Its been awhile since i've had an android phone. The last one I had one got stolen :(
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Compiling source, going to hope to have cwm by the end of the night and not brick my phone.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Soooooo, going to take a lot longer than I thought. Didn't realize how much info I'm missing.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Like What info are you missing?
[Samsung Galaxy Core Prime Questions & Answers] YoloZombiezz:
New update to fix touch screen?

Verizon just rolled out a new and update that supposedly fixes the response of the touchscreen when using a screen protector or charger. I am hesitant of updating with this new update (yes I already have lollipop) I am not sure if the new update patches root methods such as kingroot. Has anyone updated to this most recent update and tried to root? If so, were you able to root the device?
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
I'll find out in a bit. I'm going to pull the OTA and we can use it for a base for custom roms once we confirm if root gets patched.

[MENTION=7113772]Mr. root1234[/MENTION], it's nothing you need to provide. It's the BoardConfig.mk file. It's literally a large mess trying to find all the info to fill it in. I have to between several files to get all the info.
[Samsung Galaxy Core Prime Questions & Answers] YoloZombiezz:
Root works (latest update)

I have confirmed that root works on the latest update on the Samsung Galaxy core prime with king root.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
That is great news!
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Have you made any progress?
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
The OTA bricked my phone, but I get a replacement from Verizon in the morning. Then I can try again.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
That's not a good thing but good to hear you are getting a new one! Btw did you remove any /system apps and then try to install the update?
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
I couldn't even do that. Setting up the stock Rom now. Waiting on a few more files to download so I can compile them. Starting to think I should of never deleted all the files years ago.

---------- Post added at 05:59 PM ---------- Previous post was at 05:54 PM ----------

What's making this so difficult is no one has the firmware out for download. That's usually where you start. I don't have luxury so it's hit or miss with compiling.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
One thing I learned the hard way with my droid razr m back in the day is make a rom image before removing apps thankfully they had a bootloader unlock! Keep me up to date with the progress. Also where did you find the boardconfig.mk file at? I can try to compile a twrp recovery with that file.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
It's a product of breaking down the recovery image.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
ah I see.
[Samsung Galaxy Core Prime Questions & Answers] YoloZombiezz:
I don't know if this may work. But usually when my phone acts up(stuck on the Verizon loading screen or stuck on activation after a factory reset) what I do is plug the phone into the computer and run the Verizon recovery program that comes with the phone. The program is able to update/reset your phone if you run into problems. The program saved me at least 3 times due to rooting the phone or messing with settings that prevented my phone from passing the Verizon screen. You should give it a try. Plug your phone into the computer and install the program. It's very helpful
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Very shortly, I'll be uploading the official stock ROM, flashable by Odin. Needless to say, Kies 3 is a asshat for making go through this all morning to find where it went. We now have a safety net should anything happen. Once it I finish getting it uploaded, I'll start a thread for it and I'll start breaking it down since it's the official firmware and contains every file needed to make the recoveries and custom ROM's.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Dude you have saved my life! i haven't been able to install the new update and now I can!
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Good. Found out from someone else it helped them as well. I'm trying, I really am. Not having the source code is making this pain stakingly slow.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Can't you use the android source code from the android website or do you need the one for the phones version?
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
That's a base. I'd still have to get the proprietary files.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Have you tried looking in the manuals that come with the phone? I've found in the Product Safety & Warranty Information on page 2 it tells you about some of the software and tells you how to get the source code.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
If it says to go to opensource.samsung.com its wrong. Our phone is not listed there. I tried calling and they said call verizon, verizon doesn't keep those files, so for some reason or another, they're not providing it.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
It looks like the source code is protected under copyright
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
They can't do that, if he source itself is opensource, then every change has to be opensource as well. Read the licensing. That's the way it works.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
I might actually try using the Google provided source. I get home late tonight so I'll start the source download before I go to sleep and actually start looking through it tomorrow when I'm off. I know there's one folder that is needed for lollipop and up. Since we have a working safety net I can tinker a lot more freely.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Have you tested the ROM to see if it works?
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
I haven't tested anything yet. I wanted that safety net before doing that.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Hopefully everything works out!
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Well my hard drive got corrupted somehow so I'm reinstalling everything all over again. However, since you brought up using the google source, I decided to look at the about phone section of settings, which was smart. There is a version in googlesource that lines up with our phone. Move a few files and I should be able to get it done. We use the LMY48B versions which just so happens to be android-5.1.1_r3 in the source files.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Sorry to hear that. I switched to an SSD when my RAID array took a crap.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
I'm not to upset. Didn't lose much since I had everything backed up. Already have everything reinstalled and downloaded the Google source codes. Going to run a test build in the morning and start going through all the files. If all goes well, I should have a barebones ROM by the end of the week.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Building google source code doesn't build properly. Not sure why. retrying with cyanogen mod once it finishes downloading the repo.
[Samsung Galaxy Core Prime Questions & Answers] CopenhagenDip:
Same problem as yall

well verizon gave me a SM-G360V and everytime i go on other forums asking how to bootloader unlock it or if they have recoveries that can flash in a bootloader lock they give me links to like G361H's and other type of core prime phones finally i found where i belong lol.

and if your stuck in a soft brick with the yellow triangle with the unautherized message i figured out how to bypass that and boot up without a computer, turn your phone completeley off then hold the power+volume up+volume down, then your phone will turn on and keep holding until it turns off then back on then it will show you a recovery boot menu type thing then you choose reboot noromally then it will bypass the bootloader lock thing (dont try to install roms and use this method)
[Samsung Galaxy Core Prime Questions & Answers] YoloZombiezz:
Welcome aboard
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Welcome. I believe I'm the only 360v developer so be patient. I'm fixing the mkvendor.sh file because it's working properly. So after that, I can strip the boot.img and get all the necessary files to compile cwm, which I've heard causes problems, and cm12.1. If cwm proves to be an issue I'll compile twrp. If you have any problems with your phone, I uploaded the official 5.1.1 odin file. It's in the General section tagged as official.
[Samsung Galaxy Core Prime Questions & Answers] MulletMan1985:
long time reader, first time posting

I feel like I missed a step here; I've been looking for an exploit rooting method and I can't tell if this post means you found one or you ended up going with one of the automatic rooting programs. Because I do banking things on my phone I am very reluctant to use the automatic rooting programs, as all my tech friends tell me they are (at best) stealing info or (at worst) they are loading viruses. Maybe that's all fear mongering but I don't see a profit motive for them any other way so I'm tempted to believe it.

I know you are currently working on getting a 5.1.1 Stock rom out but I'm stuck back at the rooting part. I'm definitely willing to donate for an exploit root method (not using the sketchy rooting programs); a root method that can leave me feeling secure enough to still do banking on my phone. I'm running 4.4.4 build# KTU84P.G360VVRU2AOF2 but I'm also sitting on the update to lollipop (I've been waiting to update until I knew which was better for rooting).
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Either one allows root, even the newest update. Use kingroot, not kingoroot. Kingoroot is the one stealing info. After you get root, you can apply the chainfire root. There's a link to it a few pages back in this thread.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Test build CWM now. I foresee errors in the build so it might take a little bit to finish it. [MENTION=7150390]MulletMan1985[/MENTION], I don't plan on making the stock ROM at this time since we have a full stock recovery system. The whole thing about making a stock ROM in case of unforeseen issues. At this point, it's about a custom recovery and probably a CyanogenMod ROM.
[Samsung Galaxy Core Prime Questions & Answers] CopenhagenDip:
(i know its alot at once time if its to much to ask of just dont bother)

i think i saw the stock rom on a post i would put the link but it wont let me because im new user, not sure though about half way through this post i relized that jay , you were the one who uploaded it in another forum, well im kind of new to the whole flashing, kernel and advanced root capabilitys (idk if i spelled that right) but ive been rooting and dicking around with androids since i was 12 (im 15 now) but just recently relized what more rooting had to offer when i saw LiquidSmooth ics it was the most beautiful os ive seen, im not a complete noob but im not an expert either but yeah, and i have a question, 1st off my phone is verizon lte and its bootloader locked right, so the root (kingroot) it sometimes unroots? ive read around that a bootoader locked phones will sometimes will be incapabile of being "permanetly rooted" i was wondering if you knew any way to permanetly root it and 1 more thing i tried to install a cutom recovery and now when i try to boot into recovery it shows the samsung thing with the unlocked lock you know the normal screen before boot up and on the top of that screen it shows the info like its in download mode, but its only on the screen before boot up? weird right? i was hoping maybe sombody here had a Stock recover img i could flash so i can acess recover when i need it and i also cant restore my phone because the recovery menu doesnt boot, but i can acess maintenice boot mode, i know thats alot at once but once you get time help me please no rush if you dont want to dont worry about it
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
First, for permanent root, you have to apply the chain fire root method. As I said earlier, it's a couple pages back. Kingroot applies a temporary root which is why you need to apply chain fire.

Second, the bootloader/download mode, how you messed that up is beyond me. The recovery partition and bootloader are on two different partitions to prevent anything from messing it up.

Third, if you can't access download mode, I think you can use adb sideload to flash a new recovery.

And last, even with a locked bootloader, which we're not I forget what its actually called, is like that to protect download/bootloader mode.

The lock custom thing happens after any firmware modifications like root, recovery, kernel and so on. Don't flash anything that doesn't specify SM-G360V. You may do more harm than good.
[Samsung Galaxy Core Prime Questions & Answers] CopenhagenDip:
thank you very much i just ran the chainfire method and ill put a picture of the boot screen if i can figure out how

---------- Post added at 05:49 AM ---------- Previous post was at 05:42 AM ----------

so as i said right my recovery doesnt work the only menu i can reach is the maintence boot menu but i found a stock, boot.img , is boot.img the same as recovery.img, if i flash it will it fix my recovery putting the stock one back?
[Samsung Galaxy Core Prime Questions & Answers] CopenhagenDip:
Stock

and do any of yall by chance have a stock recovery.img for the G360V if youd shoot me that, thatd be great thanks

EDIT: well guys unless anybody has a stock rom for the G360V im ****ed my phone wont boot it says, SECURE FAIL: KERNEL and then when i go into the mainteince boot and attempt to reset it, it then says SECURE FAIL: RECOVERY

then gives me the bull**** "unautherized" software error message thing so it looks like im going to be buying a new phone unless somone can help me with this i need the stock G360V firm or im screwed i have an update.zip but i dont know how to install it
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Hey dude no need to worry there's a stock ROM that you can flash with odin! Here's the link to the ROM http://xdaforums.com/galaxy-core/general/official-sm-g360v-t3270303/post64296913#post64296913

Also here's a link to download odin and it has a step-by-step guide on how to use it. Just make sure you follow all the steps and download the latest version of odin. http://androidmtk.com/flash-samsung-stock-rom-using-odin

Another note when the phone restarts after flashing it will not get stuck in a boot loop like they say but if it does just follow the steps in the guide to fix it.

P.S when you reflash it also fixes the recovery! Also backup anything you want to keep because it will be deleted after flashing!
[Samsung Galaxy Core Prime Questions & Answers] CopenhagenDip:
thank you!

MUCH APPRECIATED!!! thank you so much! Pheeeeew!
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Np man did you reflash?
[Samsung Galaxy Core Prime Questions & Answers] CopenhagenDip:
sure did and now i finally have a stock reecovery image thank alot man!
[Samsung Galaxy Core Prime Questions & Answers] CopenhagenDip:
quick question

not g360v related but i have another phone with no os and all it can boot is bootloader and my computer does recognize it, any way i can install an os ? its a droid x
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
As long as it recognizes the chip set inside. Meaning, if you want to learn, download the source and build it.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Thought I had a good build, but it wasnt. Figured out why. Partition location and formats were labeled wrong in the recovery.fstab. Trying to pull it from the stock recovery so I don't have to hunt it all down.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Ok guys, so after fixing the fstab, I found I'm missing a lot of stuff. This is getting to be a deeper rabbit hole than I thought. I will figure this out though, especially since our phone isn't being touched by anyone else. Just be patient with me. I'm working as much as I can on this. Which is around 10+ hours a day, mostly trying fixing files that throw errors due to files not being found or needing additional info.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Glad to see you still want to see it through!
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Of course, I hate the stock ROM.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Lol as do I!
[Samsung Galaxy Core Prime Questions & Answers] CopenhagenDip:
the problem is going to be if there is a succesful custom recovery made, then we will have to find custom roms which i cant find any for the G360V. i love ics roms especialy LiquidSmooth its my favorite. I had a recent update to my device nothing big just security stuff no firmware upgrade or anyhing i used kingroot on the latest update and it worked so any of yall not updated because your scared of patches, kingroot and chainfire su me will work.

i also figured out how to speed up rom/frimware downloads on chrome browser by a LONG shot it took me about 15 minutes to donwload a 1gb frimware so any of yall on chrome go to settings>privacy *uncheck the first two options* then scroll down to network>change proxy settings> lan settings> *uncheck first 2 boxes*.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
ROMs are a lot easier to port and make than recoveries. It's changing a few folders from the ROM being ported with ours. I've ported a few back when I had the LG G2x, about 4 years ago. Making them is a little more in depth. From kernel mods to themeing to launchers and apps, but it's still easier than building from scratch or buiding recoveries.
[Samsung Galaxy Core Prime Questions & Answers] CopenhagenDip:
I kind of figured but keep up the work :)
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
I am in the process of learning how to compile twrp for our phones, going back through some of my linux and android books for some help. There's a twrp for the t1 and I'm going to decompile it and figure out the differences in it and see if I can get it to work.
[Samsung Galaxy Core Prime Questions & Answers] CopenhagenDip:
Alright man much abliged
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Most of the differences are the vendor, kernel, and board files. I'm talking samsung to get the source files.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Just mounted the twrp for the coreprimelte and our stock recovery and discovered that in the default.prop file both ro.board.platform lines are msm8916. If I'm right that's the board model. I'm just seeing if between the two if i can make something work. Will be breaking down the boot.img in a few.

Just googled msm8916 and it happens to be the processor in our phones.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
I'll send you what I have in a bit. Including the names and all that.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Alrightly.
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Thanks to jay for supplying me everything he's made I should be able try to compile twrp. I had to get the partition layout but thanks to google I've got the info. Tbh I haven't messed with Linux for over a year and I'm surprised its slowly coming back to me! Wish me luck!
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
The partition layout should have been in samsung/coreprimeltevzw/recovery.fstab... or did I forget to send you that?
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
I got it but I need partition sizes now. Here's an example:

BOARD_BOOTIMAGE_PARTITION_SIZE := 25165824

BOARD_RECOVERYIMAGE_PARTITION_SIZE := 25165824

BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824

BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648

BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)

BOARD_VOLD_EMMC_SHARES_DEV_MAJOR := true

If you can help I need it.

Also how did you get this:

BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00380000

BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00480000

BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x08c60000

BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000

BOARD_FLASH_BLOCK_SIZE := 131072
[Samsung Galaxy Core Prime Questions & Answers] Mr. root1234:
Just finished the recovery.fstab and I have put in the kernel and the dt.img. now I need to figure out if I need to change the offsets for it to work.

Here's the offset list from mkboot:

kernel=kernel

ramdisk=ramdisk

dt=dt.img

page_size=2048

kernel_size=8693528

ramdisk_size=1929554

dtb_size=512000

base_addr=0x80000000

kernel_offset=0x00008000

ramdisk_offset=0x02000000

tags_offset=0x01e00000

cmd_line='console=null androidboot.hardware=qcom user_debug=23 msm_rtb.filter=0x3F ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci'

board="SERPROUV001"

format=gzip

Here's the line from the boardconfig for the sm-g360:

BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x80008000 --ramdisk_offset 0x82000000 --tags_offset 0x81e00000 --dt device/samsung/coreprimelte/dt.img

I'm using the g360 model twrp because I was told that since all of the core primes similar all I have to do is change a few things and it works.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
We are almost all the same, we have a little more power in ours.

As for the partition sizes:

adb shell > su > cat /dev/block/partitions/7824900.sdhci/by-name

It'll print out the partitions in order of their names and give their sizes in bytes.

You're going to have to teach me how you did some of this. This is my first round with recovery compiling.
[Samsung Galaxy Core Prime Questions & Answers] jaywillsoul:
Run ls -al on /dev/block/partitions I may have missed a directory or types it wrong.