[GUIDE][XXAMG1][4.12] Root for Galaxy S III Mini I8190

Search This thread

faria

Inactive Recognized Developer / Retired Senior Mod
My phone (brand-new, not even used one single day, just booted once to confirm functionality) doesn't get past the black screen with white letters where it says "Samsung SIII mini GT-i8190" after flashing the tar from here. Also tried the wipe.tar afterwards, didn't help.

What could I do now?

Check your PM inbox.
 

brokenworm

Senior Member
Jan 25, 2009
350
179
45
marsdroid.me
My phone (brand-new, not even used one single day, just booted once to confirm functionality) doesn't get past the black screen with white letters where it says "Samsung SIII mini GT-i8190" after flashing the tar from here. Also tried the wipe.tar afterwards, didn't help.

What could I do now?

Try both odin 3.x and 1.x.. that should fix it.. and redownload the md5 file

Sent from my GT-I8190 using XDA Premium App
 

brokenworm

Senior Member
Jan 25, 2009
350
179
45
marsdroid.me
you need to extract the content of tar/md5 and decompile/recompile system.img.

There is no way to recompile this .img format in windows, just decompile if you want.
if you want to recompile you have to use linux.

i'm using this tool.
http://xdaforums.com/showthread.php?t=1081239

the commands in this thred fit to Galaxy S2 only. for Galaxy S3 mini use this commands instead.

To unpack the .img file:
Code:
./simg2img system.img output.img

To view and edit the contents of .img file:
Code:
mkdir tempdir; mount -o loop output.img tempdir

To repack .img file:
Code:
./mkuserimg.sh -s /tempdir ./system_custom.img ext4 ./temp 1170M

after recompile you rename the new file to system.img and make tar from him and other files in the original firmware.

That should make development for others so much easy..what about the kernel. . gotta love this person called Avicohh ;)

Sent from my GT-I8190 using XDA Premium App
 
Last edited:

commander-keen

Senior Member
May 10, 2011
57
14
what model do you have? look under the battery.
maybe is not I8190.
It is a non-branded I8190, also says I8190 on the sticker.

Try both odin 3.x and 1.x.. that should fix it.. and redownload the md5 file
I was using the Odin 3 supplied in the first posting of this thread.
Thanks to faria the system booted up now. (a relatively small param.tar file which I loaded via Odin was needed to get it fixed)
I wonder why that was necessary (and have to admit I don't understand what went wrong, wohever has the patience to explain is appreciated), but anyway thanks for your help, most importantly it's running.
 
Last edited:

petyke

New member
Dec 22, 2009
1
0
i flash this firmware, but superuser say error, when i update it: "superuser has been denied superuser permissions"
what is the problem?
 

ppero196

Senior Member
Apr 14, 2012
3,184
1,213
Up north!
Little question

We can reboot into recovery via adb.
Why cant we make zip that can be flashed with recovery?

Like S Plus has. Or can someone try their zip? It can be installed via stock recovery

Sent from my GT-I8190 using xda app-developers app
 

brokenworm

Senior Member
Jan 25, 2009
350
179
45
marsdroid.me
root@legion:~# apt-get install zlib1g-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpanel-applet-4-0 libswscale0 libavutil50 libpostproc51 libavformat52
libavcodec52 gir1.2-panelapplet-4.0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
zlib1g-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 160 kB of archives.
After this operation, 426 kB of additional disk space will be used.
Get:1 http://dk.archive.ubuntu.com/ubuntu/ oneiric/main zlib1g-dev i386 1:1.2.3.4.dfsg-3ubuntu3 [160 kB]
Fetched 160 kB in 0s (455 kB/s)
Selecting previously deselected package zlib1g-dev.
(Reading database ... 170277 files and directories currently installed.)
Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3ubuntu3_i386.deb) ...
Processing triggers for man-db ...
Setting up zlib1g-dev (1:1.2.3.4.dfsg-3ubuntu3) ...
root@legion:~# apt-get install nautilus-open-terminal
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpanel-applet-4-0 libswscale0 libavutil50 libpostproc51 libavformat52
libavcodec52 gir1.2-panelapplet-4.0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
nautilus-open-terminal
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 63.0 kB of archives.
After this operation, 913 kB of additional disk space will be used.
Get:1 http://dk.archive.ubuntu.com/ubuntu/ oneiric/universe nautilus-open-terminal i386 0.19-1build1 [63.0 kB]
Fetched 63.0 kB in 0s (308 kB/s)
Selecting previously deselected package nautilus-open-terminal.
(Reading database ... 170306 files and directories currently installed.)
Unpacking nautilus-open-terminal (from .../nautilus-open-terminal_0.19-1build1_i386.deb) ...
Processing triggers for gconf2 ...
Setting up nautilus-open-terminal (0.19-1build1) ...
root@legion:~# cd Desktop
root@legion:~/Desktop# cd ext4_utils
root@legion:~/Desktop/ext4_utils# make
gcc -I. -DANDROID -c make_ext4fs.c
gcc -I. -DANDROID -c make_ext4fs_main.c
gcc -I. -DANDROID -c ext4_utils.c
gcc -I. -DANDROID -c allocate.c
gcc -I. -DANDROID -c backed_block.c
gcc -I. -DANDROID -c output_file.c
gcc -I. -DANDROID -c contents.c
contents.c: In function ‘make_directory’:
contents.c:118:3: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘u32’ [-Wformat]
gcc -I. -DANDROID -c extent.c
gcc -I. -DANDROID -c indirect.c
gcc -I. -DANDROID -c uuid.c
gcc -I. -DANDROID -c sha1.c
gcc -I. -DANDROID -c sparse_crc32.c
gcc make_ext4fs.o make_ext4fs_main.o ext4_utils.o allocate.o backed_block.o output_file.o contents.o extent.o indirect.o uuid.o sha1.o sparse_crc32.o -o make_ext4fs -lz
gcc -I. -DANDROID -c simg2img.c
gcc simg2img.o sparse_crc32.o -o simg2img
root@legion:~/Desktop/ext4_utils# tar xvf stock.tar.md5
boot.img
STE_boot1.img
STE_boot2.img
modem.bin
system.img
cache.img
hidden.img
root@legion:~/Desktop/ext4_utils# ./simg2img system.img newsys.img
computed crc32 of 0x74e82955, expected 0x00000000
root@legion:~/Desktop/ext4_utils# rm -f system.img
root@legion:~/Desktop/ext4_utils# mkdir temp; mount -o loop newsys.img temp
root@legion:~/Desktop/ext4_utils# cp su temp/xbin/su
root@legion:~/Desktop/ext4_utils# chmod 06755 temp/xbin/su
root@legion:~/Desktop/ext4_utils# cp Superuser.apk temp/app/Superuser.apk
root@legion:~/Desktop/ext4_utils# chmod 06755 temp/app/Superuser.apk
root@legion:~/Desktop/ext4_utils#
root@legion:~/Desktop/ext4_utils# ./mkuserimg.sh -s temp system.img ext4 temp 1170M
bash: ./mkuserimg.sh: Permission denied
root@legion:~/Desktop/ext4_utils#


what is wrong ? i dont get it "linux" i dont get it ... can someone post it ? PLZ the updated firmware ROOTED plz ???????????????????
its I8190XXALK6_I8190XEFALL1_HOME.tar.md5 .... im so dumb at linux..
PLZ ??????????

Ill upload the file in next post.. 1 hour.. iv got only 100 KB/s upload stream

thx in adv
Marsdroid
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 182
    Hi Evryone.

    Until somebody will release CWM Recovery or root for this device, I managed to create a pre-rooted firmware.
    This firmware base on the last build for I8190, is a full firmware exactly like the original, except the root.
    after flash you will see the SuperSU app in the app drawer.

    flashing this firmware do not doing wipe data. you will not lose anything.
    also, this flash not increase your download binary count.


    This file will work on any firmware/baseband.

    Caution!
    This is only to the I8190, not I8190T or I8190N


    base on - XXAMG1.
    PDA - I8190XXAMG1
    PHONE- I8190XXAMG1
    CSC- I8190OXXAMG1
    Android version: Jelly Bean 4.12


    screenshot2012120503580.png
    screenshot2012010102170.png




    Download
    https://mega.co.nz/#!50BD3RTJ!frjDD3hIV1GoaMpyHeWWITRm3HFymU8h6H_3JwAH5kM


    Installation instructions

    • Download the zip file above and extract to some folder, you should receive a tar file. (Extract by double click on the 7z exe file)
    • Open odin 3 (attached) and put the tar file in pda.
    • Put the divece into download mode. (vol down + home + power button, and then click on vol up)
    • Connect phone to usb and wait for odin detect the device.
    • Click start.

    p.s.
    For some reason in some models it's impossible in this device to boot into recovery mode (by combination of buttons).
    If you want to do wipe data doing it from the settings menu (factory reset) or if you have a boot loop problem, flash the attached file WIPE_I8190.zip (the tar file inside zip) via odin in pda, it will do wipe data automaticly.

    Who happened to him soft brick as result of wrong flash (for example cf-root of I9300) and the phone stuck on boot, first flash root file and after this flash param_i8190.tar (attached). it will fix it.

    Enjoy

    If you want to thank me for this work, you can do this by donating..

    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    Previous versions:

    XXALL2.
    PDA - I8190XXALL2
    PHONE- I8190XXALL2
    CSC- I8190OXXALL1
    Android version: 4.11
    https://sourceforge.net/projects/av...90OXXALL1_HOME_rooted_by_avicohh.zip/download

    XXALK6.
    PDA - I8190XXALK6
    PHONE- I8190XXALK6
    CSC- I8190XEFALK1
    Android version: 4.11
    https://sourceforge.net/projects/av...90XEFALK1_HOME_rooted_by_avicohh.zip/download

    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    7
    I love u. Thx master. . Plz share how / what u did.. ill build a kernel/recovery.

    Regards
    Marsdroid / Brokenworm

    http://Marsdroid.6te.net

    Sent from my GT-I8190 using XDA Premium App
    I did not make any change in the kernel or recovery, just decompile system img, adding root files with the right permissions and recompile again.

    Ok, so... where's the firmware ??
    press on download button in the nain post, it's a link.
    or here
    https://sourceforge.net/projects/av...90XEFALK1_HOME_rooted_by_avicohh.zip/download
    5
    Hi guys!

    I am presently working on i9070, which is the same platform as S3 Mini (NovaThor)
    I have merged the i9070 and S3 Mini sources, so we can have the same Kernel features on both the devices since they are derived from the same platform.
    I need a tester and the stock boot.img/zImage/kernel.bin (whichever format is used) from stock ROM.
    Please attach it here, and PM me if a tester is interested.
    You can checkout my other work in the links in my sig.

    Got lots of plans if things work out well ! :)
    4
    That sounds just great! Unfortunately I don't think I've got the time to be a regular tester, but hopefully someone will reply with a PM :D
    For now, all I can do is to provide a boot.img
    Downloaded it. I've got a Kernel build ready. If anyone wants to test it, PM me ASAP.