yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] link77kz:
A tool to Repack the firmware image system.new.dat Nougat 7.x.x

the author of the tool by Karan Sangaj thank you :good: on XDA haven't found the original post

The usage is very simple, I hope many will be useful.

thanks for the help ajsmsg78

1) install Python 2.7.13

2) original post File contexts.bin converter thank you

another File context tools thank you

video instruction

https://www.youtube.com/watch?v=OsHWPdIgGjY

https://plus.google.com/u/0/collection/EiQ1NE

sory for my English:)
[Android Software/Hacking General [Developers Only]] stryker1968:
cannot convert my_new_system.img.

how to convert it exactly?
[Android Software/Hacking General [Developers Only]] Esakren17:
Any solution??

Traceback (most recent call last):

File "C:\Users\pc\Desktop\Android Unpack Repack Nougat\tools\img2sdat.py", line 10, in <module>

import common, blockimgdiff, sparse_img

File "C:\Users\pc\Desktop\Android Unpack Repack Nougat\tools\common.py", line 112

print " running: ", " ".join(args)

^
[Android Software/Hacking General [Developers Only]] raghuM:
I am getting the same error as this, what should I do to fix it?

Have installed python v2.7.13+3.6.1, latest java jdk and jre and .NET framework v4.7 and running windows 10, it had worked on the first try but started showing this error suddenly.
[Android Software/Hacking General [Developers Only]] greeshan:
It works, but after install ROM the battery discharges very quickly and heats up... I think that incorrectly exposed file permissions, because if i flash "system" folder with setting simlinks and set_metadata in updater-script ROM works fine and battery is ok.

ROM work only with system.img, system.new.dat dont flash, error 7 in TWRP...
[Android Software/Hacking General [Developers Only]] nclwz:
best tools ，thanks！！
[Android Software/Hacking General [Developers Only]] qoejohn:
same here
[Android Software/Hacking General [Developers Only]] Maaz Muzammil:
Anyway to repack oreo
[Android Software/Hacking General [Developers Only]] rayman95:
Got a problem with this tool.....

it works perfectly to extracting system.new.dat and unpack system.img I modify and remove some files in the system folder (remove some apks and fonts, add some hosts....) so the size of the system folder change and when I type the 04 option got this error message.....

0 [main] make_ext4fs 7236 cygwin_exception::open_stackdumpfile: Dumping stack trace to make_ext4fs.exe.stackdump

Impossible de trouver C:\Users\RAYMAN95\Desktop\Android Unpack Repack Nougat\temp_size.txt

How is it possible to made some modifications and repack it to system.new.dat????

thank's for the help
[Android Software/Hacking General [Developers Only]] Qnoyz:
This tool is very nice.... But please help me guys... On the last step I'm failed to repack system.img to new.system.dat... SYNTAX ERROR... how to fix it? :)

By the way it is very great tool... Thx to Dev ^^
[Android Software/Hacking General [Developers Only]] iMenesi:
Can't Unpack system.img

Ok Bro .. That's awesome Tutorial.

I have the system.img of Note 8 AP file .. I try to unpack it directly but it Ext4Extractor.exe is stopping working.

I don't have system.new.dat file so I'm trying to unpack system.img directly but it doesn't work.

As these images show the error:

https://imgur.com/a/jlZvb
[Android Software/Hacking General [Developers Only]] HMSLXOS:
Thank you very much for your tools very easy to use Thank you again
[Android Software/Hacking General [Developers Only]] ze7zez:
The link is not working.

You need to have a custom ROM, and in it system.transfer.list and system.new.dat.

Use this method:

[DEV] sdat2img 1.0 - img2sdat 1.2 ◦ Unpack/re-pack android DAT files

For a long time I use and have not found Android ROM 5.1.1 - 8.0.0, which can not be unpacked using sdat2img.py.

Thank you authors [MENTION=5132229]xpirt[/MENTION] , [MENTION=3892016]luxi78[/MENTION] , [MENTION=6262977]howellzhu[/MENTION] !
[Android Software/Hacking General [Developers Only]] bryantjopplin:
You dont need a custom rom or the system.transfer.list, or system.new.dat. This unpacks images just fine. It will not unpack factory images tho. I got it to work just fine unpacking nexus 6 system.img by placing the image in the output_converted_dat_to_ext4 folder then telling the bat file what the size is and unpacking it. Do the same thing for oreo and the ext4 exe crashes.
[Android Software/Hacking General [Developers Only]] master.robot:
How did you fix the problem?

How did you do that?
[Android Software/Hacking General [Developers Only]] greeshan:
i use commands set_metdata(xxxx); after block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||

abort("E1001: Failed to update system image.");
[Android Software/Hacking General [Developers Only]] wgmmmx:
Is this tool work with oreo roms ?
[Android Software/Hacking General [Developers Only]] manideepreddy:
No i think
[Android Software/Hacking General [Developers Only]] talwinder13:
rom isn't booting after editing system.new.dat. any help ?
[Android Software/Hacking General [Developers Only]] beta.0:
For anyone having syntax errors converting systemsparse.img to system.new.dat just download the updated img2sdat files from the link below and extract all files ending in .py to the tools folder of this batch tool. There's also an updated sdat2img.py linked below which goes in the same tools folder. Overwrite all the old files when prompted.

Edit: I've attached a zip that has the tools already updated. Maybe the OP can update the first post?

img2sdate update: https://github.com/xpirt/img2sdat

sdat2img update: https://github.com/xpirt/sdat2img
[Android Software/Hacking General [Developers Only]] Cober11:
Does anyone know the link to Mecool BB2 Pro firmware 7.1 .1 file that instead system.new.dat has system.new.img . I don"t have that knoweladge to repack it myself. Thank you
[G3 Q&A, Help & Troubleshooting] munirshah77:
Can anyone guide me on how to to transfer the modem of a zip of a rom to the zip of another rom. I have aosp rom android 7.1.1 and using this rom it detect my sim card. I tried lineage os and crdroid android 7.1.2 for dual sim and they don't give me sim signal. I want to use lineage os and transfer the modem fom aosp rom zip file to lineage os rom zip file and then install the zip so that my sim would work. I have d858HK. Its the dual sim model. Kindly help

I also have a weird sim issue whose link is posted below. Please help if you can help

https://xdaforums.com/lg-g3/help/d858hk-sim-issue-t3611545
[ZTE Axon 7 Guides, News, & Discussion] Mohamed.Rady2017:
Google Play Not Exist , Needs to Fix it or Another Version (Nougat Support) to Install And how to Install it by steps
[ZTE Axon 7 Guides, News, & Discussion] front firing speakers:
update to b013 then OTA updates will follow. grab the play store, Google play services and framework from apk mirror
[ZTE Axon 7 Guides, News, & Discussion] ultramag69:
If you want to unlock the bootloader then do that at B13 MM... If you go to nougat you can't and will need to regress back to MM...
[Google Pixel Guides, News, & Discussion] lonelyboycs:
I'm from a country that official google store is not available, so I have to purchase Pixel via a seller. Since he's got only Verizon version, I cannot change to a Google edition to get bootloader unlockable.

My phone is already updated to android 7.1.2 so depixel8 will not work on my case, I think there are a lot of people like me hope to have bootloader unlocked.

There is already a thread discusses abt Pixel XL: Verizon Pixel XL - Unlocking Discussions

If there is any a method available it should be working on both phones. So If anyone figure out a way please let us know.
[Google Pixel Guides, News, & Discussion] bill12690:
no method for the Verizon pixel unfortunately. so as for now, we are out of luck...
[Google Pixel Guides, News, & Discussion] lonelyboycs:
just have to wait :(
[Google Pixel Guides, News, & Discussion] lonelyboycs:
It seems that some NEW Verizon Pixel got unlocked: Bootloader unlock on NEW Verizon Pixels

It might be because of the SIM or They are just lucky

Anyway, mine is still not unlockable. This is so crazy. :(
[Google Pixel Guides, News, & Discussion] 7878778:
hope unlock come soon
[Google Pixel Guides, News, & Discussion] seshaz:
Literally took 3 phones out if my stock and can confirm that it's the sim. I unlocked mine on 7.1.2 using fastboot OEM unlock commands.
[Google Pixel Guides, News, & Discussion] GamerTbg:
Mod edit: Posts condoning fraud against a company or individuals will not be tolerated on this site. Take heed of the forum rules and do not make such posts in the future.

Cheers

Magnum_Enforcer

FSM
[Google Pixel Guides, News, & Discussion] aholeinthewor1d:
SIM has nothing to do with it. This has been looked into countless times already. Yes some people get unlockable devices from Verizon.
[Google Pixel Guides, News, & Discussion] jmartin72:
It is NOT the SIM. If that were the case, then all the Google store versions would get their bootloaders locked as soon as a Verizon SIM was installed. That is NOT the case. Some people are just getting lucky for whatever reason, and they are getting Pixels with bootloaders that are able to be unlocked.
[Google Pixel Guides, News, & Discussion] TonikJDK:
QFT

Especially the part about how a VZ SIM didn't lock my Google Pixel.
[Google Pixel Guides, News, & Discussion] seshaz:
Lol whatever you say. Not really concerned if you believe it. Worked on multiple devices. Didn't work when I left it in
[Google Pixel Guides, News, & Discussion] jmartin72:
There are a couple other threads on this very topic. You should go read them. You may learn something.
[Google Pixel Guides, News, & Discussion] seshaz:
Nah I'm good. Worked for me. Experimented and got results. Which seems better than your reasoning of a random chance. Same reason I don't believe in God, I believe in science. There's no random chance. There's a reason for everything.

---------- Post added at 05:28 PM ---------- Previous post was at 05:27 PM ----------

And I've read them

---------- Post added at 05:29 PM ---------- Previous post was at 05:28 PM ----------

You do understand I work for Verizon and have as many of them as I need to check if it's the Sim right? And I have
[Google Pixel Guides, News, & Discussion] bill12690:
It's not the Sim. I received a replacement from asurion and it was branded Verizon on the box. I never put a Verizon sim in it and OEM unlock was greyed out right from the start. Still greyed after connecting to WiFi, still greyed after updating to Android O, still greyed after inserting an ATT Sim.

---------- Post added at 05:53 PM ---------- Previous post was at 05:52 PM ----------

As was already stated if it was the Sim then even Google store pixels would get locked after being used on the Verizon network, and fact of the matter is they aren't. I know of multiple Google pixels on Verizon network that are still unlockable
[Google Pixel Guides, News, & Discussion] jmartin72:
Correct, the Google Play Store pixels do not have locked bootloader regardless of the SIM that is in them. I have a pixel from the Google Play Store, and a Verizon SIM. My bootloader has been unlockable from day one. The SIM simply has nothing to do with it. The truth is no one knows for sure, but logic say that the IMEI's have a black list, and a white list, and for some reason Verizon is letting go of some Pixels that are on the white list. Could be Google, and HTC not being able to supply as many as they need.
[Google Pixel Guides, News, & Discussion] bill12690:
As much as I wanted it to be sim-related (so i could potentially unlock my replacement) I'm a firm believer that it is not and most likely is an IMEI black/white list of sorts. I've talked to both Google and Verizon regarding the matter and both deny having any knowledge of why they become locked...although I didn't really expect them to admit it.
[Google Pixel Guides, News, & Discussion] jmartin72:
If you look through the Droid-Life archives, they have a post that said they point blank asked Verizon if the bootloaders on the Pixels that they sell would be locked, and they said yes. In the beginning they were, and the only way to unlock them was with depixel8. Then I think it was two security releases later they patched that hole, and if you took that OTA without having unlocked your bootloader you were screwed. It's only in the last couple of months that people have been reporting that they have gotten phones from Verizon with bootloaders that are able to be unlocked.
[Google Pixel Guides, News, & Discussion] GuestK00143:
I've been following this thread for a bit and have a question. Did your Pixel from Google Play Store originally come with a Verizon SIM?
[Google Pixel Guides, News, & Discussion] jmartin72:
No, it didn't come with a Verizon SIM. They don't come with carrier SIM's from the Google Play Store unless you get them with a Google Fi subscription. Then they come with a Fi SIM. They are carrier unlocked, so all I did was put in the Verizon SIM I already had.
[Google Pixel Guides, News, & Discussion] GuestK00143:
OK and did you unlock before or after you put the Verizon SIM in?
[Google Pixel Guides, News, & Discussion] jmartin72:
I unlocked it after. I put the SIM in before I powered on the phone for the first time.
[Google Pixel Guides, News, & Discussion] :
Thanks, I wasn't sure on that part. The two Verizon ones I purchased earlier this year came with 7.0. I did remove my SIMs before first boot so the update to 7.1 wouldn't download during setup and ruin the chances on using depixel. This is the same thing I had to do with the S6's I had a while back or they would update and kill the root method. I'll bet it's the SIM and model that determine the unlocking.
[Google Pixel Guides, News, & Discussion] jmartin72:
It's not the SIM. If you read the threads on here, people have taken their Pixels purchased at Verizon, and went to AT&T and they still can't unlock the bootloader.
[Google Pixel Guides, News, & Discussion] TonikJDK:
In my case after I put the SIM in. And after it updated to 7.1.1.
[Google Pixel Guides, News, & Discussion] :
And yours is a Play Store one right?
[Google Pixel Guides, News, & Discussion] TonikJDK:
Correct, Play Store version.
[Google Pixel Guides, News, & Discussion] :
It has to be the model then that is the factor on unlocking. Mine are Verizon ones.
[Google Pixel Guides, News, & Discussion] TonikJDK:
I am very convinced its the IMEI in a database that Google runs. Even a playstore version has to connect to the Internet before it will allow the slider to move. We know it isn't software based, the software is identical.

And the system to get those numbers entered correctly is failing a fair amount of the time.... people are so excited to get one the are missing the details of what is happening.
[Google Pixel Guides, News, & Discussion] :
With my new ones the SIM were removed to disable LTE. So in my case removing the SIM had everything to do with it. As for swapping SIMs to unlock once you are locked, you are correct on that. That's a no go. I think that's where people are getting confused.

---------- Post added at 12:02 PM ---------- Previous post was at 11:53 AM ----------

As far as I could tell the 7.1 update will not download without the SIM in. I was able to complete setup without WIFI or LTE. Another thing is I purchased both of mine online and picked them up in the store. That way the sales rep doesn't turn it on and set it up and update. Either way if it's locked on anything above 7.0 unlocking is a no go for us.
[Google Pixel Guides, News, & Discussion] :
It's pretty hard to switch LTE off during the boot process and the initial set up screen. Again that is why the SIM needs to be removed. Verizon sees it's one of their phones and pushes their carrier specific update update before you can complete the setup process to get to OEM unlocking. Verizon and AT&T do everything in their power to stop us from unlocking.
[Google Pixel Guides, News, & Discussion] :
Because it is a Google phone and not Verizon. What part of what I have been typing aren't you understanding? The SIM needs to be removed for the purpose of disabling LTE during setup-period- end of explanation. Furthermore the Verizon Pixels have a identifier in the serial numvberalong with the SIM. That is how they tag it as Verizon...... get it now?
[MTCB Android Head Units Q&A] CARRisma:
I'm currently using a HA RK3188 (1024 x 600, 7" display). My dad has my old JY RK3066 (800x480, 6.2" display). He can't get on with it so I will be taking it back. I don't like the display in my RK3188, it's too dim in comparison to that of the RK3066, you can't see it properly in sunlight.

My question is - is it possible to swap over the displays? Can I fit the lower resolution display from the RK3066 to my RK3188?

One point is that the RK3066 has a CD/DVD slot whereas my RK3188 has not, but I can live with that.

Also, I realise I might need to flash a different ROM because from memory Booroondook's ROMs are display resolution specific.
[Buying, Selling, & Funding] kadibia1:
Mod Edit: XDA is not a place to buy and sell items. Thread closed.
[Galaxy Note5 General] liyonking:
Link???

Powered by Arnie ROM....

---------- Post added at 07:13 PM ---------- Previous post was at 07:10 PM ----------

Just modifications or there is a rom????

Powered by Arnie ROM....
[Galaxy Note5 General] dallen5:
What is this?
[Galaxy Note5 General] Porcupineomg:
Is that supposed to be a good thing?
[Galaxy Note5 General] thermax04:
Rom Build is CQD1 not the latest D2

Every thing works fine till you start connect to internet and update apps, 3 peoples tried it and found SystemUI gives FC, and when screen locks it keep turn on/off the screen continuously till you reboot[emoji15] [emoji33]
[Samsung Galaxy S8 Questions and Answers] M. Tomescu:
Hi there,

The S8+ (Exynos) was the smoothest phone I've ever had. It ran perfectly, with no lag/stutter whatsoever, it was butter smooth. That until the last update...(The May update with Bluetooth and SD card stability ; Android May security patch).

Now, the phone lags/stutters/drops frames in everything - it affects the UI animations, the scrolling in almost every app (even in settings), any game (even the least demanding game), browsing, the phone also has keyboard input lag. It also scores very low scores in benchmark apps (about half of what it should score). The phone also heats up for no reason, especially during charging (it was never heating up before the update).

What I've tried (with no effect):

- Disabling all features from Settings, down to the smallest details. Disabling all bloatware apps from settings (Samsung apps, Word, etc.).

- Cleaning Cache/RAM/Junk files with Device Maintenance, Clean Master and SD Maid (and uninstalling those apps afterwards)

- Manually cleaning cache from all apps (all 300+ of them, including system apps)

- Manually force stopping all apps (all 300+ of them)

- Uninstalling all User-installed apps

- Wipe Cache from Recovery Mode

- Manually stopping all running Services from Developer options

- Setting no backround services option in Developer options

- Disabling all safe-to-disable apps (including system ones) using BK disabler

- Several Restarts

- Complete factory reset (from Recovery Mode) and instaliing all apps from scratch. Then, doing all the things above.

----

PS: Animations are not only lagging/stuttering, but they are also glitching in some way (hard to describe, but little artifacts appear when minimizing/maximizing apps).

The screen also developed slight burn in (visible on gray image) in the notification and navigation bar area, although I use it with less than 50% brightness and with AOD disabled

Nothing worked. The phone has very brief moments when the animation lag dissapears, but then it starts back. The phone is now working worse than it did with the Battery Saving Option activated before the update.

I am aware that probably most of you don't have this issue. If you know anything that could help, please tell me.

Should I take it to warranty ? ( I'm afraid that they will open it up and it will loose its water resistance)

Thanks.
[Samsung Galaxy S8 Questions and Answers] themissionimpossible:
There is a dedicated S8+ forum section:

https://xdaforums.com/galaxy-s8+
[Samsung Galaxy S8 Questions and Answers] BarryH_GEG:
A lot of the things you've done are probably what killed your performance. Disabling an app that another app is dependent on can muck up the latter. Similarly, poorly written low quality apps can be resources drains and may not play well with others. My virgin S8+ is shockingly smooth and I could care less about dormant apps I don't use being active or disabled as long as my phone performs well. I'd suggest a hard reset from recovery, loading your apps of respectable quality, and leaving your phone alone and enjoying it rather than turning it in to a science project.
[Samsung Galaxy S8 Questions and Answers] crik91:
Same issue here, no app disabled or locked but my S8+ is very slow and lagful.
[Samsung Galaxy S8 Questions and Answers] Bisquit-02:
@ m.tomescu

You know, when you factory reset because of problems, first thing you do is checking if the problem is gone. Only then are you supposed to reinstall your apps one by one.

Is it already bad after factory reset? Then your phone needs a repair, which most likely be a new motherboard.

When performed by Samsung official repair center, your phone will still have the same water resistance.

For a quick test you can enable safe mode, that will exclude everything you've installed.

PS. No lag here on exynos and latest update.

Verstuurd vanaf mijn SM-G955F met Tapatalk
[Samsung Galaxy S8 Questions and Answers] Azizamiri796:
Mine runs like a champ smooth and fast I personally don't like animation I disabled them. I have snap dragon virant I disabled like 25 bloatware with package disabler I have good battery and smooth experience I don't know why Urs is lagging.
[Samsung Galaxy S8 Questions and Answers] Galactus:
I had similar issues on my S7 Edge, with updates destroying battery life. Still, I'd suggest doing a factory reset, installing your most needed apps first and just try using the phone for a week. No prodding, no monitoring etc, just use it and let the phone learn your routine, which data to cache etc and see how things are after.