FORUMS

[ROM][JB 4.3.1] [ KatKiss-4.3.1 #029 ] [Stable] [MultiWindow]

2,878 posts
Thanks Meter: 18,016
 
By timduru, Senior Member on 4th August 2013, 02:59 PM
Thread Closed Email Thread
KatKiss ROM - Asus TF101
JellyBean 4.3.1

MultiWindow





This rom is an aosp based rom with my own additions on top.

The main motto of the rom being Kiss. Even though the Meerkat could give you a kiss, it stands for Keeps it Sweet and Simple too
Which means that just like the other K.A.T stuff, the rom's main goal is efficiency, speed/responsiveness,
while not adding bloated features that will slow things down





DOWNLOADS:

Please note that this version is made and tested on the TF101 model.

ChangeLog: http://public.timduru.org/Android/tf...ChangeLog.html
Source: https://github.com/timduru (branch katkiss-4.3)
--

Main Features:
Rooted
Multiwindow support (see post #2)
High speed and responsive oriented (in its current state it's already faster than 4.2.2)
High performance and overclockable KatKernel included see dedicated KatKernel thread for more info
Compiled with the Linaro Toolchain
Full Dock keyboard Support with special keys with additional CTRL + Menu shortcut for recents apps
Global Shortcuts / KeyOverride Macro association (See post #2 for more info)
Battery Level Indicator & Dock Battery support + Mods (icon/Text/%)
HDMI out options: center, crop, scale
CIFS, ext4, NTFS & Exfat support
Native 4.3 FSTRIM + Manual scripts for Database optimization and fstrim (see post #2)
Media Scanner Filters
Advanced per application permission management (AppOps)
Default Android 4.3 Launcher + Trebuchet
Advanced power menu with reboot options.
Expanded Desktop with the option to hide only the NavBar
Choice between TabletUI and PhabletUI with left or middle aligned nav buttons, and multiple NavBar height.
Wifi channels regulatory domains
Integrated cpu & io performance settings panel
Custom Navbars buttons long press actions
Ethernet support with settings panel
Support for authenticated http download with default Browser
Custom Quick Settings tiles


Installation Notes:
These builds are designed to be installed from your favorite recovery. MAKE SURE TO INSTALL THE LATEST COMPATIBLE ANDROID 4.2/4.3 RECOVERY!
TWRP >= 2.3.2.3 is recommended, new TWRP available here
  • Backup everything !
  • Go to recovery
  • Make a full wipe / factory reset (you can skip this step if you're already on KatKiss-4.3, if ever you encounter a problem do the full wipe and try again before reporting )
  • Format /system
  • Flash the rom
  • Flash optional kernel
  • Flash gapps
  • Wipe cache/dalvik
  • Reboot



Credits:
Thanks to the original TeamEos & Cyanogenmod for the work on their roms, Dreamcwli for the base gapps and Guillaume Lesniak for the multiwindow WiP base
Original banner concept by i9apps, Bootanimation by mgeniusm, original drawing by BBF



WebPage
Tips
How to report
What to include in the report



Disclaimer: The usual
Use at your own risk, I won't be responsible for any damages caused to your Transformer or to yourself.
In most cases if something breaks, flashing a rom on top should fix it.

Attached Thumbnails
Click image for larger version

Name:	KK4.3-ExpandedDesktop.jpg
Views:	19999
Size:	39.8 KB
ID:	2206511   Click image for larger version

Name:	KK4.3-PowerMenu.jpg
Views:	21278
Size:	27.9 KB
ID:	2206512   Click image for larger version

Name:	BannerThin4.3.1.png
Views:	514850
Size:	60.3 KB
ID:	2335608   Click image for larger version

Name:	BannerThin4.3.1_200.png
Views:	230753
Size:	21.6 KB
ID:	2335609   Click image for larger version

Name:	TabletUI_MultiWindow.jpg
Views:	232309
Size:	40.8 KB
ID:	2350914   Click image for larger version

Name:	Recents.jpg
Views:	11931
Size:	23.6 KB
ID:	2350915   Click image for larger version

Name:	PhabletUI1.jpg
Views:	11863
Size:	20.4 KB
ID:	2350916  
The Following 336 Users Say Thank You to timduru For This Useful Post: [ View ] Gift timduru Ad-Free
4th August 2013, 02:59 PM |#2  
timduru's Avatar
OP Senior Member
Thanks Meter: 18,016
 
Donate to Me
More
Additional info & links
Global Key Override/Shorcut Mecanism
Available in Settings => Language & Input => Add Key Override Actions
or in Dock Settings

This will allow you not only to redefine function keys assignment, and other special keys actions,
but you'll also be able to assign global macro actions / app launch to any key + Meta key combination (shift Left or Right , ctrl..)

You can also add multiple actions to one key combination, simply click again on the "+" button for the same key combination.
It might not make much sense for the moment, but once I'll add more actions it could be practical.
For example if you want to assign to one key combination a list of action to run before going to bed for example, like: turn wifi off, bluetooth off, mute sound, and turn screen off. You'll be able to do that in the future

Note that starting multiple applications with one key is kinda a miss and hit for the moment due to some mecanism in android that seems to prevent applications to start too close to each others.

Wifi channels:
Choose which channels are available based on your country in Settings => Wifi => Advanced => Change wifi regulatory domain

Google search:
If the version you're using is crashing when you open Google Now,
go to Settings => Language & Input => Voice Search
then uncheck Hotword Detection.

CIFS & 3rd party Mount Apps:
The Rom/Kernel have native support for them as long as you mount it outside or /storage/ and /mnt/shell/emulated/

GPS:
if it is taking a long time to get a lock or no lock, follow this:

Install the latest K.A.T app

Then follow precisely this procedure:


1) Location Settings
- Go to Settings => Location => turn OFF Access to my location
- Turn Access to my location back ON
- Make sure you agree to let google access the location.
Now you should have :
- GPS satellites: checked
- Wifi & mobile networks location: checked

2) Launch the new K.A.T app
- make sure you grant it root access
- make sure you have internet access
- go to the install menu, Check the "Install GPS quicker fix + Assistance
- Click the Install button
- Make sure it says "Install Finished"

3) Reboot
4) Wait that it has finished booting and launching all the stuff you have starting at boot
5) Start your GPS app outside with a clear sky line, to speed things up stay in range of the wifi / internet connection.

Do not let the gps app loose focus when it is trying to get a fix.
Do not let your tablet sleep / turn off the screen either.


Doing that here, the first time and with a cold gps start, and even staying in my house,
I get a 6 sat fix within 30 seconds and 11 sat fix in 1min 15seconds.

From there subsequent fixes takes about 3 seconds to grab 7 sats and about 10 seconds to reach the 10-11 sat fix
(you still want to let it sit outside for a bit after the 1st fix, so that the ephemeris data gets consolidated and updated to help faster fix later on)



Hardware keyboard layouts
More languages have been added in the default asusec keyboard
Set the keyboard layout through Settings => Language & Input => asusec => setup keyboard layouts
These also allow live switching without reboot with ctrl + space


Storage (fstrim) and Database optimization:
Fstrim is native in 4.3 and will happen in the background if your tablet is idle / sleeping and that your battery is > 70%
There is also a script to run it manually in the rom: /etc/kat/optimizestorage

To optimize the Database: /etc/kat/optimizedb

To run both, open a terminal and run:
su
/etc/kat/optimize
Be warned that the optimize storage can take from a few minutes to hours.
But the speed / lag will be greatly improved afterward

Slow downs & Battery drain after a full wipe ? :
Things to keep in mind after flashing with a full wipe:
- Media scanner will need to scan everything again, it can take from a few minutes to hours or days if you have a lot of medias or medias that it doesn't like.
During that process it'll use a lot of cpu and disk, and so can make things lag a bit and drain the battery until it's done.
You can use the Media Scanner filters to speed things up and make it scan only parts that are really containing your medias

- After a wipe, it wipes your battery stats, if you don't flash while you are with a 100% full battery, the battery stats will be inaccurate for a while until it learns again your battery capacity.
The battery can appear to drain faster because it doesn't know where your 100% is.
(see here for tips on how to speed up the learning process)
- Check that you don't have a rogue process eating cpu in the background. (run the top command)
- Check that you don't have a process keeping your tablet awake

MultiWindow
NavBar:
- To switch between full screen and split View you can use the NavBar Button
(It will lay apps alternatively in one SplitView spot then the other.)
- To change focus simply Tap on the app or use the NavBar Button


Recents:

- Clicking on the app Thumbnail works as before and displays the app fullscreen
- Clicking on the app icon or the icon will switch the app to splitview and lay it in "automode"
(If you use automode when an application was set in a SplitView slot it'll be recalled to that previous spot.)
- Clicking on the other icons will force the app to the 1st or 2nd SplitView slot.

Actions
Actions to switch the app between fullscreen / splitview, switch between the 2 most recent apps and to force the splitview slot have been added
so you can bind them to a key / key combination with the Global KeyOverride or long press action too.

Note: Most apps works ok in splitview mode, but some of them might not refresh correctly sometime.
Same when rotating the screen while in splitview mode.
To force a refresh simply tap the app or if you have 2 apps in split, just click twice on the switch to last app button:






Other Tips
.
Attached Thumbnails
Click image for larger version

Name:	MW_Navbar.png
Views:	5512
Size:	1.0 KB
ID:	2350930   Click image for larger version

Name:	Recents_item.png
Views:	1111840
Size:	75.0 KB
ID:	2350938  
Attached Images
  
The Following 76 Users Say Thank You to timduru For This Useful Post: [ View ] Gift timduru Ad-Free
4th August 2013, 03:00 PM |#3  
timduru's Avatar
OP Senior Member
Thanks Meter: 18,016
 
Donate to Me
More
Banners






The Following 39 Users Say Thank You to timduru For This Useful Post: [ View ] Gift timduru Ad-Free
4th August 2013, 03:00 PM |#4  
timduru's Avatar
OP Senior Member
Thanks Meter: 18,016
 
Donate to Me
More
Storage tweak, inversion with microSD / speed boost
Disabling ext4 journaling : :
This procedure will increase speed and responsiveness of the internal memory by disabling journaling



Disabling journaling will give a big speed/responsiveness increase especially on /data where writing occurs
but the risk of corruption in case of crashes, reboots, running of battery... is also higher.
Make sure you have a backup handy !


If you prefer to play it safe you can use the 2nd disabling zip, which will only disable on /system and /cache which don't contain user data
Corruption is unlikely to occur on /system as it's read only, and /cache is just volatile non user data, so you can simply just format it from recovery if ever something wrong happens.


To disable journaling on /system /cache /data download: dis_journaling.zip
To disable journaling only on /system and /cache : dis_journaling_system_cache_only.zip
To enable journaling back download: ena_journaling.zip

0) Put the zip on your microsd card
1) Boot into recovery
2) unmount everything but the microsd card (that means /system, /cache /data ... )
(the script will also try to unmount these, but better be safe in case the script doesn't succeeds)

3) flash zip
4) reboot

Note: Disabling journaling should only take a few seconds unless your filesystem is already dirty (fsck will take place before and after the journaling change)
Enabling journaling can take longer, especially on /data (mmcblk0p7)
Just be patient.


To disable journaling you will need to reflash the zip after you format /cache /data or /system (that means after installing the rom or after wiping cache if you do that after installing the rom)



Storage inversion(inverts microSD and internal storage) : :
This procedure will allow you to use your MicroSD as the internal /data partition (which means /data, /sdcard, /data/media ...)
So you can now have whatever extra space for "Android internal storage" you like (ie what your physical microSD size is)
And your old internal storage will be used as /storage/sdcard1/
I might see later on to remap things a bit more logically, but for the moment it's kinda less risky and easier to remember to just swap everything.

Not that I care much about the extra space myself,
but the good thing is that if you use a good MicroSD, things will also be much faster,
and for example it doesn't lag anymore when installing apps and such.


Make sure you understand what it means and what you are doing.
And backup everything first of course !



As reference:
Physical Internal partition is /dev/block/mmcblk0p7
Physical MicroSD partition is /dev/block/mmcblk1p1
These won't change, only the mount points are changing.


The commands can be typed directly from twrp command line thingie, or you can run them through adb
(just add adb shell in front of the command in that case)

One thing to note is that the recoveries don't know at all that your mount points are swapped, so it will still show them to you the "old non swapped way"
It won't know how to make a factory reset while retaining your data for example.



1) Boot into TWRP (I use v2.3.2.3, it might differ if using another version)
2) WIPE MicroSD content (that means it will be empty afterwards)
unmount your microsd
Code:
/sbin/make_ext4fs /dev/block/mmcblk1p1
If you still need to transfer your data from the internal storage you can go to step 4) then come back later to do step 3) only

3) If you have transferred your data from your internal storage, you can format it too:
unmount /data and /sdcard
Code:
/sbin/make_ext4fs /dev/block/mmcblk0p7
remount /data
then
4)
Code:
/sbin/chmod -R 777 /data

5) Flash the KatKernel version marked with _invertstorage
6) Reboot.

Unless you transferred your old /data into your physical new microsd partition, it'll be like if you did a factory reset,
so you will just need to go through the setup again.

And of course, From now on NEVER remove your microsd card if the system is running.

Enjoy the extra space & speed

The Following 40 Users Say Thank You to timduru For This Useful Post: [ View ] Gift timduru Ad-Free
4th August 2013, 03:02 PM |#5  
*Detection*'s Avatar
Senior Member
Flag Durham
Thanks Meter: 2,780
 
Donate to Me
More
woot!

Nice job Tim, time to play with 4.3 ! Cheers
The Following 2 Users Say Thank You to *Detection* For This Useful Post: [ View ] Gift *Detection* Ad-Free
4th August 2013, 03:17 PM |#6  
i9apps's Avatar
Senior Member
Thanks Meter: 74
 
More
WOW! great job Tim...making a nand backup and going to try it out
4th August 2013, 03:31 PM |#7  
*Detection*'s Avatar
Senior Member
Flag Durham
Thanks Meter: 2,780
 
Donate to Me
More
Is there a fix for the notifications top bar disappearing ?

Normally I would just choose the Tablet UI

--
Don't think it caused any issues other than the error but I got: Process android.process.acore stopped working when it initially booted to the homescreens

Couldn't capture screenshot, Storage may be in use

--

Seems very quick indeed, nice and smooth, great job!
4th August 2013, 03:44 PM |#8  
timduru's Avatar
OP Senior Member
Thanks Meter: 18,016
 
Donate to Me
More
Quote:
Originally Posted by *Detection*

Is there a fix for the notifications top bar disappearing ?
Normally I would just choose the Tablet UI

You mean switching back to TabletUI, yep TabletUI is not here yet.
cf #1st post.

Quote:

Don't think it caused any issues other than the error but I got: Process android.process.acore stopped working when it initially booted to the homescreens
-

Hmmm, I don't get that error coming from a clean install.
Did you properly full wipe + format /system before installing ?
Which gapps & launcher are you using ?

Quote:

Seems very quick indeed, nice and smooth, great job!

Yep still some work left to fix stuff and add a few features,
but I've been using it quite a bit yesterday and today
and it's definitely very fast and responsive without lag so far.
The Following 10 Users Say Thank You to timduru For This Useful Post: [ View ] Gift timduru Ad-Free
4th August 2013, 03:54 PM |#9  
*Detection*'s Avatar
Senior Member
Flag Durham
Thanks Meter: 2,780
 
Donate to Me
More
Thumbs up
Quote:
Originally Posted by timduru

You mean switching back to TabletUI, yep TabletUI is not here yet.
cf #1st post.

Hmmm, I don't get that error coming from a clean install.
Did you properly full wipe + format /system before installing ?
Which gapps are you using too ?


Yep still some work left to fix stuff and add a few features,
but I've been using it quite a bit yesterday and today
and it's definitely very fast and responsive without lag so far.

Yea I read that Tablet UI is not here yet, I was wondering if there was a fix to prevent the phablet ui bar from disappearing, the top notifications bar works while in settings, but soon as I return to the homescreen, only the bottom nav bar is visible, the top bar disappears

Same problem with KK ROM too though so not specific to 4.3

---
I did wipe and format /SYSTEM yep, and both caches between and after each flash

Im using gapps_4.2.2_TF101_20130617b-signed gapps

--
And yea, I never though I would see a ROM faster than KK 4.2.2 but somehow you've managed, and I don't even have my 1.4GHz OC running, its faster @ 1GHz than 4.2.2 was @ 1.4GHz

Everything seems to load and open faster and smoother, RAM usage is really good too 375MB free idle

It's just the notifications I need back now and I think I could use this as a daily driver
4th August 2013, 03:58 PM |#10  
timduru's Avatar
OP Senior Member
Thanks Meter: 18,016
 
Donate to Me
More
Quote:
Originally Posted by *Detection*

the top notifications bar works while in settings, but soon as I return to the homescreen, only the bottom nav bar is visible, the top bar disappears
Same problem with KK ROM too though so not specific to 4.3

Hmm, first time I hear about that... I don't have that problem at all here.
Must be related to something you use, or maybe the gapps or launcher you use.
Maybe try with the gapps from the 1st post. and see if it does that after a full wipe and without restoring anything.

Quote:

And yea, I never though I would see a ROM faster than KK 4.2.2 but somehow you've managed, everything seems to load and open faster and smoother, RAM usage is really good too 375MB free idle

Hehe yeah, and I've not added back all the optimizations yet
The Following 9 Users Say Thank You to timduru For This Useful Post: [ View ] Gift timduru Ad-Free
4th August 2013, 04:03 PM |#11  
*Detection*'s Avatar
Senior Member
Flag Durham
Thanks Meter: 2,780
 
Donate to Me
More
Quote:
Originally Posted by timduru

Hmm, first time I hear about that... I don't have that problem at all here.
Must be related to something you use, or maybe the gapps or launcher you use.
Maybe try with the gapps from the 1st post. and see if it does that after a full wipe and without restoring anything.


Hehe yeah, and I've not added back all the optimizations yet

You know what, I bet it is from the Control Centre setting for hiding status bar, maybe the setting hasn't cleared or something after I've been playing around with it, it was working on #224, then I flashed #225 and played with the settings, and thinking about it, it was around then that it stopped working properly (Using Trebuchet)

I`ll try clearing everything and going for just the ROM install

--
Looks like this is going to be a killer ROM once you've sorted it, considering this is the first release with nothing added yet and it's already kick-ass
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes