yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] Chainfire:
Thanks! My my, Samsung is adding bytes to the image, make it non-standard and outside of spec. Not sure what those bytes mean yet, I've made an image with them zeroed out. Can you see if this flashes no your i9500, or ODIN produces an error ?
[Galaxy S 4 General] avicohh:
check it now.

edit:

works!!

how did you made this img? (on the I9505/computer)
[Galaxy S 4 General] Chainfire:
Awesome!

Can you try this test version of CF-Auto-Root ? https://dl.dropboxusercontent.com/u/25695577/cfar_i9500_test.zip

Please:

- unroot your device before trying (just do full unroot from SuperSU's settings tab)

- flash this test CF-Auto-Root

- pay attention - is the Android you see during rooting red, blue, or green ?

- boot and see if you are re-rooted

As for what I did: I put a lot of files together, figured out what the difference was, and wrote a tool to convert between normal images and the ones used for the i9500. If all this works, I'll upload the tool (and the code, and the docs) later.

These images are made on the computer, by the way. As I said before, for the I9505 I didn't need to do this on the phone anyway, just make_ext4fs from latest Android source. And add to that my new tool, and you can make images for i9500 ... no phone needed.
[Galaxy S 4 General] avicohh:
works great!

i flashed it on new device and i checked it with root explorer.

the android was red like all cf-auto root.

waitng to your tool..

thanks.
[Galaxy S 4 General] Chainfire:
https://github.com/Chainfire/sgs4ext4fs
[Galaxy S 4 General] A.S._id:
Hi Cainfire, tnx for your tools, may be this can help you repack image I9505...

checkout android-4.2.2_r1.2
[Galaxy S 4 General] Chainfire:
I don't get it... I don't need help repacking i9505, as I've stated, latest ext4 utils will just work ?
[Galaxy S 4 General] LEENO:
i need to repack firmware for i9505 with hidden.img.ext4

i see in your commands hidden.img without ext4 extension
[Galaxy S 4 General] avicohh:
This should be work (create hidden img from the device)

make_ext4fs -s -l 500M -a hidden /sdcard/hidden.img.ext4 /preload

if you like to make a tar file, use those commands

tar -c boot.img cache.img.ext4 hidden.img.ext4 modem.bin NON-HLOS.bin persdata.img.ext4 recovery.img system.img.ext4 >> file_name.tar
md5sum -t file_name.tar >> file_name.tar
mv file_name.tar file_name.tar.md5
[Galaxy S 4 General] avi_da:
Works like a charm

Thanks Chainfire

I've tried it on the cache partition and system partition on i9500 and everything is more than fine/

Thank you very much.
[Galaxy S 4 General] Rushing:
do we need to make cache.img.ext4 off of our phone in Terminal EMUlator for all to work well or is that optional. thanks

also why such a large cache size and what is the difference between the larger and smaller cache recommended sizes ? ie 30M vs the 2000+ size and should we stick with those numbers.

iask because one time odin failed me on the cach.img.ext4 so I am wondering thanks again
[Galaxy S 4 General] GUY251:
hebrew

Hello cainfire,thanks for your work,it's amazing, i'm useing it alot.

Is there a chance to get a hebrew script or a tar for the samsung galaxy 9505,9500

You will make me happy and i would be happy to buy u a beer

Thanks
[Galaxy S 4 General] avi_da:
Does anyone manage to get it work on 4.3 official?

I tried to change the system partition on 9505 but the system stuck on samsung logo for couple of seconds and reboot.

i didn't try it on 9500 with the method but it's seems to me that samsung changed something on 4.3 ver.
[Galaxy S 4 General] mom4ence:
I have some problem's

I install latest 4.3 for I9505 , root my phone , make some changes ,then I type command in terminal emulator from my phone to create img files.

They are created successfully. After that I packed to tar.md5 and flash with Odin.

When phone is reboot everythings is ok , except the ROOT .SuperSU show me "There is no SU binary installed"

Where I make mistake.

Please help
[Galaxy S 4 General] Wuby986:
hello.

First of all thanks all for your work... i successfully made a cache and system img with the first 2 code in the tread.

i must say that i'm not so expert, hope you will excuse me if i'm wrong (and in wrong tread maybe also)..

my intent is to make a complete dump of firmware b/c i've made some mod flashing zips ecc.. and i want to share it with a friend.

so i've packed the 2 file ina tar and put in the kitchen.. but it says that is not complete... finally, is this the correct code i should use??

when i tried to use this one quoted i recived an errror after typing first row:

sh: can't create <my_filename.tar>: read-only file system

just to complete i must say i'm on i9505 rooted, cwm 6.0.3.6 recovery, old bootloader, 4.3 firmware

i have typed it when SU..

can somebody please help me?

sorry for my english too :D

thanks
[Galaxy S 4 General] avicohh:
The kitchen is to zip files not to make tar firmware.

You need to use those commands above on some linux, or cygwin in windows.

You also can repack the img on the device itself.

Extract the whole old tar (except the system and cache) to root of your internal memory.

The first 2 commands will make the system and cache there.

Then type in the cmd

cd /sdcard

and then tar -c..... and etc.
[Galaxy S 4 General] Wuby986:
thanks for quick reply..

i've tried to tipe that but i must assume that before make a tar of those file i need them. so in order to complete i only have the cache.img.ext4, system.img.ext4 and also hidden by this code you provided

make_ext4fs -s -l 500M -a hidden /sdcard/hidden.img.ext4 /preload

i don't need modem b/c is not recovery flashable, but i need recovery img in order to make a .tar open it with the kitchen, make some other change and repack in zip flashable trough recovery.

can you please ,if you know, tell me the code for recovery?

thanks again so much
[Galaxy S 4 General] avicohh:
The img created from this dump the are in odin format.

You can't create recovery zip from them, only odin firmware.
[Galaxy S 4 General] Wuby986:
well with the kitchen you can open .tar stock firmware for exemple.. as well i will open this tar...

with the kitchen you can open also zip of mod rom created with it

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 General] avicohh:
I have no idea about that.
[Galaxy S 4 General] Wuby986:
sorry if i bothered... as i said before i am not expert.. i managed to do it by adb pulling what i had modified and put in a new deodexd firmware than cooked it proply :D..

thanks anyway for your help.
[Galaxy S 4 General] leboreiro:
i came here . because im looking for some original stock apks on the oficial mk8 ser russian rom 4.3 for the i9500 . tried alot of methods around to unpack the system.img (to extract the app folder) but neither of them worked, tried sgs2toext4, tried ext4 unpacker ext2explore . nothing works.

so if i make some image by using comand prompt (windows) in the sd card . will i damage the rom i've installed? will i be able to decompress that modified system.img ?
[Galaxy S 4 General] Wuby986:
IMO you' d better download the whole rom from sammobile and use kitchen to unpack it. Then you can get apk odexed strait away or you can deodex all with the kitchen

Inviato dal mio GT-I9505G utilizzando Tapatalk
[Galaxy S 4 General] hjellek:
Thanks for your work Chainfire!

Just wanted to mention that your tool works for creating images for the Tab 3 Lite SM-T110 tablet as well.

Couldn't figure out why the usual make_ext4fs process didn't work until I stumbled over this thread.
[Galaxy S 4 General] finnince:
Thanks for that but I usually use Android Kitchen :)
[Galaxy S 4 General] inamie:
How do you get the exact values for 2760M or 2070M, want to test on other device, tq
[Galaxy S 4 General] clshack:
Hello, but this method is yet valid ?

Thank you,
[Galaxy S 4 General] clshack:
I have a problem with the last firmware of my s4.

I try to post here my commands...

===============
===============
rm -fR /home/csh/models/android/
===============
rm -fR /home/csh/models/output/*
===============
mkdir /home/csh/models/android/
===============
tar -xvf /home/csh/Desktop/I9505XXUGNG8_I9505WINGNF2_I9505XXUGNG8_HOME.tar.md5 -C /home/csh/models/android/
sbl1.mbn
sbl2.mbn
sbl3.mbn
rpm.mbn
aboot.mbn
tz.mbn
boot.img
recovery.img
system.img.ext4
modem.bin
NON-HLOS.bin
cache.img.ext4
hidden.img.ext4
===============
simg2img /home/csh/models/android/system.img.ext4 /home/csh/models/android/system_extract.img
===============
mkdir /home/csh/models/android/mount_point/
===============
mount -o loop /home/csh/models/android/system_extract.img /home/csh/models/android/mount_point
===============
===============
/home/csh/ext4android/extras-build/ext4_utils/make_ext4fs -s -l $(ls -l --block-size=M /home/csh/models/android/system_extract.img | awk {'print $5'}| tr -d '\n') -a system /home/csh/models/android/system_changed.img /home/csh/models/android/mount_point/
Creating filesystem with parameters:
Size: 2894069760
Block size: 4096
Blocks per group: 32768
Inodes per group: 8032
Inode size: 256
Journal blocks: 11040
Label:
Blocks: 706560
Block groups: 22
Reserved block group size: 175
Created filesystem with 3478/176704 inodes and 607307/706560 blocks
===============
umount /home/csh/models/android/mount_point/
===============
rm -fR /home/csh/models/android/mount_point/
===============
rm -f /home/csh/models/android/system.img.ext4
===============
rm -f /home/csh/models/android/system_extract.img
===============
mv /home/csh/models/android/system_changed.img /home/csh/models/android/system.img.ext4
===============
cd /home/csh/models/android/ && tar -H ustar -c * > /home/csh/models/output/OUT.tar
===============
cd /home/csh/models/output/ && md5sum -t OUT.tar >> OUT.tar
===============
mv /home/csh/models/output/OUT.tar /home/csh/models/output/OUT.tar.md5
===============
rm -fR /home/csh/models/android/

All works fine but the s4 don't boot : (

Do you have ideas ?
[Galaxy S 4 General] KaosMaster:
Need some direction please!!

OK, So I am working on a Verizon Galaxy S4 here, VRUFNG6. Got my .img.ext4 made without issues.

Created a full tar.md5 file....and when it gets to system flash it fails the AUTH and secure ODIN fails on the screen of the device.

Please help me to figure out what I need to do to make the package flashable?!?!
[Galaxy S 4 General] avicohh:
You need the file_contexts if you'r using the last version of make_ext4fs on linux, and you trying to build 4.4.2 android version.

extract the file_contexts file from your boot.img, and place it in the same directory of make_ext4fs.

Then use it like that.

/home/csh/ext4android/extras-build/ext4_utils/make_ext4fs -s [B]-S file_contexts[/B] -l $(ls -l --block-size=M /home/csh/models/android/system_extract.img | awk {'print $5'}| tr -d '\n') -a system

I think Verizon like At&t have a locked download mode, will except only files signed by samsung.

There is nothing you can do.
[Galaxy S 4 General] qwerty22:
del
[Galaxy S 4 General] shayind4:
Hi

Will this work for Tab Pro T520? Do i need a different ext4fs? I have unpacked, modded and repacked T520 system.img but got error in odin when system.img was flashing. All other files in the stock rom flashed correctly.

Thanks

shayind4

EDIT: Not working.
[Galaxy S 4 General] M_J_Nazari:
Hi , please someone describe where the 2764Mb is coming from?

make_ext4fs -s -l 2764M -a system /sdcard/system.img /system

i searched for partition table for i9500 but cant find this number

lrwxrwxrwx root root 2013-03-26 16:07 SYSTEM -> /dev/block/mmcblk0p20

************************
major minor #blocks name
259 12 2830336 mmcblk0p20
************************
/dev/block/mmcblk0p20 /system ext4 ro,seclabel,relatime,data=ordered 0 0
************************
[Galaxy S 4 General] shayind4:
Hi

When you unpack system.img, the size of 'system.img' in output file = 2898264064 bytes.

Now convert to megabytes. 1024 bytes= 1 kilobytes, and 1024 kilobytes= 1 megabytes.

Size of filesystem= 2898264064/1024/1024=2764M.
[Galaxy S 4 General] M_J_Nazari:
finally i made the system.img from my phone and it boots correctly , but there is no permissions for some files like su.

I tried another way to make system.img from linux but no success too , as i checked the problem it caused by file permission problem, it seems many files have not correct permissions, phone stays on samsung logo ( 2nd logo ), tried to catch the logcat, but i cant access too, this is the message, any idea please?

M:\>adb logcat
- exec '/system/bin/sh' failed: Permission denied (13) -
[Galaxy S 4 General] au.windroid:
thanks for sharinmh.......
[Galaxy S 4 General] shayind4:
Hi

Check here for solution: https://android-review.googlesource.com/#/c/100312/

shayind4
[Galaxy S 4 General] saniel_fly:
Chainfire's bloating tool works also for Samsung Galaxy Young 2

I know this thread is about S4 but I want to inform you that the Chainfire's bloating tool works also for Galaxy Young 2. Many thanks, Chainfire.
[Galaxy S 4 General] Andro-Man:
Anyone Test this on SM-J100H and SM-J100F

Anyone test this method on unpacking and repacking System.img of Samsung SM-J100H and SM-J100F? it is the Galaxy J1
[Galaxy S 4 General] kr0m*:
Galaxy J1 SM-100H repacking works with Chainfire tool.
[Galaxy S 4 General] eyelost:
I ran across this and this is awesome.

I have a rooted s8 sm-g950u

Would this work? What changes to the commands would have to be made?
[Android Apps and Games] n8linux:
there is a bug with the messages popup (option that can be activated in CM10 roms), if i get a message and press the empty line (to load the keyboard) and write something back when I press the SEND BUTTON, THE KEYBOARD IS STILL OPEN ON THE SCREEN !!! with any other launchers it does not happened.
[Android Apps and Games] justuix:
Why you created a new thread for this then you just could write to applicatiom thread?
[Motorola Droid RAZR] ddblack6:
Perform the official 4.0.4 update the official 4.1.2

After upgrading, make a call and do not listen properly, very low.

So I was reading, has passed to other users.

is there any fix??

Operator: Personal Argentina, LATAM

Previous: 4.0.4 Personal Argentina

Update to: 4.1.2 Personal Argentina

Thank you very much!
[Motorola Droid RAZR] davidzam:
Me too, same problem in here. I guess this would be a new challenge to XDA devs. Lest wait.
[Motorola Droid RAZR] ddblack6:
stremea

I brought it to the service, they made it a change motherboard :(
[Networking] NeCrOpHiLiCaT:
hi, can some help me im tyring to get my gprs and mms working on my xda2 with orange, ive seen on the orange site thy now do a spv m1000 which is the same as the xda2 andive rung up and asked for settings but they said they dont have them :roll:

could some one help me out here please?
[Networking] cranny:
Try this

http://xdaforums.com/viewtopic.php?t=7306
[Networking] trev:
thgaks m8 worked a treet :roll: :P :P :P :P
[Networking] Shadamehr:
Pleased I could help (as in, the poster of the guide *lol*)
[HTC One S] kogadin:
So i have been using my htc One S since around christmas. In the beginning i noticed twice that the music didnt play through the headphones. I restarted the phone and everything was working fine. Now i have this problem that if I put in my speakers the music still keeps playing through the speakers. I tried the app SoundAbout by David Woods and set media output to headphones. When I play my music now it works through my headphones, but if i pull them out the music keeps playing through the headphone jack. Basically you dont hear anything, but the music doesnt pause. This app at least confirmed me that the headphone jack itself is still working, but I am wondering if there is something like a plug in/out detection that might be broken...

It was working fine till today afternoon. then I used Pimp My Rom to install some stuff.. including the Beats audio thing they have. After that my sound didnt work at all. so i restored from a nandroid and the speakers were functioning again. Then i freshly installed DeviantXone again... and thats where I am now... Please help me...

Kogadin
[HTC One S] BilboSwaggins:
You should really have posted this in Q&A, Help and Troubleshooting. More experts who would be willing to help you would be there.

That is a peculiar problem. If you're using CyanogenMod 10, then that is normal. If you're on anything else, then I think your phone might have some software issues. Try an RUU. If that doesn't fix it, then it's hardware.
[HTC One S] jamus28:
Playing flash-a-lot also broke my headphone/speaker detection. Even flashing new roms didn't help. Download an RUU and start again. It hasn't broken since.
[HTC One S] kogadin:
Ok I figured I just restored fruition a viper nandroid..every thing works Joe.thanks anyways...

Kogadin
[HTC One S] tenderloin83:
i have the same problem with my brainwavz in-ear headphones with microphone, i have viper one s, i tried them with a samsung galaxy s2 and an iphone 4s and they work fine. what can i do?
[Galaxy Tab 8.9 Themes and Apps] safariking:
Hello xda,

Here are some userbars to support the Dev's more...
[Samsung Galaxy S (4G Model)] ChadBFlores:
Hey, so after 2 years I will be moving to the S4, I was just wondering if any of u were coming with me?
[Samsung Galaxy S (4G Model)] Fluidification:
i might move to the note 3 when it comes out:)
[Samsung Galaxy S (4G Model)] nevkuril:
I've looked at it but decided it to be overly expensive. It's around $700 unlocked (probably grey market no warranty), just too much for a phone especially when my SGS4G still operating just fine. I did some calculations for "subsidized" phones with plans, but they can be even more expensive, around $800 over 2-year contract. I did the comparison with a $45 single line unlimited everything StarightTalk service, final cost over 24 months.

There are rumors that Nexus 4 LTE will be announced in few days during Google I/O, I'll wait to see what comes from that.
[Samsung Galaxy S (4G Model)] Theraze:
Yeah... my brother's getting a SGS4 (moving off of his old Nexus One or something else similarly painful) but my SGS4G is still doing well, albeit chomping through batteries on an increasing pace. May join you eventually, but for now... Eh, our devs are awesome. :)
[Samsung Galaxy S (4G Model)] fabricatedhero:
I will be as soon as my contract ends this month. I will just keep my sgs4g as a back up but it will be nice to finally have a freakin LED flash lol
[Samsung Galaxy S (4G Model)] iHelper:
Yea I will too! Actually, I already did! ;D its so freaking EPIC!! And the screen...so beautiful. If u are moving phones, u won't be disappointed. I am gonna miss this forum tho...the SGS4G was my first smartphone. And the community will never be the same as this one. It has been a great 2 years with the SGS4G. Thanks to everyone who made it an awesome phone and I hope development keeps on going forward. I'll still visit every once in a while though just to see how things are doing. ;)
[Samsung Galaxy S (4G Model)] gizmoscoop:
My phone got washed in the washing machine by accident 2 days ago, so I went to Tmobile and got the new s4 today.
[Samsung Galaxy S (4G Model)] Fluidification:
:eek:
[Samsung Galaxy S (4G Model)] FBis251:
I don't know how many of you have heard this rumor but supposedly there will be a Galaxy S4 version running stock AOSP. It's supposed to be announced tomorrow at Google I/O. If they price it the same as the Nexus 4, I'm getting the S4 Google Edition instead. I'm in need of a new phone.

http://www.geek.com/android/samsung-galaxy-s4-google-edition-to-be-announced-at-google-io-1555174/

New phone means that I don't need my SGS4G to be operational, which means that I will be doing a lot of deving on it this summer. :D!
[Samsung Galaxy S (4G Model)] gizmoscoop:
Yes, I saw that rumor. Will it be less expensive than the Samsung S4 version?
[Samsung Galaxy S (4G Model)] FBis251:
Hopefully we'll know later today... :D. I'm so stoked I'm actually programming for the sgs4g!
[Samsung Galaxy S (4G Model)] nevkuril:
My guess if Google really moved from LG to Samsung with their Nexus phone it will not be exactly the same as S4. Most probably it will not have MicroSD, the battery will not be easily swappable, and I doubt they install FullHD screen to keep the price low enough to match the Nexus line. But we'll see, still may become a good choice.
[Samsung Galaxy S (4G Model)] gizmoscoop:
Well, it is confirmed today with a starting price of $649 for the 16gb version.
[Samsung Galaxy S (4G Model)] hechoen:
For an unlocked off contract phone that's not that bad. However, those of you that have the ATT S4 should just wait for the Google model to drop. That ROM should be a pretty easy port to the ATT version.
[Xperia Z Q&A, Help & Troubleshooting] californicated:
Hi,

did anyone check the picture quality when syncing contacts with facebook?
[Xperia Z Q&A, Help & Troubleshooting] LitoNi:
^ it is a known issue.
[T-Mobile Samsung Galaxy S 4] bikrame:
My TV remote just work for my samsung TV. It doesnt work for other TV like sony Toshiba. Even though I use as universal remote.

Do we need to setup somthing.
[T-Mobile Samsung Galaxy S 4] lagunas11:
If you would've read the tutorial the app was Givin you it clearly said it ONLY let's you use it as a TV remote control ON YOUR SAMSUNG TV
[T-Mobile Samsung Galaxy S 4] xxjrsmith3xx:
But it has an options for other tvs O.o
[T-Mobile Samsung Galaxy S 4] nismo35:
This is a true statement. Im using touchsquid pro. Ive been messing with the Tv's in the security office. HAHA. Sony and view sonic
[T-Mobile Samsung Galaxy S 4] nitrogen618:
So far, I tested in my home.. Works with a Samsung, Sharp, and a Sony.
[T-Mobile Samsung Galaxy S 4] bikrame:
Ok my bad I didnt read manuel now how to make it work ???

Thanks in advance
[T-Mobile Samsung Galaxy S 4] ElZany:
the app worked on my Sharp but didint work on the living rooms Westinghouse not sure why tho
[T-Mobile Samsung Galaxy S 4] ickster:
Can someone point me to instructions on setting up the IR remote? I cannot for the life of me find it in the menu. I also downloaded the user manual from Tmobile.....no mention of the IR there either.

What Tutorial are you guys talking about?

I picked up my new S4 yesterday.....lovin' it so far!:good:
[T-Mobile Samsung Galaxy S 4] flipq88:
Mine worked with my Sanyo tv in my room, all the sharp tvs at work, and my 10 year old sony tv. Make sure you are standing close to the tv when setting it up and try each code multiple times. On all tvs it worked with the first code but I had to try it a few times

Sent from Flip's Galaxy S4
[T-Mobile Samsung Galaxy S 4] ickster:
Thanks! I have to get to the first step 1st LOL. Where is the IR set-up?

Edit- I found it. It is the WatchOn App.
[Galaxy Tab 7.7 Q&A, Help & Troubleshooting] adinis78:
I am trying to set ADW ex launcher as my home launcher but the screens are not showing up as they did in ICS, there is gap on both the left and right side , see picture bellow

Is there anyway to fix this?
[Galaxy Tab 7.7 Q&A, Help & Troubleshooting] edan1979:
the gap exist even with stock launcher...
[Galaxy Tab 7.7 Q&A, Help & Troubleshooting] adinis78:
I know it does witht the stock but when I was on ICS and using ADW EX there where no gaps so I am wondering why they are there now