[Miscellaneous Android Development] NemoKOF:
Its getting better and better:

zenon@zenon-700Z5C:~/Pobrane/Acer3$ sudo ./toolkit.sh

[sudo] password for zenon:

======= Acer Iconia Toolkit v0.6.0 =======

Which device do you have?

[1] Acer Iconia B1-A71

[2] Acer Iconia A1-810

[Q] Quit

Enter a selection: 2

======= Acer Iconia A1-810 Toolkit v0.6.0 =======

What do you want to do?

[1] Root

[2] Unroot

[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')

[Q] Quit

Enter a selection: 2

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

Before we can start, please do following:

1. Plug-In your Acer Iconia A1-810 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 sucessfully applied the steps above, we can now start.

You can always abort by pressing Ctrl+C

[ENTER] Continue

[Q] Quit

Enter a selection:

Starting Telnet server on your Acer Iconia A1-810.

POWER MANAGER (dumpsys power)

Power Manager State:

mDirty=0x0

mWakefulness=Awake

mIsPowered=true

mPlugType=2

mBatteryLevel=47

mBatteryLevelWhenDreamStarted=0

mDockState=0

mStayOn=false

mProximityPositive=false

mBootCompleted=true

mSystemReady=true

mWakeLockSummary=0x0

mUserActivitySummary=0x1

mRequestWaitForNegativeProximity=false

mSandmanScheduled=false

mLastWakeTime=406942 (7952 ms ago)

mLastSleepTime=385912 (28982 ms ago)

mSendWakeUpFinishedNotificationWhenReady=false

mSendGoToSleepFinishedNotificationWhenReady=false

mLastUserActivityTime=408419 (6477 ms ago)

mLastUserActivityTimeNoChangeLights=0 (414897 ms ago)

mDisplayReady=true

mHoldingWakeLockSuspendBlocker=true

Settings and Configuration:

mDreamsSupportedConfig=true

mDreamsEnabledSetting=false

mDreamsActivateOnSleepSetting=true

mDreamsActivateOnDockSetting=false

mScreenOffTimeoutSetting=30000

mMaximumScreenOffTimeoutFromDeviceAdmin=2147483647 (enforced=false)

mStayOnWhilePluggedInSetting=0

mScreenBrightnessSetting=254

mScreenAutoBrightnessAdjustmentSetting=0.0

mScreenBrightnessModeSetting=0

mScreenBrightnessOverrideFromWindowManager=-1

mUserActivityTimeoutOverrideFromWindowManager=-1

mTemporaryScreenBrightnessSettingOverride=-1

mTemporaryScreenAutoBrightnessAdjustmentSettingOverride=NaN

mScreenBrightnessSettingMinimum=30

mScreenBrightnessSettingMaximum=254

mScreenBrightnessSettingDefault=105

Screen off timeout: 30000 ms

Screen dim duration: 6000 ms

Wake Locks: size=0

Suspend Blockers: size=3

PowerManagerService: 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, screenBrightness=254, screenAutoBrightnessAdjustment=0.0, useAutoBrightness=false, useEcoBrightness=false, blockScreenOn=false

mPendingRequestChangedLocked=false

mPendingWaitForNegativeProximityLocked=false

mPendingUpdatePowerStateLocked=false

Display Controller Configuration:

mScreenBrightnessDimConfig=20

mScreenBrightnessRangeMinimum=20

mScreenBrightnessRangeMaximum=255

mUseSoftwareAutoBrightnessConfig=false

mScreenAutoBrightnessSpline=null

mLightSensorWarmUpTimeConfig=0

Display Controller Thread State:

mPowerRequest=screenState=2, useProximitySensor=false, screenBrightness=254, screenAutoBrightnessAdjustment=0.0, useAutoBrightness=false, useEcoBrightness=false, blockScreenOn=false

mWaitingForNegativeProximity=false

mProximitySensor=null

mProximitySensorEnabled=false

mProximityThreshold=0.0

mProximity=Unknown

mPendingProximity=Unknown

mPendingProximityDebounceTime=0 (414908 ms ago)

mScreenOffBecauseOfProximity=false

mLightSensor=null

mLightSensorEnabled=false

mLightSensorEnableTime=0 (414908 ms ago)

mAmbientLux=0.0

mAmbientLuxValid=false

mLastObservedLux=0.0

mLastObservedLuxTime=0 (414908 ms ago)

mRecentLightSamples=0

mRecentShortTermAverageLux=0.0

mRecentLongTermAverageLux=0.0

mDebounceLuxDirection=0

mDebounceLuxTime=0 (414909 ms ago)

mScreenAutoBrightness=-1

mUsingScreenAutoBrightness=false

mLastScreenAutoBrightnessGamma=1.0

mTwilight.getCurrentState()={TwilightState: isNight=false, mYesterdaySunset=22 cze 2013 21:51:31, mTodaySunrise=23 cze 2013 03:27:19, mTodaySunset=23 cze 2013 21:51:36, mTomorrowSunrise=24 cze 2013 03:27:43}

mElectronBeamOnAnimator.isStarted()=false

mElectronBeamOffAnimator.isStarted()=false

Display Power State:

mScreenOn=true

mScreenBrightness=254

mScreenReady=true

mScreenUpdatePending=false

mElectronBeamPrepared=false

mElectronBeamLevel=1.0

mElectronBeamReady=true

mElectronBeamDrawPending=false

Photonic Modulator State:

mPendingOn=true

mPendingBacklight=254

mActualOn=true

mActualBacklight=254

mChangeInProgress=false

Electron Beam State:

mPrepared=false

mMode=2

mDisplayLayerStack=0

mDisplayWidth=768

mDisplayHeight=1024

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

mMustUpdateRestPosition=false

mTotalSamples=0

mMovingSamples=0

mFirstSampleTime=0

mFirstSampleX=0.0, mFirstSampleY=0.0, mFirstSampleZ=0.0

Please turn on your Acer Iconia A1-810 now and unlock the screen. Only hit ENTER when the screen of your Acer Iconia A1-810 is unlocked!

[ENTER] Continue

[Q] Quit

Enter a selection:

Don't touch the screen! I'm taking it over now ;)

Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.mediatek.connectivity/.CdsInfoActivity }

Checking, if telnet server is started. If the tool crashes now, try to start telnet server manually by clicking on 'Run'.

system 4581 1 1196 104 ffffffff 00000000 S /data/local/tmp/busybox

Successfully started Telnet server on your Acer Iconia A1-810.

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

exit

exit

127.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 0x0000000000600000 0x0000000002180000 2 /dev/block/mmcblk0

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

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

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

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

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

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

Checking firmware version.

87 KB/s (3595 bytes in 0.040s)

Successfully pulled build.prop.

Firmware version 'RV03RC08' installed. MAKE SURE YOUR system.img.gz IN system_image FOLDER IS OF THE SAME VERSION, OTHERWISE YOU GET A BOOTLOOP!

Copying rooted system.img.gz to your Acer Iconia A1-810 (This will take 1-2 minutes)...

[ENTER] Continue

[Q] Quit

Enter a selection:

system.img.gz found in folder 'system_image'.

/data/local/tmp/busybox telnet 127.0.0.1 1234

chmod 777 /cache

chmod 777 /cache/system.img.gz

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

Entering character mode

Escape character is '^]'.

chmod 777 /cache

chmod 777 /cache/system.img.gz

system@android:/ $ chmod 777 /cache

system@android:/ $ chmod 777 /cache/system.img.gz

Unable to chmod /cache/system.img.gz: Operation not permitted

10|system@android:/ $ exit

Connection closed by foreign host

1|shell@android:/ $ 7021 KB/s (432671844 bytes in 60.179s)

lost+found

recovery

system.img.gz

Successfully copied system.img.gz to /cache

Wrting rooted system.img.gz. This is going to take 2 minutes.

IN -ANY- CASE, DON'T INTERRUPT THIS PROCESS, OR YOUR DEVICE COULD BE -BRICKED-

[ENTER] Continue

[Q] Quit

Enter a selection:

/data/local/tmp/busybox telnet 127.0.0.1 1234

/data/local/tmp/busybox zcat /cache/system.img.gz | dd of=/dev/block/mmcblk0 bs=4096 seek=17664 count=262144

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

Entering character mode

Escape character is '^]'.

/data/local/tmp/busybox zcat /cache/system.img.gz | dd of=/dev/block/mmcblk0 bs=4096 seek=17664 count=262144

mmcblk0 bs=4096 seek=17664 count=262144 <

R...................O...............262144+0 records in

262144+0 records out

1073741824 bytes transferred in 72.692 secs (14771114 bytes/sec)

system@android:/ $ ....O..................T

exit

Connection closed by foreign host

1|shell@android:/ $ Traceback (most recent call last):

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

main()

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

a1_menu()

File ".toolkit.py", line 151, in a1_menu

unix_root_menu()

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

root()

File ".toolkit.py", line 812, in root

write_system_image()

File ".toolkit.py", line 853, in write_system_image

p.stdout.flush()

AttributeError: 'NoneType' object has no attribute 'flush'

zenon@zenon-700Z5C:~/Pobrane/Acer3$

Something wrong at just END of the sript i think :) Maybe someone can help? All I did was edit py script to use my systems ADB and i edited toolkit.sh to use -d after script name.

EDIT: After installig SuperSU, it wants to install (update) su binary but it says there's an error. Can't check what error as it closes after saying that. But i think SU IS there but there is somekind of different error.

EDIT1: Also I tried to root using manual root and it also gives me above error. All that I can say is that SU it there but nothing then. I was using script downloaded today.