[Miscellaneous Android Development] Ashby7:
acer_iconia_toolkit_v0.9.4b_32bit

Received root. But do not put BusyBox. 10 times altered, it is useless. At the beginning produces an error, then continues. And stick it threw, and all possible rights given, alas...that won't mount the internal memory and does nothing to erase or set in the system.

Here is what writes:

mPowerRequest=screenState=2, useProximitySensor=false, forceProximitySensorEnable=false, forceWakeUpEnable=false, screenBrightness=102, screenAutoBrightnessAdjustment=0.0, useAutoBrightness=true, useEcoBrightness=false, blockScreenOn=false

mWaitingForNegativeProximity=false

mProximitySensor={Sensor name="APDS9930 Proximity Sensor", vendor="Avago", version=1, type=8, maxRange=1.0, resolution=1.0, power=0.13, minDelay=0}

mProximitySensorEnabled=false

mProximityThreshold=1.0

mProximity=Unknown

mPendingProximity=Unknown

mPendingProximityDebounceTime=-1 (713054 ms ago)

mScreenOffBecauseOfProximity=false

mLightSensor={Sensor name="APDS9930 Light Sensor", vendor="Avago", version=1, type=5, maxRange=10240.0, resolution=1.0, power=0.13, minDelay=0}

mLightSensorEnabled=true

mLightSensorEnableTime=198259 (514794 ms ago)

mAmbientLux=0.0

mAmbientLuxValid=true

mLastObservedLux=1.0

mLastObservedLuxTime=708004 (5049 ms ago)

mRecentLightSamples=441

mRecentShortTermAverageLux=1.6520962

mRecentLongTermAverageLux=2.0184917

mDebounceLuxDirection=0

mDebounceLuxTime=198310 (514744 ms ago)

mScreenAutoBrightness=30

mUsingScreenAutoBrightness=true

mLastScreenAutoBrightnessGamma=1.0

mTwilight.getCurrentState()=null

mElectronBeamOnAnimator.isStarted()=false

mElectronBeamOffAnimator.isStarted()=false

Display Power State:

mScreenOn=true

mScreenBrightness=30

mScreenReady=true

mScreenUpdatePending=false

mElectronBeamPrepared=false

mElectronBeamLevel=1.0

mElectronBeamReady=true

mElectronBeamDrawPending=false

Photonic Modulator State:

mPendingOn=true

mPendingBacklight=30

mActualOn=true

mActualBacklight=30

mChangeInProgress=false

Electron Beam State:

mPrepared=false

mMode=0

mDisplayLayerStack=0

mDisplayWidth=0

mDisplayHeight=0

mSurfaceVisible=false

mSurfaceAlpha=0.0

Wireless Charger Detector State:

mGravitySensor=null

mPoweredWirelessly=false

mAtRest=false

mRestX=0.0, mRestY=0.0, mRestZ=0.0

mDetectionInProgress=false

mDetectionStartTime=0 (never)

mMustUpdateRestPosition=false

mTotalSamples=0

mMovingSamples=0

mFirstSampleX=0.0, mFirstSampleY=0.0, mFirstSampleZ=0.0

mLastSampleX=0.0, mLastSampleY=0.0, mLastSampleZ=0.0

2016/02/17 06:42:45: Turn on your Acer Liquid S1 (S510 / A10) now and unlock the screen.

2016/02/17 06:42:45: Make sure your Acer Liquid S1 (S510 / A10) is and stays(!) in PORTRAIT mode!

2016/02/17 06:42:45: Hit ENTER when you are done.

[ENTER] Continue

[Q] Quit

Enter a selection:

2016/02/17 06:42:46: Don't touch the screen! I'm taking it over now ;)

Starting: Intent { cmp=com.mediatek.engineermode/.EngineerMode }

Warning: Activity not started, its current task has been brought to the front

2016/02/17 06:42:57: Removing old characters. This may take a minute or two!

2016/02/17 06:45:09: Checking, if telnet server is started. If the tool crashes now, try to start telnet server manually by clicking on 'Run'.

error: device not found

Traceback (most recent call last):

File ".toolkit.py", line 1462, in <module>

main()

File ".toolkit.py", line 165, in main

menu()

File ".toolkit.py", line 207, in menu

unix_root_menu()

File ".toolkit.py", line 386, in unix_root_menu

unix_root_from_scratch()

File ".toolkit.py", line 579, in unix_root_from_scratch

start_telnet_server()

File ".toolkit.py", line 1141, in start_telnet_server

out = subprocess.check_output(adb + 'shell ps | grep "/data/local/tmp/busybox"', shell=True)

File "/usr/lib/python2.7/subprocess.py", line 573, in check_output

raise CalledProcessError(retcode, cmd, output=output)

subprocess.CalledProcessError: Command 'sudo bin/posix/32/adb shell ps | grep "/data/local/tmp/busybox"' returned non-zero exit status 1

chelios@chelios-desktop ~/acer_iconia_toolkit_v0.9.4b_32bit $ chmod +x toolkit.sh

chelios@chelios-desktop ~/acer_iconia_toolkit_v0.9.4b_32bit $ ./toolkit.sh -d

======= Acer Iconia Toolkit v0.9.4 =======

Which device do you have?

[1] Acer Iconia B1-A71

[2] Acer Iconia A1-810 / A1-811 / A3-A10 / B1-711 / B1-720

[3] Acer Iconia B1-710 / B1-A710

[4] Acer Liquid S1 (S510 / A10)

[Q] Quit

Enter a selection: 4

======= Acer Liquid S1 (S510 / A10) Toolkit v0.9.4 =======

What do you want to do?

[1] Root

[2] Unroot

[3] Internal 2 External (needs root)

[4] Odex (needs root)

[5] Pull system.img.gz from tablet

[Q] Quit

Enter a selection: 1

What do you want to do?

[1] Root from scratch (without prerooted system.img.gz).

[2] Root with prerooted system.img.gz (must be placed in folder 'system_image' on your PC)

[Q] Quit

Enter a selection: 1

Do you want to make your external SDCard writeable?

[Y]es

[N]o

[Q]uit

Enter a selection: y

Do you want to do everything all at once (= do not wait for input before restoring system.img?

Make sure to:

1. Plugin both computer and device into power

2. Do not touch the device

3. Do not EVER disconnect the USB of the device

4. Make sure to wait till everything succeeds!

Failure to do so may cause disconnect in the restore procedure which can brick the device!

[Y]es

[N]o

[Q]uit

Enter a selection: y

================== Root =================

Before we can start, please do following:

1. Plug-In your Acer Liquid S1 (S510 / A10) into this PC.

2. Enable USB Debugging Mode by going into Settings -> Developer Tools.

3. Keep your device plugged in until it's finally unrooted, or this procedure is aborted!

If you successfully applied the steps above, we can now start.

You can always abort by pressing Ctrl+C.

The following procedures can take up to 30 minutes!

To finally play back the rooted system.img.gz a confirmation will be needed then.

[ENTER] Continue

[Q] Quit

Enter a selection:

2016/02/17 06:47:42: Trying to establish ADB Connection...

List of devices attached

33559283864	device

2016/02/17 06:47:42: ADB Connection to your Acer Liquid S1 (S510 / A10) successful.

2016/02/17 06:47:42: Copying Busybox to your Acer Liquid S1 (S510 / A10).

4185 KB/s (1062992 bytes in 0.248s)

2016/02/17 06:47:42: Successfully copied Busybox to your Acer Liquid S1 (S510 / A10).

2016/02/17 06:47:42: Starting Telnet server on your Acer Liquid S1 (S510 / A10).

POWER MANAGER (dumpsys power)

Power Manager State:

mDirty=0x0

mWakefulness=Awake

mIsPowered=true

mPlugType=2

mBatteryLevel=86

mBatteryLevelWhenDreamStarted=0

mDockState=0

mStayOn=false

mProximityPositive=false

mBootCompleted=true

mSystemReady=true

mWakeLockSummary=0x0

mUserActivitySummary=0x1

mRequestWaitForNegativeProximity=false

mSandmanScheduled=false

mLastWakeTime=0 (1010249 ms ago)

mLastSleepTime=0 (1010249 ms ago)

mSendWakeUpFinishedNotificationWhenReady=false

mSendGoToSleepFinishedNotificationWhenReady=false

mLastUserActivityTime=859788 (150461 ms ago)

mLastUserActivityTimeNoChangeLights=859792 (150457 ms ago)

mDisplayReady=true

mHoldingWakeLockSuspendBlocker=false

mHoldingDisplaySuspendBlocker=true

Settings and Configuration:

mWakeUpWhenPluggedOrUnpluggedConfig=true

mSuspendWhenScreenOffDueToProximityConfig=true

mDreamsSupportedConfig=true

mDreamsEnabledByDefaultConfig=true

mDreamsActivatedOnSleepByDefaultConfig=false

mDreamsActivatedOnDockByDefaultConfig=true

mDreamsEnabledSetting=true

mDreamsActivateOnSleepSetting=false

mDreamsActivateOnDockSetting=true

mScreenOffTimeoutSetting=2147483647

mMaximumScreenOffTimeoutFromDeviceAdmin=2147483647 (enforced=false)

mStayOnWhilePluggedInSetting=0

mScreenBrightnessSetting=66

mScreenAutoBrightnessAdjustmentSetting=0.0

mScreenBrightnessModeSetting=3

mScreenBrightnessOverrideFromWindowManager=-1

mUserActivityTimeoutOverrideFromWindowManager=-1

mTemporaryScreenBrightnessSettingOverride=-1

mTemporaryScreenAutoBrightnessAdjustmentSettingOverride=NaN

mScreenBrightnessSettingMinimum=30

mScreenBrightnessSettingMaximum=255

mScreenBrightnessSettingDefault=102

Screen off timeout: 2147483647 ms

Screen dim duration: 7000 ms

Wake Locks: size=0

Suspend Blockers: size=4

PowerManagerService.WakeLocks: ref count=0

PowerManagerService.Display: ref count=1

PowerManagerService.Broadcasts: ref count=0

PowerManagerService.WirelessChargerDetector: ref count=0

Screen On Blocker: held=false, mNestCount=0

Display Blanker: blanked=false

Display Controller Locked State:

mDisplayReadyLocked=true

mPendingRequestLocked=screenState=2, useProximitySensor=false, forceProximitySensorEnable=false, forceWakeUpEnable=false, screenBrightness=102, screenAutoBrightnessAdjustment=0.0, useAutoBrightness=true, useEcoBrightness=false, blockScreenOn=false

mPendingRequestChangedLocked=false

mPendingWaitForNegativeProximityLocked=false

mPendingUpdatePowerStateLocked=false

Display Controller Configuration:

mScreenBrightnessDimConfig=20

mScreenBrightnessRangeMinimum=20

mScreenBrightnessRangeMaximum=255

mUseSoftwareAutoBrightnessConfig=true

mScreenAutoBrightnessSpline=[(0.0, 0.11764706: 0.012254903), (16.0, 0.3137255: 0.0066409903), (100.0, 0.4: 8.194211E-4), (600.0, 0.7058824: 3.6715687E-4), (3000.0, 1.0: 1.2254901E-4)]

mLightSensorWarmUpTimeConfig=0

Display Controller Thread State:

mPowerRequest=screenState=2, useProximitySensor=false, forceProximitySensorEnable=false, forceWakeUpEnable=false, screenBrightness=102, screenAutoBrightnessAdjustment=0.0, useAutoBrightness=true, useEcoBrightness=false, blockScreenOn=false

mWaitingForNegativeProximity=false

mProximitySensor={Sensor name="APDS9930 Proximity Sensor", vendor="Avago", version=1, type=8, maxRange=1.0, resolution=1.0, power=0.13, minDelay=0}

mProximitySensorEnabled=false

mProximityThreshold=1.0

mProximity=Unknown

mPendingProximity=Unknown

mPendingProximityDebounceTime=-1 (1010256 ms ago)

mScreenOffBecauseOfProximity=false

mLightSensor={Sensor name="APDS9930 Light Sensor", vendor="Avago", version=1, type=5, maxRange=10240.0, resolution=1.0, power=0.13, minDelay=0}

mLightSensorEnabled=true

mLightSensorEnableTime=198259 (811996 ms ago)

mAmbientLux=0.0

mAmbientLuxValid=true

mLastObservedLux=1.0

mLastObservedLuxTime=1009454 (801 ms ago)

mRecentLightSamples=690

mRecentShortTermAverageLux=1.0731115

mRecentLongTermAverageLux=1.3615621

mDebounceLuxDirection=0

mDebounceLuxTime=198310 (811945 ms ago)

mScreenAutoBrightness=30

mUsingScreenAutoBrightness=true

mLastScreenAutoBrightnessGamma=1.0

mTwilight.getCurrentState()=null

mElectronBeamOnAnimator.isStarted()=false

mElectronBeamOffAnimator.isStarted()=false

Display Power State:

mScreenOn=true

mScreenBrightness=30

mScreenReady=true

mScreenUpdatePending=false

mElectronBeamPrepared=false

mElectronBeamLevel=1.0

mElectronBeamReady=true

mElectronBeamDrawPending=false

Photonic Modulator State:

mPendingOn=true

mPendingBacklight=30

mActualOn=true

mActualBacklight=30

mChangeInProgress=false

Electron Beam State:

mPrepared=false

mMode=0

mDisplayLayerStack=0

mDisplayWidth=0

mDisplayHeight=0

mSurfaceVisible=false

mSurfaceAlpha=0.0

Wireless Charger Detector State:

mGravitySensor=null

mPoweredWirelessly=false

mAtRest=false

mRestX=0.0, mRestY=0.0, mRestZ=0.0

mDetectionInProgress=false

mDetectionStartTime=0 (never)

mMustUpdateRestPosition=false

mTotalSamples=0

mMovingSamples=0

mFirstSampleX=0.0, mFirstSampleY=0.0, mFirstSampleZ=0.0

mLastSampleX=0.0, mLastSampleY=0.0, mLastSampleZ=0.0

2016/02/17 06:47:42: Turn on your Acer Liquid S1 (S510 / A10) now and unlock the screen.

2016/02/17 06:47:42: Make sure your Acer Liquid S1 (S510 / A10) is and stays(!) in PORTRAIT mode!

2016/02/17 06:47:42: Hit ENTER when you are done.

[ENTER] Continue

[Q] Quit

Enter a selection:

2016/02/17 06:47:43: Don't touch the screen! I'm taking it over now ;)

Starting: Intent { cmp=com.mediatek.engineermode/.EngineerMode }

Warning: Activity not started, its current task has been brought to the front

2016/02/17 06:47:54: Removing old characters. This may take a minute or two!

2016/02/17 06:50:07: Checking, if telnet server is started. If the tool crashes now, try to start telnet server manually by clicking on 'Run'.

shell 6041 1 1196 16 c0117774 000c2138 S /data/local/tmp/busybox

2016/02/17 06:50:07: Successfully started Telnet server on your Acer Liquid S1 (S510 / A10).

/data/local/tmp/busybox telnet 127.0.0.1 1234 | cat /proc/dumchar_info

exit

exit

27.0.0.1 1234 | cat /proc/dumchar_info <

Part_Name	Size	StartAddr	Type	MapTo

preloader 0x0000000000c00000 0x0000000000000000 2 /dev/misc-sd

mbr 0x0000000000080000 0x0000000000000000 2 /dev/block/mmcblk0

ebr1 0x0000000000080000 0x0000000000080000 2 /dev/block/mmcblk0p1

pmt 0x0000000000400000 0x0000000000100000 2 /dev/block/mmcblk0

pro_info 0x0000000000300000 0x0000000000500000 2 /dev/block/mmcblk0

nvram 0x0000000000500000 0x0000000000800000 2 /dev/block/mmcblk0

protect_f 0x0000000000a00000 0x0000000000d00000 2 /dev/block/mmcblk0p2

protect_s 0x0000000000a00000 0x0000000001700000 2 /dev/block/mmcblk0p3

seccfg 0x0000000000020000 0x0000000002100000 2 /dev/block/mmcblk0

uboot 0x0000000000060000 0x0000000002120000 2 /dev/block/mmcblk0

bootimg 0x0000000000a00000 0x0000000002180000 2 /dev/block/mmcblk0

recovery 0x0000000000a00000 0x0000000002b80000 2 /dev/block/mmcblk0

sec_ro 0x0000000000600000 0x0000000003580000 2 /dev/block/mmcblk0p4

misc 0x0000000000080000 0x0000000003b80000 2 /dev/block/mmcblk0

logo 0x0000000000300000 0x0000000003c00000 2 /dev/block/mmcblk0

factory 0x0000000001400000 0x0000000003f00000 2 /dev/block/mmcblk0

expdb 0x0000000000a00000 0x0000000005300000 2 /dev/block/mmcblk0

android 0x0000000040000000 0x0000000005d00000 2 /dev/block/mmcblk0p5

2016/02/17 06:50:07: Creating system.img.gz (this will take about 7 minutes) ...

/data/local/tmp/busybox telnet 127.0.0.1 1234

dd if=/dev/block/mmcblk0 bs=4096 skip=23808 count=262144 | gzip > /data/local/tmp/system.img.gz

shell@a10:/ $ /data/local/tmp/busybox telnet 127.0.0.1 1234

Entering character mode

Escape character is '^]'.

dd if=/dev/block/mmcblk0 bs=4096 skip=23808 count=262144 | gzip > /data/local/tmp/system.img.gz

skip=23808 count=262144 | gzip > /data/local/tmp/system.img.gz <

262144+0 records in

262144+0 records out

1073741824 bytes transferred in 222.666 secs (4822208 bytes/sec)

shell@a10:/ $ exit

Connection closed by foreign host

exit

1|shell@a10:/ $ exit

/data/local/tmp/busybox telnet 127.0.0.1 1234

chmod 777 /data/local/tmp

chmod 777 /data/local/tmp/system.img.gz

shell@a10:/ $ /data/local/tmp/busybox telnet 127.0.0.1 1234

Entering character mode

Escape character is '^]'.

chmod 777 /data/local/tmp

chmod 777 /data/local/tmp/system.img.gz

shell@a10:/ $ chmod 777 /data/local/tmp

shell@a10:/ $ chmod 777 /data/local/tmp/system.img.gz

shell@a10:/ $ exit

Connection closed by foreign host

1|shell@a10:/ $ -rwxr-xr-x shell shell 1062992 2016-02-16 16:13 busybox

-rwxrwxrwx shell shell 659906332 2013-01-01 04:19 system.img.gz

2016/02/17 06:55:10: Successfully created a system.img.gz under /data/local/tmp.

2016/02/17 06:55:10: Pulling system.img.gz from Acer Liquid S1 (S510 / A10) (This can take upto 15 minutes)...

5459 KB/s (659906332 bytes in 118.047s)

2016/02/17 06:57:08: Successfully pulled system image to: '/home/chelios/acer_iconia_toolkit_v0.9.4b_32bit/system.img.gz'.

2016/02/17 06:57:08: Adding stuff to system.img ...

2016/02/17 06:57:08: Unzipping system.img ...

2016/02/17 06:57:40: Successfully unzipped pulled system.img.gz

2016/02/17 06:57:40: Mounting system.img ...

2016/02/17 06:57:40: Adding SuperSU...

rm: РЅРµРІРѕР·РјРѕР¶РЅРѕ СѓРґР°Р»РёС‚СЊ В«/media/iconia/bin/suВ»: РќРµС‚ С‚Р°РєРѕРіРѕ С„Р°Р№Р»Р° РёР»Рё РєР°С‚Р°Р»РѕРіР°

2016/02/17 06:57:41: Successfully mounted pulled system image and added SuperSU.

2016/02/17 06:57:41: Adding new platform.xml for writeable external sdcard...

2016/02/17 06:57:41: Successfully mounted pulled system image and added platform.xml for writeable external sdcard.

2016/02/17 06:57:41: Unmounting system.img...

2016/02/17 06:58:39: Successfully gzipped system.img again.

2016/02/17 06:58:39: Removing old system.img.gz from your Acer Liquid S1 (S510 / A10)...

2016/02/17 06:58:39: Copying rooted system.img.gz to your Acer Liquid S1 (S510 / A10) (This can take upto 15 minutes)...

rm /data/local/tmp/system.img.gz

exit

shell@a10:/ $ rm /data/local/tmp/system.img.gz

rm failed for /data/local/tmp/system.img.gz, No such file or directory

255|shell@a10:/ $ exit

4529 KB/s (663002766 bytes in 142.956s)

busybox

system.img.gz

2016/02/17 07:01:02: Successfully copied system.img.gz to /data/local/tmp

2016/02/17 07:01:02: Writing rooted system.img.gz. This is going to take 2 minutes.

2016/02/17 07:01:02: IN -ANY- CASE, DON'T INTERRUPT THIS PROCESS, OR YOUR DEVICE COULD BE -BRICKED-

2016/02/17 07:01:02: Doing it all at once...

R...................O...................O..................T

2016/02/17 07:03:03: SUCCESS!

2016/02/17 07:03:03: Your Acer Liquid S1 (S510 / A10) is now rooted. Unplug your tablet and reboot. Install Superuser from the Google Play Store and have fun ;)

2016/02/17 07:03:03: If your tablet is turned off and doesn't turn on anymore, take a pin and press the reset button on the right side of the Iconia B1, above the power button.

2016/02/17 07:03:03: Thanks to XDA: pawitp, alba81, FireDiamond, Optimissimus99, bullbrand, sodaFR, MatrixDJ96, ak6, min-dfreak, agentdeep, nick_1964, sampod and you ;)

Press Enter to leave Application...

:(:(:(

Nikagl, maybe even tweak toolkit? Happiness was so close... Have root working properly, but without busybox there is no point in this.