Jump to content


Photo

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

- - - - -

  • Please log in to reply
26 replies to this topic

#1
bobbes

bobbes

    Regular

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Devices:Acer S500 Cloudmobile
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:

Posted ImagePosted Image



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, 17 July 2013 - 07:04 PM.

  • 3

#2
iFEAR_

iFEAR_

    Newbie

  • Members
  • Pip
  • 19 posts
  • Devices:Acer CM S500
  • Twitter:@iFEAR_
I booted it on my -1 S500 and it works fine, but I didn't test all the options.

  • 0

#3
ciNicu

ciNicu

    Newbie

  • Members
  • Pip
  • 7 posts

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

Same here.

  • 0

#4
Metsuki

Metsuki

    Newbie

  • Members
  • Pip
  • 11 posts
brightness doesn't seem to work.
EDIT: USB doesn't work either

Edited by Metsuki, 23 June 2013 - 11:30 AM.

  • 0

#5
DopT1

DopT1

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Schelle
  • Devices:Acer Cloudmobile
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?

  • 0

#6
Metsuki

Metsuki

    Newbie

  • Members
  • Pip
  • 11 posts

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.

  • 0

#7
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal
Good work..
USB storage doesn't work

  • 0
If you like my work, offer me a beer

#8
bobbes

bobbes

    Regular

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Devices:Acer S500 Cloudmobile

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....

  • 0

#9
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal
Can you share graphics.c please? Which kernel did you used?

  • 0
If you like my work, offer me a beer

#10
bobbes

bobbes

    Regular

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Devices:Acer S500 Cloudmobile

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.

  • 0

#11
bobbes

bobbes

    Regular

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Devices:Acer S500 Cloudmobile
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, 01 July 2013 - 12:34 PM.

  • 2

#12
razvankim

razvankim

    Diehard

  • Members
  • PipPipPipPip
  • 408 posts
  • Gender:Male
  • Location:Sibiu
  • Interests:Developing
  • Devices:Samsung Galaxy I9100
  • Twitter:@none
Works great. I didn't tested mount usb but i don't need that feature anyway:) thanx bobbes

  • 0
Cheers | Hit THANKS if I helped you.
razvankim@MoDaCo

#13
bobbes

bobbes

    Regular

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Devices:Acer S500 Cloudmobile

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.

  • 2

#14
Spacecaker

Spacecaker

    Diehard

  • Members
  • PipPipPipPip
  • 480 posts
  • Gender:Male
  • Devices:Acer S500 CloudMobile
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

  • 0

#15
bobbes

bobbes

    Regular

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Devices:Acer S500 Cloudmobile
Did you use an fat formatted sd-card?

  • 0

#16
Spacecaker

Spacecaker

    Diehard

  • Members
  • PipPipPipPip
  • 480 posts
  • Gender:Male
  • Devices:Acer S500 CloudMobile
fat32 yes


  • 0

#17
bobbes

bobbes

    Regular

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Devices:Acer S500 Cloudmobile

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?

  • 0

#18
Spacecaker

Spacecaker

    Diehard

  • Members
  • PipPipPipPip
  • 480 posts
  • Gender:Male
  • Devices:Acer S500 CloudMobile
will try but this happens on any cwm and other recovery
also System
cache
and other partitions it cant find

i have -3 cpu

  • 0

#19
bobbes

bobbes

    Regular

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Devices:Acer S500 Cloudmobile
Strange, can you do a
ls -l /dev/block/platform/msm_sdcc.1/by-name


on your phone while running in normal Android system?

  • 0

#20
Spacecaker

Spacecaker

    Diehard

  • Members
  • PipPipPipPip
  • 480 posts
  • Gender:Male
  • Devices:Acer S500 CloudMobile
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:/ $

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users