[Galaxy Tab 8.9 Android Development] glitschi667:
Hi everyone,

Here you will find CWM Recovery 5.5.0.4 for the P7320 / P7320T along with rooting instructions - and a usb-charging-enabled kernel. Recovery and kernel have been tested on the P7320 and the P7320T.

I hope this thread helps to let the 7320 development gain some momentum! :)

Install CWM Recovery

1. Download Odin and the Samsung Drivers. Both are included in the GTab89Files.zip from nirogu325's guide here: http://xdaforums.com/showpost.php?p=20586389&postcount=1 (You'll find it under "Download Pack".)

If you are new to this whole rooting thing, I strongly recommend to read his FAQ section before proceeding!

DO NOT USE

the recoveries included. Just extract the "Odin" and the "Driver" folders.

2. Download the cwm recovery for the 7320 here: View attachment 1006568 and unzip it.

3. You can check if you have correct drivers installed by trying step 4 and 5 first. If Odin does not recognize your device, install the driver (SAMSUNG_USB_Driver_for_Mobile_Phones.exe).

4. Put your device in "Download-Mode": switch it off, hold volume down (the left volume key) and power until you're asked if you want to continue what you confirm by pressing volume up (the right volume key). Alternatively you can put it in download mode with a simple "adb reboot download" if you have usb-debugging enabled and adb installed...

5. Connect your device DIRECTLY to your PC and open Odin as administrator. You should see a yellow field (ID:COM/ some values). If not your tablet is not recognized correctly and you probably need to reinstall the drivers.

6. click on "PDA" and select "P7320T_cwm_recovery_alpha.tar.md5". LEAVE EVERYTHING ELSE AS IT IS. (only "Auto Reboot" and "F.Reset Time" should be checked) and then...click on "Start".

Flashing should be finished within a second or so.

You can enter recovery mode by switching off the tablet, then holding the right volume key and pressing power until it vibrates or use "adb reboot recovery".

How to root your device

After cwm installation, rooting your device is pretty straight forward:

1. Download Superuser.zip: View attachment 1006572

2. Put it on your sdcard.

3. Start cwm recovery as described above.

4. Select "install zip from sdcard" -> "select zip from sdcard"->"Superuser-3.0.7-efghi-signed.zip" and confirm selection by choosing "Yes - Install ....."

Step 4 may abort with some error, but if you repeat it for maybe 2,3 or even 4 times, it will finish successfully.

Your phone is now rooted. :D

Enable usb charging

Here is the usb-charging-enabled kernel I promised yesterday. It's based on the Samsung GT-P7320T Kernel for HC. USB charging is based on pershoot's kernel for the galaxy tab 10.1. thanks for providing the sources. Everything is working (wlan, bluetooth, camera,etc).

usb charging is enabled by default.

Installing the kernel

1. although I have also made a cwm flashable zip containing the stock kernel for the 7320T please do a full system backup before messing around with your tab.

2. download the modified kernel: View attachment 1006575

3. optional: download the stock kernel from here: View attachment 1006574

4. put the file(s) on your sdcard.

5. start into CWM recovery (again: as described above)

6. Select "install zip from sdcard" -> "select zip from sdcard"->"signed_GTP7320T_glitschis_kernel_v_0_3.zip" and confirm selection by choosing "Yes - Install ....." to install the kernel. (reverting to stock also works this way, just choose the stock kernel zip (see 3.))

6. restart the tab.

Disable usb charging (Why??!!?)

If you have adb installed, it can be turned off with following command:

adb shell
su
echo 0 > /sys/class/power_supply/battery/force_usb_charging

and turn it on again:

adb shell
su
echo 1 > /sys/class/power_supply/battery/force_usb_charging

Both commands will take effect after unplugging and reconnecting your device. And the setting will be lost after reboot.

Does anybody know a widget that does exactly that? - including showing the current status???

return to stock

There are two possible ways:

- Find a stock rom and install it with odin, that will reset you whole device...

- Or follow the steps described below, to remove superuser, the kernel and the cwm recovery. Everything else will stay as it is.

1. Download View attachment 1066478 and put it on your sdcard.

1b. If you also installed the kernel, please find the stock kernel download link above and put the file on your sdcard.

2. Start into CWM recovery (again: as described above)

3. Select "install zip from sdcard" -> "select zip from sdcard"->"signed_superuser_uninstall.zip" and confirm selection by choosing "Yes - Install ....."

3b. now is the time to flash the stock kernel, in case you have flashed the custom kernel.

4. Reboot your device and put it into download mode.

5. Download View attachment 1066484. Unzip and install with Odin - exactly the same way you installed the cwm recovery before.

If you encounter any problems or have feature requests, please report them. Any feedback is highly appreciated!

as requested, I've created a github account and uploaded the sources: https://github.com/glitschi/kernel_P7320

credits:

go to koush for cwm sources,to utkanos for his i957 port, to kershoot for his usb charging patch, to chainfire for Superuser.zip, to suwandiapr for providing the factory image, to nirogu325,to EndoSurf, to orlandoxpolice, and to everybody else testing! and xda for hosting so much useful information!

cheers,

glitschi :cool: