Disable ASEC on CM10.1 - Forum - ARCTABLET NEWS

A A A
Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?

ClockworkMod (CWM) Recovery easy install for RK3066 and RK3188 -- TWRP/CWM Flash-Tool and root for RK3288

 Please donate to support OMA and CrewRKTablets firmware work, thank you !

sp_Feed sp_TopicIcon
Disable ASEC on CM10.1
Disable ASEC on CM10.1 to improve performance and to install applications on external SD card flawlessly
Avatar
GuillaumeBarberousse

New Member
Members
Forum Posts: 5
Member Since:
2013/12/13
sp_UserOfflineSmall Offline
1
2015/03/07 - 14:25
sp_Permalink sp_Print sp_EditHistory

Hello,

On my Yuandao N101-II, I tried to boot on SD card instead of internal memory (I will describe this in another post), to increase speed, because internal NAND flash access is slow as hell on RK3066 based device.

After achieving that, I was unable to install some applications. It is because paid applications and applications installed on external SD are stored in a secured container called ASEC, and these containers doesn't work on external SD with my solution.

I patched services.jar to completly disable ASEC. This way, I can install whatever application where I want. It saves spaces (no need to copy libraries in each container) and memory and CPU ressources (no need to mount containers for each protected application).

How I did it: I decompiled services.jar with baksmali, edited PackageManagerService.smali, forced the 3 createInstallArgs methods to always return FileInstallArgs object (and never AsecInstallArgs) and recompiled services.jar with smali.

You can install my patched services.jar if you're using CM10.1 provided by the CrewRKTablets.

Back up your /system/framework/services.jar

Download it from http://www.mediafire.com/download/1djecujjg81t58o/services.jar (for CM10.1 only !)

Push it on /system/framework/services.jar, with your favorite root file explorer or with adb:

adb remount
adb push services.jar /system/framework

Reboot your tablet.

The following users say thank you to GuillaumeBarberousse for this useful post:

Oma7144, JochenKauz
Forum Timezone: Europe/Paris

Most Users Ever Online: 749

Currently Online:
157 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Oma7144: 5817

globula_neagra: 2424

finless: 604

DarthJabba: 551

exelletor: 450

JochenKauz: 450

cracktech: 432

maikal: 394

Newest Members:

elmstico

guykild

TTT1805

ming2088

pcclinic2

pcclinic

Forum Stats:

Groups: 10

Forums: 185

Topics: 5938

Posts: 58991

 

Member Stats:

Guest Posters: 43

Members: 257388

Moderators: 5

Admins: 1

Administrators: admin

Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech