[CWM][EXPERIMENTAL] Samsung Galaxy Express 2 SM-G3815

Search This thread

aureljared

Senior Member
May 2, 2013
970
671
dantis.me
Redmi Note 11
I do not own this device, rather I own a Galaxy Express 1. This thread was created to see if the image boots up.

  • Terminal way
    recovery.img
    Do this from a terminal:
    Code:
    su
    dd if=/path/to/the/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
  • Odin way (Will trip KNOX)
    recovery-cwm-6.0.4.5-wilcoxlte.tar
    Uncheck Reboot and F. Reset, flash through Odin.
    Press Vol Up + Home + Power to boot into recovery.
 
Last edited:
  • Like
Reactions: brain on toast

terminal23

Member
Jul 4, 2013
34
10
Logroño
will i be able to root from cwm??

---------- Post added at 12:18 PM ---------- Previous post was at 12:03 PM ----------

Ok,i tried it but nothing happens,phone reboots in stock recovery
 

aureljared

Senior Member
May 2, 2013
970
671
dantis.me
Redmi Note 11
will i be able to root from cwm??

---------- Post added at 12:18 PM ---------- Previous post was at 12:03 PM ----------

Ok,i tried it but nothing happens,phone reboots in stock recovery
Yes, CWM will detect absence of root on reboot and prompt you to add it.

I think there is a script inside /system/etc named install-recovery.sh which is responsible for that.

One more thing, are you sure you unchecked reboot in Odin? And booted up directly to recovery after flashing?

Gosh, everything's hard without root. :(


Sent from my iPhone 3GS using Tapatalk
 
Last edited:

terminal23

Member
Jul 4, 2013
34
10
Logroño
Yes, CWM will detect absence of root on reboot and prompt you to add it.

I think there is a script inside /system/etc named install-recovery.sh which is responsible for that.

One more thing, are you sure you unchecked reboot in Odin? And booted up directly to recovery after flashing?

Gosh, everything's hard without root. :(


Sent from my iPhone 3GS using Tapatalk

yes unchecked Auto reboot and F.reset Time..

---------- Post added at 03:27 PM ---------- Previous post was at 03:14 PM ----------

and also rebooted straight in recovery,now i have in download mode Current bynary:custom,system Status:eek:fficial,but still reboots in stock recovery
 
N

Nofan Tasi

Guest
CWM build recipe

I do not own this device, rather I own a Galaxy Express 1. This thread was created to see if the image boots up.

  • Terminal way (you can't do this yet, you don't have root as of 1/5/2014)
    recovery.img
    Do this from a terminal:
    Code:
    su
    dd if=/path/to/the/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
  • Odin way (Will trip KNOX)
    recovery-cwm-6.0.4.5-wilcoxlte.tar
    Uncheck Reboot and F. Reset, flash through Odin.
    Press Vol Up + Home + Power to boot into recovery.

Please report your findings in this thread.

Hi aureljared

Thanks for helping the SM-G3815 community to have CWM.

I assume you once built CWM for Express 1

I tried myself to build one as follows (where /tmp/recovery.img is stock):
--
mkdir sm-g3815
cd sm-g3815
export PATH=~/bin:$PATH
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
repo sync
. build/envsetup.sh
make -j8 otatools
export PATH=$PATH:$PWD/out/host/linux-x86/bin
build/tools/device/mkvendor.sh samsung wilcoxlte /tmp/recovery.img
lunch cm_wilcoxlte-eng
. build/tools/device/makerecoveries.sh cm_wilcoxlte-eng
--

But if I copy it to partition with dd and reboot into recovery, device will vibrate a few times and boot normal.

Maybe for Samsung Galaxy one needs some special recipe?

Which one did you use?

Thanks
 
N

Nofan Tasi

Guest
Yes, CWM will detect absence of root on reboot and prompt you to add it.
Gosh, everything's hard without root. :(

Hi aureljared

Having root I thougt, let me try:
I copied as follows your recovery partition (as I did with all candidates)
# dd if=recovery.img of=/dev/block/mmcblk0p14 bs=2048

As terminal23 mentioned, one boots into something that appears to be stock recovery binary.
really odd indeed: one just overwrote stock recovery partition and now one see it again!
Note that my own built CWM recovery.img does appear to not run any visible program, vibrates a few times and boots as normal phone.

I have restored stock recovery.img with same command.

How does your CWM build recipe look like?

Thanks
 
Last edited:

aureljared

Senior Member
May 2, 2013
970
671
dantis.me
Redmi Note 11
Hi aureljared

Having root I thougt, let me try:
I copied as follows your recovery partition (as I did with all candidates)
# dd if=recovery.img of=/dev/block/mmcblk0p14 bs=2048

As terminal23 mentioned, one boots into something that appears to be stock recovery binary.
really odd indeed: one just overwrote stock recovery partition and now one see it again!
Note that my own built CWM recovery.img does appear to not run any visible program, vibrates a few times and boots as normal phone.

I have restored stock recovery.img with same command.

How does your CWM build recipe look like?

Thanks

I did not build this, I simply repackaged ramdisk with your kernel.

Beamed from my Galaxy Express using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I do not own this device, rather I own a Galaxy Express 1. This thread was created to see if the image boots up.

    • Terminal way
      recovery.img
      Do this from a terminal:
      Code:
      su
      dd if=/path/to/the/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
    • Odin way (Will trip KNOX)
      recovery-cwm-6.0.4.5-wilcoxlte.tar
      Uncheck Reboot and F. Reset, flash through Odin.
      Press Vol Up + Home + Power to boot into recovery.