Jump to content

[Recovery][TWRP 2.5.0.0] Team Win Recovery Project port for Acer S500 [UPDATED V1.3]


Guest bobbes

Recommended Posts

Guest bobbes

Hi all,

i've managed to create a port of the TWRP 2.5.0.0. Since it is a port of the Xperia T smartphone, it can't get officially support by the TWRP team, so don't bother them with questions regarding this wonderfull peace of software when installed on a Cloudmobile.

Tested on a S500 with 8260a-3 CPU and 8260a-1 CPU. Do not flash it on a Locked phone, it will not boot!

When installing this recovery I can take no blame if you accidentely brick your phone......I'm just sorry if that happens but I can do nothing about it.

If you follow the instructions, nothing bad should happen with your phone....

Screenshots:

AgsV.pngWujW.png

Features:

- Fully touch featured!

- Screensaver with slide to unlock

- Fully themeable

- Backup and restore

- Wipe device/factory reset

- Install ROM from .zip file

- Auto detect if ROM is rooted, if it isn't rooted it will sugest you to install CWM Superuser app and binary

- Enter Terminal commands

- Integrated filemanager

- Mount external SD-Card as a Mass Storage device to copy files

- Fix permissions

- ADB sideload (see http://teamw.in/ADBSideload how to use it)

- Partition SD card (EXT partition and FAT are succesfully created despite the Failed message! TWRP needs to be restarted in order to correctly read the new partition table)

Not working:

Mounting internal storage as USB mass storage device

Changelog:

version 1.3 (13-07-2013):

- Changed USB VendorID and DeviceID to Google device for correct recognition of Mass Storage device in Windows

- Changed LUN0 device back to LUN%d in recovery binary

version 1.2 (01-07-2013):

- Changed android.c kernel code to assign lun0 as a removable device instead of CD-ROM (see kernel dir in zip)

- Changed USB Vendor ID and product ID back to Google inc to prevent driver problems in windows OS

- Added some init.rc code for some permission and ownership setting of the lun0/file

version 1.1 (01-07-2013):

- Changed USB Vendor and Product ID. Phone should now be detected as Acer Cloudmobile when USB is connected.

- Changed LUN path, despite that USB mount is still not working properly

- Changed brightness config path

- Cleaned init.rc code

version 1.0 (22-06-2013):

- Initial release, ported from TWRP 2.5.0.0 for Xperia T

- Acer Cloudmobile S500 JellyBean Kernel, compiled with ACER_SECURE_MOUNT disabled

To run TWRP on a locked S500; enable USB debug and connect phone to PC via USB cable:


adb reboot-bootloader

wait until phone is rebooted in bootloader, then:

fastboot -i 0x0502 boot TWRP_2.5.0.0_S500_v1.3.img

This will run TWRP, it doesn't flash it. You can safely try and use TWRP. The only disadvantage is that battery % is not properly displayed. On unlocked bootloader you can safely flash the TWRP recovery to the recovery partition:

adb reboot-bootloader

Wait until phone is rebooted in bootloader, then:

fastboot -i 0x0502 flash recovery TWRP_2.5.0.0_S500_v1.3.img

To reboot:

fastboot reboot (and press vol-down at the same time, wait until the phone vibrates and then press vol-up while releasing vol-down)

Troubleshooting:

1. Windows doesn't recognize my External SD-card when I mount it

a. Deinstall/remove all Acer S500 drivers (add/remove programms)

b. Reboot Computer

c. Reboot Acer S500 in TWRP Recovery (press power + vol-down, after vibrating press vol-up while releasing power + vol-down)

d. Mount USB in TWRP Recovery

e. Connect S500 to computer and wait until drivers are installed

f. (safe) disconnect S500 from computer

g. Reinstall S500 windows drivers

2. While in TWRP I can't connect to the phone with ADB

a. Open devicemanager and select in 'Other device' -> 'S500'

b. Right click on it and select 'update driver'

c. Select 'choose driver from list' and choose Acer ADB driver.

Credits:

  • TeamWin
  • Vache
    for giving me inspiration, thanks ;-)
  • Zelea2
    for his HowTo build your own kernel
  • iFEAR_ and ciNicu
    For testing on a -1 CPU.
  • Metsuki
    For testing.

Download:

V1.3: http://www16.zippysh...71734/file.html

Edited by bobbes
Link to comment
Share on other sites

Guest DopT1

Nice work...backing up system now....I like the interface much more than CWM's....Backing up seems to work fine, didn't test the other features yet, but it looks promising so far. Can we flash that so it's permanent, like the workaround we have to do for CWM?

Link to comment
Share on other sites

Guest Metsuki

Nice work...backing up system now....I like the interface much more than CWM's....Backing up seems to work fine, didn't test the other features yet, but it looks promising so far. Can we flash that so it's permanent, like the workaround we have to do for CWM?

Indeed, I am liking this recovery menu too, very useful.

I flashed permanentely and I had 0 problems accessing it.

Link to comment
Share on other sites

Guest bobbes

I booted it on my -1 S500 and it works fine, but I didn't test all the options.

Same here.

Thanks for testing.

brightness doesn't seem to work.

EDIT: USB doesn't work either

Thanks, I did not test the USB mount option, I will look at it. Brightness, is at this moment not supported for our device. I'm searching for a workaround for that....

Link to comment
Share on other sites

Guest bobbes

Can you share graphics.c please? Which kernel did you used?

It's a port from the Xperia T TWRP. I did not compile recovery from source, thats also why Brightness and USB is not working (at the moment).

The Kernel I compiled from the JB Acer Kernel source code with CONFIG_ACER_SECURE_MOUNT disabled and I modified the BOOT splash screen.

Link to comment
Share on other sites

Guest bobbes

Guys,

I need your help. I'm trying to get USB mount to work. When connected dmesg output shows this:


<6>[ 11.816633] lun0: file too big: /dev/block/mmcblk1p1

<6>[ 11.816664] lun0: using only first 1151999 blocks

It seems (in linux) that the drive can be mounted (/dev/sr0 or /dev/sr1 shows up) but when trying to mount it says that the drive can't be recognized. I think that above dmesg message illustrates the problem. Does anyone know how I can solve it? I enabled mass_storage in the init script for the Android composite driver. Another solution is to enable mtp, but how do I configure that in a recovery environment? This is my recovery log where LUN is configured:

Starting TWRP 2.5.0.0 on Mon Jul 1 06:36:05 2013

I:Internal path defined: '/sdcard'

I:External path defined: '/external_sd'

I:Lun file '/sys/devices/platform/msm_hsusb/gadget/lun0/file'

** EDIT** Got it! The kernel did mount LUN0 as a CD-ROM device. I deleted the following code in android.c in kernel\drivers\usb\gadget directory:

#if defined(CONFIG_MACH_ACER_A9)

/* lun0 will be emulated to CDROM function */

config->fsg.luns[0].cdrom = 1;

#endif

Now it mounts as a removable device!

Edited by bobbes
Link to comment
Share on other sites

Guest bobbes

Works great. I didn't tested mount usb but i don't need that feature anyway:) thanx bobbes

Thanks for that! Mount under Linux works like a charm. In Windows there are some difficulties regarding installation of drivers for mass storage device. I'm working on it....I'll post an update later.

Link to comment
Share on other sites

Guest Spacecaker

hi when i want to do a backupp with TWRP recovery 1.2

with fastboot -i 0x0502 boot TWRP_2.5.0.0_S500.img

i get these errors

Updating partition details...

E: Unable to mount internal_storage.

E: Unable to mount /external_sd during GUI startup.

Running boot script...

Finished running boot script.

E: Unable to mount /external_sd/TWRP/.twrps

E: Unable to mount /external_sd

Link to comment
Share on other sites

  • 2 weeks later...
Guest bobbes

Did you use an fat formatted sd-card?

fat32 yes

Sorry, I can't reproduce your problem. I've tested the 1.3 version, I can't find any issue as you described. Maybe you can try the 1.3 version?

Link to comment
Share on other sites

Guest Spacecaker

will try but this happens on any cwm and other recovery

also System

cache

and other partitions it cant find

i have -3 cpu

Link to comment
Share on other sites

Guest Spacecaker

lrwxrwxrwx root root 2013-07-17 17:05 aboot -> /dev/block/mmcblk0p6

lrwxrwxrwx root root 2013-07-17 17:05 boot -> /dev/block/mmcblk0p12

lrwxrwxrwx root root 2013-07-17 17:05 cache -> /dev/block/mmcblk0p15

lrwxrwxrwx root root 2013-07-17 17:05 fsg -> /dev/block/mmcblk0p10

lrwxrwxrwx root root 2013-07-17 17:05 grow -> /dev/block/mmcblk0p23

lrwxrwxrwx root root 2013-07-17 17:05 logo -> /dev/block/mmcblk0p20

lrwxrwxrwx root root 2013-07-17 17:05 logo2 -> /dev/block/mmcblk0p21

lrwxrwxrwx root root 2013-07-17 17:05 misc -> /dev/block/mmcblk0p19

lrwxrwxrwx root root 2013-07-17 17:05 modem -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 2013-07-17 17:05 modemst1 -> /dev/block/mmcblk0p16

lrwxrwxrwx root root 2013-07-17 17:05 modemst2 -> /dev/block/mmcblk0p17

lrwxrwxrwx root root 2013-07-17 17:05 pad -> /dev/block/mmcblk0p9

lrwxrwxrwx root root 2013-07-17 17:05 persist -> /dev/block/mmcblk0p11

lrwxrwxrwx root root 2013-07-17 17:05 recovery -> /dev/block/mmcblk0p13

lrwxrwxrwx root root 2013-07-17 17:05 rpm -> /dev/block/mmcblk0p7

lrwxrwxrwx root root 2013-07-17 17:05 sbl1 -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 2013-07-17 17:05 sbl2 -> /dev/block/mmcblk0p4

lrwxrwxrwx root root 2013-07-17 17:05 sbl3 -> /dev/block/mmcblk0p5

lrwxrwxrwx root root 2013-07-17 17:05 ssd -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 2013-07-17 17:05 system -> /dev/block/mmcblk0p14

lrwxrwxrwx root root 2013-07-17 17:05 tombstones -> /dev/block/mmcblk0p18

lrwxrwxrwx root root 2013-07-17 17:05 tz -> /dev/block/mmcblk0p8

lrwxrwxrwx root root 2013-07-17 17:05 userdata -> /dev/block/mmcblk0p22

u0_a100@android:/ $

Link to comment
Share on other sites

Guest bobbes

lrwxrwxrwx root root 2013-07-17 17:05 aboot -> /dev/block/mmcblk0p6

lrwxrwxrwx root root 2013-07-17 17:05 boot -> /dev/block/mmcblk0p12

lrwxrwxrwx root root 2013-07-17 17:05 cache -> /dev/block/mmcblk0p15

lrwxrwxrwx root root 2013-07-17 17:05 fsg -> /dev/block/mmcblk0p10

lrwxrwxrwx root root 2013-07-17 17:05 grow -> /dev/block/mmcblk0p23

lrwxrwxrwx root root 2013-07-17 17:05 logo -> /dev/block/mmcblk0p20

lrwxrwxrwx root root 2013-07-17 17:05 logo2 -> /dev/block/mmcblk0p21

lrwxrwxrwx root root 2013-07-17 17:05 misc -> /dev/block/mmcblk0p19

lrwxrwxrwx root root 2013-07-17 17:05 modem -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 2013-07-17 17:05 modemst1 -> /dev/block/mmcblk0p16

lrwxrwxrwx root root 2013-07-17 17:05 modemst2 -> /dev/block/mmcblk0p17

lrwxrwxrwx root root 2013-07-17 17:05 pad -> /dev/block/mmcblk0p9

lrwxrwxrwx root root 2013-07-17 17:05 persist -> /dev/block/mmcblk0p11

lrwxrwxrwx root root 2013-07-17 17:05 recovery -> /dev/block/mmcblk0p13

lrwxrwxrwx root root 2013-07-17 17:05 rpm -> /dev/block/mmcblk0p7

lrwxrwxrwx root root 2013-07-17 17:05 sbl1 -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 2013-07-17 17:05 sbl2 -> /dev/block/mmcblk0p4

lrwxrwxrwx root root 2013-07-17 17:05 sbl3 -> /dev/block/mmcblk0p5

lrwxrwxrwx root root 2013-07-17 17:05 ssd -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 2013-07-17 17:05 system -> /dev/block/mmcblk0p14

lrwxrwxrwx root root 2013-07-17 17:05 tombstones -> /dev/block/mmcblk0p18

lrwxrwxrwx root root 2013-07-17 17:05 tz -> /dev/block/mmcblk0p8

lrwxrwxrwx root root 2013-07-17 17:05 userdata -> /dev/block/mmcblk0p22

u0_a100@android:/ $

Your partition table is the same as mine and the same as TWRP uses. I don't understand why you have problems with TWRP....sorry.....

Link to comment
Share on other sites

Guest Spacecaker

Your partition table is the same as mine and the same as TWRP uses. I don't understand why you have problems with TWRP....sorry.....

same here o.O

it also is same on CWM

:P

my phone is -3 cpu type aswell

i think it says i need to stop hacking my phones :P

Link to comment
Share on other sites

  • 4 weeks later...
Guest wimmme

When i try to flash this, it gives me this:


fastboot -i 0x0502 flash recovery TWRP_2.5.0.0_S500_v1.3.img

sending 'recovery' (9122 KB)...

OKAY [  0.718s]

writing 'recovery'...

FAILED (remote: Due to device is fused, non-merged file is not supported)

finished. total time: 0.749s

Link to comment
Share on other sites

Guest wimmme

unlock you;re bootloader

Hi, my bootloader IS unlocked ..

What i noticed is that after flashing JB official back, my CWM asked me to protect by mrecovery, so the Acer ROM could not reflash the original recovery (or sth like that)

Can i disable that CWM protection ?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.