yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Note 8 Guides, News, & Discussion] Psyscope:
Hmm, what Java are you using? I double click the jar nothing happens. Also do you have to encode it flash it or can you use it decoded?
[Samsung Galaxy Note 8 Guides, News, & Discussion] Psyscope:
Anyone able to get this to work? I am using Windows 10 with Java 10, tried Java 8, no luck. Applet doesn't open or show anything.
[Samsung Galaxy Note 8 Guides, News, & Discussion] white7561:
It doesn't have a GUI . It's only accessible via command line/terminal

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

Read the first post
[Samsung Galaxy Note 8 Guides, News, & Discussion] Psyscope:
Thanks, I was trying to figure it out, you made me realize I was looking at the answer just not thinking.
[Samsung Galaxy Note 8 Guides, News, & Discussion] white7561:
Yeah [emoji3][emoji16]
[Samsung Galaxy Note 8 Guides, News, & Discussion] jamaljmys:
hello all

could someone make it simple for the non expert java people and give us a few steps to get the files encoding??

thank you for help
[Samsung Galaxy Note 8 Guides, News, & Discussion] hammer_t:
What you need:

Root

File explorer with root (Root Explorer, ES Explorer, etc)

/System/omc/[CSC]/cscfeature.xml file OR the whole /System/omc folder copied in another folder on the PC, for example in C:\Decoder

Download the jar file here

Make a backup of the original files

Put the jar file in C:\Decoder

Open CMD.exe and navigate to C:\Decoder. The command for this would be

cd C:\Decoder

If you want to decode only one cscfeature.xml use this

java -jar omc-decoder.jar -i cscfeature.xml -o cscfeature_decoded.xml

If you want to decode the whole omc folder use this

java -jar omc-decoder.jar -i omc -o omc_decoded

The result is xxx_decoded folder/file. Rename the file to cscfeature.xml. Make the desired changes in the xml file and than put it back to the phone. There is no need to encrypt it back.
[Samsung Galaxy Note 8 Guides, News, & Discussion] crows:
This is great and works well....thank-you so much. Does anyone know of a tool that can extract the CSC tar file? the one I used to use "CacheRipper" doesnt work with the note8 files.

Thanks
[Samsung Galaxy Note 8 Guides, News, & Discussion] shouren04:
I use 7zip & sgs2toext4.
[Samsung Galaxy Note 8 Guides, News, & Discussion] crows:
Thanks for this, could you please explain the procedure you use to do this...I tried it and it doesnt seem to work as it should. This is what I did:

Extract stock firmware using 7zip

Rename CSC tar file to cache.img

Drag and drop cache.img file to sgs2toext4

Is this the correct method?

Thanks
[Samsung Galaxy Note 8 Guides, News, & Discussion] shouren04:
Extract cache.img.ext4 from CSC tar (can use WinRar or 7zip). Drop cache.img.ext4 into sgs2toext4. Then open new output file cache.img.ext4.img with 7zip.
[Samsung Galaxy Note 8 Guides, News, & Discussion] crows:
When I extract the CSC file using 7zip there is a file called "cache.img.lz4" I have even tried to rename the extension with ext4, so when I drop it into sgs2toext4 the files all have zero bytes whilst its trying to extract them, even though the orignal file is 83MB.

If you have time and you want to check here is my CSC file

http://www.mediafire.com/file/skld1...138408_QB17338182_REV00_user_low_ship.tar.md5

Thanks
[Samsung Galaxy Note 8 Guides, News, & Discussion] shouren04:
For newer firmwares that use lz4 compression, need to use 7zip with lz4 support or other programs that support lz4. For 7zip that supports lz4, search github, IIRC it's called 7zip standard.

With 7zip & lz4 support, open cache.img.ext.lz4 & then you will get cache.img.ext4. Then proceed with the instructions from before.

---------- Post added at 09:33 PM ---------- Previous post was at 09:06 PM ----------

EDIT: Wrong info..... see below
[Samsung Galaxy Note 8 Guides, News, & Discussion] crows:
Not sure what I'm doing wrong....I can extract the home csc and it creates a file called cache.img.lz4, then when I right click on it 7zip gives me an option to extract it to cache.image\ so I do that... if I then drop it into sg2ext4 it stillcreates a cache.ext4 but it has zero bytes....I'm sure my 7zip supports lz4...I appreciate you wanting to do it for me, I'd really like to know what I'm doing incorrectly....does your 7zip give you option to extract it into an ext4 format?

This is my Home CSC if you want to try.... Thanks

http://www.mediafire.com/file/t7ble...138408_QB17338182_REV00_user_low_ship.tar.md5
[Samsung Galaxy Note 8 Guides, News, & Discussion] shouren04:
You know what, I'm tripping. I was wrong about CSC_XXX & HOME_CSC_XXX. They're the same. It's the firmware. I just checked one of the Oreo FWs & extracting cache.img.lz4 gives cache.img.ext4, this works fine.

Then I checked the newest Oreo FW that I have & sure enough extracting cache.img.lz4 gives cache.img, no ext4. sgs2toext4 won't extract cache.img so nope, nothing you are doing wrong on your end.

They changed it again, I'm not sure what to use to extract cache.img. I don't have a need to extract anything from the newest CSC but dammit! I'll see if I can find out what to use that will work. Guess it needs to be done with Linux?

---------- Post added at 10:50 PM ---------- Previous post was at 10:21 PM ----------

@crows Ok, figured out a way.... don't even need to sgs2toext4.

Download this: simg2img_win

Copy cache.img to the simg2img_win-master folder. Rename cache.img to system.img (or edit convert.bat & change system.img system.ext4.img to cache.img cache.ext4.img. )

Run the convert batch file. It'll output .ext4.img then simply open with 7zip.
[Samsung Galaxy Note 8 Guides, News, & Discussion] hakanercan:
Hello everyone, I have a device with SM-N9500 ​​model and CSC code TGY (Hong Kong). My problem is VoLTE and LTE-A (4G +) are off. please help to open them. There was no problem using Android 7.1.1, I opened it by entering ims settings. However, I am currently using Android 8.0 Oreo and I can no longer enter ims settings anymore. Everyone will benefit if you add an explanation that will be used as a guide that anyone who does not know can use. Please help me. Thank you from now.
[Samsung Galaxy Note 8 Guides, News, & Discussion] shouren04:
You're posting in the wrong thread, although this decoder can help you enable VoLTE, this thread has nothing to do with your issue. There are other threads about VoLTE & Oreo. Either way, you'll need root to enable it on Oreo.
[Samsung Galaxy Note 8 Guides, News, & Discussion] crows:
Your a legend......it works....thank you so much.
[Samsung Galaxy Note 8 Guides, News, & Discussion] shouren04:
No problem. And if it weren't for you, I would've never known that they changed the way they packed FWs again, well that is until one day I needed to extract something from the newest one. ;) :good:
[Samsung Galaxy Note 8 Guides, News, & Discussion] omar.abbas:
May I know why would one want to do this? What benefits or extra functionality does it provide?
[Samsung Galaxy Note 8 Guides, News, & Discussion] shouren04:
To tweak and/or modify csc features that may or may not be enabled on your phone/variant or by carrier. Since Samsung now encrypts the csc.xml files you can't edit them to work. For users that aren't rooted, this has no benefit to them.
[Samsung Galaxy Note 8 Guides, News, & Discussion] omar.abbas:
Thanks.. But could you tell me what do you meam by csc features by giving me an example or two?
[Samsung Galaxy Note 8 Guides, News, & Discussion] shouren04:
Two common ones on the Note 8 is to enable smart calling (aka spam caller id) & native call recording. There are so many, you can enable/disable various system ui functions, app features, network settings, even change certain icons, too many to list really. If you search CSC tweaks you'll have a better idea. It's what carriers use to help configure their phones. CSC tweaks have been around since pretty much the beginning of rooting Android but now Samsung is encrypting the csc xml files. Why I don't know, maybe to try & make it harder for us to mess with them. Not sure if it's just Samsung or if it's other OEMs as well or if it's a Google/Android thing.
[Samsung Galaxy Note 8 Guides, News, & Discussion] yash92duster:
[MENTION=9053386]fei-ke[/MENTION]

Nice work buddy:D:good:
[Samsung Galaxy Note 8 Guides, News, & Discussion] LuanTeles:
Can someone upload the decrypted Csc?
[Samsung Galaxy Note 8 Guides, News, & Discussion] dm800pvr:
can we copy and replace edited csc files to odm/omc/csc/conf ?

after restart nothing takes effect ?!
[Samsung Galaxy Note 8 Guides, News, & Discussion] shunsai:
Helps me change my calendar's Holidays setting. Because my phone is from UAE, it displays Ramadan holidays and there's no setting to change it. But by tweaking the region in the CSC, I can get my calendar to show Japanese holidays instead of Islamic. A really small thing, but very useful to me.
[Samsung Galaxy Note 8 Guides, News, & Discussion] Psyscope:
Does this app work anymore? Seems to not work with newer java versions.
[Samsung Galaxy Note 8 Guides, News, & Discussion] chiiiiiiippppppp:
Works great.

Found my CSC was XEF and copied the XEF folder to my SD Card using Root Explorer and then from SD Card to my PC.

Installed Java on my PC.

Ran the command and it created the new decoded file.

Added my :-

<CscFeature_SystemUI_SupportDataUsageViewOnQuickPanel>TRUE</CscFeature_SystemUI_SupportDataUsageViewOnQuickPanel>

line to the middle of the xml file and saved it.

Did NOT encrypt.

Copied back to SD Card, and then from SD to internal using Root Explorer.

Rebooted phone and there it was working.

Very happy.:laugh:

Thanks
[Samsung Galaxy Note 8 Guides, News, & Discussion] Player04:
Does anybody have an at&t csc file i take a look at it? I have s10+ exynos with BRI csc. I just decoded the csc file. I just want to compare it with
[Samsung Galaxy Note 8 Guides, News, & Discussion] tuncy:
I tried to insert this <CscFeature_Contact_SetLinkCountMaxAs> 99 </ CscFeature_Contact_SetLinkCountMaxAs> code but it does not work, is the csc code different now?

can someone help me
[Samsung Galaxy Note 8 Guides, News, & Discussion] goodman_east:
Thanks for share.
[Samsung Galaxy Note 8 Guides, News, & Discussion] tin2404:
Guys ! Does anyone have decripted SIO csc file ?

EDIT

I decripted it. Here is SIO stock decripted CSC for those who needs.
[Samsung Galaxy Note 8 Guides, News, & Discussion] Corlan:
Thank you
[Samsung Galaxy Note 8 Guides, News, & Discussion] Orphee:
Hello,

Would it be possible do find how to decode the new json file format ?

Thank you!
[Galaxy Grand Duos i9082 General] gautamajay52:
I have opened this thread because to know the best working custom rom for grand gt i9082.

Mine is AOSP running android 6.0.1.

Very good rom. Very little bugs only.

Say Hii and also say your custom rom.

Thanks.:laugh:
[Galaxy Grand Duos i9082 General] viplavrastogi:
hi i am using this device as my regular

and i am using VIPER OS and it is excellent it just got SCREENSHOT PROBLEM but u can use "SCREENSHOT EASY" and also it got MOST OF THE CUSTOMIZATION ;):D

press the thanks button and enjoy this rom :D

https://androidfilehost.com/?fid=817906626617934317
[Galaxy Grand Duos i9082 General] gautamajay52:
Plzzz say ,on which android version ????

Mine is android 6.0.1 and have no any problem till now,just found tht some apps like amazon kindle doesn't work.
[Galaxy Grand Duos i9082 General] viplavrastogi:
ah VIPER OS android version 7.1.2

dont forget to press the thanks button
[Galaxy Grand Duos i9082 General] gautamajay52:
Hey i have tried this rom today.

It is good but little hanging or slow.
[Galaxy Grand Duos i9082 General] viplavrastogi:
use greenify with root privilages and auto ram cleaner

when i use these my free ram is upto 500 mb

and i got all social apps u can think
[Galaxy Grand Duos i9082 General] gautamajay52:
I think it is not about ram...it is all about the rom
[Galaxy Grand Duos i9082 General] viplavrastogi:
I dont think its a rom problem as i am using it right now i told u those tips :cyclops:
[Galaxy Grand Duos i9082 General] gautamajay52:
Link for ram clear app
[Galaxy Grand Duos i9082 General] viplavrastogi:
Go to play store and search auto ram cleaner its sign is "fan" and also put all apps of your (excluding whatsapp) in greenify and enable rom function associated with back button which kills application :p:silly:
[Galaxy Grand Duos i9082 General] gautamajay52:
Okkk
[Galaxy Grand Duos i9082 General] vijithxda:
Is there 2g to 3g switching problem? It always shows 2g network
[Galaxy Grand Duos i9082 General] viplavrastogi:
No there is no such problem its network problem and also i am using airtel i get 3g it depends upon area and signal:)
[Galaxy Grand Duos i9082 General] vijithxda:
What I am saying is I can't switch 3g only mode
[Galaxy Grand Duos i9082 General] vijithxda:
I can't switch to 3g only mode

---------- Post added at 05:01 PM ---------- Previous post was at 05:00 PM ----------

Link please
[Galaxy Grand Duos i9082 General] gautamajay52:
Link of AOSP ---- https://xdaforums.com/galaxy-grand-...-0-0-galaxy-grand-duos-i9082-t3224556/page132

And you can switch to only 3g by dailing *#*#4636#*#*

If your phone support this.

Tap THANKS if i helped.
[Galaxy Grand Duos i9082 General] khurshidhoque:
Hey...i am also using viper os...thanks for the rom...hope you are working on oreo based roms
[Galaxy Grand Duos i9082 General] viplavrastogi:
before me our friend osas will bring the oreo rom :p:D
[Galaxy Grand Duos i9082 General] Khryssis:
Hi,

Proud Galaxy Grand user here.. :) Started with Cynanogen 12, moved to LineageOs 13 (until the reboots after app udates), now I recently switched to ViperOs. Nice rom, with excellent support from the developer..
[Galaxy Grand Duos i9082 General] Dharmik Jain:
Hey viplav, thanks for your viperOS rom. It great but the battery drain issue is there. I mean in standby the battery keeps on draining.

& by the way please tell me about the oreo update. I mean will it be available in less than 2 months? Please reply.
[Galaxy Grand Duos i9082 General] viplavrastogi:
cant say about the oreo update right now it will be soon introduced to us and also for battery drain use greenify i suggest and do one thing turn off your phone and remove the battery and press the power button for 20 sec or so

then insert the battery and switch on, u see now battery percentage is different(most of the times)

after switching on , u will see home screen then put it to charging when 100% get completed install

https://play.google.com/store/apps/details?id=com.blogspot.superthomaslab.batterycalibration

this and press the calibrate :cool:

your problem will be solved

{EXTRA KNOWLEDGE}

this issue came due to two reasons - :

1] new rom

2] active battery discharge
[Galaxy Grand Duos i9082 General] Dharmik Jain:
Hey thanks. I did the same & guess what the battery drainage issue is solved. Kudos mate.

Can we do the same procedure in every rom & every smartphone if the battery stand by drainage is happening? I'm curious to know about this because in older smartphones battery drains in stand by in almost all aosp roms. That's why.

I have grand 2 smartphone also. The rom is perfect but the battery drains when the smartphone remains idle. So can i do the same process in that rom & smartphone. The rom is lineage os 13. Please reply. Thanks again.
[Galaxy Grand Duos i9082 General] viplavrastogi:
yeah buddy u can do it on any device which has detachable battery even on your laptop too:silly: and i recommend doing it after every flash of new rom:cool:
[Galaxy Grand Duos i9082 General] Bharath A:
Hii

Is viper os better than previous 6.0.1 aosp.

I'm using old RR 5.8.3, it lags a little, but almost everything is fine.

I'm thinking of switching to viper, is it good to change???
[Galaxy Grand Duos i9082 General] gautamajay52:
I think aosp 6.0 is far better in performance than viper os.

I have using aosp for 5-6 months with no bugs.
[Galaxy Grand Duos i9082 General] viplavrastogi:
i recommend dont listen to anyone try yourself and everytime its a new experience and also take a backup so that u can revert back and have fun try as much roms u want and also IN COMPARISON TO ALL VIPER OS (7.1.2) ONE MAJOR BUG THAT SCREENSHOT other wise no such problem is seen in it . i again say try yourself buddy:D:D
[Galaxy Grand Duos i9082 General] Farhaan5111:
ViperOS is a great rom but the only issue for me is that the Sim Card doesnt work.The phone asks for a sim network unlock pin.
[Galaxy Grand Duos i9082 General] viplavrastogi:
buddy thats your network issue not the rom or device issue get in touch with the network assistance they will help u out
[Galaxy Grand Duos i9082 General] Farhaan5111:
Ive tried like three different sims and i get the same result :(
[Galaxy Grand Duos i9082 General] asyeraphael:
latest aosp mm download link? since i cant access basketbuild right now
[Galaxy Grand Duos i9082 General] Sayo_Sayoun:
Iam using Viper OS rom Android 7.1.2

My first problem was with the ram. Now fixed

My second problem is whenever i restart my phone my phone keeps on lagging. Not fixed plz help
[Galaxy Grand Duos i9082 General] Khryssis:
Unfortunately I switched phones. That's a long time ago.
[Moto G5 Plus Questions & Answers] THnamikaze:
Some time ago I tried to install android 8.1 on my Moto G5 PLUS XT1683

, but I wanted to go back to the Stock Rom, but when I came back the IMEI was worth zero "0", so I looked here in the forum some way back and found a method, re-installing the Pixel Experience and putting the Stock Rom, execano via adb the commands "fastboot erase modemst1 / st2" in Pixel Experience and running the installation of Stock Rom via adb without these same commands and worked. But when I tried to update via OTA the IMEI returned to zero. Then I tried with root, put the magisk, then xposed it and installed a module to change the IMEI, and changed but the signal from the mobile network did not come back, and after that, removing the module, magisk and xposed in any Rom including the Pixel Experience and the Stock Rom my IMEI is always "0". Can anyone help me, is there any way to completely zero my MOTO g5 PLUS and return to factory defaults?

Translation via Google Translator. I'm sorry.

Há um tempo atrás eu tentei instalar o android 8.1 no meu Moto G5 PLUS XT1683, eu consegui, porém quis voltar para a Stock Rom, mas quando voltei o IMEI estava valendo zero "0", então procurei aqui no fórum algum jeito de voltar e achei um método, re-instalando a Pixel Experience e colocando a Stock Rom, executano via adb so comandos "fastboot erase modemst1/st2" na Pixel Experience e executando a instalação da Stock Rom via adb sem estes mesmos comandos e funcionou. Porém quando eu tentei atualizar via OTA o IMEI retornou a zero. Aí eu tentei com root, coloquei o magisk, depois o xposed e instalei um módulo para trocar o IMEI, e trocou mas o sinal da rede móvel não voltou, e depois disso, removendo o módulo, o magisk e o xposed em qualquer Rom incluindo a Pixel Experience e a Stock Rom meu IMEI fica sempre "0". Alguém pode me ajudar, tem algum jeito de zerar completamente o meu MOTO g5 PLUS e retornar aos padrões de fábrica?

Tradução via Google Tradutor. Sinto Muito.

In portuguese only...

Eu consegui .... mais ou menos, usei o arquivo deste outro post aqui como se fosse restaurar backup no twrp... e voltou o sinal, o imei continua zerado em qualquer ROM, mas consigo usar o aparelho normalmente....

https://xdaforums.com/showpost.php?p=75502514
[Moto G5 Plus Questions & Answers] gumpysitruc@gmail.com:
Restore your efs partition.
[Razer Phone Questions & Answers] parky169:
hi i have had the pleasure of using the developer oreo img and enjoyed it,but decided to reflash stock noughat img

until the official oreo comes out.heres where my issue started,after a successful flash and start up,my sim no

longer shows as inserted,i even tried a restore of my noughat back up.the only way my sim will work nowis with the

oreo stock img reflashed..anyone else have this isssue
[Razer Phone Questions & Answers] linuxct:
Are you sure you flashed all the files included in the Nougat fastboot package zip? There must be an image called 'modem' and anoter 'dsp' which should take care of that.

Try reflashing the Nougat image once again.
[Razer Phone Questions & Answers] parky169:
I will try again
[Razer Phone Questions & Answers] Rox598:
Having the same exact issue

Flashing the MR3 factory image results in no SIM card, same with fkashing MR1 [MENTION=5986135]TheCrazyLex[/MENTION]

EDIT: reflashed again the next day and it's now working....ugh annoying
[Razer Phone Questions & Answers] kickassdave:
Had exactly the same issue. Although on initial boot back to Nougat, everything worked fine.

It was only after a restart or two the SIM was then undetected.

I'm flashing stock Nougat again just now, hopefully that resolves it for me too.

EDIT. Ok I've now tried flashing multiple images, they all flash successfully and boot successfully, but none of them are detecting a SIM card.... any ideas anyone?

EDITS AGAIN: It would appear now working after flashing Oreo again, then back to Nougat. Very odd....

I want to lock the bootloader again, which is how I ended up in this mess, so I'm now flashing latest Global ROM again, rebooting and then attempting to lock the bootloader again.

I shall update with results.
[Razer Phone Questions & Answers] joemossjr:
any update in the same boat
[Razer Phone Questions & Answers] parky169:
I'm still having same issues,I'm just using Oreo which is working really well.only downfall I noticed is tethering doesn't seem to be working on it
[Razer Phone Questions & Answers] iStasis:
Are you running the right image as Razer and Three have their own build so wanted to point this out as ThreeUK may not work right with the Razer build. i Remeber them saying something about making sure you use the right build
[Razer Phone Questions & Answers] kickassdave:
UPDATE - if anyone is having this issue.

--Take the Oreo preview and flash_all.bat via bootloader

--Let it boot and get in to Android just so you can enable debugging via dev options

--reboot to bootloader and flash_all.bat with the latest Three or Global image

--Again let it boot and enable debugging again

--Now reboot to bootloader, and do BOTH the following in fastboot:

---- fastboot flashing lock_critical

---- let it reboot and go back to bootloader again and perform the next lock

---- fastboot flashing lock

Once finally back in, only then did I have a locked bootloader + working SIM card.

Hope this helps someone.
[Razer Phone Questions & Answers] joemossjr:
Locking the bootloader doesn't fix things lol. I was on Oreo yesterday and flashed back to nougat and had signal and relocked the bootloader then 10 minutes later .y phone rebooted and lost sim. Only was to get it back was flashing Oreo then booting then flashing nougat mr1 and got my sim back. Then I locked bootloader and took the ota and now I'm back to normal and can take otas again
[Razer Phone Questions & Answers] Rox598:
This is such a weird issue. like for instance I went back to MR1 from Oreo and had signal but when I picked the bootloader and ota to MR3 it was gone.then just unlocked bootloader flashed MR3 still nothing. So went back to Oreo and it worked and then flashed MR1 again and randomly worked even after the ota to MR3

So absolutely random.
[Razer Phone Questions & Answers] parky169:
hi i found a simple way to solve this issue.all i did is use the global 7.1.1 nougat factory img.but before flashing via the flash all bat.swap out the modem img from the nougat folder with the one from the oreo developer one.worked first time and after several reboots.hope this helps....

just an update i just installed recovery,magisk without issues too