Archive for June, 2011


Update (the filename has not changed. please re-download and re-flash):
-tegra: increase voltages

…..

[Preview] – 2.6.36.4 – OC-VFP_FP 1.4GHZ – Galaxy Tab 10.1

This is a preview of what I have been working on. There is more to do, so am making this a preview until I have some other things smoothened out and other things honed down.

I will post an extensive changelog and add to RM after the upload to github completes.

-use GT-P7510 source from opensource.samsung.com and supplied defconfig, as a base
-merged up to kernel.org’s, 2.6.36.4
-oc to 1.4GHZ @ 1.200
-same optimisations as gtab-2632 (-O1, cortex/vfp/fp optimisations via CodeSourcery 2009-q1)
-merged in various changes from gtab-2632, vision-2635, AOSP and kernel.org
-Autogroup (session), various ERRATAS, BFQ I/O scheduler

Flash in recovery.
Download the latest SetCPU:
[url]http://forum.xda-developers.com/attachment.php?attachmentid=631523&d=1308620121[/url]
Launch it, accept root allowance and select autodetect.
Select ondemand for governor.

Note:
If you want to bench, it is advised that you set min/max to the same number.

Please let me know if there are any issues. Please report all issues with a log in hand (/proc/last_kmsg (if there is a reboot) and/or dmesg).

Known Issue:
-The governor may reset back to conservative (default), when using ondemand, after wakeup. This will be investigated.

User Report:
-Fired up File Expert, turned on FTPd, began transferring a couple of roms over to it (legally owned, of course). HARD LOCK, REBOOT.

kernel + wifi:
boot-cm_2636.4-oc-xtra-vfp_fp-062311.zip

modules (cifs only for right now):
lib-2636.4.tar.gz

Update (6/18: the filename has not changed. please re-download and re-flash):
remove (from the update.zip):
from: bin/
e2fsck,mke2fs,resize2fs,tune2fs

from and including: tts/
lang_pico

from: xbin/
vfp-crasher

…..

6/16:
-update kernel/ramdisk from HC 3.1
-set ro.secure=0 (adb root shell)
-remove mount/unmount /data from update-script

Note:
Do not flash this on 3.0 (use 5/16).
Do not flash this on Touchwiz UX (use 5/15).

To Do:
-remove some things which will most likely not be used.

Download:
su_busybox_misc-sam_tab_10.1-061611.zip
Download: su_busybox_misc-sam_tab_10.1-061611.zip

adbputty.zip
Download: adbputty.zip

Source:
http://www.busybox.net
https://github.com/sztupy/adbputty/downloads
https://github.com/CyanogenMod/android_vendor_cyanogen
https://github.com/CyanogenMod/android_device_harmony
https://github.com/pershoot/gtab-2632

—–

Installation Instructions:
adb push su_busybox_misc-sam_tab_10.1-061611.zip /sdcard/
adb reboot recovery
volume down to apply update from /sdcard
select .zip
hit power to select
scroll down to apply, and apply.
after flash, reboot

Note:
For Windows it is reccomended you use adb putty, if you are going to use htop/vim/vi/bash,etc.:
Make sure adb is running. If not, please launch it by typing: adb devices
launch putty.exe
Select Adb
Under Host Name type in: transport-usb
Highlight Default Settings and click save
Select Open.

Note2:
If you should ever wipe, please do this:
create a /data/tmp as shell:shell, 774
create a /data/.vimrc as root:shell, 444, with the contents: set directory=~/tmp
This is so VIM will have a temporary space for recovery.

HC 3.1 – OTA (update.zip) – Galaxy Tab 10.1

-build static make_ext4fs from cyanogenmod’s repo.
-use system from 6/10’s nandroid backup (CWM restore method release)
-add system script
-use busybox from the tools pack
-use cyangenmod’s update-script as base

Installation Instructions:
Place the hc-3.1_ota-full_sam_tab_10.1.zip on your internal sdcard (/data/media)
Power down the device and plug in USB.
Enter fastboot by holding vol down and power, then pressing vol down (to the USB icon) then up to select.

fastboot boot recovery-cwm_4.0.0.4-sam-tab-10.1.img (latest is -0616; http://droidbasement.com/db-blog/?p=2032)

or

fastboot boot IO’s stock recovery (or adb reboot recovery on IO, 3.0.1)

Install/Apply the zip while in recovery.

unplug usb and reboot.

Note:
-This may not work for encrypted devices. If you run in to issues, please unencrypt it and try again (you may have to full wipe in this instance).
-This is a complete vanilla system with no su/superuser. If you are wanting these things, then flash the tools pack (latest is 6/16).
-If you encounter any issues from the update, please be advised that you may have to wipe your user data.
-This will not work on the ‘v’ model.

Download (HC 3.1 – CWM Restorable Image(s)):
hc-3.1_ota-full_sam_tab_10.1.zip
Download: hc-3.1_ota-full_sam_tab_10.1.zip

—–

HC 3.0 Fastbootable Images: (From IO) – System:
Download: system.zip

HC 3.0 Fastbootable Images: (From IO) – Boot:
Download: boot.zip

Source:
OTA via com.wssyncmldm
https://github.com/CyanogenMod/android_system_extras

-Revert: net: suppress RCU lockdep false positive in sock_update_classid

-merged (from kernel.org, kernel-2638):
PM: Fix warning in pm_restrict_gfp_mask() during SNAPSHOT_S2RAM ioctl
PM: Prototype the pm_generic_ operations
PM: Use dev_name() in core device suspend and resume routines
PM: Remove redundant checks from core device resume routines
PM: Use a different list of devices for each stage of device suspend
PM: Avoid compiler warning in pm_noirq_op()
PM: Prevent dpm_prepare() from returning errors unnecessarily
PM: Use proper ccflag flag in kernel/power/Makefile
PM: Lock PM device list mutex in show_dev_hash()
PM: Allow wakeup events to abort freezing of tasks
PM: Fix potential issue with failing asynchronous suspend
PM: Fix signed/unsigned warning in dpm_show_time()
PM: Prevent waiting forever on asynchronous resume after failing suspend
PM: Do not use dynamically allocated objects in pm_wakeup_event()
PM: Make it possible to avoid races between wakeup and system sleep

-merged (from cyanogenmod, htc-kernel-msm7x30):
ts: synapticts 3k: roll back to 2.6.32 driver
msm7x30: vision: expose bdaddr in the right board path

Note:
The _gb kernel can only be used on CM Nightly #78 and above.
This is not to be used on HTC Sense (froyo/gingerbread).
This is not to be used on Froyo.

——–

-XTRA contains:
*ondemand governor default; only ondemand, userspace and performance governors
*BFQ I/O Scheduler
*some more cgroup options
*namespaces support
*autogroup (session) support
*v4 block device and data integrity support
*3d register driver
*erratas 430973, 458693 and 460075 applied

Gingerbread:
boot-cm_2635.13_gb-oc-uv-xtra-neon_fp-061711.zip
Download: boot-cm_2635.13_gb-oc-uv-xtra-neon_fp-061711.zip

lib-2635.13_gb.tar.gz (kernel modules)
Download: lib-2635.13_gb.tar.gz

——–

Source:
http://github.com/pershoot/vision-2635
http://github.com/pershoot/vision-2632
https://github.com/CyanogenMod/htc-kernel-msm7x30
http://git.kernel.org/?p=linux/kernel/git/longterm/linux-2.6.35.y.git;a=summary
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.38.y.git;a=summary
http://developer.htc.com

——–

Instructions:
Flash the .zip through recovery
or

fastboot flash zimage zImage (zImage can be found in update.zip kernel folder)
then

take the bcm4329.ko file from the update.zip lib/modules folder (use winrar for windows or unzip for linux) and

adb remount
adb push bcm4329.ko /system/lib/modules
or
copy the bcm4329.ko to /sdcard, bounce in to recovery, mount /sdcard and /system, and copy the .ko module from /sdcard to /system/lib/modules; set chmod 644 on it.

Note:
If you use SetCPU, please do not set any Advanced settings, and you should use the ondemand CPU governor.

Update (the filename has not changed. please re-download and re-boot/flash):
Revert:
-recovery: return a failure if symlink /sdcard is found, in format_volume

merged (from cyanogenmod, android_bootable_recovery[gingerbread]):
-fix crash bug

…..

-recovery: return a failure if symlink /sdcard is found, in format_volume
-p7510: increase recovery_image_partitionsze to accomodate newer kernel
-p7510: update kernel from HC 3.1

-Revert:
same fix for restore handler
add –exclude on tar when needed
fix bug where scan_mounted_volumes needs to be called before find_mounte…
fix format bugs
symlink
mount and unmount support for /data/media
fix up format
data/media
more changes
backups now use tar if they are not yaffs.

-merged (from cyanogenmod, android_bootable_recovery[gingerbread]):
tar nandroid and /data/media support.
4.0.0.0
also fix up the /sdcard symlink on startup
added the efs partition to the do not format list since this holds the i…
4.0.0.1
move the sdcard symlinker into process_volumes
make tar backups opt in.
4.0.0.2
Fix up tune2fs republish bug
Do not duplicate reboot.c
use new libreboot static lib for rebooting
cleanups for tar and /data/media support
fix build
bug fixes

Note:
This should also work on the ‘v’ model.

Known Issues:
-UMS will not work, as of yet.

Download:
recovery-cwm_4.0.0.4-sam-tab-10.1-061611.zip
Download: recovery-cwm_4.0.0.4-sam-tab-10.1-061611.zip

Stock IO Recovery:
Download: recovery.zip

Source:
https://github.com/pershoot/android_device_p7510
https://github.com/pershoot/android_vendor_cyanogen
https://github.com/CyanogenMod/android_vendor_cyanogen
https://github.com/pershoot/android_bootable_recovery
https://github.com/CyanogenMod/android_bootable_recovery
https://github.com/solarnz/android_bootable_recovery
https://github.com/SeraphimSerapis/Samsung-P7100-Recovery

——–

Installation instructions:
It is reccomended you try out the recovery before replacing your stock recovery.
fastboot boot recovery-cwm_4.0.0.4-sam-tab-10.1.img

If you are happy with it, then to replace your recovery:
fastboot flash recovery recovery-cwm_4.0.0.4-sam-tab-10.1.img

HC 3.1 – OTA (CWM Restorable) – Galaxy Tab 10.1

Installation Instructions:
Power down the device and plug in USB.
Enter fastboot by holding vol down and power, then pressing vol down (to the USB icon) then up to select.

fastboot boot recovery-cwm_3.2.0.1-sam-tab-10.1.img (latest is -0608; http://droidbasement.com/db-blog/?p=2032)

Unpack 2011-06-10.06.48.53.zip on your local desktop

adb shell mount /data
adb shell mkdir -p /data/media/clockworkmod/backup/2011-06-10.06.48.53
adb push 2011-06-10.06.48.53 /data/media/clockworkmod/backup/2011-06-10.06.48.53

Take a backup so you have a restore point, in case you run in to issues.

backup and restore -> advanced restore -> 2011-06-10.06.48.53 -> restore boot and restore system

unplug usb and reboot.

Note:
-This may not work for encrypted devices. If you run in to issues, please unencrypt it and try again (you may have to full wipe in this instance).
-This is a complete vanilla system with no su/superuser. If you are wanting these things, then flash the tools pack (latest is 6/16).
-Please be aware that if you do not do an ‘advanced’ restore and just a normal restore, your data will be wiped. Please take care to only do an advanced restore, as outlined above.
-If you encounter any issues from the update, please be advised that you may have to wipe your user data.
-This will not work on the ‘v’ model.

Download (HC 3.1 – CWM Restorable Image(s)):
2011-06-10.06.48.53.zip
Download: 2011-06-10.06.48.53.zip

—–

HC 3.0 Fastbootable Images: (From IO) – System:
Download: system.zip

HC 3.0 Fastbootable Images: (From IO) – Boot:
Download: boot.zip

Source:
OTA via com.wssyncmldm

-p7510: set /data to auto fs for recovery.fstab

-Revert:
recovery: nandroid: add exclusion to media if /data and /data/media, in …
recovery: nandroid: Handle /data/media for tar
recovery: extendedcommands: exclude media if /data and /data/media, in f…
Modified the format_volume to remove directories from /data instead of e…
recovery: Handle /data/media when no /sdcard is present for device

-merged (from cyanogenmod, android_bootable_recovery[nandroid_tar]):
mount and unmount support for /data/media
symlink
fix format bugs
fix bug where scan_mounted_volumes needs to be called before find_mounte…
add –exclude on tar when needed
same fix for restore handler

Note:
This will also work on the ‘v’ model.

Known Issues:
-UMS will not work, as of yet.

Download:
recovery-cwm_3.2.0.1-sam-tab-10.1-060811.zip
Download: recovery-cwm_3.2.0.1-sam-tab-10.1-060811.zip

Stock IO Recovery:
Download: recovery.zip

Source:
https://github.com/pershoot/android_device_p7510
https://github.com/pershoot/android_vendor_cyanogen
https://github.com/CyanogenMod/android_vendor_cyanogen
https://github.com/pershoot/android_bootable_recovery
https://github.com/CyanogenMod/android_bootable_recovery
https://github.com/solarnz/android_bootable_recovery
https://github.com/SeraphimSerapis/Samsung-P7100-Recovery

——–

Installation instructions:
It is reccomended you try out the recovery before replacing your stock recovery.
fastboot boot recovery-cwm_3.2.0.1-sam-tab-10.1.img

If you are happy with it, then to replace your recovery:
fastboot flash recovery recovery-cwm_3.2.0.1-sam-tab-10.1.img

Update (6/7; the filename has not changed. please re-download and boot/flash):
-fix incorrect addition to conditional check in format_volume, from the intial 6/6 release.

…..

-build koush’s CWM 3.2.0.1 from CyanogenMod’s repo
-remove TARGET_HAS_SDCARD_ON_DATA (from recovery/yaffs2)
-recovery: extendedcommands: exclude media if /data and /data/media, in format_unknown_device
-recovery: nandroid: Handle /data/media for tar
-recovery: nandroid: add exclusion to media if /data and /data/media, in tar_compress_wrapper

merged (from cyanogenmod, android_bootable_recovery[nandroid_tar]):
backups now use tar if they are not yaffs.
data/media
more changes
fix up format

-merged (from cyanogenmod, android_bootable_recovery[gingerbread]):
test
more fixes
fix up some implicit declarations
fix formatting
more logging
fix boot image not flashing properly, prevent the error in the future.
allow flashing only bml8 if explicitly specified.
Fix 6 extentedcommands declaration warnings
remove logging, fix bug
Rename format_ignore_partitions to a forbid_format

Note:
This will also work on the ‘v’ model.

Known Issues:
-When formatting /data from mounts/storage, /data needs to be unmounted afterwards manually (via adb) prior to resuming any filebrowser operations.
-UMS will not work, as of yet.

Download:
recovery-cwm_3.2.0.1-sam-tab-10.1-060611.zip
Download: recovery-cwm_3.2.0.1-sam-tab-10.1-060611.zip

Stock IO Recovery:
Download: recovery.zip

Source:
https://github.com/pershoot/android_device_p7510
https://github.com/pershoot/android_vendor_cyanogen
https://github.com/CyanogenMod/android_vendor_cyanogen
https://github.com/pershoot/android_bootable_recovery
https://github.com/CyanogenMod/android_bootable_recovery
https://github.com/solarnz/android_bootable_recovery
https://github.com/SeraphimSerapis/Samsung-P7100-Recovery

——–

Installation instructions:
It is reccomended you try out the recovery before replacing your stock recovery.
fastboot boot recovery-cwm_3.2.0.1-sam-tab-10.1.img

If you are happy with it, then to replace your recovery:
fastboot flash recovery recovery-cwm_3.2.0.1-sam-tab-10.1.img

Update (6/4; the filename has not changed. please re-download and re-flash):
-Revert (Partial): net: wireless: bcm4329: newer country_code/custom coun…

-merged (from android.git.kernel.org, common):
net: wireless: bcm4329: Update example locale table

…..

5/24:
-merge up to kernel.org’s 2.6.32.41

Note:
The _gb kernel can only be used on CM Nightly #31 and above, and/or with the needed bits for the newer adreno205 drivers (https://github.com/CyanogenMod/andro…6412317b550521).

This is not to be used on the latest CM7 nightlies. The last nightly that this kernel can be used on is #77.
This is not to be used on HTC Sense (froyo/gingerbread)

Known Issues:
-a slight distortion can be heard when launching the phone app and pressing for the first time the number 1, 4 etc., if volume is set to max.

——–

-XTRA contains:
*ondemand governor default; only ondemand, userspace and performance governors
*BFQ I/O Scheduler
*some more cgroup options
*namespaces support
*v4 block device and data integrity support
*3d register driver
*erratas 430973, 458693 and 460075 applied

Gingerbread:
boot-cm_2632.41_gb-oc-uv-xtra-neon_fp-052411.zip
Download: boot-cm_2632.41_gb-oc-uv-xtra-neon_fp-052411.zip

lib-2632.41_gb.tar.gz (kernel modules)
Download: lib-2632.41_gb.tar.gz

——–

Source:
http://github.com/pershoot/vision-2632
https://github.com/CyanogenMod/htc-kernel-msm7x30
https://github.com/coolbho3k/vision_oc_kernel
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=summary
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.36
http://developer.htc.com
https://github.com/cyanogen/htc-kernel-msm7x30/commits/htc-merge
https://github.com/Kali-/htc-kernel-msm7x30
http://android.git.kernel.org/?p=kernel/msm.git;a=summary

——–

Instructions:
Flash the .zip through recovery
or

fastboot flash zimage zImage (zImage can be found in update.zip kernel folder)
then

take the bcm4329.ko file from the update.zip lib/modules folder (use winrar for windows or unzip for linux) and

adb remount
adb push bcm4329.ko /system/lib/modules
or
copy the bcm4329.ko to /sdcard, bounce in to recovery, mount /sdcard and /system, and copy the .ko module from /sdcard to /system/lib/modules; set chmod 644 on it.

Note:
If you use SetCPU, please do not set any Advanced settings, and you should use the ondemand CPU governor.

-Revert (Partial): net: wireless: bcm4329: newer country_code/custom coun…
-rcu: add debug_rcu_head_queue
-defconfig: use TINY_PREEMPT_RCU and enable RCU_BOOST

-merged (from android.git.kernel.org, common):
net: wireless: bcm4329: Update example locale table

-merged (from kernel.org, kernel-2638):
rcu: Add a TINY_PREEMPT_RCU
rcu: repair code-duplication FIXMEs
rcu: combine duplicate code, courtesy of CONFIG_PREEMPT_RCU
rcu: apply TINY_PREEMPT_RCU read-side speedup to TREE_PREEMPT_RCU
rcu: performance fixes to TINY_PREEMPT_RCU callback checking
rcu: fix sparse errors in rcutorture.c
rcu: Add tracing data to support queueing models
rcu: move check from rcu_dereference_bh to rcu_read_lock_bh_held
net: suppress RCU lockdep false positive in sock_update_classid
rcu: add priority-inversion testing to rcutorture
rcu: move TINY_RCU from softirq to kthread
rcu: priority boosting for TINY_PREEMPT_RCU
rcu: Make synchronize_srcu_expedited() fast if running readers
rcu: fine-tune grace-period begin/end checks
rcu: limit rcu_node leaf-level fanout
rcu: reduce __call_rcu()-induced contention on rcu_node structures
rcu: demote SRCU_SYNCHRONIZE_DELAY from kernel-parameter status
rcu: avoid pointless blocked-task warnings
rcu: add debug_rcu_head_queue
mm/mempolicy.c: add rcu read lock to protect pid structure
rcu: remove unused __list_for_each_rcu() macro
mempolicy: remove tasklist_lock from migrate_pages
mm: grab rcu read lock in move_pages()
rcu: Fix unpaired rcu_irq_enter() from locking selftests

Note:
The _gb kernel can only be used on CM Nightly #78 and above.
This is not to be used on HTC Sense (froyo/gingerbread).
This is not to be used on Froyo.

——–

-XTRA contains:
*ondemand governor default; only ondemand, userspace and performance governors
*BFQ I/O Scheduler
*some more cgroup options
*namespaces support
*autogroup (session) support
*v4 block device and data integrity support
*3d register driver
*erratas 430973, 458693 and 460075 applied

Gingerbread:
boot-cm_2635.13_gb-oc-uv-xtra-neon_fp-060411.zip
Download: boot-cm_2635.13_gb-oc-uv-xtra-neon_fp-060411.zip

lib-2635.13_gb.tar.gz (kernel modules)
Download: lib-2635.13_gb.tar.gz

——–

Source:
http://github.com/pershoot/vision-2635
http://github.com/pershoot/vision-2632
https://github.com/CyanogenMod/htc-kernel-msm7x30
http://git.kernel.org/?p=linux/kernel/git/longterm/linux-2.6.35.y.git;a=summary
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.38.y.git;a=summary
http://developer.htc.com

——–

Instructions:
Flash the .zip through recovery
or

fastboot flash zimage zImage (zImage can be found in update.zip kernel folder)
then

take the bcm4329.ko file from the update.zip lib/modules folder (use winrar for windows or unzip for linux) and

adb remount
adb push bcm4329.ko /system/lib/modules
or
copy the bcm4329.ko to /sdcard, bounce in to recovery, mount /sdcard and /system, and copy the .ko module from /sdcard to /system/lib/modules; set chmod 644 on it.

Note:
If you use SetCPU, please do not set any Advanced settings, and you should use the ondemand CPU governor.