yashsingh1/xdaforums huggingface dataset:
[Android General] dhiet75:
yeah,.. i have just a little diferent option in my linux, i use ubuntu-16.04.2

dhiet@dhiet-VirtualBox:~/Repacking_dat_oreo$ brotli -h

Usage: brotli [OPTION]... [FILE]...

Options:

-# compression level (0-9)

-c, --stdout write on standard output

-d, --decompress decompress

-f, --force force output file overwrite

-h, --help display this help and exit

-j, --rm remove source file(s)

-k, --keep keep source file(s) (default)

-n, --no-copy-stat do not copy source file(s) attributes

-o FILE, --output=FILE output file (only if 1 input file)

-q NUM, --quality=NUM compression level (0-11)

-t, --test test compressed file integrity

-v, --verbose verbose mode

-w NUM, --lgwin=NUM set LZ77 window size (0, 10-24)

window size = 2**NUM - 16

0 lets compressor choose the optimal value

-S SUF, --suffix=SUF output file suffix (default:'.br')

-V, --version display version and exit

-Z, --best use best compression level (11) (default)

Simple options could be coalesced, i.e. '-9kf' is equivalent to '-9 -k -f'.

With no FILE, or when FILE is -, read standard input.

All arguments after '--' are treated as files.

there is no option --input on mine, so i change it with -q 7 which mean compression level 7, and now its working...

brotli -q 7 system.new.dat -o system.new.dat.br

I also already try repacking on Lineage nougat & oreo official version & i can confirm both worked succsessfully...

anyways thanks for ur great project :good::fingers-crossed:
[Android General] Juandevn10:
Thanks
[Android General] kacpero1234:
./make_ext4fs: cannot execute binary file
[Android General] rkhat:
Hi, I'll need some details to look at the issue.

1) Which version did you download?

2) Did you build the binary from sources or used my prebuilt binary?

3) What OS did you run this command from? Also 32-bit or 64-bit?

Thank you
[Android General] Nightmare_MYS:
A very important bug

When I used make_ext4fs to successfully make the new system.img,and then upgrade it,when I reboot my phone,I found that the uid and gid permissions of all the files under the system were all changed to root,and have some bug in my phone,I use oero,8.1
[Android General] celhack:
I have a Nougat Rom, I mount and replaced only one app, them I repack using file_context from boot. and them convert with img2simg. I cant flash this img but I can flash Raw img and phone is in a loop. I have tried without making any change on the system

---------- Post added at 09:55 PM ---------- Previous post was at 09:47 PM ----------

So I have a question system.transfer.list == to system.map???
[Android General] rkhat:
Can you try make_ext4fs_def instead of make_ext4fs in this version. Let me know if this fixes your issue so I can make it official release? Thanks.

system.transfer.list is for lineageOS. You won't find it in other ROMS that are not based on LineageOS. You have to check how the ROM you got was packaged.
[Android General] celhack:
Thanks for your reply. How can I check or determine packer of my rom?

My image is in sparse. When I use simg2img it got converted ro raw and until here I can still flash the image and my phone boots.

If I mount the raw image and repack, even if I don’t make any change my phone doesn’t boot.

Could you take a look in the image Please? Maybe you can find the way to support this type. Thanks for your hard work.
[Android General] KP@2016:
Question: Can we compile these binaries into windows PE ?
[Android General] rkhat:
I think you forgot to post the image.

What exact command(s) did you use to repack the image? Also what is the version of the ROM?

What do you mean by PE? Preinstalled environment? I have never used that. Unfortunately, there is currently no Windows support.
[Android General] KP@2016:
Windows PE is a portable executable file. Ok I got it, so it means that we do definitely need cygwin in order to run this on Windows
[Android General] N6500:
Preparing Ubunru 18.10 for SAMSUNG Firmware

Good day to you

Installed Ubuntu 18.10

Now tell me please HOW TO PREPARE IT FOR SUSPECTING AND ASSEMBLING sysrem.img.ext4.

And even better describe the full instructions how to use the ANDROID-ROM-REPACK-TOOLS for firmware SAMSUNG for only the pre-installed Ubuntu 18.10
[Android General] rkhat:
This tool is made using LineageOS and AOSP source code. It works for LineageOS or AOSP ROMs. It might or might not work with other ROMS. Also I haven't dealt with Samsung ROMs so use the tool at your own risk. Samsung doesn't like third party messing up with their closed source ROMs. They probably make it harder to tamper with them.

I would recommend to rename system.img.ext4 to system.img.

Then follow this guide guide but in step 1 run this instead:

./simg2img system.img my_new_system.img

and use my_new_system.img for step 2. Then do steps 2 and 3. The output of step 3 is the new system.img you will need (basically skip step 4). Then rename this new system.img to system.img.ext4.

Note: you'll need file_contexts, it is usually in boot.img.
[Android General] amindell:
what is simg2simg?

and Thanks all of you for the hard work.
[Android General] N6500:
sgs4ext4fs

Where to get the updated sgs4ext4fs file for SAMSUNG system.img.ext4 firmware?
[Android General] rkhat:
simg2simg is for splitting a large sparse image into multiple smaller sparse images. 3rd parameter is to set the max size of the smaller images.

I don't work on Samsung ROMs and the developer for this binary sgs4ext4fs hasn't updated his github repository in 6 years. I don't know the specifications for newer Samsung ext4 images to code the binary. Sorry for not being able to help you.
[Android General] dasToshy:
windows version / port

Sorry. my english is bad.

till now, i use

https://xdaforums.com/showthread.php?t=2600364

old repack tools. i only have androit 4-6.

its nice to see, that you build new versions.

but this is for linux. can you or other member port it to an windows verison?

so i can use "exe"-files on windows!?

thanks and greetings

Toshy
[Android General] Magendanz:
What exactly does make_ext4fs_def do differently than make_ext4fs? I can't seem to find it documented anywhere.

Also, is there anything new we need to do when building sparse images in OREO?

I've been using the same script with make_ext4fs and a decompiled file_contexts.bin from the boot image on Nougat system images with no problems, but running it on an OREO firmware causes a hang during boot. The same images flash and run fine in raw format, but there's something about the conversion to sparse that's causing problems. I was guessing it was a file contexts issue, but I've got one from the latest OREO OTA update. I've noticed that OREO has split the file contexts into separate files (plat_file_contexts, non-plat_file_contexts, etc.). Do I need to merge these into one file for make_ext4fs?

Update: Well, it seems on Project Treble firmware that you do need to merge the two file_contexts (plat_file_contexts & non-plat_file_context) for make_ext4fs. But more importantly, you need to set the label (-L) and android (-a) arguments to "vendor" or "odm", as appropriate. My script had them all as "system". (Still no idea what make_ext4fs_def does differently, though.)
[Android General] rkhat:
make_ext4fs_def is only working in this version (android 8 version 4). It prevents uid, guid, and permissions from resetting when you flash a ROM with new files.
[Android General] celhack:
Sorry I was too busy this days..

https://mega.nz/#!PSQQHYhJ!hDXY3-nbNdggFv1xRAxokxH_J6cy_Aa6dl2ee6I7olM
[Android General] Ricky Divjakovski:
Have you found a fix or workaround for this for cygwin?

i found a 3.10 cmake version from here but to compile you need to set USE_SYSTEM_ZLIB to OFF and USE_SYSTEM_CURL to OFF

I still cant get a successful compile of the binaries but im close
[Android General] rkhat:
I replied in the github issue you created.
[Android General] xerox1122:
unpackbootimg is missing in the android 8 tool pack.
[Android General] Ricky Divjakovski:
[MENTION=8241686]rkhat[/MENTION] i have released prebuilt binaries and sources to be compiled for windows with cygwin Android_IMG_tools_windows
[Android General] rkhat:
LineageOS didn't release one for android 8. This is where I get the sources from. You can try the one from android 7 since the mkbootimg hasn't been modified between android 7 and 8.
[Android General] Nightmare_MYS:
Android pie need new file to repack system.img,i know Classy Kitchen can repack,
[Android General] youmbi:
hi

link not working
[Android General] youmbi:
hi

thanks somuch for this tutorial my question is i whant to know how to unpack and repack system.img raw android 8.0 and 9.0 for qualcomm CUP thanks

best regar
[General Questions and Answers] degaonkarab:
Lenovo k8 note when i recive call , i can listen second side but my voice can be listened by other side. call drops happens many time any solution?
[General Questions and Answers] Rahulsssvv:
Hai all,

In spite of trying various stock ROMs and Customs Roms my in Le2, my mic is not responding, please guide me with appropriate solutions, now I have flashed MUI 9 rom on my phone.
[General Questions and Answers] kapitan6:
I have the same problem

Has anyone already solved it?
[Huawei Mate 9 Pro Questions & Answers] Ronin929:
I Recently Purchased a Huawei Mate 9 Pro (LON-AL00) from China that has a stock version of Nougat on for the Chinese market.

This Means No Google apps and some apps are in Chinese.

I would like to install a different software version on the phone but not sure what process to follow. I've downloaded firmware finder but it seems all firmware available for LON-AL00 are also for the Chinese market.

How do I install a different version on this handset?
[Huawei Mate 9 Pro Questions & Answers] jalk44:
Go to hiapp or appgallery, install playstore or a google apps installer, if that doesnt work, then use the browser to install play services from apkmirror. Then install a china vpn to change to a chinese ip to update to oreo in system update, then idk find like one of the phh roms for project treble oreo they are all english and stock android. Or if your are lazy pay for funky huawei to do it for you.
[Touch CDMA Windows Mobile ROM Development] davidjosephman:
I do not have Broadband internet. I got the Touch because the Internet Sharing option with Sprint PCS if free on my account. I what to share my Sprint EVDO connection with my Xbox360. Heres my setup...

1:HTC Touch in Internet Sharing mode via USB. IPv4:192.168.0.1 no DG

2:When trying to share connection to Ethernet port Windows wants the IPv4 of the Ethernet port to be 192.168.0.1. Windows give this error...

http://support.microsoft.com/kb/241769

Error 783: Internet Connection Sharing cannot be enabled. The LAN connection selected as the private network is either not present, or is disconnected from the network. Please ensure that the LAN adapter is connected before enabling Internet Connection Sharing.

I looked up this Error. It states that Windows wants the Ethernet port to be 19.168.0.1 and something else is using that IP already. The Touch uses that IP and I don't know how to change it or change the IP that Windows wants to use. Please Help!
[Touch CDMA Windows Mobile ROM Development] jsemon:
Your touch should be using 192.168.2.1 and the virtual adapter on your computer should be 192.168.2.2.

Check to see that there aren't any interfaces that have that port configured statically. In theory this should work although the latency is going to be out the roof and will definitely not be worth playing any games on.

I have the Vogue(6900) as well, and while the download speeds from sprint are pretty quick when connected to a computer, it will be hard to get any good speeds out of it IMO.

Let me know if you figure this out. If I think of anything else, I will let you know.
[Xiaomi Redmi 4X Questions & Answers] SampoernaAddict:
After i flash Resurrection Remix OS. My phone always reboot after i get into the google verifycation and go to homescreen. And then my phone reboot again. It always reboot after a few seconds im on the google verification or the homepage.

Im on RR ROM and use unoficial pico gapps

(i look at the RR thread and it said to use the unoficial)

And im try to change the rom and install Lineage OS but i got the same problem.

Ive install the firmware v028/030/034. I try them all.

I root my stock rom MIUI and try to flash the custom rom but i dont see any changes.

Can you guys help me with these problem. What should i do? Am i doing wrong?

Help me with a clear tutorial please :(

UPDATE

i make the video so please watch it and look what is the problem

[HELP] XIAOMI REDMI 4X FAILED INSTALL CUSTOM ROM (ALWAYS REBOOTING AFTER FEW SECONDS)
[Xiaomi Redmi 4X Questions & Answers] __PG__:
It's a Bug. Maybe Some says Die to low network device reboot. Do Check PE, AEX official ROMs as they have Official Kernel source in someways.. maybe it will fix your issue. Or try Flashing A ROM then any Kernel which is using Official kernel sources(like Clarity kernel)
[Sony Cross-Device Development Themes and Apps] itandy:
** Latest version of Sony Clock app is needed. Please upgrade to version 20.2.A.1.18 if you're using an old version. Download APK. **

This is a simple Xposed module to fix the problem in Sony Clock app that no notification for upcoming alarm is displayed which allows the alarm to be dismissed. In fact I found that upcoming alarm notification is implemented in Sony Clock but due to maybe problem bug, it is not shown from time to time.

Requirements

1. Your phone must be rooted

2. Xposed framework must be installed first http://xdaforums.com/showthread.php?t=1574401

Instructions

Install the module

Run Xposed Installer and enable the module Sony Clock Fix

Reboot the phone

Source code

You can find source code for this module from GitHub here.

Download

Xposed Module Repository
[Samsung Galaxy Note 8 Questions and Answers] shouren04:
Can someone please check if this is normal., on a rooted phone & non-rooted....

Plug in USB OTG card reader, wait until it's recognized (usb icon in status bar). Unmount/unplug card reader, then reboot. Do you get a SD Card notification after reboot?

Everything works fine, I just don't remember getting this notification before.

Thanks
[Samsung Galaxy Note 8 Questions and Answers] SteelPicori:
I get this 80% of the time after a reboot, irregardless of whether i plugged in an OTG or not. If the OTG did unmount your card you would lose access to it instantly. As far as i know the only way you wont be pestered with this is if you choose the adoptable option.

*unrooted carrier unlocked phone on T-Mobile
[Samsung Galaxy Note 8 Questions and Answers] winol:
I get this icon always when rebooting or powering up, the notification says sd ready for transfering files
[Samsung Galaxy Note 8 Questions and Answers] louforgiveno:
Yup, started noticing this behavior on the note 7......like previous poster said, happens to me about 80% of the time after a reboot.

Sent from my God Mode 8
[Samsung Galaxy Note 8 Questions and Answers] KruseLudsMobile:
I have a 256GB card in my Non Rooted OEM Verizon Note 8. I never would get that, but I decided to encrypt my card. Ever since, when I reboot, I get a notification that the card is encrypted, with no options, but when I tap on that notification, it just disappears. I don't mind. However, I have another issue. When I plug in an OTG, nothing happens either. Is there a setting for this somewhere? I had to install ES File Explorer - and that let's me see the OTG. (As soon as I plug one in, the ES File Explorer pops up showing me the OTG...)

- R. Kruse Ludington

Galaxy Note 8
[Samsung Galaxy Note 8 Questions and Answers] winol:
I Use x-plore, shows any external connected memory device I plug, the native file manager sometimes does not recognize them
[Samsung Galaxy Note 8 Questions and Answers] shouren04:
Wow, interesting, I never expected to hear that the notification pops up even when not using USB OTG & with just reboot/power up only. I never got that notification until last night. I'm have a rooted F.

It happened right after I updated to Tkkg1994's latest TWRP. At first I thought it was TWRP as the new version has working USB OTG now but it seems it was just a coincidence. I reverted back to older TWRP w/o working USB OTG & still got the notification. I guess I should have asked this earlier cause last night I even flashed back to stock thinking it had to do with the new TWRP but on stock unrooted fw without TWRP it still popped up. What a waste of time but it didn't take long as I made a nandroid before I started.

I'm not sure if it did that stock when I got my phone back in Aug/Sep cause I rooted my phone only after 2 days & didn't have a USB-C OTG card reader at the time. My micro USB card reader doesn't work with this phone using an adapter. I get the wet USB error, maybe it's the adapter.

@SteelPicori Yeah it doesn't actually unmount my SD card. It was just the only word I can think of to put in the subject to keep it short. SD card works perfectly fine with the USB OTG plugged in. It's just the same message that you get as if you removed & reinserted the SD card.

Only thing I can think of is that it's because of the latest FW, I updated bootloader & rom base version some days ago & I don't think I used the USB OTG since I updated. But no worries, at least I know it's "normal" now. But I don't get it on every reboot, only appears if I used USB OTG. Thanks.
[Samsung Galaxy Note 8 Questions and Answers] winol:
Yes, I think it is normal, the notification informs you that there is a sd card inserted and mounted, ready to use, I got this notif since the first time I inserted a sd card when first start up to config
[Samsung Galaxy Note 8 Questions and Answers] shouren04:
Based on your guys' responses I'll consider normal. Doesn't pop up often enough for me to worry about it, I can always disable the notification if I really wanted to. But I am curious now as to why I never got it before. Only thing I can think of is the updated BL or maybe the new ROM base I'm on. Kernel & modem is still the same that I've been on for some time. Didn't get it with stock rom base & stock kernel which I was running with root for a while.
[Samsung Galaxy Note 8 Questions and Answers] KruseLudsMobile:
My native one never does!

- R. Kruse Ludington

Galaxy Note 8<-5<-3<-S3<-Nexus; Droid X; HTC HD2<-Touch Pro 2<-Tilt<-8525; O2 XDA II<-XDA
[Galaxy Note 10.1 General] renshan1995:
I have come to the conclusion that trying to do highly detailed retouching (like removing ink lines from a face) with a trackball is insane . I think I need a graphics tablet. Could I get by with one of the low end "Star" tablets XP-Pen sells or should I spring for a small XP-Pen Star05 amazon.com/dp/B01MAZ5FDL ? Or are there other, cheaper manufacturers I might consider?

I will be using the tablet for some types of retouching work only, not drawing or anything else.
[Galaxy Note 10.1 General] Crkza:
I think you're on the wrong forum. anyway XP-Pen is good but I recommend the Huion 420. tbh I've only bought it for some weeb australian circle clicking game

btw try asking somewhere else
[Galaxy Note 10.1 General] Riccorbypro:
To try bring the thread back to the device's forum, and to provide a (somewhat useless) insight into this comment:

Do not try to play osu! with the Note 10.1. You won't have a good time, whether you're using opsu! or trying to interface it with your PC because your drawing tab wasn't around and you needed a compromise like I did.

Trying to use any of the apps that claim to bring you tablet pen support for PC with a device like this is a headache... On the other hand, I'd be interested to know if there is someone out there who's willing to try turn this old tab I have lying next to me (and everyone else's) into a dedicated drawing tablet. Not something high end, but since SPen is based on Wacom's old digitiser system from the Intuos4, and the digitisers in the screens of Samsung devices are actually from Wacom AFAIK, it should be possible. Might give the device a third chance at life, after both Samsung and ROM devs have dropped it.
[Galaxy Note 10.1 General] Crkza:
I mean I play osu! on a PC but OK.

Tried using opsu! on the Note 10.1 once. The Input lag is massive and the loading times are extremely slow.

And I tried using both my 10.1 and the Note 3 as a drawing tablet before I got my H420. Anyways I remember there was a kinda full Photoshop with layers for the 10.1, wasn't it? and where can I get it again? I had it preinstalled in the stock rom but now I installed LineageOS.
[Galaxy Note 10.1 General] Riccorbypro:
Yeah I wanted to use the 10.1 with my laptop for osu!. Bad idea that was. I don't remember the Photoshop one, but I do remember AutoDesk Sketchbook(?) worked quite well on it at one point.
[Galaxy Note 10.1 General] Crkza:
Photoshop came with my stock rom tho. probs regionial /carrier differences. I got the tablet from AIS. And yes, I'm Thai.
[Moto G4 Plus Guides, News, & Discussion] SnoopDoge:
Not very sure about the authenticity of the pic provided in this link, maybe someone could dig deep down and flush out the real news (maybe based on the kernel or baseband version) but here is the link:

MOTO G4+ SPOTTED RUNNING 8.0
[Moto G4 Plus Guides, News, & Discussion] corlatemanuel:
It seems fake to me. Also, there is no mentioned source of that screenshot. Also, Moto probably wouldn't have released the February security patch if all the work is focused on Oreo, which shows the January patch in that screenshot.

A L S O, the screenshot doesn't include the build number. That would have helped to confirm that the screenshot is 100% fake. And I would consider it kinda stupid from Moto to release 8.0.0 when 8.1.0 has already been out for months.
[Moto G4 Plus Guides, News, & Discussion] SnoopDoge:
That I agree with, that's why my post didn't say it's real, it happened before with the g5 Oreo, someone faked it using x4 Oreo's build number
[Moto G4 Plus Guides, News, & Discussion] Ayan Uchiha Choudhury:
Did you get the Oreo update then? Otherwise his analysis is dope. Echo is one of the masters when it comes to fixing. Hus saying this means it's the truth.
[Moto G4 Plus Guides, News, & Discussion] echo92:
I get the impression you see the screenshot as real, so I'd like to ask you for your view on why you see this as genuine, or at least not faked. I would be interested in evidence too, e.g. do you have the build on your device? Or at least what you see as 'stupid in faking a screenshot'?

As for the screenshot you linked, that Chinese Moto Z Play screenshot looks genuine to me.
[Moto G4 Plus Guides, News, & Discussion] corlatemanuel:
Here I have done a closer look at the screenshot and a comparison between that screenshot and a screenshot from my build of Lineage 15.1 and found two more details:

1. If you pay close attention/have a well trained eye, you will notice that the spacing is wrong for the Baseband Version when compared to the other elements (Android version, Kernel version etc.). When compared, the spacing between the "Baseband version" and the actual baseband version looks rather like the one on my LOS 15.1 build than the one on the stock Moto ROM, with the two being closer together on LOS 15.1. Though you need to look really close to notice it.

2. When you look at it, there is a part of the baseband version that only the stock ROM (7.0) and the bootloader show. On that screenshot, that detail is next to the baseband version rather than underneath the part that would be found on custom ROMs. Look at the dotted lines.
[Moto G4 Plus Guides, News, & Discussion] Ayan Uchiha Choudhury:
I also think this is fake cuz of the simplest reason that a company would be actually cheating to the customers who bought the g5 family if we had a soak test before them since we are an older model. Even if the company had a soak test ready they would hold till ALL the g5 phones had a soak test out and then would release for g4 plus. I doubt Lenovo would want an uproar from the community.