yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Mini Android Development] Flyhalf205:
Alright great. I noticed that cat /proc/partitions doesn't show a boot partition. So we will have to find it once we get this recovery up and running. I get off work in 5 hours. I will try to have a test build up then. And we aren't sure what dev block goes to the sdcards either so we will be guessing at that too but I have a good way of finding them out. Sdcards should be mmcblk1p1 & mmcblk1p2
[Galaxy S III Mini Android Development] spawk:
here dev block goes to the sdcards find on Recovery.fstab
[Galaxy S III Mini Android Development] Eskuero:
Boot partition is mmcblkp20 iirc(:

I don't fully understand this things completely but

Enviado desde mi GT-I8190 usando Tapatalk 2
[Galaxy S III Mini Android Development] Flyhalf205:
Anyone willing to test my build? Just 1 please

EDIT: Got my tester!
[Galaxy S III Mini Android Development] Benzonat0r:
I am. :)
[Galaxy S III Mini Android Development] xd.bx:
Hi Oliver,

Have you tried with the graphics.c from janice? https://github.com/diego-ch/android_device_samsung_u8500-common/blob/jellybean/recovery/graphics.c
[Galaxy S III Mini Android Development] Eskuero:
That graphics.c are not from janice, are from galaxy s2, and anyway there's no any important difference with stock one.

Enviado desde mi GT-I8190 usando Tapatalk 2
[Galaxy S III Mini Android Development] xd.bx:
Yes. I built a cm10 recovery with the Update1 kernel and reproduced the black screen problem. Then I replaced sbin/recovery binary from the stock image and graphics worked. Now I need to identify using a disassembler whatever the difference is.

---------- Post added at 04:34 PM ---------- Previous post was at 03:41 PM ----------

EDIT: this is quite strange, if I manually start recovery on the command line it properly displays its menu.

---------- Post added at 04:38 PM ---------- Previous post was at 04:34 PM ----------

Alright, so I fixed this black screen problem by calling gr_init() twice in bootable/recovery/ui.c. I'm not very satisfied with this solution but at least it works...
[Galaxy S III Mini Android Development] tys0n:
OK :)

I also noticed diferences when enter download mode. When enter download through terminal "reboot download" it doesnt show custom binary count, but when entered with three button combo it shows. (im on 7 now) :D

Dont know if thats normal..
[Galaxy S III Mini Android Development] spawk:
7 hihi i am on 53 :p
[Galaxy S III Mini Android Development] xd.bx:
So the new problem is: the phone keep rebooting in recovery. Probably has something to do with the charging mode.
[Galaxy S III Mini Android Development] spawk:
in my opinion there is something that guides the process that prevents the boot a custom recovery that may be why, since its command line starts but since internal control NO

if graphical is not shown it does not mean its not work but can be blocked by a file that is to be in the kernel or in the recovery even him
[Galaxy S III Mini Android Development] xd.bx:
Are you talking about the black screen issue? This has been solved already.

About the recovery loop, it appears to be a flag that has to be setup somewhere. I flashed the original recovery back, selected reboot and the phone restarted normally.
[Galaxy S III Mini Android Development] spawk:
yes i talk about recovery loop and I am of the same opinion as you in regards to the flag tag :good:
[Galaxy S III Mini Android Development] xd.bx:
Cool. Right now I'm narrowing it down to the android_reboot() function which appears to have been changed slightly (for what purpose, I'm unsure) and could be the cause of this behaviour.

---------- Post added at 06:25 PM ---------- Previous post was at 05:35 PM ----------

So diego-ch kindly provided me with the solution, which is to make sure the .lfs / params partition is properly mounted as it is used to pass the boot parameters.

---------- Post added at 06:30 PM ---------- Previous post was at 06:25 PM ----------

So I will rant for a split second, but why the **** did Samsung remove the j4fs (which is used to mount /mnt/.lfs) from their opensource kernel drop? Seriously lame on their part.
[Galaxy S III Mini Android Development] spawk:
you need what fstab or how to make new .lfs part ?

now for exlplain how to .lfs etc see here

http://www.linuxfromscratch.org/lfs/view/6.6/chapter02/creatingpartition.html

and for fstab
[Galaxy S III Mini Android Development] xd.bx:
Thanks but that's someting entirely different, it's basically a custom filesystem created by Samsung for which they have not released sources and I assume the source I found had to be either reverse-engineering or leaked.

In any case I updated the kernel but the j4fs driver fails with

<4>[ 369.201599] fsd_reclaim 1297: MST is not recognized(mst.magic=0x00000000)
<4>[ 369.201660] fsd_reclaim 1298: MST is not recognized

A possible workaround, albeit not excellent, but that should work, is to use for the recovery the stock kernel & j4fs.ko, while keeping the compiled-from-source kernel for regular booting.

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

Well a new problem appears, this time with the stock kernel

lfs_param_op: filp_open failed. (-2)

The quality of the j4fs code is, by the way, abysmal. An utter piece of crap.
[Galaxy S III Mini Android Development] spawk:
in this case t would not it be better to create a kernel source sync with CM sources ? if recovery use differant params perhaps the problem come from here no ?
[Galaxy S III Mini Android Development] xd.bx:
Well this was caused by mmcblk0p19 not being mounted, because this is done in prerecovery.rc which is another useless Samsung-specific proprietary addition.
[Galaxy S III Mini Android Development] spawk:
Egg trick :eek::eek::eek:
[Galaxy S III Mini Android Development] Eskuero:
Irrc recovery.rc mounts mnt/.lfs on mmcblk0p1, this file i used as init.rc on recovery partition and I've moved it into mmcblk0p19 but I've notnoticednothing new...

Enviado desde mi GT-I8190 usando Tapatalk 2
[Galaxy S III Mini Android Development] xd.bx:
Actually one of the tests I made manged to destroy the partition table, and yet the phone is still capable of booting in recovery mode. I guess I'm just lucky.

<6>[ 1.385192] mmcblk0: unknown partition table

EDIT: this is really wierd. I have a one-byte change in the partition table that fortunately does not prevent the X-Loader from starting, but prevents Linux from seeing the partitions. I'm pretty sure this was caused by Samsung's obsolete init script which still used mmcblk0p1 instead of mmcblk0p19 (mmcblk0p1 contains the partition table). Now the chance of this happening on the stock recovery I think is zero, it happened because the CWM init binary differs from the Samsung one, in particular the use of this prerecovery.rc file. Thank god I made a backup of all my partitions beforehand :)
[Galaxy S III Mini Android Development] xd.bx:
So now I have /mnt/.lfs mounted as it should but it still does not work, keeps rebooting in recovery mode. How frustrating.
[Galaxy S III Mini Android Development] xd.bx:
So the REBOOT_MODE is stored at offset 0x54 in params.blk, so the simplest will be to update the file accordingly when rebooting, by tweaking android_reboot(). However this doesn't solve the problem of a proper param driver in the opensource kernel. I'm wondering if Samsung decided not to include the driver in their opensource kernel drop precisely to make the life of custom rom developers more difficult.
[Galaxy S III Mini Android Development] spawk:
i have quest why here in fstab have this

/system	ext4	/dev/block/mmcblk0p22

/cache	ext4	/dev/block/mmcblk0p23

/data	ext4	/dev/block/mmcblk0p25 length=-16384

/efs	ext4 /dev/block/mmcblk0p11

/sdcard	vfat	/dev/block/mmcblk1 /dev/block/mmcblk1p1

/boot	MTD	/dev/block/mmcblk0p20

/recovery	MTD	/dev/block/mmcblk0p21

/preload	ext4	/dev/block/mmcblk0p24

and when read thread i see diferant mmcblk and for boardconfig

BOARD_KERNEL_CMDLINE :=

BOARD_KERNEL_BASE := 0x00000000

BOARD_KERNEL_PAGESIZE := 2048

# fix this up by examining /proc/mtd on a running device

BOARD_BOOTIMAGE_PARTITION_SIZE := 0x105c0000

BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x105c0000

BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x105c0000

BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000

BOARD_FLASH_BLOCK_SIZE := 131072

now why is diferant and wher find him for me i find all this info when i extract recovery.img
[Galaxy S III Mini Android Development] Eskuero:
This info can be found on my device tree here:

github.com/OliverG96/android_device_samsung_golden

Enviado desde mi GT-I8190 usando Tapatalk 2
[Galaxy S III Mini Android Development] faria:
That is normal.

it looks like download mode can be called with 2 different commands.
[Galaxy S III Mini Android Development] toastcfh:
I fixed up OliverG96's device config for TWRP. Should work for building CWM as well. Changes can be found HERE. I tested on my rev.5 mini and all seems fine. Would like to see other revs tested before calling it a success.

It boots, reboots, installs, backs up, restores, and all the things as expected for me. lemme know if you have issues.

the recovery image can be found HERE.

Thanks
[Galaxy S III Mini Android Development] Benzonat0r:
Will test it right now. :)

---------- Post added at 01:07 AM ---------- Previous post was at 12:56 AM ----------

Holy crap, it finally works. :D

But I've found a problem, it can't mount external_sd.

Can anyone else confirm that?
[Galaxy S III Mini Android Development] toastcfh:
external is mounting here. i cant "mount usb storage" device tho. ill look into that. idk about external not mounting at all tho. working fine here
[Galaxy S III Mini Android Development] Benzonat0r:
I'll try wiping and reformatting it.

---------- Post added at 01:28 AM ---------- Previous post was at 01:21 AM ----------

Yup that did it, it's working great. :D

You are the man. ;)
[Galaxy S III Mini Android Development] blackknightavalon:
Great, so I need to back up my SD card, reformat it, and then restore it for this recovery to read my SD card?
[Galaxy S III Mini Android Development] Benzonat0r:
Exactly. ;)
[Galaxy S III Mini Android Development] Trykall8:
AW: [RECOVERY][BETA] [TESTERS NEEDED]TWRP 2.3.3.0 touch recovery [2013-1-11]

On my phone it doesnt mount ext sd. When try to switch to ext sd the switch jumps back to internal.

But its nice!

I have three partitions first swap second ext4 as ext2 and last fat32.

The external sd is sd ext.

So three partitions on it.

If this could be inserted to recovery it will be nice.

Hope this can be fixed..

:thumbup:

Log from recovery:

Starting TWRP 2.4.1.0 on Thu Feb 7 10:52:54 2013

BOARD_HAS_NO_REAL_SDCARD := true

I:Internal path defined: '/data/media'

I:External path defined: '/external_sd'

I:Mount: Unable to find partition for path '/data'

TW_NO_REBOOT_BOOTLOADER := true

RECOVERY_SDCARD_ON_DATA := true

I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun/file'

TW_HAS_DOWNLOAD_MODE := true

TW_INCLUDE_CRYPTO := true

Starting the UI...Pixel format: 480x800 @ 16bpp

Pixel format: RGB_565

framebuffer: fd 4 (480 x 800)

Pixel format: 480x800 @ 16bpp

Pixel format: RGB_565

framebuffer: fd 6 (480 x 800)

=> Linking mtab

=> Processing recovery.fstab

I:Processing '/system'

I:Processing '/cache'

I:Processing '/data'

I:Processing '/efs'

I:Processing '/sdcard'

E:Unknown File System: 'datamedia'

I:Processing '/external_sd'

I:Processing '/boot'

I:Processing '/recovery'

I:Processing '/preload'

Updating partition details...

I:Data backup size is 428MB, size: 4754MB, used: 3052MB, free: 1615MB, in data/media: 2623MB.

I:cmd: /sbin/exfat-fuse /dev/block/mmcblk1 /external_sd

ERROR: exFAT file system is not found.

I:exfat-fuse failed to mount with result 'FUSE exfat 1.0.0

', trying vfat

I:Unable to mount '/external_sd'

I:Actual block device: '/dev/block/mmcblk1', current file system: 'vfat'

I:Unmounting main partitions...
[Galaxy S III Mini Android Development] Benzonat0r:
Make a backup of your ext_sd card and reformat it using TWRP recovery.
[Galaxy S III Mini Android Development] Trykall8:
AW: [RECOVERY][BETA] [TESTERS NEEDED]TWRP 2.3.3.0 touch recovery [2013-1-11]

Idea for full restoring device to "new".

We can have a buckup from all partitions when their new. And then flash back via dd.

Hopefully the binary count will reset to "zero".

When all partitions are default?

Only need to have a backup of all partitions and a cool method or script to flash things back.

Enjoy!

---------- Post added at 12:49 PM ---------- Previous post was at 12:24 PM ----------

I have attached a log text.

I already formated the partition, i lost all apps cause i use link 2 sd app.
[Galaxy S III Mini Android Development] tys0n:
Cool! Testing now. Had same issue with external sd. Did wipe external, and now i restore it. Lets see if it mounts as it should.
[Galaxy S III Mini Android Development] tys0n:
Where can I find rev info?
[Galaxy S III Mini Android Development] quendil:
I think you can see it on the bottom part of the screen when you enter download mode.
[Galaxy S III Mini Android Development] tys0n:
That is correct :) Thanks.

Mine is also 5. No three button combo for recovery mode.
[Galaxy S III Mini Android Development] Benzonat0r:
Here's my TWRP flashable zip

Flash it via CWM.
[Galaxy S III Mini Android Development] xd.bx:
This is an awesome development! I'll give it a try, congrats :)
[Galaxy S III Mini Android Development] Trykall8:
AW: [RECOVERY][BETA] [TESTERS NEEDED]TWRP 2.3.3.0 touch recovery [2013-1-11]

IN THA NEW RECOVERIES I M MISSING PARTITION SD CARD.

Will this feature be added in future?

Cause i use the extsd as ext4 and fat32. Its for moving apps to another partition with util link2sd.

But then all works great.

Itested 4.0.2.1 and 2.0.41. Both from today.

And my rev is 5, so three botton combo works like a charm.

Cheers
[Galaxy S III Mini Android Development] Benzonat0r:
Hey hey Trykall8, can you do me a favor and read this thread?

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

Thanks. :)
[Galaxy S III Mini Android Development] tys0n:
Yours work and mine doesnt but we both have rev 5.

At least its not HW related then :)
[Galaxy S III Mini Android Development] S3miniFin:
How to flash with CWM? I tried .zip, but give error. I tried unzip, but recovery file not found....

Or did you mean ODIN....?
[Galaxy S III Mini Android Development] tys0n:
Odin cant flash .zip files so Im sure he meant CWM.

What error?

Did you try to go to advanced, and turn signature verification off?
[Galaxy S III Mini Android Development] S3miniFin:
error installing.... i can't remember. No, i didn't done that signature off option. But maybe i waiting now, there is coming working cwm soon ^^

Thanks for helping +1
[Galaxy S III Mini Android Development] toastcfh:
i used heimdall to flash with the following command

heimdall flash --Kernel2 path/to/awesome/recovery.img
[Galaxy S III Mini Android Development] mermigas:
Installed through cwm with no problems. Thanks
[Galaxy S III Mini Android Development] Trykall8:
AW: [RECOVERY][BETA] [TESTERS NEEDED]TWRP 2.3.3.0 touch recovery [2013-1-11]

Hello,

What programm i need to develop a recovery? Im really interested in learning..

Usefull it were, if we have partition sd card feature in the twrp.

Regards :rolleyes:
[Galaxy S III Mini Android Development] toastcfh:
http://xdaforums.com/showthread.php?p=37708966&posted=1#post37708966

please install the official build as a few fixes that were found after testing here have been fixed (or hope to be ;p )

Thanks
[Galaxy S III Mini Android Development] Benzonat0r:
Ok, first of all you must have a custom recovery in order to flash it. You can't flash it using stock recovery, so yes I meant via CWM a.k.a ClockWorkMod.
[Galaxy Note II Q&A, Help & Troubleshooting] gger123:
Currently running latest Wanam (DLL7) with Perseus 30.1 where for no reason the screen rotation stops working and is fixed by a reboot. This has happened twice already anyone else experience this? Is this a hardware or software issue?

Thanks
[Galaxy Tab 7.7 General] zafu:
Got my 32G+HPSA Nexus7 yesterday and boy was I disappointed: it feels

like a cheap piece of plastic compared to my Galaxy Tab 7.7.

Problems:

- thicker than my 1-year old gtab 7.7

- huge bezel, small screen: lots of wasted real-estate, an 8" screen

could easily have been fitted in that case

- no forward-facing camera

- no phone function (I knew that, but still, how much would it cost to

add it, and really convenient when travelling to put a 'local' SIM)

- bad screen, washed out colors, nowhere near the crispness and quality

of a Gtab 7.7

I will keep it though for my kids, but it's a let down.

What is the successor the the Galaxy Tab 7.7?
[Galaxy Tab 7.7 General] bassem.mohsen:
i agree with you, the only thing is really cool in the N7 is the smoothness of the JB.

nothing else.

once we got out JB, N7 doesn't stand out in front of G7.7 in anything.
[Galaxy Tab 7.7 General] jerverg:
Well, the price says a lot about it. Super AMOLED Plus is quite expensive to produce. It is the perfect AmoLED, even better than the Note 2's semi-pentile AmoLED screen without the Plus. =)

About the phone function, you can download Apps to enable it, just like you can download camera apps to shoot pictures using the front facing cam of the Nexus 7.
[Galaxy Tab 7.7 General] zafu:
So what you're saying is that I should look for a "Super AMOLED Plus"

screen in my next tablet to get a similar quality as the Gtab7.7 ?
[Galaxy Tab 7.7 General] biopsin:
+1

also there is so much more development going on for the nexus...
[Galaxy Tab 7.7 General] nemov:
Hi Guys,

I'm currently eagerly awaiting delivery of an almost new GTab 7.7 to replace my Gtab 8.9... hope it lives up to the hype!

I heard that Samsung are going to bring out a Galaxy Note 7.7.... a natural successor i guess. Though I'm sure for my purposes the Chip, screen and form of the original 7.7 will be more than enough for the next year or two :)
[Galaxy Tab 7.7 General] filipathtc:
Wow!You posted the same thing in the nexus 7 section.Tell me more about how much better the GTab is. -.-
[Desire Q&A, Help & Troubleshooting] sywats:
Is this available yet?? :)
[Desire Q&A, Help & Troubleshooting] frosty68:
Yes, I'm using it
[Desire Q&A, Help & Troubleshooting] sywats:
Can't seem to find it anywhere? Is it all working? :confused:
[Desire Q&A, Help & Troubleshooting] k3lcior:
http://www.mediafire.com/?1vs2n2jrrdu5gob
[Desire Q&A, Help & Troubleshooting] sywats:
Cheers do u know the md5sum?
[Desire Q&A, Help & Troubleshooting] frosty68:
Titanium reports it as below, i updated using this zip

File:/sdcard/MildWild CM-6.5.zip

MD5: ae6f5e1a07c7334b4078d8388007da98
[Desire Q&A, Help & Troubleshooting] sywats:
Thanks is it all working I know there was some problems in 6.0 r they fixed?
[Desire Q&A, Help & Troubleshooting] frosty68:
Only problems i noticed (apart from the 1 reboot) were minor graphical ones. Email banner text, phone icons. Email text is still truncated, and I've not had made a call. Another similar issue just been reported, i do wish mw would post a change log
[Desire Q&A, Help & Troubleshooting] sywats:
Ill try it out an just go back to 5.8 if I have to. Do I just wipe all except sdcard and flash it? Cheers
[Desire Q&A, Help & Troubleshooting] frosty68:
From 5.x yep, wipe all except sd, from 6 just davlik and cache
[Desire Q&A, Help & Troubleshooting] sywats:
Cheers :thumbup: hopefully it's not to bad
[Desire Q&A, Help & Troubleshooting] yzydor:
How the script works on version 6.5, and how to turn it on? I tried INT2EXT4 + and grabs bootloop while others are not working.

A2SD

A2SD+

A2SD++

D2EXT

D2EXT+

INT2EXT4+
[Desire Q&A, Help & Troubleshooting] jmcclue:
strange, i used INT2EXT+ with CM roms and works everytime, i even made 1 last night, completely changed everything, apps, gave it Opera browser, holo launcher, included gapps, int2ext+, made it so default theme was Crystal theme by Dark_dog.

Did u make sure there to delete any a2sd scrip in

system/etc/init.d

system/bin + xbin

Sent from my HTC Desire
[Desire Q&A, Help & Troubleshooting] yzydor:
I worked around this by deleting the script from rom daata2sd.zip

IMHO

I am full of praise for MILDWILD for his work on the new version, but do we need another a "stable" version of the new changes. Would not it be better to focus on the really stable version?
[Desire Q&A, Help & Troubleshooting] sywats:
I thought the rom uses the partition automatically??
[Desire Q&A, Help & Troubleshooting] Orangine:
GPS not working for me with 6.5, I can enable it but no program picks the signal
[Desire Q&A, Help & Troubleshooting] sywats:
Hope 7.0 is better :confused:
[Desire Q&A, Help & Troubleshooting] dvsk69:
Try 'faster fix' from the play store.
[Desire Q&A, Help & Troubleshooting] papajohn777:
Try to edit file located in etc/gps.conf. there is a how to in forum :D
[Galaxy S II Q&A, Help & Troubleshooting] MasterLinuxer:
Hello.

My friend just bought a new SGS2 device and has and extremely annoying dialog on the screen that shows info about the phone. A screen shot from his phone is attached. Can you help me to find a way to remove it?

It is important to say that this is not a widget or screen picture.. It is just there..

It could be easy to simple install a stock version without bloatware, but this dude told me he doesn't want to lose his warranty so I don't want to root it or replace its Rom..

Thanks very much in advanced,

~MasterLinuxer.

P.S. I have a problem uploading to here so this is the picture:

http://i48.tinypic.com/2qkkks0.jpg
[Galaxy S II Q&A, Help & Troubleshooting] Sun90:
Dwnld from market/playstore 'Terminal emulator' app, install and open the same.

then Type the fallowing commands in it

su
echo -n ON > /efs/imei/keystr
sync
reboot

do please press 'enter' after each line.

after phone reboots the annoying display will be gone for u:)
[Galaxy S II Q&A, Help & Troubleshooting] MasterLinuxer:
Thanks very much for the quick reply! I will try it right away!
[Galaxy S II Q&A, Help & Troubleshooting] MasterLinuxer:
Ehum.. A problem. The device is not rooted so su is not possible.. Any other solution?
[Galaxy S II Q&A, Help & Troubleshooting] theunderling:
Get the seller to fix it if hes worried.....or send it to Samsung.

Im not going to tell you to root,remove box by creating keystr file,then unroot.
[Galaxy S II Q&A, Help & Troubleshooting] MasterLinuxer:
I will go to the seller unless there is a way to do it unrooted
[Galaxy S II Q&A, Help & Troubleshooting] theunderling:
I think Ive seen someone saying theyve reflashed their stock rom and that removed it.

And that doesnt invalidate warranty as the binary counter is still at zero and says yes for samsung official rom.

And people have got their phones returned from Samsung with that service menu displayed.

So its up to you what you want to do lol.
[Galaxy Note II Q&A, Help & Troubleshooting] judeh:
Hi,

I have noticed that my phone makes the notifications bar disabled and I cant even control it just after I hand up from any incoming call only!!

does not happen when I do outgoing calls. and I t does not get enabled unless I reboot.

Any one can help?:confused:
[Galaxy Note II Q&A, Help & Troubleshooting] judeh:
Any one?
[LG Optimus 2x] rottenpenguin:
I confirm it worked on my Optimus 2X!

http://freemyblackberry.com/other-phone-brands.php

I tried it myself, got my unlock code after 2 days and it worked! Had to revert to stock though. More instructions here http://www.howardforums.com/showthr...o-unlock-LG-Optimus-2X-P990-by-unlocking-code

Credits: I found about this site giving away free SIM Unlock codes from this Optimus G thread http://xdaforums.com/showthread.php?t=2065471
[LG Optimus 2x] Micronuub:
Is this even allowed to post in xda ?:what:
[LG Optimus 2x] rottenpenguin:
Why shouldn't it be allowed? Is there some rule barring to post free unlock links I'm not affiliated with in any way? If so, I kindly ask the mods to delete this thread.

But the thread on the Optimus G forum is there since almost 3 weeks and nobody complained...
[LG Optimus 2x] louiscypherbr:
It's not illegal to unlock phones, so I think there is no problem with thread

Btw, thanks for the useful post. This should be linked on a sticked p990 "all you need to know"