yashsingh1/xdaforums huggingface dataset:
[MDA III, XDA III, PDA2k, 9090 General] comolovate:
I can't be of help but I am having the exact same problem. Just as you described it. It was running fine for over a week and then it just started. I hope someone can help us.
[Droid Ultra General] Al936:
First of all: Tool to be used in this guide was developed by user And_pda from Russian 4pda.ru forum. So all credits must go to And_pda

The original thread (in Russian) is here. Actually the original thread is about several tools to works with different images for different phones. But we will talk only about Moto X.

The guide will describe how to extract all files from system partition from stock firmware. The tools works under Windows (I personally tested it on Win 7).

If you unzip any stock firmware you will find one file, which represents system partition: system.img.

To extract all files from system.img please do:

1. Download ImgExtractor_1_3_4.rar and extract it.

2. Create directory System in the folder where system.img is located;

3. Copy ImgExtractor.exe into the folder where system.img is located;

4. Run CMD and "cd" to the folder where system.img is located

5. In CMD run the following: ImgExtractor system.img System

After ImgExtractor finished you will have all system files and folders in System directory.

That's all :)

PS. ImgExtractor also can extract modem firmware (NON-HLOS.bin)
[Droid Ultra General] djnikko:
Anyway to extract system image on 4.4, inject su binary re-image, and msfastboot flash?
[Droid Ultra General] aviwdoowks:
Maybe. But to get the locked recovery to flash it must be signed by moto thousand bit code.
[Droid Ultra General] Jaocagomez:
extract for something like my signature?
[Droid Ultra General] skulldreamz:
Hey this will mos def save some time. Thanks my dude

Sent from my XT1095
[Droid Ultra General] mr_verystock:
Can you get this to work with motoboot.img? It'll make it possible to downgrade to bootloaders such as 4-21, 3-15, etc.
[Droid Ultra General] carbonat87:
Phone's cid partition changes with every firmware update so bootloader downgrade will not work. The phone just won't boot up. I know the man who tried all this tricks - he flashed dumps from phones with unlocked bootloaders.
[Droid Ultra General] Almighty1:
Pretty cool tool... I just wished it would keep the original timestamps for the directories and files....
[Droid Ultra General] rezaind59:
Is there any way to assemble extracted files and build original system files?
[Droid Ultra General] Ale95:
Latest version if any need it
[Droid Ultra General] Almighty1:
It can't handle large img files though.
[Droid Ultra General] djcristi:
works on Samsung Galaxy S6 , Note 4 , cache.img , hidden.img , files which ext4 unpacker couldn't handle.
[Droid Ultra General] Almighty1:
How big were the img files? It can't handle the 4GB LG G4 .img files but works fine with the smaller Motorola RAZR HD Maxx .img files.
[Droid Ultra General] djcristi:
i used it only for cache and hidden, so <250MB. I didn't tried on larger files.
[Droid Ultra General] Almighty1:
That's why it works.... the Motorola img files were 1 GB or less... it can't handle the LG G4 files.
[Droid Ultra General] djcristi:
it would be great if the author patched/forked the original ext4 unpacker, so it can open newer img's like this (sparse with moded header) , so we would've had a GUI, because imgextractor is only text.
[Droid Ultra General] Almighty1:
imgextractor is the only one that works on Motorola img files.
[Droid Ultra General] djcristi:
yes, even with Samsung Galaxy Note 4 / S6 and newer devices, on the IMG file - the ext4 sparse header is not standard, but i said, since this program (imgextractor) is based on ext4 unpacker sources, it could've keeped that GUI and only mod a little.

Anyway, you could also open IMG with the original ext4 unpacker if you fix it first with IMGEXTRACTOR. to fix: convert IMG file from MODED SPARSE EXT4 to normal EXT4 (> imgextractor.exe original.img temp.ext4 -conv) and then back to FIXED SPARSE EXT4 (> imgextractor.exe temp.ext4 fixed.img -conv). Now open fixed.img in ext4 unpacker program and it will work.

l.e. I found what the problem was, on Samsung Exynos devices, and the newer ones, the IMG files headers are 32 bytes, instead of the normal 28, Chainfire explains it here. So that's why ext4 unpacker gives error on opening. For alternative fix (instead of the conversion i explain upper in this post using imgextractor) you can use Chainfire's sgs4ext4fs tool , works on Windows/Linux, builds and other useful tool here.

Also there is a tool for Motorola IMG files there, see the Usage section.
[Droid Ultra General] 2909luboy:
gracias

tanks bro work in motorola razr hd stock kitkat system.img :D
[Droid Ultra General] xXx:
I believe you want be able to utilize Imgextractor as the S7 system.img exceeds the supported size of the Imgextractor
[Droid Ultra General] lokopepe:
I extract system.img from Huawei P8 Lite MM >2 gb whitout problems.

Regards
[Droid Ultra General] qasim799:
[MENTION=438797]Al936[/MENTION] i need help when I extract system.img of s6 verizon sm-g920v i get this everytime. I tried this on many firmwares.

ImgExtractor version 1.3.4 Created by And_PDA Based on sources ext4_unpacker

Extractor for images in EXT2\EXT3\EXT4\YAFFS2\CRAMFS filesystem formats

support SPARSE\SIN\MOTO structure formats

Open image file system.img (size 4592762880 bytes) successfull...

Analize format of file. Please wait...

Found SPARSE FORMAT

Found EXT4 FORMAT

free space in image 136851456 bytes

Extract started. Please wait...

Exception EListError in module ImgExtractor.exe at 000163AA.

List index out of bounds (234283).
[Droid Ultra General] alexceltare2:
Update 1.3.7

For those still using the utility, and_PDA has the latest (2015) version of ImgExtractor ver. 1.3.7. Update includes an output text file with all the file permission for each file in the .img. Check attachment for download.
[Droid Ultra General] erexx:
Drag and drop the image on top on the exe. Easy.
[Droid Ultra General] Captain Danger:
I am getting List index out of bounds (524032) error. Any fix for this?
[Droid Ultra General] Captain Danger:
Or does that mean the ext file is corrupt/missing something?
[Android Software/Hacking General [Developers Only]] Android-fany:
±SmartFluid±​

Hello everyone,

this is a another contribution by me. This time it's a SCRIPT. I took some code from another scripts, modified them a little bit and added some own code. I tried it myself and saw more speed. Well, don't have much to talk about, so let's start...

Features

• Disable/Enable logger with terminal commands (Disable for more performance)

• R/W tweaks

• Network tweaks

• Better Remount

• Replaces /dev/random with /dev/urandom for more performance (maybe placebo)

• Disables syncookies

• Disable Journaling (only effective if you have EXT4 filesystem)

• Set Renice to make phone more effective

• FPS Stabilizer

• Some Important Build.prop tweaks

• And much more... Test it yourself ;)

To do things, write following in terminal:

su
smartfluid

Installation

1. Flash into your recovery

2. Mount /system AND /data

3. Flash the script

4. Enjoy!

If you want to uninstall this script, download the Uninstaller from the attachment and follow the above instructions.

Credits

pikachu01

ImBaWind

Pizza_Dox

tazlooney89

Me :)

And with some help from:

[MENTION=5248028]devloz[/MENTION]

[MENTION=5010031]Sniper Killer[/MENTION]

[MENTION=5005308]El_Dark[/MENTION]

If you have any question or suggestion, don't hesitate writing to me.

The latest attachment is the newest version.
[Android Software/Hacking General [Developers Only]] devloz:
Hello!

I'm using your script from 1.0 and I'm glad to see that your script goes global :)

Best regards.

EDIT: Instead of journey write journaling, it's something totally different.
[Android Software/Hacking General [Developers Only]] andynroid:
JB compatible?
[Android Software/Hacking General [Developers Only]] Android-fany:
Ran fine on my N5 with Kitkat. So it should work with JB too.

Gesendet von meinem Nexus 5 mit Tapatalk
[Android Software/Hacking General [Developers Only]] arana1:
how much speed gain would you say you got with this? ie 10% 15%? aprox?
[Android Software/Hacking General [Developers Only]] Android-fany:
Hard to say. Try it and you'll see ;)

Gesendet von meinem Nexus 5 mit Tapatalk
[Android Software/Hacking General [Developers Only]] arana1:
hmm thats what i wanted to avoid :P, i mean if its negligible i wont try it (you said some stuff migth be placebo effect) so maybe the other stuff is to few to worth it (well particularly that is what i think of overclocking in general, your approach migth be better)
[Android Software/Hacking General [Developers Only]] Android-fany:
That doesn't mean it doesn't have any effect at all. It might not work with some devices, but it won't have any negative effect at all. The only way to find out it's effect on your device is to flash it :D

Gesendet von meinem Nexus 5 mit Tapatalk
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] danielbulan97:
Hello,

Any suggestions on what/which rom,kernel,governor to use to have a great gaming experience on our S Advance ?
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] d@rkl0rd:
I would suggest you CM11 based ROM, for example Dirty Unicorns. I'm using it and I feel its gaming performance is good.

Governor and I/O scheduler I would suggest pegasus/ondemand with sio. You can also use performance as governor but keep in mind that it will always clock at max cpu frequency. Remember to change to other governor after exit the game if you don't want to have excessive battery drain.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] danielbulan97:
I will try, thanks.

What do you think about sioplus ?

EDIT: This is what Flo0008 said

Do you face this bug too ?
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] d@rkl0rd:
No, I'm not facing this bug, probably because of I'm using dual boot
[Galaxy Ace II Android Development] judas1977:
I take no resposibility if something will go... not as it supposed to. The responsibility for potential damages caused by installing or using of this ROM is Yours, and Yours only!

My ROM is released „as is” – you don’t like it – don’t use it.​

--------------------------------------------------------------------------------------------------------------------------------------

Important!

Any Galaxy Ace II ROM based on Android 4.2.x+ has to be installed over Android 4.1.x+ (stock ROM, CM-like customs). You will need custom recovery (temporary one is good enough)

It is strongly recommended to make a backup before installing of ANY ROM!

​

------------------------------------------------------------------------------------------------------------------------

ANNOUNCEMENT!

I think i will update that ROM twice per month weekly for now, because Carbon devs are working hard to improve ROM.​

Download:

BUILD 18 [2014-11-22] DEODEXED

BUILD 17 [2014-08-02] FINAL - ODEX

BUILD 17 [2014-08-02] FINAL - DEODEX

Older versions:

BUILD 16 [2014-06-28]

BUILD 15B [2014-06-12]

BUILD 13C [2014-06-03]

BUILD 10 [2014-05-04]

BUILD6B [2014-04-04]

Installation:

1. Put ROM’s Zip file Zip z ROMem (and other zip files - optionally) on SD Card

2. Enter Recovery Mode

3. Pick options:

a) Wipe Data/Factory Reset

b) In mounts and storage choose: Format System

c) (just in case) Mount system partition (it supposed to be unmount visible)

4. Choose Install Zip (or similar, depends on recovery version)

a) Install ROM from SD card

5. (optional) installing Gapps and other add-ons

a) In mounts and storage Mount /system (as described above)

b) Choose install zip and install chosen add-on

c) repeat a and b points for any other add-on

6. Reboot Phone (first BOOT could take a while)

Github Sources:

Teamcanjica

Carbon ROM

Credits: ​

- Samsung – for a decent phone;

- CyanogenMOD Team, Carbon Dev Team – for ROM sources;

- TeamCanjica, dh.harald i SakuraDroid – for great contribution to codina device/kernel sources;

- mikesz98, percy-g2, munjeni - fixes, translations

- everybody who deserves it, but i forgot because of my faulty memory;).
​

Like my work? Donate to me: ​

Donations:
​

- koozzkoozz (from polish android forum) - 2,61$ (3,00$)

- Paco1416 (from XDA) - 4,50$ (5,00$)

Overall: - 7,11$ (8,00$)

----------------------------------------------------------------------​

XDA:DevDB Information

[ROM][4.4.x] Carbon - KitKat EDITION [Unofficial][2014-03-01], ROM for the Samsung Galaxy Ace II

Contributors

judas1977, Rox, Zwliew, cocafe

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.0.x

ROM Firmware Required: Any JB ROM for Galaxy Ace II

Based On: AOSP

Version Information

Status: Stable

Current Stable Version: 2014-11-22

Stable Release Date: 2014-08-07

Current Beta Version: 2014-11-22

Beta Release Date: 2014-03-01

Created 2014-03-02

Last Updated 2014-11-23
[Galaxy Ace II Android Development] judas1977:
Some screenshots:

----ANNOUNCEMENT----

Hereby quest for glory and wealth is over!!!

Some of you could think, that i made all that published ROMs for myself. And then i, seeing that was decent work, decided to share with community...

NO, NO, NO - you are WRONG!!

It was made for two purposes only - for fame and wealth!

And now, after one short year - i am famous. People recognize me on the streets (many of them want me to give an autograph), presidents of many cities and even countries want to have selfies with me, stranger women want to seat on my knees in public places...

And yet about richness...

Another goal achieved. Two people donated to me - 3USD + 5USD (i'm freakin' rich now, even despite of fact, that paypal took some from that amount).

I became so rich, that i didn't accept donation for my ThinkingBridge ROM (not because i thought it was too little of my work on that ROM - don't let be fooled, but because that i was too rich [by donations] already).

I won't say goodbye, because there was my farewell, when i "lost" my phone [actually, it was cheap action to gain donations, right?]

And then i didn't accept donation in the form of Ace 2 from the same person [ThinkingBridge case] - the reason was the same... too rich.

And now, when i'm so rich and famous - i decided generously to give you one last build [in two variants] of Carbon ROM. Campaign is OVER!.

OK, back to serious.

Last months was a great time for me - i learned many things about modding, bit about "programming", about "source code" and compilation. Now i see some things easy, things that i considered as "from outer space", when i had have previous phones. And i've met many interesting, valuable people. We have great community, people leave, but there are new people coming...

The amount of various ROMs for our Codina's is really impressive...

I think i'll stay about a quarter of year with codina. I will make some private builds in the meantime (probably), but maybe i'll just stick to one of existing ones... Last AOSP is really impressive in terms of stability.

So why to end now? Hmm... i'm bit tired, tired of doing trivial things (like changelogs), tired of one's expectations... The accusations of running some campaigns for selfpromotion and killing (spoiling?) other's work [i didn't know that my builds of SlimBean 8.1, Vanilla Root-Box, Mahdi, Omni were so much worse than previous ones, sorry] also didn't help.

One more thing - i'm not a developer. Never considered myself to be developer. My job, apart from modding stock ROM, was to adapt existing source code to build specific ROMs. I just did some specific changes in code to add some functions, but it wasn't much. So i'd call myself a contributor rather than a dev [that way you will not loose another developer;))]

Good bye, and good luck!
[Galaxy Ace II Android Development] judas1977:
TRANSLATION HELP!!

​

You can find carbon settings english file here: http://d-h.st/yh1

It is "couple of lines" of text to translate...

And it would be best to use Notepad++ or other "non windows native" text editor to avoid some problems;))​
[Galaxy Ace II Android Development] judas1977:
Yes, I wanted to add it, but someone "jumped" with his "I'm first" post, thank you
[Galaxy Ace II Android Development] tofueatsbread:
Gj bro! (I had too many building erros :/) bugs?
[Galaxy Ace II Android Development] judas1977:
Bugs will be (are) listed in post tw*, oh, wait - three _-_

Just like other KK ROMs i think...
[Galaxy Ace II Android Development] zaryab360:
Is sending files via Bluetooth working?

Accidentally sent from my Ace 2!
[Galaxy Ace II Android Development] tofueatsbread:
It should be. I thought bt issue was only on 3.0.101 kernel
[Galaxy Ace II Android Development] exodius48:
whats not working on this rom?
[Galaxy Ace II Android Development] pedroleon99:
Bugs are in the third post ;)

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Galaxy Ace II Android Development] judas1977:
@up

Now, thanks to moderators, bugs are actually listed in second post.

And, BTW, new build is up (I'll need to add link though)

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] arpit85:
A-GPS works good.
[Galaxy Ace II Android Development] arpit85:
Playing embedded YouTube videos in stock browser (webpages) cause force close.
[Galaxy Ace II Android Development] mrrebellex:
Whit youtube apk works

---------- Post added at 04:49 PM ---------- Previous post was at 04:44 PM ----------

Whit stock browser works you must clear data cache stock browser SPK sort for my bad englich

---------- Post added at 05:04 PM ---------- Previous post was at 04:49 PM ----------

Thank judas for this great rom and ı will and hope build judas kernel whit 900 and 1000mhz frequency :)
[Galaxy Ace II Android Development] judas1977:
Hmm... actually - i'm not a kernelsmith... All i did with kernel was adding governors in Android 4.2.2 ROMs... I'm not hardcore gamer (at least not ATM and not on smartphones) - so i don't need additional power;).

Hmm... i barely use stock browser, but i checked and youtube videos works for me...
[Galaxy Ace II Android Development] tofueatsbread:
Use maclaw cm11 kernel if you cant manually enter commands in terminal :p
[Galaxy Ace II Android Development] mrrebellex:
İs there kernel zip can send me the link and work this whit carbon rom
[Galaxy Ace II Android Development] ItsHumf:
What governor and i/o scheduler is best for multitasking and gaming performance?

Just curious because you added Sioplus scheduler and added PegasusQ governor in build 1.
[Galaxy Ace II Android Development] judas1977:
Actually - [MENTION=4947931]Rox[/MENTION] add it;) (but i'd add it anyway, if he'd didn't do it;)).

I think that for multitiasking most important are minfree values, and it not depends on kernel...

And performance governor will be probably best for gaming/performace if you want to be sure;)).

I saw gaming (or gamers or sth) governor, but i didn't have the time to look at it closely - i'm not a smartphone gamer, again)
[Galaxy Ace II Android Development] Flo0008:
Can anybody try the camera? It wouldn't work in the new build for janice by me :(

Gesendet von meinem GT-I9070 mit Tapatalk
[Galaxy Ace II Android Development] pedroleon99:
Not sure if this can help you, but try to take a look

http://xdaforums.com/showpost.php?p=53222295&postcount=997
[Galaxy Ace II Android Development] Flo0008:
Thank you very much!! :D

Gesendet von meinem GT-I9070 mit Tapatalk
[Galaxy Ace II Android Development] danny19901:
Downloading for Ace 2 I noticed no one had downloaded and seems promising thank you
[Galaxy Ace II Android Development] pedroleon99:
Oh, I just try to help the people :D
[Galaxy Ace II Android Development] danny19901:
Ok I have download and full wiped and flashed its awesome but may I ask what's best governor as interactive ain't available and I love interactive so ATM I don't know what's best as smoothest and fastest so far I have had 1 fc and that was with logging in to G+ but its all fine now

Also camera is working fine here I used focal on codina (Ace 2)

Also stock camera with ROM works fine although gallery isn't loading all my pictures only some

Judas in next build can I ask you to take a look into something as you can see in screenshots I use xposed and tinted status bar but my only issue is in certain apps my status bar goes white and makes my circle battery icon not visible and its only in this ROM I have noticed so far that the battery icon won't theme to black or any other colour for that matter and only stays white.
[Galaxy Ace II Android Development] judas1977:
Some news:

I'm testing new build, with hover... More 4.4.3 than build 14...
[Galaxy Ace II Android Development] danny19901:
Using 4.4.3 Carbon with Zwliew 26th may and works flawless no issues took a gamble see if it worked
[Galaxy Ace II Android Development] judas1977:
Some new screenies (changes not necessary from last build, but all relatively new)

Hover enabled...

Clock shows seconds :)

New tiles (compass, performance profiles). Do we have compass hardware?:)

New theme engine

Self explanatory
[Galaxy Ace II Android Development] tofueatsbread:
i tried before, i think compass works... or so..
[Galaxy Ace II Android Development] str3tch72:
So when it will be avaliable bro? :)

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] judas1977:
Some cleaning and update:

BUILD 15B [2014-06-12]

* Carbon sources update [up to 2014-06-12]

- Fully updated to 4.4.3

- Added ability to launch default gallery app when long pressing camera quick tile

- Added ability to show seconds in statusbar clock

- Added new 4.4.3 dailer

- Added a compass quick tile

- Added ability to activate lockscreen torch by long pressing

- Removed double-tap and long press to avoid conflicts with double-tap statusbar to sleep feature

- Some fixes to InCallUI layout

- If you had dark digits in the dialer, this should be fixed

- Moved PEEk to CarbonFibers>Lockscreen>General

- Enabled inCallUI transparency by default to avoid cut off pictures

- Some fixes for Peek

- Added Hover(Swipe down notification shade and click the icon on the top right to activate)

- Many other fixes

* Device sources update [up to 2014-06-12]

Issues of Build 15B:

- PEEK can't be turned on (or off - if you came from previous build without factory reset when PEEK was turned on;)). Will be fixed in next build.

BUILD 15B should be released in 10 hours...

BUILD 15 [09-06-2014] - niewydany

- unreleased due to Wi-Fi bug

BUILD 14 [2014-06-08]

* Carbon sources update

- partially updated to 4.4.3 android version

- Added Shake to Secure from Slim: When you shake your device, it temporarily enables a secure lockscreen. Upon successfully unlocking the device, security is disabled

- Added Gesture Lockscreen

- Returned to CM LockClock

- Renamed “Installer” to “Persistence”

- Added Music Equalizer quick tile [looks really cool - judas]

- Many other minor changes

* Device sources update

[DEAR M.F.G.- thank you for donation. Could You write PM to me, because i want to add your donation to OP, and i think i don't know your xda user nick ^^.]
[Galaxy Ace II Android Development] Nathanabrahams:
How good is hover ?
[Galaxy Ace II Android Development] judas1977:
@up

I have no idea;) [don't even know if it's working;))]

BTW - new build is up...
[Galaxy Ace II Android Development] str3tch72:
Can You give me the link for latest version? I don't see it on Your dev-host :)
[Galaxy Ace II Android Development] judas1977:
I thought that OP is for such purposes :)
[Galaxy Ace II Android Development] str3tch72:
I am idiot, thanks a lot bro :D downloading and testing :)
[Galaxy Ace II Android Development] judas1977:
don't be so harsh for yourself ;)
[Galaxy Ace II Android Development] dragos281993:
I've been using this ROM for more than an hour now, and I can say that it's absolutely awesome. The smoothness is unreal and I love the keyboard. The cherry on the top of the cake would be some "scrolling adjustments" in settings. That would make the device even more smooth than already is. But of course, that depends on you, whether you wanna add this feature or not.