yashsingh1/xdaforums huggingface dataset:
[Galaxy Grand Prime Android Development] vince2678:
You're not supposed to rename the tar.xz file .. you extract it with an application like 7zip or winrar to get a .tar file. It's the tar file you flash with ODIN.
[Galaxy Grand Prime Android Development] Zippy Dufus:
Odin/TWRP woes

** Never mind **

Got it booted to TWRP after the fifth attempt. :eek:

== // ==

Hello,

So I am attempting to flash TWRP-2.8.7.0-cm-12.1-20160908-gprimeltecan.tar on my G530W and immediately boot to recovery so I can get a backup of the stock ROM.

Odin appears to flash OK but regardless of me holding down [VOL-UP][Power][Home] it refuses to boot to TWRP and goes into the stock ROM. Of course, the stock ROM reflashes recovery and the next time I boot to recovery I get the stock recovery.

In Odin I select the TWRP-2.8.7.0-cm-12.1-20160908-gprimeltecan.tar into the AP field.

Any ideas? Is there a trick or is the workflow not workable?
[Galaxy Grand Prime Android Development] vince2678:
Open up a terminal and start adb by typing adb start-server. Try flashing the recovery again, and as soon as the system reboots, type in adb reboot recovery to enter recovery before the system has loaded up fully.

=============

Ah ok it worked, cool then.
[Galaxy Grand Prime Android Development] 1le:
Review/Suggesions

Ok first impressions, I just installed it 4 hours ago :D. Everything seems good, although I'm not that big of a fan of the bundled equilizer. IMHO it's kinda bloat, no matter what xda's overall opinion on it. It's okay though, I just removed it using /system/app mover.

This has nothing to do with your port, but i thought Cyanogenmod would countain a little bit more aosp, like the aosp browser, etc. I also hate how the 'babysit' you by not showing dev. options by default and hiding root and giving a warning (by this point the user should know how to manage the risks of root, Cyanogen! :p) Your ROM is really stable though man, and looks great :)

Also, do you know of a way to double tap to wake, and/or just show the time/notifications (kinda like the moto g and other phones)? I looked all over for it in setting but can't find it.

:good:

---------- Post added at 03:10 AM ---------- Previous post was at 03:06 AM ----------

Also there's a nice catch all tutorial for installing custom ROM's on TWRP which i used, you might wanna add it.:good:

https://www.youtube.com/watch?v=ix7rrKS4keI
[Galaxy Grand Prime Android Development] SmashedKeyboard:
Working

I can confirm this ROM to be working on the SM-G530T. Everything runs smoothly & flawlessly. FYI: I flashed using the ODIN. Flashing the ZIP or using OTA would just make the phone unbootable. Also noticed after flashing via ODIN, it takes about 5-10 minutes for the phone to boot.
[Galaxy Grand Prime Android Development] vince2678:
The thing you're looking for is Samsung Doze - it's like Glance Screen on Windows Phone 8. Go to Settings->Gestures and enable Ambient Display, Hand Wave and Pocket.

As for the EQ, I just replaced the default CM EQ because it didn't work anyways. The ROM would have come with an EQ either way.
[Galaxy Grand Prime Android Development] norchron:
Exactly

This is the problem that I discussed in my first post. Upon extraction of any of the files located in this directory -http://grandprime.ddns.net/builds/odin/

- no .tar file results.

Instead, when I extract I get this

install - folder

meta-inf - folder

system - folder

boot.img

file_contexts

system.new.dat

system.patch.dat

system.transfer.dat

I am using winrar to extract this file - cm-12.1-20160908-NIGHTLY-gprimeltexx.tar.xz. And what I get is what I just wrote, but there is no .tar file resulting from this extraction.

Am I opening the wrong file? Looking in the wrong folder?
[Galaxy Grand Prime Android Development] sev0two:
Hey Vince in viper4android under driver status it says PROCESSING: NO. I can't tell a difference in sounds, am I doing something wrong
[Galaxy Grand Prime Android Development] :
Whats this for if there is no LED?:P :eek:
[Galaxy Grand Prime Android Development] norchron:
Figured it.

Thank you for your patience. I discovered the problem. Winrar does Not work as an extractor. You must use 7zip. Using 7zip to extract resulted in the .tar file.

Using ODIN to flash the file, I received this FAIL notice with the following code:

<ID:0/008> Added!!

<ID:0/008> Odin engine v(ID:3.1203)..

<ID:0/008> File analysis..

<ID:0/008> SetupConnection..

<ID:0/008> Initialzation..

<ID:0/008> Get PIT for mapping..

<ID:0/008> Firmware update start..

<ID:0/008> SingleDownload.

<ID:0/008> boot.img

<ID:0/008> FAIL! (Auth)

<ID:0/008>

<ID:0/008> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Galaxy Grand Prime Android Development] vince2678:
You're extracting a zip, not a tar file.
[Galaxy Grand Prime Android Development] vince2678:
I haven't gotten to taking off some redundant configurations from the ROM
[Galaxy Grand Prime Android Development] :
o ok makes sense :good::)
[Galaxy Grand Prime Android Development] vince2678:
Are you sure you enabled V4A and set it up? It won't just work straight out of the box and needs a little configuration. If that doesn't work, tey force-enabling it. If that still doesn't work, try uninstalling and reinstalling the driver.

Also make sure V4A is enabled for the particular profile you're using, e.g Headset for headphones, Speaker, Bluetooth, etc.
[Galaxy Grand Prime Android Development] vince2678:
Are you sure you're flashing the correct file for your device? Also make sure you select the file on AP mode, and don't check any other options besides those checked by default. If you do indeeed have the correct file for your device, and it fails after a number of tries, try downloading the archive again in case it may have gotten corrupted.
[Galaxy Grand Prime Android Development] norchron:
I downloaded every file, checked their md5's and they all were uncorrupted. Got the same result on every one.

I'm using the Cricket wireless g530az
[Galaxy Grand Prime Android Development] vince2678:
Try downloading a zip instead and side loading the file from twrp.
[Galaxy Grand Prime Android Development] dudematthew:
Install samsung kies first - it contains the proper driver

But if u see "connected!" on the log everytime u connext ur phone u dont have to

Dont rename target to tar

Extract .xz file by 7zip

There is a file inside
[Galaxy Grand Prime Android Development] dudematthew:
(Removed)
[Galaxy Grand Prime Android Development] medfariddd:
please fix camera bug for fz
[Galaxy Grand Prime Android Development] leoon0:
Ohh sorry, i thought this Rom works for the W Verion AND the FZ version [emoji15]
[Galaxy Grand Prime Android Development] vince2678:
Hi, I posted cm-12.0 and a cm-12.1 Roms for the FZ.

Sorry about all the confusion.
[Galaxy Grand Prime Android Development] leoon0:
Waht is diffrent between the 12 and the 12.1

And thanks for the rom you are the best
[Galaxy Grand Prime Android Development] vince2678:
12.0 is based on AOSP 5.0.2 (this is what the device originally comes with).

12.1 is based on AOSP 5.1.1. The trouble with porting the device to 12.1 is the device originally doesn't have firmware based on this version so there is no guarantee the firmware will work well. (I have high hopes though :D)
[Galaxy Grand Prime Android Development] vince2678:
I've put out a new version as above. Tell me if you have any issues with it .
[Galaxy Grand Prime Android Development] arnaudbails:
Okay nice, is it the installation method?
[Galaxy Grand Prime Android Development] vince2678:
What do you mean? I don't quite understand.
[Galaxy Grand Prime Android Development] arnaudbails:
Oh sorry , I mean, does it the same installation method than W or T variant
[Galaxy Grand Prime Android Development] Zippy Dufus:
More questions, again

[MENTION=7569388]vince2678[/MENTION],

Wow, you have been very busy!

So now I have more questions:

I see both the CyanogenMod and TWRP recovery links in the OP. What is the difference between SM-G530W and gprimeltcan? Aren't they the same?

Do I still have to perform the original flash/rooting using Odin and your Odin system images? (I tried booting into the stock recovery and it gave me a scary warning and then appeared to want to download something from somewhere.)

Have you flashed one of your flashable zip ROMs with your TWRP?
[Galaxy Grand Prime Android Development] vince2678:
Device Names :

G530W - gprimeltecan

G530T - gprimeltetmo

G530FZ - gprimeltexx

Just download an image with the appropriate code name. If you download a zip, just flash it from recovery. If you download a tar.xz file (for flashing via ODIN) in case flashing the zip fails, then instructions for flashing this are on the first post.
[Galaxy Grand Prime Android Development] arnaudbails:
OK good , so i'm from kit Kat version , do I need to upgrade to Samsung lollipop stock version ? And do I install the zipped ROM with the stock recovery , or twrp
[Galaxy Grand Prime Android Development] vince2678:
I'm on my phone so I'll reply this fully later.

The G530W and gprimeltecan are the same, I just used both names for the recovery images to avoid any possible confusion in downloading the right image.

You don't have to do the whole ODIN thing anymore if you flash the zip from recovery.

Yes, I test every one of the G530W Roms myself so I'm sure it can be flashed from TWRP and CMR.
[Galaxy Grand Prime Android Development] vince2678:
No, in this case, since you have a stock recovery, flash a recovery for your device from the download link using ODIN, verify that recovery works by booting into it, then flash the zip for your device from recovery (you can get Twrp or Cyanogenmod recovery, whichever one)
[Galaxy Grand Prime Android Development] leoon0:
When i try to install the "cm-12.1-20160813-NIGHTLY-gprimeltexx.zip" on my 530FZ my phone tells me this error E:Error executing updater binary in zip '/external_sd/Roms u. Gapps/cm-12.1-20160813-NIGHTLY-gprimeltexx.zip [MENTION=7569388]vince2678[/MENTION]
[Galaxy Grand Prime Android Development] arnaudbails:
okay thank you so much guy, i'll try to install the rom with Odin whatever :)
[Galaxy Grand Prime Android Development] vince2678:
Are you sure the file was downloaded without error and that it copied to the device properly?

I'm not capable of checking the files myself right now to ensure everything works proper.

If it still doesn't work, try downloading the ODIN file (the tar.xz file) for your device, extracting it and flashing the tar file.
[Galaxy Grand Prime Android Development] leoon0:
Yes im sure I downloaded it 2 times and tried with all of your recoverys

I don't no how it works with the Odin

I have to unpack the zip there:
[Galaxy Grand Prime Android Development] vince2678:
Read the first post on the first page for to flash using ODIN.
[Galaxy Grand Prime Android Development] sev0two:
I tried to install in my g530t and it didn't work
[Galaxy Grand Prime Android Development] vince2678:
Which one did you try to install and what exactly was the issue? Did it fail to flash the file? To boot? A vague message like above doesn't help either one of us much.
[Galaxy Grand Prime Android Development] vince2678:
Forgot to mention that this is normal. It usually does this every first boot after a new update, and it takes about 10 minutes to finish. It is perfectly normal and you just need to wait for it to finish.
[Galaxy Grand Prime Android Development] vince2678:
Saying won't make it so unfortunately.
[Galaxy Grand Prime Android Development] Ryukenden:
Every time i make a call or recieve one, i put the phone to my ear, screen goes off, but even though its black, it doesnt turn off the touch sensor. I keep running apps and getting notification drawer to come down with my face.

v908 FZ
[Galaxy Grand Prime Android Development] 1le:
Terminal

Where's the terminal? Thank you :)

EDIT: I was looking through developer options and there's an option to 'enable local terminal'. IDK why cyanogenmod doesn't enable this by default :p.
[Galaxy Grand Prime Android Development] :
(Deleted)
[Galaxy Grand Prime Android Development] barbosa.212:
I left my phone plugged in all night and when I woke uplease the next day it was still in a boot loop
[Galaxy Grand Prime Android Development] vince2678:
I'm a bit busy so I'll get back to you on that one.
[Galaxy Grand Prime Android Development] kamil79123:
Yeah. Camera and flashlight are really important. I could back to stock, but cm is smoother, looks better, just way better than lagwiz. Wish having fully working camera.

Wysłane z mojego SM-G530FZ przy użyciu Tapatalka
[Galaxy Grand Prime Android Development] dudematthew:
Ok...

I got the same on stock, so the only thing that i can recommend to u is...

Wipe data and dalvik...

So we're back in ur main problem :p

What i can reccomend to u: (not spurious info this time)

1. Flash stock by Odin

2. Wipe everything by stock recovery

3. Don't even try to get back to system - go to bootloader after wipe, so cache will still be empty

4. Flash cyanogen

5. Enjoy!
[Galaxy Grand Prime Android Development] Zippy Dufus:
Awesome ROM!!

[MENTION=7569388]vince2678[/MENTION],

Just a quick note to tell you that I installed your ROM and then successfully built and installed a 09/10 build and your port to the G530W is awesome! It is smooth and snappy and supports all my mandatory workflows.

One little question, does the yellow "Set warranty bit : kernel(recovery)" in the top left corner displayed for everybody or just me?

Also, one little quirk I noticed for doing the initial flash with TWRP is that you have to perform a factory rest first because it refused to install the stock partitioning which must be too different from the target ROM.

Again, thanks for all your hard work!
[Galaxy Grand Prime Android Development] technogadget:
Twrp will not flash the ROM zip if you're trying to update.

What I did for it to flash is

Extract the folders "install and META-INF" from cm-12.1-20160828-NIGHTLY-gprimeltetmo.zip

Replace the folders in the cm-12.1-20160908-NIGHTLY-gprimeltetmo and zip it

Reboot into recovery and flash.
[Galaxy Grand Prime Android Development] Only4givenOnceOfficial:
Marshmallow for sm-g530t1?

Umm I have the Sm g530t1 from Metro PCS. I have this Ron working just fine and can tell you how to fix it. Wipe cache and davlik cache. If that doesn't work factory reset that should do it. But my question to you is..... How did you get marshmallow on this phone in the first place? I'm still on lollipop 5.1.1?

---------- Post added at 02:17 PM ---------- Previous post was at 02:09 PM ----------

Any questions you have for the SM-G530T1 you can message me as well on here and I can try to help you if Vince is busy or has no answers yet. I am in a hurry to mod this phone as well and figured out many things others haven't yet. I have this ROM working and rooted. Check my other reply to your issue a and try that. If it doesn't work hit me up in a pm on here so we can keep chatter down on this thread as much as possible unless there is a serious issue. :) boot loop I had to fix that with a full factory reset then install CM ROM then it all worked.
[Galaxy Grand Prime Android Development] technogadget:
There's no unmount SD card options in settings. I've read somewhere you have to patch the framework. Any patch or next update for it?
[Galaxy Grand Prime Android Development] vince2678:
The cyanogenmod rom script is set to refuse to install if you try to install it over any other kind of rom (stock, omni, etc).

The set warranty thing is just Samsung reminding you that you voided your warrantee. To circumvent that would require signing boot images with the Samsung key, which only Samsung has.
[Galaxy Grand Prime Android Development] barbosa.212:
Okay so had had the same problem as me, stuck in a bootloop? But you got passed it by hard reseting your phone and installing the mod again?
[Galaxy Grand Prime Android Development] Only4givenOnceOfficial:
Yolo lol

Yes sir. Make sure you do it all right though. I actually about to make a vid tutorial with written text added for beginners and advanced users. I'll make a install vid then a set up vid. Also I am making a ROM from this that will have things already set up as well that I will share with everyone also and make a video for it.
[Galaxy Grand Prime Android Development] :
what is your YouTube name?
[Galaxy Grand Prime Android Development] Only4givenOnceOfficial:
OnlysGamingChannel

Just finished editing my text for the tut and I am going to try to make the vid with screen recorded and post it asap.. Should be up soon enough. Give it a few hours if anything. Bad storm here and uploading via cell phone..

Www.Youtube.com/OnlysGamingChannel
[Galaxy Grand Prime Android Development] Gonfajardo:
LTE connection and rear camera not working

[MENTION=7569388]vince2678[/MENTION]

Good morning, I've just installed CM12.1 on the SM-G530FZ variant and everything is working fine except that the LTE connection and the rear camera aren't working. What can I do to solve this? Thanks:)
[Galaxy Grand Prime Android Development] duhec:
[MENTION=7723422]Gonfajardo[/MENTION], you do what we do: wait for the next nightly releases. ;)

[MENTION=7569388]vince2678[/MENTION] excellent work. Finally a stable ROM for my gf's FZ! :highfive:

Although she's not so much into phones and ROMs, she's now much happier with CM and says a lot of things are better, prettier and more intuitive than the stock Samsung. Also the battery life is superb.

Keep up the good work. :good:
[Galaxy Grand Prime Android Development] vince2678:
Thanks. I really appreciate it. Most people here might not know this, but complaining all the time won't make me work faster or keep me interested whereas simple posts like this help keep me motivated and interested in the project.
[Galaxy Grand Prime Android Development] duhec:
[MENTION=7569388]vince2678[/MENTION] that's exactly why I wrote what I wrote. :cool:

You must know I have had the Galaxy Note GT-N7000 from (the ancient year of) 2012 up until last month and I used it happily because of people at CM and in the last year because of [MENTION=799465]bauner[/MENTION] 's constant effort to keep the device fresh with CM11 (fast and superstable, although now discontinued), CM12 and CM13. I'm not a developer but I recognize the amount of time needed to maintain a ROM and it is because of the individuals like you and him this forum is so great and why I always recommend to family and friends buying Android phones.
[Galaxy Grand Prime Android Development] Noe Morin:
i flash recovery using odin on my sm g530t and when i try to boot into it, stays stuck on booting screen with set warranty bit reovery. i want this rom so please help :(
[Galaxy Grand Prime Android Development] sev0two:
Try just flashing the rom with Odin, if you flash the rom with odin, twrp comes pre installed with the rom. I'm running this rom on g530t and it's way better than stock or gwiz rom
[Galaxy Grand Prime Android Development] :
this is the best thing that has ever happened to me, CyanogenMod is a great ROM and I'm glad you put hard work in to this so we could enjoy it and leave Touch wiz and so u also could ditch Touch wiz. Thank you Vince. i enjoy always coming here checking for updates too :D
[Galaxy Grand Prime Android Development] Volham:
Hello I have installed this rom on my Sm-g530fz

It's work fine but the Ril don't work ...

Have you got a fix ?

Sry for my english
[Galaxy Grand Prime Android Development] :
page 37/38 for audio fix:)
[Galaxy Grand Prime Android Development] michaelvu1811:
how do i download i dont know wich website to get on and cant find download on the website you linked
[Galaxy Grand Prime Android Development] Ryukenden:
[MENTION=7569388]vince2678[/MENTION] you said you'll get back to me, concerning the call problem?
[Galaxy Grand Prime Android Development] Volham:
When I run the command and reboot the problem is the same

I have a sm-530fz
[Galaxy Grand Prime Android Development] :
didn't you get the update where Vince fixed calling?
[Galaxy Grand Prime Android Development] ScentedOrange:
Still waiting for my phone to comeback from repair so I can try this rom :(
[Galaxy Grand Prime Android Development] Noe Morin:
I'm still a bit confused on how to flash it, how many files do I flash? I'm gonna flash the rom, Gapps, and what else? what slot do I put them in? all these questions help lol
[Galaxy Grand Prime Android Development] sev0two:
Open odin, Put the tar.xz file you unzipped with 7zip in the AP Slot & press start. Then boot to recovery press install find your gapps package and flash it
[Galaxy Grand Prime Android Development] Noe Morin:
what about the md5?
[Galaxy Grand Prime Android Development] sev0two:
I know that confused me at first to lol. That is just there if you want to check if you're file was corrupted during download. You don't need that file to install the rom. All you need is the tar.xz file.
[Galaxy Grand Prime Android Development] Noe Morin:
kk I'm now on Odin, now I just need one more thing, where do I clear my dalvik and cache please I'm in a hurry lol

---------- Post added at 10:20 PM ---------- Previous post was at 10:17 PM ----------

I'm confused, I'm trying to flash the rom, the zip file for the rom is all I need? where does the tar.xz file come into place
[Galaxy Grand Prime Android Development] sev0two:
You download the tar.xz file to your computer, then you open the program 7zip and unzip the tar.xz file to somewhere on your computer that you can find the unzipped file, then you open odin, press AP look for the file you just unzipped, select it and press start.. When your boot to recovery you can wipe your dalvik and cache there if you want..
[Galaxy Grand Prime Android Development] Noe Morin:
it still will not boot into recovery and i havent wiped dalvik or installd gapps,should i be concerned?
[Galaxy Grand Prime Android Development] sev0two:
Here go to this page download twrp for g530t, you don't have to unzip it, just flash it with Odin

http://grandprime.ddns.net/jenkins/job/CM_Builds/job/cm-12.1-gprimeltetmo/
[Galaxy Grand Prime Android Development] Noe Morin:
it is stuck on boot screen for everything. im a little scared dude
[Galaxy Grand Prime Android Development] sev0two:
Once you boot to twrp do a advanced wipe, wipe everything but your external sdcard, then boot to download mode and reinstall the rom, boot back into twrp flash gapps then wipe da cache
[Galaxy Grand Prime Android Development] :
when you want to clear dalvik and cache, you do it in recovery. Exactly how you would flash the rom via ODIN, same with the TWRP Recovery. Twrp recovery is on page one, along with the Download for the CM12.1 Roms downloads.( When you install TWRP Recovery > Wipe > Dalvik&Cache > Done.)
[Galaxy Grand Prime Android Development] Noe Morin:
it wont boot into recovery :(
[Galaxy Grand Prime Android Development] SmashedKeyboard:
I thought you were only supposed to wipe everything excluding the external SD and internal storage. O.o
[Galaxy Grand Prime Android Development] Noe Morin:
HELP PLS
[Galaxy Grand Prime Android Development] :
do you have an app i could message you on to help?
[Galaxy Grand Prime Android Development] SmashedKeyboard:
What I would try doing is going to Sammobile.com and download the stock ROM with the AOF8 base for SM-G530T. Once you flash that via Odin, make sure to NOT update the firmware. Just enable "USB Debugging" and make sure you have "OEM Unlock" enabled in the developer settings. After that, reboot into recovery and wipe cache and data/factory reset. After that, download the CM version for Odin and flash it. Give it a good 5 minutes to boot. Afterwards, you'll have to flash GApps.
[Galaxy Grand Prime Android Development] vince2678:
The SD card is not marked as hot-swappable so there is no unmount option.
[Galaxy Grand Prime Android Development] vince2678:
Do:

adb shell
ls /sys/class/input/* -la

And post the output. Get back to me quickly if you can.
[Galaxy Grand Prime Android Development] vince2678:
Are you sure you're using a recent build ( >= 20160908 ) ?
[Galaxy Grand Prime Android Development] anthony_0399:
This rather stable rom in my FZ only thing missing to make this full well is that detects the rear camera after all is well:)