[ROM][ASUS HC3.1][27-06][Kernel: angel] PRIMEE p8-3

Did you find the early 3.1 useful?

  • I liked it alot

    Votes: 178 80.2%
  • I did not like it, and restored 3.0

    Votes: 11 5.0%
  • I don't care

    Votes: 33 14.9%

  • Total voters
    222
  • Poll closed .
Search This thread

Dexter_nlb

Senior Member
Feb 12, 2009
5,459
4,550
Copenhagen
Originally i ported PRIMEv1.4 by Roach2010, an honeycomb 3.1 rom from Asus to Iconia A500..Its now a more Acer specific rom based on acer drivers and software but with 3.1 features. We are still waiting for the kernel source, so limits of a stock kernel apply, which is one, using the new feature PS3 controller joypad's. Until source is out, these functions are missing.

You can also follow updates on Twitter now: Dexter Picard (DexterPicard) on Twitter or me a Red bull, and you're sure i stay up working on this mod or you can visit my new homepage at Dexter's mods


Kernel source of "angel" is found here

BRIEF HOWTO
  1. Download AcerRecoveryInstaller from Market or from apps section of A500 here. or use the old solution from this post .
  2. Boot into ClockWorkRecovery (POWER ON + VOL-) and do a full backup.
  3. put PRIMEE v1.4 zip on your sdcard and install using ClockWorkRecovery
  4. NEW USERS - do a factory reset (WIPE) in ClockWorkMod when installing for the first time.

What does this rom offer
  • 99% of all the new 3.1 features including;
  • Google Video (i think it was 3.1 only)
  • Google Books (i think it was 3.1 only)
  • Google VideoEditor
  • Asus Book Reader
  • Enhanced exchange support
  • Faster Browser
  • resizable widgets (new launcher 3.1)
  • multilanguage
  • enhanced task manager
  • added filesystem tweaks (kernel 2.6.36.3 features)
  • added 3G Huawei dongle support
  • added international keyboard layout support
  • SIP supported & SMS supported
  • enhanced network driver
  • root'd + superuser.apk included
  • DLNA support

Latest updates (P8-patch3)

  • [*] 2.6.36.4 kernel with CIFS/NFS/3G support. Optional OC upto 1700Mhz.
    [*] Now with PS3 controller support
    [*] A Splashtop HD fix here in this attachment
    [*] Asus book reader app fix.
  • added SMS functionality with 3G, and enable SIP phone over wifi function, use SMS app from Market(handcent sms) with mobile part.
  • rearranged boot image parameters a little.
  • Media scanner both see internal & external directories now perfectly.
  • disabled adb at bootup, so Internal storage shows on windows ( through Portable devices - A500)
  • GoogleVideos app added (tested and working from USA)
  • Changed boot.img, so "am,install" etc works from adb again.
  • Added AcerSync (Request)
  • Replaced Asus Camera with Acer Camera (Request)
  • changes to mounted ext4 filesystems (small optimization)
  • Wifi fix added for EU users to build.prop "ro.wifi.country=EU"
  • Full fix for storage locations: Now its simple /mnt/sdcard , /mnt/external_sd , /mnt/usb_storage
  • bootanimation update .. Thanks to boggio95
  • Dock station + remote controller fix
  • LetsGolf included in full image , i just had to :)
  • Settings -> Battery stats is now included

[Bugs confirmed]
  • rotation lock key does not work (it serves no function in Asus firmware)

Don't mess with! (NOW YOU ARE WARNED!)
  • Disabling Phone+TelephonyProvider can cause unstable OS, settings crash, tablet freeze etc..
  • Removing apps from system folder can cause bootloop's

[PRIMEE_p8-3.zip] (patch goes on top of above existing full p8 image)
MD5: 4a48c21b4dc6cbfd6d074105318c88c4

[PRIMEE_acerA500-p8.zip]
MD5: 4efd9fcfdbe918c8ac696467a05a0ae7

See post #2 for installation and all other guides

You do all this and you take the risk. But remember if you got the CWM working, you should be safe and you can run itsmagic from CWM if you are in doubt. I take no responsibilites if you damage or brick your device. But if you do think its bricked, and you get checksum errors both at boot and recovery, sc2k might be able to help if you saved your UID number.
 
Last edited:

Dexter_nlb

Senior Member
Feb 12, 2009
5,459
4,550
Copenhagen
The GUIDES!!

INSTALL RECOVERY.IMG with ITSMAGIC (proceed at your own risk) Recommended is to follow original guide
Alternatively, a new easy installer solution for adding the new recovery.img see AcerRecoveryInstaller from Market.

0. Please read the guide below to get your UID ( see How to get the USB serial number for more info)
1. Extract the recovery.zip and copy the contents, recovery.img, to your a500. normally /data/local is a sure location to write it to.
2. so copy using adb like this
  • adb push recovery.img /data/local
  • adb push itsmagic /data/local
3. open adb shell
4. execute commands
  • su -
  • chmod 755 /data/local/itsmagic
  • /data/local/itsmagic
5. if the itsmagic works, you see the "done" information etc... BUT if its not working, don't do the commands below...try and figure out why its not working.
6. IMPORTANT - if all is ok, continue with the commands to remove any chance of corrupting recovery.
  • mount -orw,remount /system
  • rm /system/etc/install-recovery.sh
    • (this command can fail ie. not found (its ok if it does))
  • mount -oro,remount /system
6a. Next these commands below will install the new recovery.
  • cat /dev/block/mmcblk0p1 >/data/local/oldrecovery.img
  • chmod 777 /data/local/oldrecovery.img
  • cat /data/local/recovery.img >/dev/block/mmcblk0p1
  • /data/local/itsmagic
  • sync
Copy the /data/local/oldrecovery.img to your pc.
Execute this command on your pc.
  • adb pull /data/local/oldrecovery.img oldrecovery.img


1. with adb you can restore the "oldrecovery.img" like this
  • adb push oldrecovery.img /data/local
  • adb push itsmagic /data/local
2. open adb shell
3. execute commands
  • su -
  • chmod 755 /data/local/itsmagic
  • /data/local/itsmagic
5. confirm itsmagic works.
6 if all is ok, continue with the commands
  • cat /data/local/oldrecovery.img >/dev/block/mmcblk0p1
  • /data/local/itsmagic
  • sync



INSTALL CUSTOMROM GUIDE (proceed at your own risk)
  • make sure you validate the MD5SUM of the rom zipfile if possible for you, to ensure file is ok, or manually extract content on pc/mac/windows to verify zipfile is ok.
  • copy the PRIMEEv14_acerA500.zip to your sdcard, if md5sum / zip file is ok.
  • run the recovery (POWER off tablet.. then press and hold POWER button and hold VOL- until text in upper left corner appear and stop pressing VOL-)
  • use ClockWorkMod as normal (assumed is you tried cwm before) and wipe data/cache areas.
  • install zip file sdcard, and select the PRIMEEv14_acerA500.zip, and chose YES to install.
  • wait for installation to finish, and then choose reboot now
  • the zip file contains itsmagic and will execute at finish, so a reboot should run fine and boot your new custom rom.

How to get the USB serial number:


  • 1. Connect Iconia to your PC
  • 2.a Linux
    • call lsusb -v
    • read the value of iSerial for Iconia
  • 2.b Windows
    • - Open Device manager
    • - Goto Properties of Android USB Devices->Acer Composite ADB Interface
    • - Goto "Details" Tab
    • - Select "Parent" from the property selection.
    • - Read the value. It looks like this:
      USB\VID_0502&PID_3325\370014740c00594
    • - The number after the last "/" is the UID.
  • 2.c Windows (alternative method)
    • - Open the tool
    • - Sort after VendorID
    • - Check all devices with VendorID = 0502 and ProductID = 3325 . There is also a "Serial Number" column.

Backup all of your partitions on your iconia A500

Connect Iconia to your PC or open a terminal on your tablet. make sure you got a sdcard inserted to with at least 1GB free space
if you are on stock rom, location of sdcard is /mnt/external_sd , if you are already on 3.1 its /data/Removable/MicroSD, put that into first step below, where i wrote you should.
so execute the commands below, and you got a full backup of your device..Remember to execute the "itsmagic" command, if you restore this backup.
  • BACKUP COMMANDS
  • export SDCARD=[YOUR SDCARD LOCATION] (ie. SDCARD=/mnt/external_sd)
  • cat /dev/block/mmcblk0p1 >$SDCARD/mybackup_mmcblk0p1
  • cat /dev/block/mmcblk0p2 >$SDCARD/mybackup_mmcblk0p2
  • cat /dev/block/mmcblk0p3 >$SDCARD/mybackup_mmcblk0p3
  • cat /dev/block/mmcblk0p5 >$SDCARD/mybackup_mmcblk0p5
  • cat /dev/block/mmcblk0p6 >$SDCARD/mybackup_mmcblk0p6
  • cat /dev/block/mmcblk0p7 >$SDCARD/mybackup_mmcblk0p7
RESTORING FILES
If you want to restore the files, open the CWM recovery you installed and log in with adb.
make sure all partitions are unmounted. execute the commands in the adb here.
make a copy of the "itsmagic" application to your sdcard location as well.
  • RESTORE COMMANDS
  • mount /sdcard
  • export SDCARD=/sdcard
  • cat $SDCARD/mmcblk0p1 >/dev/block/mmcblk0p1
  • cat $SDCARD/mmcblk0p2 >/dev/block/mmcblk0p2
  • cat $SDCARD/mmcblk0p3 >/dev/block/mmcblk0p3
  • cat $SDCARD/mmcblk0p5 >/dev/block/mmcblk0p5
  • cat $SDCARD/mmcblk0p6 >/dev/block/mmcblk0p6
  • cat $SDCARD/mmcblk0p7 >/dev/block/mmcblk0p7
  • mount /system
  • copy $SDCARD/itsmagic /system/bin/
  • chmod 755 /system/bin/itsmagic
  • /system/bin/itsmagic
 
Last edited:

ardatdat

Senior Member
Jun 13, 2010
787
1,659
Travel around; but XDA x24
Wow! very prompt progress to custom rom. Thanks dexter!

Is that the recovery you included the CWM?

Can I understand that the recovery.img should be flashed using itsmagic method. After that, we get a custom recovery (CWM) to restore your update.zip.

And your update.zip will not contain anything that would alter the kernel such that you will not run itsmagic again in your update.zip. Am I correct? Thanks.
 

Dexter_nlb

Senior Member
Feb 12, 2009
5,459
4,550
Copenhagen
And your update.zip will not contain anything that would alter the kernel such that you will not run itsmagic again in your update.zip. Am I correct? Thanks.
my update.zip WILL install a custom boot.img , as HC3.1 uses a different boot, so its unavoidable..

but i have included itsmagic in the zip, and when the "system" is unpacked, it leaves it unmounted until itsmagic has run, so the libraries are available to execute the application which is done at the end in the updater-script.

I have tested it and it works and installs the new boot with this recovery.img (this image got busybox in /sbin which is important)

sorry, little tech, but required to explain how i did it.
 

Gammelgustav

Senior Member
Jan 17, 2011
821
257
Cologne
Oh YEAH! Was still hoping for this coz customROMs came to other devices with locked bootloader too!
Now its here!
Will definetly try this when i have time this afternoon :)
 

Dexter_nlb

Senior Member
Feb 12, 2009
5,459
4,550
Copenhagen
dexter, can you make a guide for newbie to install this rom ? or may be any one?

Soon, i will do even better.. ill dig up an old application used on FlipOut to install a recovery.. this app will then install the recovery.img and run the "itsmagic" application. but that for later.

but here is my way of seeing it simple, if you can use adb and a shell in a rooted a500.

See post #1 for the GUIDE(s)
 
Last edited:

Alejandrissimo

Senior Member
Jan 12, 2011
778
625
unlock-bootloader.com
Soon, i will do even better.. ill dig up an old application used on FlipOut to install a recovery.. this app will then install the recovery.img and run the "itsmagic" application. but that for later.

but here is my way of seeing it simple, if you can use adb and a shell in a rooted a500.

See post #1 for the GUIDE(s)

I got a itsmagic: not found

when I try to execute :S i dont understand why, is there a permission to be set or something?

on itsmagic post just say "call itsmagic" but bunno what this mean :confused: its a command? just #itsmagic?

thanks in advance

EDIT:

I think this need to be posted on OP

2. so copy using adb like this

adb push recovery.img /data/local
adb push itsmagic /data/local

3. open adb shell
4. execute commands

cd /data/local
su -
chmod 755 itsmagic
./itsmagic
 
Last edited:
  • Like
Reactions: Dexter_nlb

bochocinco23

Senior Member
Mar 5, 2011
170
29
Can root explorer and terminal emulator be used to execute the above commands from the device or is adb the only option?

Sent from my A500 using XDA Premium App
 

mikefromcz

Member
Jan 27, 2008
25
1
Language support

Hi, does your ROM supports all languages like Android 3.1, or did you remove e.g. Czech language?
Anyway, sounds great, I will try it today.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 41
    Originally i ported PRIMEv1.4 by Roach2010, an honeycomb 3.1 rom from Asus to Iconia A500..Its now a more Acer specific rom based on acer drivers and software but with 3.1 features. We are still waiting for the kernel source, so limits of a stock kernel apply, which is one, using the new feature PS3 controller joypad's. Until source is out, these functions are missing.

    You can also follow updates on Twitter now: Dexter Picard (DexterPicard) on Twitter or me a Red bull, and you're sure i stay up working on this mod or you can visit my new homepage at Dexter's mods


    Kernel source of "angel" is found here

    BRIEF HOWTO
    1. Download AcerRecoveryInstaller from Market or from apps section of A500 here. or use the old solution from this post .
    2. Boot into ClockWorkRecovery (POWER ON + VOL-) and do a full backup.
    3. put PRIMEE v1.4 zip on your sdcard and install using ClockWorkRecovery
    4. NEW USERS - do a factory reset (WIPE) in ClockWorkMod when installing for the first time.

    What does this rom offer
    • 99% of all the new 3.1 features including;
    • Google Video (i think it was 3.1 only)
    • Google Books (i think it was 3.1 only)
    • Google VideoEditor
    • Asus Book Reader
    • Enhanced exchange support
    • Faster Browser
    • resizable widgets (new launcher 3.1)
    • multilanguage
    • enhanced task manager
    • added filesystem tweaks (kernel 2.6.36.3 features)
    • added 3G Huawei dongle support
    • added international keyboard layout support
    • SIP supported & SMS supported
    • enhanced network driver
    • root'd + superuser.apk included
    • DLNA support

    Latest updates (P8-patch3)

    • [*] 2.6.36.4 kernel with CIFS/NFS/3G support. Optional OC upto 1700Mhz.
      [*] Now with PS3 controller support
      [*] A Splashtop HD fix here in this attachment
      [*] Asus book reader app fix.
    • added SMS functionality with 3G, and enable SIP phone over wifi function, use SMS app from Market(handcent sms) with mobile part.
    • rearranged boot image parameters a little.
    • Media scanner both see internal & external directories now perfectly.
    • disabled adb at bootup, so Internal storage shows on windows ( through Portable devices - A500)
    • GoogleVideos app added (tested and working from USA)
    • Changed boot.img, so "am,install" etc works from adb again.
    • Added AcerSync (Request)
    • Replaced Asus Camera with Acer Camera (Request)
    • changes to mounted ext4 filesystems (small optimization)
    • Wifi fix added for EU users to build.prop "ro.wifi.country=EU"
    • Full fix for storage locations: Now its simple /mnt/sdcard , /mnt/external_sd , /mnt/usb_storage
    • bootanimation update .. Thanks to boggio95
    • Dock station + remote controller fix
    • LetsGolf included in full image , i just had to :)
    • Settings -> Battery stats is now included

    [Bugs confirmed]
    • rotation lock key does not work (it serves no function in Asus firmware)

    Don't mess with! (NOW YOU ARE WARNED!)
    • Disabling Phone+TelephonyProvider can cause unstable OS, settings crash, tablet freeze etc..
    • Removing apps from system folder can cause bootloop's

    [PRIMEE_p8-3.zip] (patch goes on top of above existing full p8 image)
    MD5: 4a48c21b4dc6cbfd6d074105318c88c4

    [PRIMEE_acerA500-p8.zip]
    MD5: 4efd9fcfdbe918c8ac696467a05a0ae7

    See post #2 for installation and all other guides

    You do all this and you take the risk. But remember if you got the CWM working, you should be safe and you can run itsmagic from CWM if you are in doubt. I take no responsibilites if you damage or brick your device. But if you do think its bricked, and you get checksum errors both at boot and recovery, sc2k might be able to help if you saved your UID number.
    7
    The GUIDES!!

    INSTALL RECOVERY.IMG with ITSMAGIC (proceed at your own risk) Recommended is to follow original guide
    Alternatively, a new easy installer solution for adding the new recovery.img see AcerRecoveryInstaller from Market.

    0. Please read the guide below to get your UID ( see How to get the USB serial number for more info)
    1. Extract the recovery.zip and copy the contents, recovery.img, to your a500. normally /data/local is a sure location to write it to.
    2. so copy using adb like this
    • adb push recovery.img /data/local
    • adb push itsmagic /data/local
    3. open adb shell
    4. execute commands
    • su -
    • chmod 755 /data/local/itsmagic
    • /data/local/itsmagic
    5. if the itsmagic works, you see the "done" information etc... BUT if its not working, don't do the commands below...try and figure out why its not working.
    6. IMPORTANT - if all is ok, continue with the commands to remove any chance of corrupting recovery.
    • mount -orw,remount /system
    • rm /system/etc/install-recovery.sh
      • (this command can fail ie. not found (its ok if it does))
    • mount -oro,remount /system
    6a. Next these commands below will install the new recovery.
    • cat /dev/block/mmcblk0p1 >/data/local/oldrecovery.img
    • chmod 777 /data/local/oldrecovery.img
    • cat /data/local/recovery.img >/dev/block/mmcblk0p1
    • /data/local/itsmagic
    • sync
    Copy the /data/local/oldrecovery.img to your pc.
    Execute this command on your pc.
    • adb pull /data/local/oldrecovery.img oldrecovery.img


    1. with adb you can restore the "oldrecovery.img" like this
    • adb push oldrecovery.img /data/local
    • adb push itsmagic /data/local
    2. open adb shell
    3. execute commands
    • su -
    • chmod 755 /data/local/itsmagic
    • /data/local/itsmagic
    5. confirm itsmagic works.
    6 if all is ok, continue with the commands
    • cat /data/local/oldrecovery.img >/dev/block/mmcblk0p1
    • /data/local/itsmagic
    • sync



    INSTALL CUSTOMROM GUIDE (proceed at your own risk)
    • make sure you validate the MD5SUM of the rom zipfile if possible for you, to ensure file is ok, or manually extract content on pc/mac/windows to verify zipfile is ok.
    • copy the PRIMEEv14_acerA500.zip to your sdcard, if md5sum / zip file is ok.
    • run the recovery (POWER off tablet.. then press and hold POWER button and hold VOL- until text in upper left corner appear and stop pressing VOL-)
    • use ClockWorkMod as normal (assumed is you tried cwm before) and wipe data/cache areas.
    • install zip file sdcard, and select the PRIMEEv14_acerA500.zip, and chose YES to install.
    • wait for installation to finish, and then choose reboot now
    • the zip file contains itsmagic and will execute at finish, so a reboot should run fine and boot your new custom rom.

    How to get the USB serial number:


    • 1. Connect Iconia to your PC
    • 2.a Linux
      • call lsusb -v
      • read the value of iSerial for Iconia
    • 2.b Windows
      • - Open Device manager
      • - Goto Properties of Android USB Devices->Acer Composite ADB Interface
      • - Goto "Details" Tab
      • - Select "Parent" from the property selection.
      • - Read the value. It looks like this:
        USB\VID_0502&PID_3325\370014740c00594
      • - The number after the last "/" is the UID.
    • 2.c Windows (alternative method)
      • - Open the tool
      • - Sort after VendorID
      • - Check all devices with VendorID = 0502 and ProductID = 3325 . There is also a "Serial Number" column.

    Backup all of your partitions on your iconia A500

    Connect Iconia to your PC or open a terminal on your tablet. make sure you got a sdcard inserted to with at least 1GB free space
    if you are on stock rom, location of sdcard is /mnt/external_sd , if you are already on 3.1 its /data/Removable/MicroSD, put that into first step below, where i wrote you should.
    so execute the commands below, and you got a full backup of your device..Remember to execute the "itsmagic" command, if you restore this backup.
    • BACKUP COMMANDS
    • export SDCARD=[YOUR SDCARD LOCATION] (ie. SDCARD=/mnt/external_sd)
    • cat /dev/block/mmcblk0p1 >$SDCARD/mybackup_mmcblk0p1
    • cat /dev/block/mmcblk0p2 >$SDCARD/mybackup_mmcblk0p2
    • cat /dev/block/mmcblk0p3 >$SDCARD/mybackup_mmcblk0p3
    • cat /dev/block/mmcblk0p5 >$SDCARD/mybackup_mmcblk0p5
    • cat /dev/block/mmcblk0p6 >$SDCARD/mybackup_mmcblk0p6
    • cat /dev/block/mmcblk0p7 >$SDCARD/mybackup_mmcblk0p7
    RESTORING FILES
    If you want to restore the files, open the CWM recovery you installed and log in with adb.
    make sure all partitions are unmounted. execute the commands in the adb here.
    make a copy of the "itsmagic" application to your sdcard location as well.
    • RESTORE COMMANDS
    • mount /sdcard
    • export SDCARD=/sdcard
    • cat $SDCARD/mmcblk0p1 >/dev/block/mmcblk0p1
    • cat $SDCARD/mmcblk0p2 >/dev/block/mmcblk0p2
    • cat $SDCARD/mmcblk0p3 >/dev/block/mmcblk0p3
    • cat $SDCARD/mmcblk0p5 >/dev/block/mmcblk0p5
    • cat $SDCARD/mmcblk0p6 >/dev/block/mmcblk0p6
    • cat $SDCARD/mmcblk0p7 >/dev/block/mmcblk0p7
    • mount /system
    • copy $SDCARD/itsmagic /system/bin/
    • chmod 755 /system/bin/itsmagic
    • /system/bin/itsmagic
    4
    Here is a mount fix.
    Internal and External (if inserted) are now detected.
    Using internal SD by default.

    http://dl.dropbox.com/u/14055980/fix_mount-V2.zip
    3
    Bigger Patch8 update (full image only)

    Latest updates (Patch8 *BEING UPLOADED*)
    + rearranged boot image parameters a little.
    + Media scanner both see internal & external directories now perfectly.
    + disabled adb at bootup, so Internal storage shows on windows ( through Portable devices - A500)
    + GoogleVideos app added (tested and working from USA)
    + Changed boot.img, so "am,install" etc works from adb again.
    + Added AcerSync (Request)
    + Replaced Asus Camera with Acer Camera (Request)
    + changes to mounted ext4 filesystems (small optimization)
    + Wifi fix added for EU users to build.prop "ro.wifi.country=EU"
    + Full fix for storage locations: Now its simple /mnt/sdcard , /mnt/external_sd , /mnt/usb_storage
    + bootanimation update .. Thanks to boggio95


    Will post link when its ready
    And,
    I Cannot say if Wipe/Factory is required, only tested clean installs here
    2
    sensor patch here

    My light sensor doesn't work. But i expected this.
    My fault.. just confirmed the wrong sensors.*.so was loaded...

    attached is the sensor patch for you to test, install via CWM..
    I tested light sensor and i get LUX readings now..

    If you rebooted after running those commands, that's why it didn't work.. It doesn't survive a reboot.

    A dirty fix for the /sdard issue is now included in this patch as well.
    it solves the /sdcard pointing to /data/media