yashsingh1/xdaforums huggingface dataset:
[Hardware Hacking General] megol0:
It still confuses me that one can get unaligned accesses at all, framebuffers tend to be aligned with more than the native access size (32bits for ARM). I have never touched a system with an odd stride.

How wide is the framebuffer and what is the stride?

--

One thing you can try is storing character data in expanded form = 16bits/pixel instead of 1bit/pixel. Even though the cache is stressed more it could still be faster due to less processing.

By using a mapping "trick" one can quickly process two pixels at a time and map from a internal 16bit format to the current colors. Here 0xFFFF represents the foreground color and 0x0000 represents the background color, any other values will not work reliably.

// all variables are 32 bit except the color values

// expand color values for faster processing

tmp_a=((bg_color<<16)|bg_color);

tmp_b=tmp_a^((fg_color<<16)|fg_color);

// map stored data to the current color values

// 0xFFFF -> fg_color, 0x0000 -> bg_color

output=tmp_a^(two_pixels_input & tmp_b);

--

Another way is to make use of ARM assembly with condition flags and conditional execution to expand bit-per-pixel encoded fonts.

The idea is to shift the byte representing the character pixels so that the carry (=bit shifted out) and negative (=highest bit) flags get set and then conditionally execute code that sets the upper respective lower word according to the flags. There have been too long since I've used ARM assembly so can't help writing it...
[Hardware Hacking General] Rick_1995:
I modified my asm code a bit and can verify it is faster even visibly on my board. I will try your method but i must fit everything in less than 512KiB, so every bit counts.. This is what i used finally, for future reference maybe.

The first and last pixels are still halfword writes, but the pixels in between which are aligned are written in burst using ldmia.

.arm
.text
.align 5
.global fbS
.type fbS, %function
fbS: @ extern void fbS(void *bitmap, void *fbmem, uint16_t tg, uint16_t fg);
stmdb sp!, {r4, r5, r6, r7, r8, r9, r14}
eor r6, r6, r6
10:	add r6, r6, #1
ldrb r4, [r0], #1
tst r4, #0x80
strneh r2, [r1], #2
streqh r3, [r1], #2
eor r5, r5, r5
tst r4, #0x40
orrne r5, r5, r2, lsl #16
orreq r5, r5, r3, lsl #16
tst r4, #0x20
orrne r7, r5, r2
orreq r7, r5, r3
eor r5, r5, r5
tst r4, #0x10
orrne r5, r5, r2, lsl #16
orreq r5, r5, r3, lsl #16
tst r4, #0x08
orrne r8, r5, r2
orreq r8, r5, r3
eor r5, r5, r5
tst r4, #0x04
orrne r5, r5, r2, lsl #16
orreq r5, r5, r3, lsl #16
tst r4, #0x02
orrne r9, r5, r2
orreq r9, r5, r3
stmia r1!, {r7, r8, r9}
tst r4, #0x01
strneh r2, [r1], #2
streqh r3, [r1], #2
add r1, r1, #944
tst r6, #16
bls 10b
ldmia sp!, {r4, r5, r6, r7, r8, r9, r15}
[Galaxy Tab  Android Development] Deleted member 4520306:
&

​

These Roms are both compiled by source from me :D Both have some tweaks from their tree (will list below). I used the Device and vendor files that THE TE4M have been kindly developing for months! Thank you for you hard work!!! :D

AOKP Changes

Trebuchet launcher with SGT7's modifications

P1 Parts are available (THE TE4m's add-ons too! + my own changes to LiveOC for 115% and 125%)

Moved Clock back to original position (more tidier)

Apollo Music

Settings shortcuts for launcher and device settings

Gummy Changes

​

Removed Pre-installed themes for more System space would have had to change the MTD layout if kept them there

Added reboot in power menu

Trebuchet launcher with SGT7's modifications

Removed unnecessary apps

Apollo Music

P1 Parts are available (THE TE4m's add-ons too! + my own changes to LiveOC for 115% and 125%)

Built in Voltage Control displays our frequencies but not sure if they apply

May have missed some but more to come soon in later developments! :D

Kernel

​

The kernel is from Humbero's Github and includes all the changes from there.

Differences

​

LiveOC Working and configuarable from Device Settings

More Frequencies

Tiny Shmem

Lulzactive V2

Working on more!

Thanks to THE TE4M for the kernel! :D

Features/Changes

​

Gummy Rom

AOKP Rom

Repos/Source

​

My Repo

THE TE4M's Repo

Team Gummy's Repo

AOKP's Repo

Known Bugs

AOKP

​

Navibar/on screen softkeys still broken - temporary fix - Setting > Rom Control > Navigation Bar > put device in landscape > either change the Navigation quantity to any number then preferred choice or change Navigation bar height or width. (AOKP need to fix this)

Navibar icons go tiny whenever a menu button appears. To fix this just add a menu button in the Navibar settings in Rom Control.

Gummy

​

UMS (native storage doesn't work as of now trying to fix this)

Let me know of any more!

AOKP

​

P1

Milestone 6 Rebuild 1- DOWNLOAD

P1C

Milestone 6 Rebuild 1- DOWNLOAD

P1L

Milestone 6 Rebuild 1- DOWNLOAD

P1N

Milestone 6 Rebuild 1- DOWNLOAD

Gummy

​

Gummy 1.3.0 DOWNLOAD Sorry the SU binary (for root) is not included for some reason in this zip :( Flash this through CWM and then open up SuperSU and Root will work :)

From any ICS rom

​

A full wipe is recommended for best performance! and if things don't work perform a full wipe!

Wipe cache

Wipe Dalvik Cache

Install Rom

Then Gapps

Stock GB Rom

​

Make sure you have a CWM recovery installed (if you dont know what this is follow

THIS guide, just perform the stock safe and the kernel and then you can continue)

A FULL Wipe

Install Rom

Then Gapps

Custom GB Rom

​

A FULL Wipe

Install Rom

Then Gapps
[Galaxy Tab  Android Development] o_tiger:
Wow! Looking forward.
[Galaxy Tab  Android Development] qm4n76:
Does this rom have any related with stimpz0r?

Can't wait the link.

Thanks..., :)
[Galaxy Tab  Android Development] Deleted member 4520306:
Both links are up now! :p.

This rom was forked from the aokp repo and added in features that i think are better like trebuchet over Nova and devices settings shortcut in the settings up and moved the clock back as it looks messy (in my opinion) and more features as listed above as well as more to come!
[Galaxy Tab  Android Development] rebelde_:
First thanks for your work.

While we wait for the rom gummy, proves the aokp build 38.:D

Greetings

edit: I saw the link to the rom gummy thanks;)
[Galaxy Tab  Android Development] Deleted member 4520306:
No problem, Let me know of any bugs please and if you know how to fix them send me a PM and remember to read the first thread to see if i know about them. thank you!
[Galaxy Tab  Android Development] drdax:
Can you confirm which devices these roms are for?
[Galaxy Tab  Android Development] rebelde_:
hey install rom gummy the above CM9 Nightfly, but did not work. I wipe data, cache, Dalvik cache, install the rom and not work.

I restock with odin and now it works.

In the settings / Device Specific fails.:(

I will keep testing the rom, thanks again for your work.

greetings

sorry my spanglish, the fault of the translator of google:rolleyes:
[Galaxy Tab  Android Development] Deleted member 4520306:
oops, sorry about that will add it in the OP in a minute along with a kernels for specific devices. this is for the P1000 but will work on the p1000L/N with other kernels. if you have a CDMA i will port them over in the near future
[Galaxy Tab  Android Development] Dreammaster:
I Run it on a p1 so EU Edition and so far no big issues...just Rom control - locksceen in german creates a FC...Guess the translation here is not finished..

Gesendet von meinem GT-P1000 mit Tapatalk 2
[Galaxy Tab  Android Development] Deleted member 4520306:
Hello, I haven't Forked Rom Control so it must be on AOKP's end and i guess so sorry about that. Hopefully in the next build they will finish up the translations.
[Galaxy Tab  Android Development] yappoe:
More ICS choice for p1000. GREAT!!

I've been on stimpz0r's AOKP for awhile.

How's gummy compared to AOKP?
[Galaxy Tab  Android Development] Deleted member 4520306:
ok thank you for your results, i will check over the source code with CM9's and get it to work. i think i have fixed UMS and tethering now will rebuild one and test if it works then will release an update
[Galaxy Tab  Android Development] Deleted member 4520306:
Gummy is more AOSP based (as in small changes to some apps like settings and frameworks but besides that no changes to other system apps). thought i would release more choice to our tabs :D
[Galaxy Tab  Android Development] rebelde_:
hi

I discuss something that does not work the gummy rom.

Root, does not superuser permissions .. does not attempt a fix, but I worked.

The lockscreen does not work, or the slide, or the employer.

Greetings
[Galaxy Tab  Android Development] Dreammaster:
with the AOKP build I do not have a single problem here with that... I guess you should install here this build with a full wipe data/cache/dalvik...
[Galaxy Tab  Android Development] drdax:
Hi

Flashed 38 feels quicker than AOKP 37

However google shop don't work for me. At the download accept stage. Says there is a payment problem even on free app.

I did a wipe beforehand and dalvik cache wipe.

Flashed gapps

Any ideas?
[Galaxy Tab  Android Development] drdax:
Rebooted and cleared cache appears to be working fine.

Build 38 nice and quick
[Galaxy Tab  Android Development] Deleted member 4520306:
thank you for both of your reports,

there are a few bugs and i think AOKP reworked the lockscreen music which need to be reverted to address in and i think that some of the gummy settings have not fixed for tablets yet, i will check there repo soon to see. i will hopefully be release another in the next few days :) i have been trying to fix the liveoc in humberos's kernel and i think i have fixed it... i hope.
[Galaxy Tab  Android Development] mjrshark:
i tried Gummy 1.2.0 and stuck on Sim pin-code , keyboard wont show up :\

now Aokp wont scan sdcard media :\
[Galaxy Tab  Android Development] maihuuquan:
Can you upload to MF? Please
[Galaxy Tab  Android Development] chickygamon:
I have installed Rebuild 1 on P1 where can i found if installation is finish ok .. in phone info i always see aokp_p1_milestone-6 ....

It's ok ? In CWM no problem so, i think yes ....
[Galaxy Tab  Android Development] vince_junior:
Same here. But i think th new build has been installed successfully :o

quick review:

1. Rebuild 1 is noticeably faster and more responsive.

2. I also noticed faster 3g connection.

Thanks ahain henry for this great rom!
[Galaxy Tab  Android Development] chickygamon:
I have create a file torrent, i don't know if it could be better in download or not ...

http://chickygamon.blogspot.it/
[Galaxy Tab  Android Development] TheValk:
This fails to flash on my Sprint Tab, but I am seeding.
[Galaxy Tab  Android Development] :
That is the P1 not P1C, @everyone please check the OP links
[Galaxy Tab  Android Development] darkoxx:
Great worrkk our hero..we luvvv ya..ya know nowadayz a kernel problem or maybe "batterybin file"fuse I duno, havin a serious chargin problem..It charges sooo long time soo slowwly and charge info seems misinforming mostly..so I tried battery calibrator but made it worse..hope now this rom solves all so quickly..letsss beginnnn....;)
[Galaxy Tab  Android Development] darkoxx:
Hey henryedwardrose..dudee that's having a synchronization problem wth Google..say command;).cuz I can't retrieve my contacts from day server and can't get in playstore as well..
[Galaxy Tab  Android Development] olyloh6696:
This ROM is awesome, thanks for this. However, I can't view my SD card stuff with file explorers. My music can be played via Apollo but nothing shows up in file manager. Any ideas? Please help
[Galaxy Tab  Android Development] olyloh6696:
My SD card is detected, but I can't view my files. I tested several cards and I have the same problem. Please help guys.
[Galaxy Tab  Android Development] chickygamon:
you don't see \emmc ?

I don't have this issue ...

---------- Post added at 03:43 PM ---------- Previous post was at 03:41 PM ----------

The right external sd is /emmc
[Galaxy Tab  Android Development] olyloh6696:
Thank you so much! I found it.
[Galaxy Tab  Android Development] olyloh6696:
For some reason I can't seem to get fifa 12 working on this ROM. It was working fine on Overcome, but not on this. When I open the app the first time, and select download, it says error, and I can't download any game data. Anyone else?
[Galaxy Tab  Android Development] chickygamon:
Do you have download app from the market or restored from titanium/mybackup .... ?

If restored, tray to install from the market and retry.
[Galaxy Tab  Android Development] caguas56:
Hi, would this rom work on a Sprint Galaxy Tab 7"?. what is a "p1"?. Thanks.
[Galaxy Tab  Android Development] chickygamon:
please read posts

http://xdaforums.com/showpost.php?p=29847937&postcount=186

:good:
[Galaxy Tab  Android Development] budif:
Hi,

Thanks for this excellent rom. I've been using for almost a week, it's definitely faster that my previous aokp version.

I got few questions, just wondering if anyone can help to answer:

- How can i add dsp manager? I tried adding Beats DSP manager, it installed fine. But i believe it didn't work at all, no sound difference.

- Is it normal to have the CPU run at full speed (1Ghz) when playing mp3 in the background? my cpu is to smartassv2.

Thanks
[Galaxy Tab  Android Development] blim888:
Thank you for an excellent rom!

Had no difficulty installing this to my p1000. Thank you very much. I saw a great improvement over overome 4.1 Just one question how do I make the font a little bigger? Its too small for my eyes.

I found it!
[Galaxy Tab  Android Development] roter$baron:
hey all, I am relatively new to this. I want to flash the aopk version, but I have no idea what P1, P1C etc means. Which version do I need?

Also, where do I get the gapps?
[Galaxy Tab  Android Development] blim888:
@roter

P1 stands for P1000. so P1C is P1000C and so on and so forth. Gapps can be found here
[Galaxy Tab  Android Development] darkoxx:
How did you solve da google account server problem..????
[Galaxy Tab  Android Development] priyana:
Not quite.

P1C is the CDMA variants:

SPH-P100 and SCH-I800 (note the name has no C in it)
[Galaxy Tab  Android Development] blim888:
Thank you for correcting me sorry for the wrong info.
[Galaxy Tab  Android Development] sponsor79:
Is there any chance to use gapps from JB with ICS ROM?

I like functionality witch was in GB and now came back with JB (offline search in mail app).

Did someone try installing gapps from newer system?
[Galaxy Tab  Android Development] roter$baron:
Have been using this ROM for one day now and I am very pleased with it. One question/problem though: There is no symbol in the statusbar indicating my mobile data (like H, 3G, E etc.) is there a way to turn that on?
[Galaxy Tab  Android Development] vince_junior:
Im using the aokp build and it displays the data signal. Are you using gummy?
[Galaxy Tab  Android Development] roter$baron:
Nope, using AOKP. Also, the battery consumption is pretty drastic. I am losing 35% over night. That can't be right, does it?
[Galaxy Tab  Android Development] The Rubenator:
Sprint Tab

Can anyone tell me about a ICS or Jelly Bean ROM for the Galaxy Tab please and thanks in advance
[Galaxy Tab  Android Development] roter$baron:
Battery drain

I am experiencing a drastic battery drain with this rom. I lost 50% in 10 hours with the tab just lying there. How can that be?
[Galaxy Tab  Android Development] :
have you got live oc switched on?
[Galaxy Tab  Android Development] roter$baron:
Where can I see that?

And could I simply switch back to Overcome be restoring my nandroid backup or do I have to restock?

EDIT: appearantly the tab does not go into deep sleep. What can I do?
[Galaxy Tab  Android Development] AKA_noodle:
Pls give me mirror.
[Galaxy Tab  Android Development] chickygamon:
This is a torrent file for download ROM M6 Rebuild 1 for P1

http://www.4shared.com/file/wGPRlvV5/AOKP_M6_Rebuild_1_for_P1.html?refurl=d1url
[Galaxy Tab  Android Development] AKA_noodle:
No seeds & peers :(
[Galaxy Tab  Android Development] AKA_noodle:
How I can enable the powersave mode?
[Galaxy Tab  Android Development] TheValk:
This is working great on my P1c, except none of the device settings are available. Is this normal? If not, what's the easiest way to remedy the issue?

Thank you!
[Galaxy Tab  Android Development] mohsen1984:
I had the exact same issue so I don't use this rom anymore. though performance is great but couldn't stand battery drain issue.
[Galaxy Tab  Android Development] darkoxx:
Hey Rooose..R U doin well..cuz we've been wonderin quite where you are.. noone kidnapped ya huh? ;) budy I wrote couple of messages here about google account problem but Its been nearly a month you re not respondin....wots goin on just wondered;)

PM PLZ; )
[Galaxy Tab  Android Development] blim888:
Ive been using this Rom for a while now and Im satisfied with it but Im having a problem with my camera. I cant use it anymore. Can anyone help? thanks.
[Galaxy Tab  Android Development] :
pls port miui jb from miui sourcea :)
[Galaxy Tab  Android Development] olyloh6696:
Hi, is there a way to disable the on screen buttons navigation? I would like to just use my hardware keys.

Thanks.
[Galaxy Tab  Android Development] :
Yes enable navigation toggle in rom control, then hold the power button and u will see a new row of icons and click the one of the far left
[Galaxy Tab  Android Development] michael3770:
So the AOKP rom is bugless if you disable the software key and just use the capacative keys?

That's awesome!
[Galaxy Tab  Android Development] priyana:
why do you consider the software key to be a bug?

It is definitely a feature. (And this is not an M$ joke)
[Galaxy Tab  Android Development] michael3770:
I mean the OP said the navbar/softkey is still broken
[Galaxy Tab  Android Development] popox:
P1 download link is dead. can i get new links or mirror?
[Galaxy Tab  Android Development] sarahqputra:
can i have gummy rom for p1000 active link??
[Galaxy Tab  Android Development] :
Just a quick status update,

i have Fixed LiveOC in Humberos's kernel and now that is finished i would be focusing on the issues in the Roms (most i have done already) and will rebuild soon :)

thank you for the information. the keyboard doesnt show up automatically ATM (hopefully i have fixed this will rebuild and test) you need to on the keyboard icon in the notification tray and turn off 'physical keyboard'

i have personally not had any problems with my internal storage or external storage on AOKP when you installed did you perform the correct Wipes?
[Galaxy Tab  Android Development] mjrshark:
yea i did , coming from stocking ( by overcome )

didnt had this problem in Aokp-milestone "stimpz0r"
[Galaxy Tab  Android Development] shaider_516:
can i install this via cwm w/o restocking? im on overcome 7 4.1.0 rom.
[Galaxy Tab  Android Development] Calavaro:
Is it laggy?

2.3.x works very well, without much lag (except gallery wich has always been horribly slow). How is ICS and gummy in regards to overall system lag (honestly)?

Is it click->laaag->load? or is it click->short lag->load? or click->load? (by comparison Hyperdroid Ad populum is click->short lag->load, and it is generally very fast.)

Is it good enough to install as a work enviroment O/S?

Thank you :)
[Galaxy Tab  Android Development] :
ok well i am rebuilding both roms now i am gonna test them and release them with a bug list on the main post. All i can recommend is back-up your apps and perform a full wipe and restore your apps.

yes you can :D just perform a full wipe (data,cache and dalvik) and you should be fine. P.S. rebuilding tonight with better features and fixes so watch the OP for an update, the builds will be called something like Gummy 1.2.0 rebuild 1 or AOKP build 38 rebuild 1

TBH i with you i didnt have good experiences with Gingerbread, in my opinion ics is smooth and looks cleaner and better on a tablet. things don't seem to lag at all. when playing games things tend to play the same on both devices. i think it is better but its your opinion if you want to try it out back up your apps with titanium backup and you contacts and that with Google so you wont lose any data when it comes to wiping.
[Galaxy Tab  Android Development] Calavaro:
Thanks for your answer.

I'll give it a fair shake. I don't really need my device for the next few days anyway, so if anything goes wrong or if I don't like it I have time to restore properly.
[Galaxy Tab  Android Development] mjrshark:
ginger didnt had any problems , but when ya try ICS for few days even with bugs you wont think to go back to ginger , i did when i get some bugs and went back to GB , but after 1hour couldnt stand it and went back again to ICS , and now am trying AOKP#38 and waiting for fix for grummy to try it next.

sadly not many working on Tap7 , most quit and develop another devices :(
[Galaxy Tab  Android Development] Calavaro:
Sadly the first install yielded in broken root.

I re-stocked according to the suggestion in the OP, I wiped, cleaned, and flushed.... many time. No go. Denied.

I'll re-stock again and see where it goes. In the mean time does anyone have any suggestions how to fix this type of problem?

Edit: Re-stocked, installed etc... still root problem. Any suggestions?
[Galaxy Tab  Android Development] mjrshark:
broken root ? witch rom ?
[Galaxy Tab  Android Development] Calavaro:
Gummy 1.2

AOKP 38 seems to work fine so far (ie. Apps gain su).

It's "missing" some of the interesting things Gummy showed me though...
[Galaxy Tab  Android Development] mjrshark:
didnt try it yet , looks there some bugs will be fixed , stay on aokp till we get new update , thats all what i got sadly :(

as always more fun in rom = more bugs , lets wait update
[Galaxy Tab  Android Development] Calavaro:
So I have some problems in AOKP as well.

The phone dialer keeps force closing on incoming and outgoing calls. Any solution for this? It's a deal breaker for me as I use my Tab as a phone...

Thanks.
[Galaxy Tab  Android Development] :
Dont worry i have fixed this. the next build is being released today. im still fixing problems with gummy but hopefully i can release it soon without the issues
[Galaxy Tab  Android Development] Calavaro:
Wait what? You fixed things, and quickly?

Is this real life? ;)

Anyway, without the nagging little bugs your ICS build(s) runs surprisingly smooth and is very reactive. I guess, if the dialer FC is fixed, I stick with your builds.
[Galaxy Tab  Android Development] :
AOKP Rom updated! Sorry no Gummy rom yet still fixing :(

AOKP build 38 rebuild 1 changes are: P1 device settings updated, SGT7's trebuchet, fixed phone + camera, LiveOC is now working, AOSP music layout for lockscreen, shortcuts in settings app for launchers and device settings
[Galaxy Tab  Android Development] Calavaro:
I'll push it to its limits and let you know what issues, if any, I find.

I really appreciate your efforts and appreciate your humble approach. And as such I'll do what I can to help you.

Edit:

Phone dialer is working. no force close.

I got this upon first boot: "Unfortunately, System UI has stopped."

It also happened after using the phone dial the first time. After that it didn't happen again. (at least not yet).

This was before I installed Gapps.

Gapps install went smooth.

Problem #1. Play Store says "Server error". Reboot solves the problem of opening it, BUT I can't download any apps. "Error <appname> could not be downloaded due to an error. (921) )

Google talk signs in fine (to ensure Gapps install went ok, and internet connection works).

Edit 2: Changing LCD density does NOT solve Play store problem. Still can not download apps.

Another small bug. When I reboot, it always reboots into recovery no matter which option I choose. I have to reboot, then reboot again from recovery to actually reboot the system.
[Galaxy Tab  Android Development] :
Thanks for your help! :) btw best settings for LiveOC for me is (you can manage this from device settings: 125% and turning the CPU clock speed down to 1GHz no reboots yet but if you do just change the value to 120% and you should be fine :)