yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Mini Android Development] Eskuero:
I'm gonna push to cm gerrit the workaround to keeep android_reboot.c inside device tree

Enviado desde mi GT-I8190 usando Tapatalk 2
[Galaxy S III Mini Android Development] xd.bx:
I'd be glad to work with you on this, especially considering that you already are a cm developer (I'm not really used to gerrit)
[Galaxy S III Mini Android Development] Shapeshift:
Can i honestly ask you to make a procedure? like steps or something. i am not good at cwm and things

I am asking you : how to update graphics.c and android reboot.c ? plz help asap
[Galaxy S III Mini Android Development] xd.bx:
Sure. First you need to root your phone with the system.img method you'll find in other threads.

Next, uncompress and copy the recovery.img on your SD card, which is then to be inserted in the phone.

Then you enable must adb debugging in the system preferences, and with the Android SDK installed on your PC, run "adb shell". If it says adb: command not found you'll have to find where the adb binary is, and use the full path (such as, "C:\Program Files\android-sdk\platform-tools\adb.exe" but that's an example, you must find what the proper path is).

Next after having run "adb shell" you enter "su" to obtain root privileges (you will get a warning prompt. simply answer yes). Finally, run "dd if=/sdcard/recovery-clockwork-6.0.2.7-golden.img of=/dev/block/mmcblk0p21" to install CWM, and then you can reboot into CWM after exiting the shell (use the "exit" command twice) with the command "adb reboot recovery".

Now regarding the two C files I posted, it is a matter of copying them into your CM10 tree.

graphics.c goes into bootable/recovery/minui/ (however it is better to use the BoardConfig to setup a device-specific graphics.c)

android-boot.c goes into system/core/libcutils/

This will only get you so far, you'll need for instance Oliver's device tree to compile golden.
[Galaxy S III Mini Android Development] Shapeshift:
hm. i have already adb and i have specified path in windows for it. so i can run it everywhere. my device is rooted and i have only one more question for you. Do i need external sd? cant i put it onto internal sd?
[Galaxy S III Mini Android Development] xd.bx:
Yes, sure. Or use /tmp/ to store it temporarily (the file will go away after the next boot)
[Galaxy S III Mini Android Development] xd.bx:
So I just found out something really cool, the stock (prebuilt) j4fs.ko and param.ko modules can be loaded along a 3.0.31 kernel built from source, which means it will be possible to simply use them instead of this android_boot ugly hack.
[Galaxy S III Mini Android Development] Shapeshift:
ok i have installed cwm. but it cant mount sdcard. try to fix. nothing is mountable. cant mount sdcard as well as backup folder
[Galaxy S III Mini Android Development] quendil:
Just posting here to say a big thank you to all of you devs!

:good:

PS: And a small (silly) question:

as i 'm not using a pre-rooted ROM. What if I made an ODIN flashable tar.md5 of the original *.img? Wouldnt it work?
[Galaxy S III Mini Android Development] tys0n:
If im not mistaken i used the zip for i8190. If the update-binary is wrong you'll only get an error, no brick.
[Galaxy S III Mini Android Development] ValenteL:
Thanks.

Can You see my PM please?
[Galaxy S III Mini Android Development] Pangadaywalker:
So there is no way to mount SD Card Internal and External? I just can't. Tried all that I can and simply won't work.
[Galaxy S III Mini Android Development] tys0n:
Great work xd.bx! Doing a backup right now :)

---------- Post added at 12:30 PM ---------- Previous post was at 12:27 PM ----------

You will get cwm, but custom binary count will increase.
[Galaxy S III Mini Android Development] Shapeshift:
hm i wouldnt suggest it. because u need to specify the path with the command above.

---------- Post added at 12:34 PM ---------- Previous post was at 12:30 PM ----------
[Galaxy S III Mini Android Development] tys0n:
I just choosed backup :)

Got a 1.5gb nandroid on extSdCard now. Havn't tried restore yet..
[Galaxy S III Mini Android Development] xd.bx:
It would, although you'd increase your download count.
[Galaxy S III Mini Android Development] Shapeshift:
so internal sdcard is not working in recovery. just external
[Galaxy S III Mini Android Development] xd.bx:
Can you check the partitioning of your sdcard, and the filesystem type? There should be only one fat32 partition, corresponding to /dev/block/mmcblk0p1. Sometimes windows formats as a raw device, without a partition table. this could be the cause of the problem. If you have a Linux system on your PC, try this command:

fdisk -l /dev/sdX

(replace X with the letter corresponding to your SD card). It should display one partition formatted as fat32. This is correct:

root@fx:~ # fdisk -l /dev/sdb

Disk /dev/sdb: 1972 MB, 1972371456 bytes
61 heads, 62 sectors/track, 1018 cylinders, total 3852288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1ba1cb92

Device Boot Start End Blocks Id System
/dev/sdb1 62 3850075 1925007 c W95 FAT32 (LBA)
[Galaxy S III Mini Android Development] Shapeshift:
will check it
[Galaxy S III Mini Android Development] xd.bx:
Yes, indeed.
[Galaxy S III Mini Android Development] Shapeshift:
somethings wrong with my usb cable. cant check
[Galaxy S III Mini Android Development] Benzonat0r:
That worked, thanks. ;)

But I have another problem, I can't install anything from CWM.

-- Installing: /sdcard/I8190.zip
Finding update package...
I:Update location: /sdcard/I8190.zip
Opening update package...
Installing update...
E:Error in /sdcard/I8190.zip
(Status 0)
Installation aborted.
[Galaxy S III Mini Android Development] xd.bx:
Hi,

Can you post that file so I can try it?

On an unrelated note, the /mnt/.lfs problem was caused by the ro remounting done in android_reboot before issuing the actual reboot command, causing the param driver from being unable to write the new reboot_mode parameter.
[Galaxy S III Mini Android Development] Eskuero:
Well the recovery can be built now from my device tree afer cherry-pick this:

http://review.cyanogenmod.org/#/c/30594/

Actually looks like /data cannot be unmounted, the sdcard didn't get mounted as usb mass storage, at least on ubuntu..
[Galaxy S III Mini Android Development] Benzonat0r:
Yeah I think I can, It's a rom actually that I built using dsixda's Android Kitchen.

Give me 15 mins while I upload it.
[Galaxy S III Mini Android Development] Eskuero:
If you want to take an example:

http://xdaforums.com/showthread.php?t=1538053

The recovery flashable .zip worked here :)
[Galaxy S III Mini Android Development] xd.bx:
Thanks a lot.

By the way, I found the proper way to let param.ko update the reboot_mode, by patching the kernel (see patch attached). This avoids modifying android_reboot.c.
[Galaxy S III Mini Android Development] Shapeshift:
can anyone confirm that internal sdcard gives an error?
[Galaxy S III Mini Android Development] xd.bx:
Try version two (first post)
[Galaxy S III Mini Android Development] Eskuero:
It's not implemented on init scripts nor on fstab so it's pretty ovbiusly is not working, you need an sdcard or wait a while(:

---------- Post added at 02:00 PM ---------- Previous post was at 01:59 PM ----------

Did you test it?

I've already submitted a patch for using a custom reboot file, but i can abandon it :)
[Galaxy S III Mini Android Development] Benzonat0r:
Yeah that zip worked very well, but how to make a flashable zip that supports thit version of CWM?
[Galaxy S III Mini Android Development] Eskuero:
Give your updater-script
[Galaxy S III Mini Android Development] blackknightavalon:
I'll wait until a confirmed working recovery is available before I flash it. Thanks for the hard work.
[Galaxy S III Mini Android Development] xd.bx:
Thanks. The script looks good to me.
[Galaxy S III Mini Android Development] Eskuero:
It's completely broken

That's an update-script not and updater-script, the difference is that the one you're using use the amend encrypting which is actually not supported by cwm iirc, you need to convert it to updater-script, which uses edify encrypting, i thought there're a few tools that do it for you :)

P.D: Myabe dsixda have an option for conversing between update-script and updater-script
[Galaxy S III Mini Android Development] xd.bx:
Making some progress on the CM10 porting front. Not much works but at least it boots and shows the UI.
[Galaxy S III Mini Android Development] xd.bx:
Works for me -- try to reformat your external SD card, making sure the first partition is formated as fat32.
[Galaxy S III Mini Android Development] Eskuero:
Where did you setup the device tree?

Can you go CyanogenMod or cyanogenmod-dev channels? :)

I was going to attemp on compiling it now, but we need to merge efforts to get it working :)
[Galaxy S III Mini Android Development] xd.bx:
Here it is: http://www.filefactory.com/file/61rlnijsw8h1/n/device_samsung_golden.tgz

You also need to setup the Update1 kernel sources in kernel/samsung/u8500 and apply the patch
[Galaxy S III Mini Android Development] Eskuero:
I've already setup it the same day I bought the device, but I get stuck on recovery so I didn't advance a lot on cm10,

If you want I can fork them into a github team and give you permissions to push/pull (:

P.D: I'll take a look on your device tree, maybe it's something interesting I miss :)
[Galaxy S III Mini Android Development] xd.bx:
No problem. I've created https://github.com/xd-bx although I can't really promise anything regarding my involvement in this port.
[Galaxy S III Mini Android Development] Benzonat0r:
I've formatted my sd card with my phone and now it works.
[Galaxy S III Mini Android Development] tys0n:
Any one tried to restore yet?
[Galaxy S III Mini Android Development] spawk:
i need first understand how to flash :p now for what flash this with odin can break phone ?
[Galaxy S III Mini Android Development] Eskuero:
It's a kind of way to say you're resposible of what you do(:

Enviado desde mi GT-I8190 usando Tapatalk 2
[Galaxy S III Mini Android Development] spawk:
haha all user are responsible by only flash another rom if stock are update hihihi but is much clear like this thanks i try and feed ;)
[Galaxy S III Mini Android Development] tys0n:
"dd if=/sdcard/recovery-clockwork-6.0.2.7-golden-2.img of=/dev/block/mmcblk0p21" is the right command now after the recovery got updated.

---------- Post added at 07:24 PM ---------- Previous post was at 07:18 PM ----------

Just went in to recovery and did a full wipe, rebooted to see if everything was gone, and it was :)

Went back to recovery through ADB. Did another wipe, and then restored from my backup made earlier today.

SUCCESS!!!

Confirmed to work! (Backup & Restore)
[Galaxy S III Mini Android Development] Shapeshift:
i can confirm that ALL features are working. I have partitioned sdcard too.
[Galaxy S III Mini Android Development] spawk:
i have flashed with odin and worked fine also rebooted to recovery and also i don't have any problem with my sd card is chown normaly with all my files

pS : I add odine version here for every one got problem on adb

NOW for user pleas don't THANK me is not my work I have only make it flashable odine is easy all thank's and credit go to dev ( xd.bx )

HOW TO

unzip attached files

flashe in PDA

ENJOY !!!!
[Galaxy S III Mini Android Development] tys0n:
Good with a easy method, but maybe would be good to add a warning about custom binary count will increase?
[Galaxy S III Mini Android Development] spawk:
you know counter binary can fix by this methode just wait until dev add support to it http://xdaforums.com/showthread.php?t=1494114 or just give it files and we add support to device ;) i have 54 download count and in galaxy 3 users have more then 100 download counte and this tool fixed this from 100 to 0 now if for any dev or advancing ask about this binary count the mini is go to still in place with out dev :p hihi realy i used the recovery and work very fine for me when CM10 are out for this device i turne from stock to cm10 rom because is the best rom ever :p
[Galaxy S III Mini Android Development] tys0n:
Yeah, I guess support will come sooner or later but I wasn't thinking about me, but for those who are really concerned to keep it at 0 :)
[Galaxy S III Mini Android Development] Lazarosh:
TriangleAway-v2.60.apk dont work on s3 mini
[Galaxy S III Mini Android Development] spawk:
yes i know just wait untile have more inffo about device and after can be add support for it
[Galaxy S III Mini Android Development] Sn0w0nS:
Can you enter cwm with the vol up home and power button? Or do we have to acces it the way we do now with stock recovery?
[Galaxy S III Mini Android Development] tys0n:
No Three button combo. Still just ADB or terminal.
[Galaxy S III Mini Android Development] enox.co:
i checked the clockworkmod ROM Manager.apk from playstore.....and it reboots into cwm-recovery when you choose it in .apk :p
[Galaxy S III Mini Android Development] tys0n:
Sv: ClockworkMod Recovery v6.0.2.7 (based on CM10 - Android 4.1.2 JZO54K) kernel 3.0.

There is a lot of reboot widgets and stuff out there so it's not really a problem unless your phone is shut off.

Sent thru time and space from my s3mini.
[Galaxy S III Mini Android Development] Sn0w0nS:
Cant wait to flash custom roms now that we have cwm!
[Galaxy S III Mini Android Development] kicker63:
It may not be available much longer read here : www.chainfire.eu/articles/118/Triangle_Away_vs_Samsung/
[Galaxy S III Mini Android Development] spawk:
yes but now when you launche it on your device we have this message " android header is not found " now if any one can find this header perhaps the data counte are in
[Galaxy S III Mini Android Development] blackknightavalon:
Is there any specific format the SD card has to be in or can I keep it as FAT32?

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

Never mind. Read the OP again.
[Galaxy S III Mini Android Development] spawk:
what wrong with sd card i have installed CWM and have no problem this is fixed in V2
[Galaxy S III Mini Android Development] blackknightavalon:
Got everything working! Also, ROM Manager reads it as 5.x.x.x.
[Galaxy S III Mini Android Development] blackknightavalon:
Nandroid seems to work. Seeing if Cerberus installs.

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

If you have the "swap SD cards" script, you'll need to install it manually.
[Galaxy S III Mini Android Development] blackknightavalon:
I've had three soft reboots in the past hour. I don't know if the recovery is involved, but here's my last_kmsg file if anyone wants to find out.

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

Never mind. Google Talk was the culprit.
[Galaxy S III Mini Android Development] Benzonat0r:
I highly doubt that your reboots are recovery connected.
[Galaxy S III Mini Android Development] b_henry:
Big thanks for your great work,but I think it would be good to add a link to the post where this rooting method is described..
[Galaxy S III Mini Android Development] blackknightavalon:
Hence my edit earlier.

Sent from Spaceball One.
[Galaxy S III Mini Android Development] ppero196:
So is recovery final?

I need to know so i can update my guide.

Also can recovery be installed without root?
[Galaxy S III Mini Android Development] xd.bx:
It's not final, and can't be installed without root (afaik).
[Galaxy S III Mini Android Development] vonuzu:
Why not without root? Odin version won't install without root?
[Galaxy S III Mini Android Development] xd.bx:
You are correct! I was thinking of root exploits.
[Galaxy S III Mini Android Development] CaseyS:
I have one little problem, i have had this issue before but all i did was reboot and it fixed it but, i have flashed the recovery via Odin and my menu and back button dont work... How do i fix this? (i rebooted into recovery via quick boot.apk, looked around and then rebooted from CWM and now my Menu and Back buttons dont work)?

Never mind, problem fixed. It just randomly started to work again. And good job DEV for making a working Recovery.
[Galaxy S III Mini Android Development] spawk:
don't work on recovery ? or in normale mode ( phone ON )
[Galaxy S III Mini Android Development] enox.co:
....reboot again.... and they will work again ....
[Galaxy S III Mini Android Development] xd.bx:
Thanks a lot,very glad to see your problem is solved :)
[Galaxy S III Mini Android Development] CaseyS:
Sorry should have said. It was when phone was on. But its fixed now. Thx anyways.
[Galaxy S III Mini Android Development] LenaertsJeroen:
Hi

Do I install this via adb on windows or via terminal emulator on my phone?

Sorry for the seemingly noob question, but I'm not familiar with the 'dd' command...

Please help me out here, can't wait for cm!

Ps. Whats so bad about an increased binairy count?
[Galaxy S III Mini Android Development] Sn0w0nS:
Now we have got cwm, is there anyone working on a cm10 port?
[Galaxy S III Mini Android Development] ppero196:
http://xdaforums.com/showthread.php?p=36954534
[Galaxy S III Mini Android Development] Sn0w0nS:
Nice.
[Galaxy S III Mini Android Development] tys0n:
Terminal emu should work too.

Increased custom binary count means you lost warranty.
[Galaxy S III Mini Android Development] LenaertsJeroen:
I've succeeded in flashing via terminal emulator. Thanks for this! Its only a small step for most but for our phone its a huge one! :D
[Galaxy S III Mini Android Development] Benzonat0r:
For the moment yes.
[Galaxy S III Mini Android Development] manwlis77:
how to restore in zero again?
[Galaxy S III Mini Android Development] Benzonat0r:
We can't, not yet anyway.
[Galaxy S III Mini Android Development] mfsieg:
install through terminal emulator worked for me too. it just needs to fix properties of mmcblk0p21 in dev/block/ with SManager and then shoot. :)

thank you every one!
[Galaxy S III Mini Android Development] deepongi:
Nice !! it's working :good:

i press volume up + home + power and enter recovery options... very good work. gonna try implement this on my next ROM if the dev doesn't mind... :)

infected_
[Galaxy S III Mini Android Development] vonuzu:
How do you do it? I can't get this to work on my phone, the 3 button combo...
[Galaxy S III Mini Android Development] deepongi:
power off the device... wait.. press volume up + home + power... wait till the letters "samsung galaxy s3 mini" shows up.... release the 3 buttons... wait.. and you have the recovery menu .. ! :)
[Galaxy S III Mini Android Development] vonuzu:
No it's not working :(
[Galaxy S III Mini Android Development] deepongi:
lol.. its working for me... :) try to install recovery.img again... transfer it to your internal memory and follow the procedure on the first post...
[Galaxy S III Mini Android Development] mermigas:
Is not working for me either. I can do the job through Rom manager
[Galaxy S III Mini Android Development] tys0n:
Sv: ClockworkMod Recovery v6.0.2.7 (based on CM10 - Android 4.1.2 JZO54K) kernel 3.0.

This is strange. Some can and others can't. Maybe Samsung changed something between batches. I don't now..

No three button combo for me either.

Sent thru time and space from my s3mini.
[Galaxy S III Mini Android Development] deepongi:
seen a post somewhere in the forum that some user could enter recovery using the pressing volume up option in is girlfriends s3 mini and i didn't installed or flashed anything.. it came from factory that way !
[Galaxy S III Mini Android Development] alvin551:
Its true its my girlfriends phone
[Galaxy S III Mini Android Development] deepongi:
i can enter recovery by pressing the buttons, but i didn't tried before installing this recovery, now i don't know ... :confused:

infected_
[Galaxy S III Mini Android Development] CaseyS:
Same here. I can enter recovery with volume up+home+power. Hmmmm wonder why others cant.
[Galaxy S III Mini Android Development] vonuzu:
Could you do it on the stock recovery or just cwm?
[Galaxy S III Mini Android Development] b_henry:
One question: CaseyS, you´ve got metallic blue or white one?? Maybe it´s a coincidence but it seems that all users who have 3-button combo working have white ones..
[Galaxy S III Mini Android Development] deepongi:
i can enter a recovery mode by pressing the buttons... don't now if is the CWM recovery or the stock recovery.. my i8190 is white... i dont think is the color...
[Galaxy S III Mini Android Development] kicker63:
On the bottom of this page there's mention of a T version wonder,what's that about. Lookhere:

www.phonearena.com/phones/Samsung-Galaxy-S-III-mini_id7536/fullspecs
[Galaxy S III Mini Android Development] vonuzu:
I have white one and I can't do it.

Man we are off topic.
[Galaxy S III Mini Android Development] swagmeister:
Wonder what that is. For the SGS1 the T version or I9000T was the latin american version which for the mini is the 18190L. Not sure if a mistake or new variant.
[Galaxy S III Mini Android Development] CaseyS:
Hahah yes I do have a white one.. I wonder why that is.

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

I didnt try in stock only cwm.
[Galaxy S III Mini Android Development] ppero196:
I8190T version is 16GB NFC version
[Galaxy S III Mini Android Development] enox.co:
How to ...

How to boot cwm-recovery over 3 Button combination:

1. "Turn off" your device

2. Press & hold the "power-button", "home-button" & the "Volume up-button" ....

hold the buttons for approximately 20 seconds

.....

(in this time the phone will reboot one time .....in second boot the "softkeys" will blink .... then stop holding the buttons.....now cwm-recovery will show up.)

This should work on all "GT-I8190" versions...
[Galaxy S III Mini Android Development] Sn0w0nS:
Not working for me. Gonna try again..
[Galaxy S III Mini Android Development] xd.bx:
It could depend on the bootloader version, I think. Or maybe installing CWM changes the bootloader's behaviour.