yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] dg28gadhavi:
Guide

​

Files to be download:

Termux app

Termux Api app

Commands.txt

Zarchiver app

AIK app

Es file explorer

Quick text editor

Links:

TermuxApp

TermuxApiApp

Zarchiver

AikApp

EsFileexplorer

Quickest ditor

Pythonscript

Commands.txt

1. Install the given apps and download all requirements

2. Open Termux app and let it be initialize 1st

3. Copy commands from command.txt step by step

4. Download python by apt-get install python (note but follow the commands.txt commands first and go step by step)

5. Make a folder name ext in internal memory/download

6. Extract the python script zip (sdatmaster.zip) and copy it in internal memory/download/ext

7. Also copy Your system.new.dat , system.transfer.list and filecontext in internal memory​/download/ext folder

8. Now Following the command.txt Type this command- termux-setup-storage

9. Now change path to directory as mentioned in command.txt- cd storage/downloads/ext

10. Now execute that python script as mentioned in commands.txt- python sdat2img.py system.transfer.list system.new.dat system.img

11. Copy the code to convert​.dat to .img

12. Use Zarchiver to unpack/extract the image

13. Unpacking done enjoy

Note

Root required

And it can't extract OEM Delta OTA updates​
[Android Software/Hacking General [Developers Only]] K001droid:
Good Guide.
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
We can also use Image Factory app to do this https://m.apkhere.com/app/crixec.app.imagefactory

For new brotli packages we need additional commands

cd /sdcard/Download/ext
pkg install brotli
brotli -d system.new.dat.br -o system.new.dat
[Android Software/Hacking General [Developers Only]] Wahyu6070:
Pack ke system.new.dat TO system.new.dat.br what do you do
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
Try the below command to compress system.new.dat to brotli

cd <path to system.new.dat directory>
brotli system.new.dat -o system.new.dat.br
[Android Software/Hacking General [Developers Only]] Wahyu6070:
Repack system.new.img to system.new.dat

:good:

repack system.new.img to system.new.dat how do you do it
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
https://github.com/xpirt/img2sdat

https://xdaforums.com/android/software-hacking/how-to-conver-lollipop-dat-files-to-t2978952
[Android Software/Hacking General [Developers Only]] Wahyu6070:
python img2simg.py system.img fail

to repack the system folder to system.img. the code that I use: python img2simg.py system.img system2.img, posted on xpirt the way it is but can't.
[Android Software/Hacking General [Developers Only]] Wahyu6070:
xpirt posts use linix instead of termux

how to use linux pc instead of android thermux and use sudo command
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
How you got system folder? Did you mounted system.img to some folder?
[Android Software/Hacking General [Developers Only]] Wahyu6070:
I rented dat to img. then I uninstall the file system.img using zarchiver, and in that folder there are build pro files, prive apps etc., and how do I change it back to img ... then to dat
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
I dont know how to do that from a folder....

But If you are using mobile you can mount it somewhere and tweak it....

mkdir /data/local/system
mount -t ext4 -o rw,noatime <system.img path> /data/local/system

You can now tweak /data/local/system folder ...

After tweaking that system folder you have to unmount /data/local/system

umount /data/local/system
img2simg system.img system_sparse.img

img2simg binary can be found in FlashFire apk lib folder for your arch...

Then you have to use img2sdat.py code.....
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
You have to rename it to img2simg.......

Note that img2simg and img2sdat.py are different ones.....
[Android Software/Hacking General [Developers Only]] Wahyu6070:
I think the code that is used cannot

1|root@android:/data/data/com.termux/files/home #
rw,noatime system.img /data/local/system <
mount: 'system.img'->'/data/local/system': No such file or directory
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
You need to first change working directory if you want to only use system.img as arg instead of whole path

cd <directory path to system.img>
[Android Software/Hacking General [Developers Only]] Wahyu6070:
ount -t ext4 -o rw,noatime <system.img path> /data/local/system <
mount: bad /etc/fstab: No such file or directory

still can't
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
Your code is wrong...

Place system.img extracted from .dat file in /sdcard/Music folder and type following

su
mkdir /data/local/system
mount -t ext4 -o rw,noatime /sdcard/Music/system.img /data/local/system

Now you can go to /data/local/system and tweak it and unmount afterwards

Place img2simg binary in /sdcard/Music and

umount /data/local/system
exit
cp /sdcard/Music/img2simg $HOME
chmod +x $HOME/img2simg
cd $HOME
./img2simg /sdcard/Music/system.img /sdcard/Music/system_sparse.img
[Android Software/Hacking General [Developers Only]] Wahyu6070:
/system/bin/sh: su: not found
127|root@android:/data/data/com.termux/files/home #
d/Music/system.img /data/local/system <
root@android:/data/data/com.termux/files/home #
cp /sdcard/Music/img2simg $HOME
cp: //img2simg: Read-only file system
1|root@android:/data/data/com.termux/files/home #
chmod +x $HOME/img2simg
chmod: //img2simg: No such file or directory
1|root@android:/data/data/com.termux/files/home #
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
I updated the code at https://xdaforums.com/android/softw...dat-compression-android-t3587085/post79328654

Follow above thing...
[Android Software/Hacking General [Developers Only]] Wahyu6070:
can you send img2simg?
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
Here you go...

These are taken from Flashfire app

and also you can build them on your own in Termux from https://github.com/anestisb/android-simg2img
[Android Software/Hacking General [Developers Only]] Wahyu6070:
is it written in c instead of python?
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
Yes in C.

Only sadt2img by xspirit is in python.
[Android Software/Hacking General [Developers Only]] Iyan Tl:
How about unpack "system.new.dat.br" to "system.new.dat" or to "system.img" directly ? Because at rom base android 8.1 > there is .br extension
[Android Software/Hacking General [Developers Only]] KaMyKaSii:
You first extract system.new.dat.br with Google Brotli and then extract system.new.dat with the usual tool
[Android Software/Hacking General [Developers Only]] Iyan Tl:
Succesfully unpack system.new.dat.br to system.new.dat and finally system.img than unpack system.img to system folder by zarchiver pro. but now i have a problem, i'm still find a way to repack system folder to system.img via termux with unrooted phone. I've heard about sim2img,but how to install necessary tool & use it via termux without root acces or with proot on termux android ?
[Android Software/Hacking General [Developers Only]] Rapangestu:
how to convert system.img to system new dat br?
[Android Software/Hacking General [Developers Only]] culiacanazo:
Dafuq did i just read (first page)?! 😲 Where am i? How did i... who brought me... how? When? who are you guys? what are you?😱

As is sometimes the case, i wandered off the trail and, well, I'll just say thanks and find my way back lol
[Google Pixel XL Questions & Answers] AstroDigital:
Lately I have not be able to get through a day. "May have been after the 7.1.2 update" All stock no rooting etc....

The phone seems to get warm at times, I checked battery stats "Android System" takes the most from my battery.

I disabled the Location services scan to Blue Tooth, and scan for WiFi .... to improve location pin pointing. See if that helps?

Few questions could 7.1.2 done something ?

Anybody see have warm phone even when is is not being used ?

Anything else I may want to try to do ?

Android System..... got to be Google junk, I have not installed anything new on my phone in months, the problem is only a week old. Disappointing when something is being updated Google has to know priority one have to be never hurt the battery life.
[Galaxy Grand Prime Android Development] Has.007:
Screenshots Of AOSP-Extended v4.0! ;)
[Galaxy Grand Prime Android Development] ZvyJ:
How's the free RAM? I like nougat ROMs but they're so RAM-hungry unlike marshmallow and lollipop ROMs.
[Galaxy Grand Prime Android Development] rgclaros07:
On XXU

Sir,

I dirty flashed this on the AOSPExtended ROM 3.1 by Carlos Arriaga which is functioning very well for more than a month now. It booted and the set-up was very smooth. And it was very responsive and stable too. There is a problem with calls, however. On dirty flash, the phone crashed, fail to start. On clean install, calls work only in one sim. Shutting down and removing the battery just replaced the functioning sim for calls -- from sim one, now it is sim two that functions. Other than this, everything seemed to be functioning well. But I was not able to test extensively as I need the call function. I am back now on the earlier version by Carlos.

Thank you!
[Galaxy Grand Prime Android Development] carpediemrf:
Usb external disc no detect
[Galaxy Grand Prime Android Development] AlHezZz:
No root.. :crying:
[Galaxy Grand Prime Android Development] abooooood:
In developer options

---------- Post added at 10:41 AM ---------- Previous post was at 10:40 AM ----------

You mean USB to PC

Or SD card ?
[Galaxy Grand Prime Android Development] HugoDEV:
the home button doesn't wake phone when locked in the FZ variant
[Galaxy Grand Prime Android Development] tah3:
Bro I like this ROM very much but my phone doesn't wake from home button onlockscreen........pls fix iti.....I liked it very much....
[Galaxy Grand Prime Android Development] carpediemrf:
do not detect usb connected with an external adapter.
[Galaxy Grand Prime Android Development] carpediemrf:
In Samsung Grand Prime 530H does not have root access, and does not read the external usb when they connect with the adapter
[Galaxy Grand Prime Android Development] ZvyJ:
screen doesn't turn on when pressing the home button when screen is locked, i still have to press the power button in order to turn on the screen.
[Galaxy Grand Prime Android Development] AlHezZz:
Does not appear in developer options, as in the extra rom settings

:crying:
[Galaxy Grand Prime Android Development] YawningCat:
Just flash SuperSu in TWRP/CWM/Etc

It will fix the problem.
[Galaxy Grand Prime Android Development] Has.007:
No this rom is actually the best Nougat ROM currently. I use it personally its smooth!

If you've read the thread. In all Nougat roms, root has been removed by default! With root you cannot use Snapchat anymore so by default its not there. Flash the latest SuperSU 2.79 zip.

Actually that feature has been removed because it was giving an error I'll try fixing it soon. Check in Miscellaneous Settings in Extensions you might be able to turn it on through Buttons option.

HugoDEV, is the incall audio working in both sims in FZ variant?
[Galaxy Grand Prime Android Development] HugoDEV:
the FZ variant only has one sim and yes it is working
[Galaxy Grand Prime Android Development] 1988mrdateu:
FM Radio BUG

Hey Hassan, i need one help. How fix Fm Radio?... to me don't worked.. open but

It opens but I hear my voice when I say it. Does not tune to radio stations
[Galaxy Grand Prime Android Development] HugoDEV:
there´s not an option in the rom to make the home button wake the device when unlocked... can anyone fix this issue?
[Galaxy Grand Prime Android Development] CrazyBoy420:
No root

This ROM is good but it doesn't have root. I tried flashing SuperSU zip file for fortuna3gxxu but it failed. Also, the home button does not wake the device. Please fix the home button issue. And pls tell me how to root my device.
[Galaxy Grand Prime Android Development] Shiva $$$:
Microphone is not working
[Galaxy Grand Prime Android Development] keon1:
Calling doesn't work on G530W (gprimelte) :(
[Galaxy Grand Prime Android Development] CrowMc:
Please update this rom,is the best for G530h xxu
[Galaxy Grand Prime Android Development] ureanhat:
Ureanhat
[Galaxy Grand Prime Android Development] +NavY+:
bro can u test seeder app on this rom coz it can't detect root on this rom but on lineage 13 worked.
[Galaxy Grand Prime Android Development] Allstargaurav:
Use magisk
[Galaxy Grand Prime Android Development] Kiran.KL:
Hallo Hasan

I tried your ROM fortuna3g on my G530H , It is very smooth but I have a bug. Incall audio is very noisy. Please fix it as soon as possible.

Thanks in advance
[Galaxy Grand Prime Android Development] +NavY+:
Where can i find that thing?
[Galaxy Grand Prime Android Development] Has.007:
Variant?

Did you clean flash the rom? Is the SIM card detected?

Hi guys! Seems like every time I update to Final build, something new is updated in source. So now I'm waiting for October to end and then probably Nougat will be finalized so then I can release Stable Final builds!

Magisk v14.0 - Root & Universal Systemless Interface

There you go. Download the zip file and flash via recovery.
[Galaxy Grand Prime Android Development] keon1:
Yes,clean flashed. Sim is detected

but when I call, it's super laggy, mot very responsive, and no audio.
[Galaxy Grand Prime Android Development] Psychome:
G531H?

Will it support in g531h?
[Galaxy Grand Prime Android Development] nurun1:
yeah everything is fine but calling doesnt work ! ??? some one can help us
[Galaxy Grand Prime Android Development] Nafjadjaffer:
Trouble with SIM

hey im not able to see or obtain contacts saved in thr sim in the stock or google phone app.

Causing trouble in messaging apps like whatsapp
[Galaxy Grand Prime Android Development] nurun1:
Use Lineage 14.1 or Ressurection Remix 5.8.5 they are working perfectly... but AOSP Extended you can have problem (no sound when you call) on the model SM-G530W im actually using the RR 5.8.5 FINAL and im very happy lots of custom settings etc..
[Galaxy Grand Prime Android Development] Scholeggo:
Nice. Hopefully AEX is working on a Sprint variant
[Galaxy Grand Prime Android Development] ImTyson3:
Yes . Pretty decent . Currently using on my primary device.

---------- Post added at 09:25 AM ---------- Previous post was at 09:21 AM ----------

That's the only bug I faced in this rom . Everything else is pretty good . Try backing up your contacts with Contacts Backup (From play store) and restore them on your local device .
[Galaxy Grand Prime Android Development] WiktoreGG:
Work on G531F?
[Galaxy Grand Prime Android Development] keon1:
No
[Galaxy Grand Prime Android Development] alejandroalzate:
it works on sm-g531m?

hi to all.

i want to aks if this rom is compatible with sm-g531m and what version do i have to install. thanks
[Galaxy Grand Prime Android Development] cpt_Sherman:
It is not compatible with your device
[Galaxy Grand Prime Android Development] Arturekk:
SM-G530FZ, messenger calls are not working all the time. Newest build from 13/10/2017
[Galaxy Grand Prime Android Development] micorreo.yt:
What a bugs have FZ version??
[Galaxy Grand Prime Android Development] micorreo.yt:
dialer is not working on FZ!
[Galaxy Grand Prime Android Development] snthe:
Anyone tried installing google camera on this rom? Or our device not supported that app?
[Galaxy Grand Prime Android Development] Dante Enoshima:
No, GCam 4.x support only arm64
[Galaxy Grand Prime Android Development] snthe:
But on apkmirror had some 4.2 arm version, but the app always fc some seconds after opened..

That's why i only able to use version 2.x on grand prime..

Thanks for the answer mate.
[Galaxy Grand Prime Android Development] Erioernesto02:
Galaxy Grand Prime have diferents models and in the forums descriptions not appears the reference models.

some models: SM-G530H,T, SM-G531M,F,SM-G532X, and more..
[Galaxy Grand Prime Android Development] tasnim_tamim:
A little bug I found out on the latest 4.5 of this ROM. The screen saver (or Daydream) doesn't works. It doesn't launches the screen saver. I tried manually press Start Now but it still doesn't works. Even while leaving the phone while it charges, it doesn't works. Does it works for anyone else?? I really need this feature as I use it really often.

Thanks
[Galaxy Grand Prime Android Development] Muhammad Tajy:
G530F?
[Galaxy Grand Prime Android Development] jamil aboudaher:
I am using aosp extended v2.0, my phone lags sometimes, and the battery doesn't last long, but all other functions are Ok... Is performance and battery are better in aosp extended v4.5? And will I have problems with calls or SIM card if i installed it? I have galaxy grand prime G350H XXU. Please answer me :)
[Galaxy Grand Prime Android Development] tasnim_tamim:
Why are you using v2.0 .. Obviously v2.0 is slower than v4.5 . v4.5 has much better performance, battery and features than 2.0. And no there is no bugs like sim card and problem with calls. I tested.
[Galaxy Grand Prime Android Development] WalllyD:
Does this rom work on the G531F? And could anyone provide a link to a twrp file for the G531F as well? Got a Grand Prime as a replacement phone while my S8 is being repaired
[Galaxy Grand Prime Android Development] jamil aboudaher:
Will i have to clear data and cache before installing this version?

And one more question

Does this version have google assistant?
[Galaxy Grand Prime Android Development] kotbey:
Is there any new update for this rom or its final ?
[Galaxy Grand Prime Android Development] tasnim_tamim:
I really recommend wiping data, cache and dalvik. Because 2.0 and 4.5 have a lot of changes. Without wiping data can maybe cause boot loop or unstable system.

I think it supports it. idk because I used Xposed module to enable assistant because it's not available on my country. If Google Assistant is available and working on your country then, Yes it should work.
[Galaxy Grand Prime Android Development] jamil aboudaher:
Okay, so this version has no bugs at all and my phone will not lag as much as in v2.0?

---------- Post added at 08:26 PM ---------- Previous post was at 08:05 PM ----------

What's better? Opengapps or beansgapps

Full or mini?
[Galaxy Grand Prime Android Development] Has.007:
Yes you can flash on G530F but there might be some bugs/issues.

Nope, G531F doesn't have any custom roms at all.

Your questions have been answered by [MENTION=7334657]tasnim_tamim[/MENTION] and for the current ones, Opengapps Pico version is the best for Grand Prime to have everything working smoothly. And yes v4.5 is way better and smoother than v2.0 because a lot of things have been updated since then. ;)

To everyone. Guys, I know I have been delaying the replies & update for all my roms but that was because of my exams. My exams just finished today and finally I am free. But, I am waiting for Google to push the November security patches for Nougat so I can push the updates once again. I could do it before, but the November patches have some important things to fix so it will be worth the wait.

Please wait until then it won't take a long time.

Thanks for understanding! :)
[Galaxy Grand Prime Android Development] jamil aboudaher:
What should I choose from the first column?
[Galaxy Grand Prime Android Development] tasnim_tamim:
Do like this ARM - 7.1 - <your variant>

I'd recommend picking Pico variant for Grand Prime as it includes only required packages needed to run Google apps.
[Galaxy Grand Prime Android Development] jamil aboudaher:
Okay, thanks for helping and i'm sorry for my annoying questions ^_^ But is there so much difference between v2.0 and v4.5 in the ui? If not, i won't install this version cz i have installed a pixel mod that doesn't work for 7.1.2 :(
[Galaxy Grand Prime Android Development] tasnim_tamim:
You won't expect changes in UI (in the first place this is AOSP. Why would there be a UI change in stock ui). But in the features (or extensions) it has a lot new features. And as I said before much better performance, ram and battery. My battery lasts for 3 hour which is better than other 7.1.2 ROMs I've used.

Besides v4.5 is a official ROM. That means you'll get ota updates as well.

BTW is Pixel mod that your running is a substratum theme or pixel apps?
[Galaxy Grand Prime Android Development] jamil aboudaher:
I have installed this mod

https://xdaforums.com/grand-prime/themes-apps/modgoogle-pixel-ui-cm-13-cm-14-cm-14-1-t3492342
[Galaxy Grand Prime Android Development] marrano9000:
very happy with this rom but can't connect my smart tv samsung, im on a grandPrime 530m LTE version

any suggestions?
[Galaxy Grand Prime Android Development] tasnim_tamim:
Its a common problem on almost all aosp roms on our device
[Galaxy Grand Prime Android Development] xDutch:
Anyone experiencing audio problems? i unfortunately have no audio when calling
[Galaxy Grand Prime Android Development] keon1:
yeah me too.. you gprimelte?
[Galaxy Grand Prime Android Development] ClydeVen:
I don't know where to post this, but let me show my own Substratum theme with closer TW DreamUX look. Permission to post, my dear admin.
[Galaxy Grand Prime Android Development] snthe:
Can u share link for iconpack u used on ss?
[Galaxy Grand Prime Android Development] ClydeVen:
It's also my modder bro and I havent't uploaded that yet on the internet. Anyway, you can use Alfonso's Icon Pack for a closer look. My internet is slow. Sorry bro. Maybe next time.
[Galaxy Grand Prime Android Development] tasnim_tamim:
Looks really great. Better than Galaxy Evolution theme for substratum. You can maybe post it on Themes and Apps section.

BTW is the lock screen clock themed??? I was able to get S8 clock using Xposed but it slows down my device so I had to uninstall it.
[Galaxy Grand Prime Android Development] ClydeVen:
Yes, bro. For sure. For now, it's not yet finished. I still have 240 hdpi resolution images, which are only applicable to our phone and the like. i cannot post it elsewhere other than here cause it will surely not work on others. Anyway, I made the clock on the lockscreen to the center. The only lacking is the font style similar to DreamUX. I'll post it here for sure once finished.

---------- Post added at 04:19 PM ---------- Previous post was at 04:11 PM ----------

The screen clock is in the launcher and it doesn.'t contain weather, so I cannot mod it to DreamUX. Although, I can still put S8 weather icons in there, it will only be steady. It will not change according to your location's weather. Maybe in Oreo. I've heard the Clock in the launcher is now having Weather. Maybe I can mod it soon once the devs successfully fix RIL Issues.
[Galaxy Grand Prime Android Development] prashanth19dev:
When will be you are launching Oreo for sm-g530h

Bro please tell us when u are posting the Oreo with 8.1.2

We are eagerly waiting for ur rom

Thank you.
[Galaxy Grand Prime Android Development] tasnim_tamim:
Great to hear the reports. :svetius:

About the clock fonts, I don't really think it will help or anything but I have s8 clock fonts I got by [MENTION=7050315]abooooood[/MENTION] . I attached it below. Maybe it will help it somehow. ;)
[Galaxy Grand Prime Android Development] tasnim_tamim:
Be patient. He is building the kernel for 8.0 and it takes time to build it. And me too. I am also eagerly waiting for it ;) .
[Galaxy Grand Prime Android Development] Muhammad Tajy:
Which version can I install on G530F?

Edit: I installed the Fortuna3g build and didn't notice any bugs so far
[Galaxy Grand Prime Android Development] israfilkhan:
Does latest update have bug on this rom for 530h xcu??
[Galaxy Grand Prime Android Development] tasnim_tamim:
Nope. I am running the latest version of this ROM there is no bug for XCU at all ;) .