yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] xpirt:
updated OP guide, thx to [MENTION=3057569]Hero[/MENTION] for some hints. also updated link of the img2sdat.zip file, should be the original one now.
[Android Software/Hacking General [Developers Only]] hardythaker:
Anyone tried flashing with modified system.new.DAT ???
[Android Software/Hacking General [Developers Only]] rogersa2k:
I'm getting the same errors on my Win8.1 64-bit box as on Ubuntu...

$ python img2sdat.zip my_new_system.img new
img2sdat tools from Howellzhu@gmail.com
Total of 524256 4096-byte output blocks in 737 input chunks.
Generating digraph...
Finding vertex sequence...
Removing backward edges...
0/0 dependencies (0.00%) were violated; 0 source blocks removed.
Reticulating splines...
Traceback (most recent call last):
File "D:\Storage\Python27\lib\runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "D:\Storage\Python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "ota17/__main__.py", line 17, in <module>
File "ota17/img2sdat.py", line 12, in main
File "ota17/blockimgdiff.py", line 228, in Compute
File "ota17/blockimgdiff.py", line 307, in ComputePatches
File "ota17/sparse_img.py", line 114, in ReadRangeSet
File "ota17/sparse_img.py", line 159, in _GetRangeData
MemoryError

Edit: I just deleted everything on my Ubuntu 14.10 64-bit VM and re-downloaded everything. At step 3 I got basically the same error as above. I then did mkdir new, and this time it worked.

Edit #2: Okay, I just went through the entire process on my Ubuntu box and figured out what I did wrong the second time... I typed /new instead of just new. What's interesting is that on Ubuntu you get an error like the one above. My guess is that there is a similar issue with Windows. Perhaps you need to use the full file path?

http://xdaforums.com/showpost.php?p=58762570&postcount=145

I will try to test this out soon but honestly without knowing how to do step #2 - i.e. modify the .ext4 file - I won't do this with Windows.

- Aaron
[Android Software/Hacking General [Developers Only]] howellzhu:
windows tool to convert raw ext4fs image to system.new.dat

Some guys met problems using this img2sdat.zip tool. Now I provided a windows/linux binary to convert raw ext4fs image to system.new.dat.

You can visit this web for details (if you know Chinese or you use Google translator ): http://blog.csdn.net/howellzhu/article/details/43715173

Also I paste the tool here, but it should be noted again:

you should make a RAW EXT4FS IMAGE rather than a SPARSE EXT4FS IMAGE. If you use make_ext4fs tool to make an image, DON'T use '-S' argument.

rimg2sdat.exe for windows: View attachment rimg2sdat.exe.zip

rimg2sdat for linux:View attachment rimg2sdat.zip

Thanks for [MENTION=5132229]xpirt[/MENTION] to arrange these fragments.

Good luck!
[Android Software/Hacking General [Developers Only]] xpirt:
updated both guides! thx [MENTION=6262977]howellzhu[/MENTION] for the rimg2sdat binaries, now you can decompress/compress dat files on Ubuntu x64 without any problems. same for Windows, except for the 2nd step that must be done on cygwin or ubuntu.

enjoy!
[Android Software/Hacking General [Developers Only]] chuyennho184:
Hi [MENTION=5132229]xpirt[/MENTION]

I have a system folder extracted from system.ext4. I modified everythings and want convert system folder to system.img.ext4 in windows. Please guide to me use cywin to convert to system.img.ext4. Thanks!
[Android Software/Hacking General [Developers Only]] xpirt:
it's already wrote in OP how to do it for linux, the same is for cygwin. though you will need the make_ext4fs to be compiled for your arch (x86 or x64), anyhow it's simpler if you install ubuntu on a virtual machine and do want you have to do there.
[Android Software/Hacking General [Developers Only]] Justatechie:
I was smooth sailing until hit this.

./make_ext4fs -T 0 -S file_contexts -l 1074741824 -a system system_new.img test/ test is my output folder

Edit: And I get is no such file ore directory

Tried many combinations still the same error. I have installed lib32stdc++6 still no changes

Also it recognizes the command now
[Android Software/Hacking General [Developers Only]] xpirt:
set proper permissions?
[Android Software/Hacking General [Developers Only]] hardythaker:
Make sure you have latest make_ext4fs(download from op)

And also you have to place "file_contexts" ( you will get this in ROM folder or zip file) in the same folder were your mount folder and make_ext4fs is placed .,...

then run that command
[Android Software/Hacking General [Developers Only]] Justatechie:
Got the latest ( I didnt think it would change in a day but i did it anyway)

So your saying is probably looking for the file contexts? ill try that later today and see what happens

Edit: I'll do the whole process again just to be safe, don't want to screw anything up

Edit2: It worked!!!! thanks
[Android Software/Hacking General [Developers Only]] xpirt:
as it's wrote in OP you must have the file_contexts file in the same directory as the binary, previous steps are separated by this one so you can just redo this step.
[Android Software/Hacking General [Developers Only]] AlessandroXCV:
Hi man, thanks a lot for your work. I'm following this thread since December.

I did all wrote in OP and I've decompressed and compressed back, latest CyanogenMod 12 for Nexus 5, without mod nothing.

I've found a problem - Root access doesn't work anymore. What can be the problem? I tried many time with several nightlies.
[Android Software/Hacking General [Developers Only]] hardythaker:
Same here just flash half n hour ago got this same problem root access doesn't work
[Android Software/Hacking General [Developers Only]] diemhenmobile:
make_ext4fs file not ok windows
[Android Software/Hacking General [Developers Only]] xpirt:
1. don't quote first posts

2. i've already said that make_ext4fs is a linux binary file that must be used in cygwin or the step must be done on linux
[Android Software/Hacking General [Developers Only]] Crash:
great tool thanks for share :D
[Android Software/Hacking General [Developers Only]] k2wl:
any mirror other than mega for linux version???
[Android Software/Hacking General [Developers Only]] opssemnik:
Just a tip, on windows, you can use ext4_unpacker to skip the other steps, so you just need to convert the dat to the img, and then use ext4_unpacker, no need for cygwin

PS: this is only for extracting dat files
[Android Software/Hacking General [Developers Only]] xpirt:
there's no option to compress it back
[Android Software/Hacking General [Developers Only]] xzyk:
Doesn't work well in Cygwin

I think this thread needs clarification because linux commands given are not working under Cygwin.

1. sudo doesn't exist in Cywgin.

2. ./make_ext4fs is an ELF file and therefore doesn't execute in Cygwin directly.

3. mount -t is an invalid arguement in Cygwin.

I think the advise should be to stick to a linux distro or run it in a virtual environment under windows. Trying to use the commands given directly in a windows/cygwin install is going to drive you crazy.

Thanks for the tutorial though cause it does make you find out things and after all that is why XDA is so great !
[Android Software/Hacking General [Developers Only]] hardythaker:
Just use vmbox and load ubantu in that if you are facing problems
[Android Software/Hacking General [Developers Only]] dsilx:
help

OK so I found a tut where u use twrp and make a restore image of the system but I don't know how to make it into a system.new.DAT file after
[Android Software/Hacking General [Developers Only]] aguaz:
I'm building cm-12.0. Is there a way to tell the build process to revert to the old 'package_extract_dir' zip images?
[Android Software/Hacking General [Developers Only]] xpirt:
yes, thx to [MENTION=5666997]Elluel[/MENTION], follow this:

1 - Delete this line

2 - Make sure you have this commit

also updated OP..
[Android Software/Hacking General [Developers Only]] androcraze:
These scripts work fine on 5.0 ROMs (both Linux and Windows).

On 5.1, the scripts are failing with "Error command 0". Has something changed?
[Android Software/Hacking General [Developers Only]] xpirt:
yes google slightly change their source. will look into it asap.
[Samsung Galaxy Pocket Neo S5310] happyhere:
Hello i am pocket neo 5312 user and we fixed app fc issue by:

1- Using root-mode in file manager or some manager file apps

2-Go to /system/vendor/

3-Delete gfx.fw

Done ;)

Credits: Artem Borisov , Karim Gahgah ( S5312/5310 Group)
[Android Apps and Games] katpup:
I know the 750 is an lg product and it works with the bt app but the 760 is chinese junk that doesnt ...can someone

Please take the bt app and patch it so that it works with all stero headsets ....i am tired of overpaying for lg

This may be cheap but it works ....anyone up for it ?
[Xperia Z3 Compact Q&A, Help & Troubleshooting] lazygeniuslanz:
What's the difference between throw, screen mirroring, and cast screen. Ive tried throw and screen mirroring but its like no difference at all. It just shows your phone screen on a tv and thats all. But one thing that Ive seen is screen mirroring has more lag than throw. But whats really the difference of this three display connection features. And another thing, what is that mhl cable?
[Xperia Z3 Compact Q&A, Help & Troubleshooting] Huli13:
Good question. I would like to know as well.
[Xiaomi Redmi 1S] Abhishek699:
Hi guys cm12 for our redmi 1s.but it has no signal problem & originally posted by syhost

Its only a test version so only try if u want to experience 5.0

Password : VN5D

http://vdisk.weibo.com/wap/lc/3GZHFAd4U83EDmZOZA7?location=35&skiplogin=1
[Xiaomi Redmi 1S] sathyakaushik4:
can we change language to english???
[Xiaomi Redmi 1S] Abhishek699:
Its only in Chinese
[Xiaomi Redmi 1S] reddysai:
any idea on how to get cellular network on this device after installing this rom
[Xiaomi Redmi 1S] Abhishek699:
Devs working on Mokee 5.0 but they did not get signal yet if mi will launch kernel sources then we will definetely get a stable cm12 based rom
[Xiaomi Redmi 1S] zelendel:
So let me get this right. You are posting work that is not yours even though it is against our rules?
[Xiaomi Redmi 1S] gpreetham:
Waiting for RIL fix for this rom and Kernel source for our Redmi..:(
[Xiaomi Redmi 1S] Abhishek699:
Sorry but i have posted it only for informing everyone & i'm not saying its mine work i have written there "By Syhost"
[Xiaomi Redmi 1S] zelendel:
And I take it you have his permission to do so?
[Xiaomi Redmi 1S] Eziogamer:
Check this link http://en.miui.com/forum.php?mod=viewthread&tid=77187&mobile=2
[Xiaomi Redmi 1S] deathscream:
MODERATORS Please close this thread.

Moderators...Please close this thread ...as this is likely to mislead users.

Just to quote a reply from MIUI forum

.ril is radio interface layer....the driver that is needed for the working of the gsm modem [in other words" the thing needed to make phone calls] is missing....even if you restore imei I don't think it will work...imei is just a number ...Without RIL..its like there is no hardware in the phone to make calls...

Also, re-writing / writing IMEI number is illegal in every part of the world.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Tonio78r:
I all, I'm wondering how to fix LTE missing/not working in a rom. In fact I'm using this ROM for not so much time. I can't connect/enable LTE. Ive tried :

- Typing *#*#4636#*#* and phone setting I can't set LTE/GSM/CMDA auto. It never stick to it and revert back to WCDMA only everytime.

- Setting telephony.lteOnCdmaDevice to 1 in build.prop (was 0)

- searching for files matching lte in /data/property

But I have'nt find any useful things :(

The dev is living in a country without LTE access so I cannot test it...

Is there somebody here who know if there's something to do to fix it or have any idea ? :)

Thanks in advance for your help !
[Xperia Z1 Compact Q&A, Help & Troubleshooting] pargas:
What were your steps to install? I have .157 + root + dual recovery and might try this to see if 4g works(Finland). May take a couple of days though..
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Tonio78r:
1. I've flashed generic .157 firmware (clean install)

2. rooted this one

3. installed dualrecovery

- in recovery-

4. wipe system, cache, dalvik (don't wanted to loose all my data :( )

5. flashed [ROM][4.4.4][Z1][Version 2][ST Ultimate ].zip

6. flashed [Xperia Z1][Version2.2][ ST Ultimate ROM].zip

7. flashed [ST][ Patch Z1C].zip

8. flashed Z1C-lockeddualrecovery2.7.154-BETA.flashable.zip

9. wipe cache, dalvik

10. reboot

Maybe full wipe is essential ? :rolleyes:
[Xperia Z1 Compact Q&A, Help & Troubleshooting] pargas:
If i try to download the z1c patch it just gives me C6943 patch. Did you find it?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Tonio78r:
I've managed to make it work, but a little tricky. Here is the link.

I've changed the build.prop to match with Z1C but not sure it's related...

##### Values from product package metadata #####

ro.semc.product.model=6903

ro.semc.ms_type_id=PM-0450-BV

ro.semc.version.fs=GLOBAL-HSPA

ro.semc.product.name=Xperia Z1C

ro.semc.product.device=D55

ro.product.model=D5503

to

##### Values from product package metadata #####

ro.semc.product.model=D5503

ro.semc.ms_type_id=PM-0640-BV

ro.semc.version.fs=GLOBAL-LTE

ro.semc.product.name=Xperia Z1 Compact

ro.semc.product.device=D55

ro.product.model=D5503
[LG G Watch R] jhun80:
Any voice recorder app for this watch? Save to watch memory or phone option. Any6?
[LG G Watch R] dersie:
Wear Audio Recorder
[LG G Watch R] jhun80:
Thanks
[8525, TyTN, MDA Vario II, JasJam ROM Development] MrDSL:
I couldn't find anyone else complaining about this which surprised me.

I have tried all ROM's so I assume this is a WM6 issues but in WM5 with my 8525 when using the vibrate function whether it be for phone calls or new emails etc it would be a nice long constant vibrate.

Now with WM6 the vibrate function is a wimpy ass short 3 vibrate pulses. I mean I carry my phone right on my belt and I can barely feel it go off sometimes.

Is there a way to change this in anyway?
[8525, TyTN, MDA Vario II, JasJam ROM Development] wbless:
It vibrates AND sucks and you Complain ??

(sorry, couldn't resist....)
[8525, TyTN, MDA Vario II, JasJam ROM Development] MrDSL:
HAHA

but its my phone not my girl :-)

Man I can't believe I'm the only one that this bothers and I can't find anyway to change it :-(
[8525, TyTN, MDA Vario II, JasJam ROM Development] chamelion:
LOL! 10/10 :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] kha:
Finally usable vibrate, the wm5 constant vibrate was so loud and hard that it was impossible to hear ring tone beneath it :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] gingercat:
WM5 used to sound like a cow mooing if on a wooden desk.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lordsmiff:
Now that's funny :)

Anyway, to try and give a possible solution (cos I don't always just complain about people posting repeat questions :) ) I remember reading something about ring \ vibrate patterns ages ago...

If you look in the blue angel wiki reg hacks page (here) there is a section about a third of the way down about phone settings and there's quite a bit there.

I've not tried it but it seems likely to be the fix :)

Good luck!
[8525, TyTN, MDA Vario II, JasJam ROM Development] MrDSL:
Yes but that is for just the standard ringtone because I already tried it. That hack doesn't do anything to the vibrate function for new email notification..

So my search continues but thanks..
[8525, TyTN, MDA Vario II, JasJam ROM Development] panzer:
some people are hard to please :D
[8525, TyTN, MDA Vario II, JasJam ROM Development] unwired4:
I love the three short bursts... just enough to tell me theres a message but not too much to make my trousers look like there's a ferret in there trying to escape (like in WM5)!
[8525, TyTN, MDA Vario II, JasJam ROM Development] MrDSL:
Honestly I thought the same thing at first but I have noticed recently that I am missing them because its just not strong enough..Heck if I could up the amount of times to like 6 maybe that might help also..
[8525, TyTN, MDA Vario II, JasJam ROM Development] MrDSL:
Ok so to change the vibrate function during a phone call ring its

So I figure with any luck I could find a registry setting for the vibrate on new email notification. The best I could find is under

HKEY CURRENT USER/CONTROLPANEL/NOTIFICATIONS

the ones at the top reprsent all of what you have for settings under sound notifications which I want but under the new email one theres no value called script.

Anyone else who is a bit more familiar with registry settings give me any ideas or anything?

thanks
[8525, TyTN, MDA Vario II, JasJam ROM Development] CUSTEL:
I agree I could not stand the wm5 vibrate, I am constantly using im+ and that constant vibrate would freeze the device when I would receive simultaneous messages.
[8525, TyTN, MDA Vario II, JasJam ROM Development] the_passenger:
my phone is still vibrate like WM5, long and non-stop.
[8525, TyTN, MDA Vario II, JasJam ROM Development] paulrockliffe:
WM5 was too much, I definitely prefer WM6 vibrate, but think something halfway between would be better.

It seems to me that not only is it not continuous but it doesn't vibrate as hard, thoguht hat might be because the motor takes too long to get up to full speed, so the 3 bursts don't get it running flat out?

Definitely an opportunity for someone to put together a little application to make it easy to customise.
[8525, TyTN, MDA Vario II, JasJam ROM Development] CUSTEL:
Has anyone been able to find where this is in the registry? I have reverted back to wm5 and would like to change it to the wm6 3 pulse vibrate rather then the continuous.
[8525, TyTN, MDA Vario II, JasJam ROM Development] nahguam:
Has anyone figured this out yet?

The long continuous one of wm5 was really annoying (esp. when phone is sat on the desk) but at least I didn't miss calls / not see texts/emails arrive.

I would prefer something inbetween. Perhaps 2x 1 sec bursts.
[8525, TyTN, MDA Vario II, JasJam ROM Development] armedmetallica:
I don't have WM6 yet, but have been reading these threads before I do apply it -- and THIS is why.

good thing you reported back nahgum. I agree it's long and annoying, but at least if ur in a position that you can't glance at your phone, you know whether someone called or txted.

For those saying WM5 is long -- it would be great to find a way to do something like 2 1 2 for phone and 3 3 3 3 3 for txt. MrDSL is on the right track, just gotta find the key -- then someone could probably whip a little gui to make it nice and smooth.
[8525, TyTN, MDA Vario II, JasJam ROM Development] alvina:
I have WM6 (Black Satin) and it still has the long long vibration, which is quite annoying.

Any idea how to change to the 3 short pulses mentioned in this thread?

The registry tweak is quite limited (cannot have pulsing vibrations while playing ringtone).

Thanks!
[8525, TyTN, MDA Vario II, JasJam ROM Development] NRGZ28:
You guys should look into a program called "Phone Alarm". It allows you to change the vibration feature to your heart's content.
[8525, TyTN, MDA Vario II, JasJam ROM Development] alvina:
i was hoping i wouldnt have to install a new app just to get a function that should be inherently available with WM6 :(
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lordsmiff:
I have absolutely no idea how ayone can expect there to be a function in a phone operating system where you can program the pattern of the vibrations when it rings?

Are you really serious? Can you imagine Nokia or Motorola giving you this much control?

Come on - let's be a little realistic with our expectations, eh?

Smiffy.
[8525, TyTN, MDA Vario II, JasJam ROM Development] alvina:
I was hoping there might be a registry tweak to get the 3 short bursts vibration, since people have reported to have this on their WM6 (and complained about it earlier in this thread). I have WM6 as well (Black Satin), but it still has the long continuous cow-like vibration.

So, maybe people can tell me which ROM they have loaded that gives the 3 short bursts, or someone may figure out where in the registry that can be modified.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lordsmiff:
Now, hacking the registry is a different thing ;-) THAT I can go along with (just try getting nokia and moto to use one :) - i thought people wanted a buitl-in tool to change the patterns :)

I'm currently using dutty's t-mobile uk remix ROM and that just vibrates all the way through the ringtone.

You could try changing the "script" registry setting here:

HKCU\Control Panel\Sounds\RingTone0 to the same as mine which is:

"av0pw3r" (note it's a zero, not 'o')

HTH,

Smiffy.
[8525, TyTN, MDA Vario II, JasJam ROM Development] alvina:
i tried using "av0pw3r", but it just gave me the long continuous vibrate.

maybe it's just the ROM i'm using...

which ROM are people using to get the 3 short burst vibrates??
[8525, TyTN, MDA Vario II, JasJam ROM Development] Kc SN:
siemens phones have a way to customize the vibration type:

helicopter

train

...

why wm6 don´t have one?
[8525, TyTN, MDA Vario II, JasJam ROM Development] pooh bear:
does anyone know how 2 do a registry tweak to get av0pw3r for incoming text messages...i really prefer this for all incoming messages when my fone is on vibrate...have searched far and wide but no luck...thanx for ur hrep
[8525, TyTN, MDA Vario II, JasJam ROM Development] NxJay:
Wait, what?

av0pw3r basically activates your phone (a), vibrates indefinitely (v0), plays the set ringtone (p), waits for a few seconds (w3) and then repeats (r). It's used for incoming calls.

So why exactly would you want that set for incoming SMS messages? If it works the way i think it does, you'd end up with a constantly repeating sound file that vibrated non-stop until you'd acknowledged the message was there and read/deleted it.

On another note, anyone know if it's possible to have the vibrate feature constantly pulse (vibrating in bursts like a pager) WHILE the ringtone is playing? For some reason, the vibrate function gets weaker and weaker the longer it's kept running. However, when i restart vibrate (e.g. while previewing ringtones), it reverts back to full strength.
[G 2014 Q&A, Help & Troubleshooting] IAMWILDCAT:
Anybody know one metod to update my moto g for Lollipop 5.0.1??