yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1 Android Development] kadiremrah:
UBLP4 Rom and Kernel

Hi AAccount,

I have found a new stock Rom and Kernel (found a little late puplished July 2013). http://live.samsung-updates.com/details/12059/Galaxy_Tab_10.1_WIFI/GT-P7510/ZTO/P7510UBLP4.html

This stock rom is nearly perfect but your kernel tunes are missed.

So could you tweak this new kernel with your magic.

Pluses on this new kernel i found with my little knowledge are

+Very smooth like custom kernels

+fstrim supported internally

+Charge current is now near 1950ma (before only 1440ma max)

+Standby current as low as 17ma (before 24ma)

+wifi is very fast 1.30MB/s when copying file over lan before it was only and max.0.67MB/s

+very fast keyboard may or not about kernel

If we got a 1.6ghz cpu trick and 400mhz gpu trick it also will be a perfect start.

Please do your magic
[Galaxy Tab 10.1 Android Development] ev!denz:
Persists the deepsleep bug in this kernel?
[Galaxy Tab 10.1 Android Development] samdal:
Bug is gone :)
[Galaxy Tab 10.1 Android Development] Dwama:
can anyone share for version stock 1.8 one, pleaaase.
[Galaxy Tab 10.1 Android Development] kRel:
Stupid question:

The JB AOKP 1.9.1 ROM is stock derived or CM derived ?

Sorry . . .
[Galaxy Tab 10.1 Android Development] hanspampel:
It is cm based. Stock are only touchwiz based roms. And there is no other Android Iteration like ICS available. JB is android 4.1.x upwards.
[Galaxy Tab 10.1 Android Development] shmigao:
iptables

Does the kernel support iptables? CM stock/pershoot doesn't...
[Galaxy Tab 10.1 Android Development] Ferrumlan:
will this kernel work on honeycomb 3.1? I searched 3.1 kernels in forums but links are broken or old(
[Galaxy Tab 10.1 Android Development] raadio13:
Wi-Fi Direct working ?
[Galaxy Tab 10.1 Android Development] DG42xda:
After not being able to find a JB ROM that works well with the Netflix app, I flashed Fourth Bar Revolution (ICS 4.0.4), and while Netflix didn't crash anymore, the playback was awful (very choppy). So I flashed the A1 v1.9 kernel and instantly Netflix ran smoothly. So everything was great, until I discovered that my Tab wouldn't go into deep sleep. I wasn't sure if SetCPU could do anything to help, but I wanted to adjust the max and min anyway so I installed it, set max to 1200 and min to 150, set the guvna to ondemand, and checked Set on Boot. Well now, with the screen off I get 98% deep sleep, best I've ever seen on any of my devices, even with Google, weather, and maybe a couple of other apps that sync periodically. I don't know why it wasn't going into deep sleep before (since this kernel supposedly doesn't have this problem), and I don't know why SetCPU fixed it, but I wanted to mention it in case someone else sees the same problem.
[Galaxy Tab 10.1 Android Development] c0de_junkie:
can someone please upload a link to the latest version v1.9.1? it would be much appreciated....

also I just have a quick question to ask about which version of the kernel I should use, my understanding is that if my rom is CM based then I would use the CM version, and the stock version i would use with all other ICS roms, is this correct? or am I wrong? Thank you very much for any help!!
[Galaxy Tab 10.1 Android Development] AAccount:
V1.9.1 is just the cm10.2 version with selinux support. That's it. I'll fix my signature.

Yes you are correct: cm roms (including kitkat) use the CM version, samsung stock roms use the stock version.
[Galaxy Tab 10.1 Android Development] AAccount:
New KitKat Recovery

I finally got the new TWRP 2.6.3.0 to fit on the tiny 5MB recovery partition. This time however, there is no removal of features. All the pretty graphics and automatic SuperSU installation is there. I took the approach of stripping down the kernel of anything not important (like wifi, bluetooth). Who really needs either of those in recovery anyways? The kernel config is included in the recovery source. The main point of this recovery is for kitkat installation. Now any zip with "set_metadata" will work.

Sidenote: my kernel is kitkat compatible. I use it on a daily basis. Actually, since CM10.1 I haven't really changed the kernel much so unlike other devices, kernels on this device are very forwards compatible.
[Galaxy Tab 10.1 Android Development] jaswinky:
It sounds good.. lets try 150MHz... but if it would 100MHz it would be better... can you?

About the hangup in 1.5 version issue... do you really think it is so critical the needed for separate both versions? I don't think it could be a big problem...

About the AC mod... ¿are you going to include in 1,6 or will you make a different zip file? I think people like it:D

Thanks
[Galaxy Tab 10.1 Android Development] steveman29:
I believe that it is not the frequency that is causing high drain. After all these frequencies where used by pershoot and there was not any drain.
[Galaxy Tab 10.1 Android Development] AAccount:
Actually, I assumed the tablet would automatically choose a lower voltage for 150MHz. Looking at the tegra2_clock.c at the function "static struct clk_pll_freq_table tegra_pll_x_freq_table[]" you'll notice that 216MHz isn't on there. The lowest is 312MHz. I actually did a Ctrl-F find for "216" on tegra2-clocks.c and the only place 216 shows up that seems to be related to the cpu is in tables like "static struct cpufreq_frequency_table freq_table_1p2GHz". I also looked at tegra2_dvfs.c and the lowest frequency on there in the CPU_DVFS list thingy is 380. Nowhere in that file does the number 216 show up either.

Is this a safe assumption to make or another example of my saying "It's the assumptions that kill you". I think you're right though: if the tablet doesn't use a lower voltage for 150 compared to 216 it probably won't help.
[Galaxy Tab 10.1 Android Development] AAccount:
If the AC mod turns out to be safe then, sure I'll include it in the next release.
[Galaxy Tab 10.1 Android Development] CazeW:
To be honest, I haven't the slightest clue. :confused:

You could try adding a couple of lower voltages to the list in tegra2_dvfs.c as well to see if that works but like steveman29 said, I don't think that the extra drain compared to HC comes from there.
[Galaxy Tab 10.1 Android Development] AAccount:
What happens when you try to enable swap right now? "CONFIG_SWAP=y" is enabled by default.
[Galaxy Tab 10.1 Android Development] jaswinky:
I thougt if same power requirements (depending on CPU, screen intensity, flash, etc...) and lower voltage, drain was higher (P=V*I). If you decrease the power requirements decreasing the CPU freq, it will not be allways necessary to also decrease the voltage so that decrease the drain (amps)... But anyway, I don't know too much about CPU voltage configs, so...

---------- Post added at 11:15 PM ---------- Previous post was at 11:10 PM ----------

mmm it allways happen with 1.5experimental... traying to reflash... maybe unchecking "set on boot" on setCPU will work fine... mmmm no, this is not the temporal solution...

Also happen with 1.5AC.. trying 1,3...

Before returning to a 1.3 or 1.4 stable version: with 1.5AC (current not average), screen off (wifi on) only 82-108mA (instead of 150mA), max samsung AC charger1,5A; max laptop USB port: 1,17A...

I'll return to a 1,.3 or 1,4 stable version because the boot problem is always present for me...and now it doesn't work if I just reboot in the hang up moment...
[Galaxy Tab 10.1 Android Development] steveman29:
Swapper 2 gives me an error:

swapon /sdcard/swapfile.swp: invalid argument
[Galaxy Tab 10.1 Android Development] CazeW:
Just decreasing the frequency will have small effect on the drain but in my personal opinion we're talking about a drop of maybe 10% at best.
[Galaxy Tab 10.1 Android Development] jaswinky:
No, one moment... still 1.5 version (AC ver), I set setCPU to 1000MHz and the booting is faster and never hangs up !!!! I will try to 1,2GHz and 1,4GHz again mainteining the 1.5AC version...
[Galaxy Tab 10.1 Android Development] katestar:
Fair enough, thank you anyway :) CM10 with a 400mhz GPU would have been incredible. I am tempted to try to go back to stock, but CM10 is just so smooth. So hard to decided, better games or better ui experience. :)
[Galaxy Tab 10.1 Android Development] jaswinky:
It also happen with "set on boot" on setcpu unchecked at 1000MHz some times... sorry... returning to 1.3 version...

I have a problem with entering to recovery since long time ago, with my overclocked honeycomb, The only way to enter recovery by hardware or download mode was pushing both buttons with the data cable connected to PC (!!), if don't, it gets in a loop on first samsung message on and off.

Now, today, I cannot enter even with the data cable connected... I initially thought that it was because AC modifications in code, when I plug in the cable, it enters in charge AC state and entering in download/recovery didnt work, but I returned to 1,3 and it still happening to me... I cannot enter in Recovery/download mode by hardware from turned off state, only with ROM manager using the option "reboot on recovery", but, what would happen if I can never boot my tablet??? I'll not be able to reflash any ROM (!!!).

So, with this problem on booting at 1,4 and 1,5 versions, now my fear is not to be able to boot the tablet never... When this issue will be solved, I will test again in 1,4GHz; now I prefer don't take risk...

AAcount, could you post the stock wifi only kernel version with no mods (prior to 1.0)? Thanks a lot... it is just to test and see if I can enter again in recovery with cable inserted with no mods in battery charging code...
[Galaxy Tab 10.1 Android Development] AAccount:
There's the stock boot.img pulled from task650's ics rom. Just flash it with dd to mmcblk0p3.
[Galaxy Tab 10.1 Android Development] jaswinky:
Thanks a lot!

What is this: "Just flash it with dd to mmcblk0p3" ???? What dd and mmcblk0p3 are?? Could I just flash with mobile odin?

Yes, I can with mobile odin...

One question, will I loose the root if I flash stock kernel? (If so, I'll never be able to enter recovery or download mode...)

Thanks

mmm this is not a md5 with integrity check... (once I happen something bad with this), I won't better take the risk. I must solve my problem with the recovery and download mode... this is a nightmare!!! I'll surf the web carefully...
[Galaxy Tab 10.1 Android Development] AAccount:
By dd I meant (assuming boot.img is in /sdcard)

su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p3
[Galaxy Tab 10.1 Android Development] pathuri97:
BootLoop with 1.4

I had similar problems after flashing 1.4.

But after 2/3 times ON/OFF - TAB booted normally & OC'ed to 1.4.

Working fine - No problem apart from initial re-booting issues.

If this can be avaoided/corrected - it is fine with 1.4.
[Galaxy Tab 10.1 Android Development] jaswinky:
Ok, I'm stupid... tens flashings on my s2 and tab, and I found this... The solution for me is in the second post (and without wires!!):

http://xdaforums.com/showthread.php?t=1480742

:eek::cool::D

Now I can take any risk.. flashing again 1.5AC !!

One thing: I've noted that the boot freeze issue happens even with "set on boot" on setcpu unchecked, but I suspect the probability of this is higher if you set on boot 1,2 or 1,4GHz...

---------- Post added at 02:58 AM ---------- Previous post was at 02:55 AM ----------

AAcount, there is other answer to your poll question (my choice): just reboot once or twice and usually it starts ok...
[Galaxy Tab 10.1 Android Development] AAccount:
It may be possible to fix it by rebooting several times but I dont want to loose peoples's confidence by having that uncertainty. On top of that, it would look bad if that was required for someone who uses another person's rom with my kernel prepackaged to do so man reboots.
[Galaxy Tab 10.1 Android Development] jaswinky:
Yes, you're right, but, in my case, I cannot answer the poll because I personally prefer to get 1.5 (AC in my case) without reflashing because I consider this version as the better stock kernel for our gadget...:D
[Galaxy Tab 10.1 Android Development] AAccount:
I'm working on getting the AC mod. After switching CHARGER_USB to CHARGER_AC my adb shell kept disconnecting and reconnecting so I'm looking into another way to trip the "2A switch".
[Galaxy Tab 10.1 Android Development] Traace:
Chance for new recovery on 3g Tab? It shoud be simple. Nice rip down :). Thanks for still Support this great tab

Gesendet von meinem GT-P7500 mit Tapatalk
[Galaxy Tab 10.1 Android Development] TnA.Plastic:
Thank you! This seems to be the best way (stripping Kernel).

I'm only missing a P4 (3G)-Build... :)

Off-topic: Which tools do you use to develop (Android-related stuff)?

I'm searching for preferences...

I'm used to Slax 32Bit, Ubuntu 32/64Bit, Debian 5/6 and Windows all versions.
[Galaxy Tab 10.1 Android Development] AAccount:
Should mention there's a weird side effect of /system/media not getting backed up where all the notifications sounds are and omni boot animation is. Just discovered a few minutes ago. It doesn't seem like anything big though.

I'll look into a 3G version at some point.

I use fedora 20 x64 with mate desktop environment to make all these builds. I hate gnome 3's interface as much as windows 8.x's. Most editing is just done on mate's gedit (pluma). I use firefox to lookup most of my stuff on the internet. Unfortunately ATI decided my mobile radeon 4650 is too old (not really, it's from 2009) and isn't providing drivers for anything above fedora 17's xserver. That means I have to recompile fedora 17's xserver and various supporting packages for each new iteration of fedora. The open source drivers suck for power management. I refuse to turn my graphics card into a secondary room heater. If only android's internals were as easy to forward port as xserver, camera and everything else would be working. No... android's internals are all interdependent with each other. You can't just rip an old version of something and stick it in like you can with desktop linux:(
[Galaxy Tab 10.1 Android Development] TnA.Plastic:
A compilation-error maybe?

Any idea, what could be the cause?
[Galaxy Tab 10.1 Android Development] Traace:
Lol slax and Debian are worst

Im using arch 64

Gesendet von meinem GT-P7500 mit Tapatalk
[Galaxy Tab 10.1 Android Development] TnA.Plastic:
Well, I used Slax 32Bit back in the days around 2006 thought,... and Debian has its advantages in setting it up and let it run... But could be bad for programming.

I'll try arch64! Thanks for the recommendation.
[Galaxy Tab 10.1 Android Development] AAccount:
It's there now. I attempted to have it backup the modem by looking at a modem flashing zip file. It shows the modem partition on my Wifi only as 12mb which looks right.
[Galaxy Tab 10.1 Android Development] Traace:
Good work. Thank you. I will flash it

Edit: yup, working fine

Gesendet von meinem GT-P7500 mit Tapatalk
[Galaxy Tab 10.1 Android Development] kashortiexda:
p4 3G kernel

+1 (pretty please) for a P4 3G version of your kernel to work with kasper_h OmniRom.

I've used your kernel from early days on my P4 .......great kernel/recovery

Thx
[Galaxy Tab 10.1 Android Development] TnA.Plastic:
Thanks for your suggestion. I'll try that, too.

It works good on my 3G-Version of the Tab. No Bugs (as of yet). :)
[Galaxy Tab 10.1 Android Development] AAccount:
The kernel I put up is the 3G version. I haven't put up a wifi only kernel in a while. Since the only difference is having kernel modem support, it does no harm to me if I have no modem since the kernel will just ignore that part.
[Galaxy Tab 10.1 Android Development] shmigao:
SGT7 ROM doesn't have sound over HDMI. Would flashing A1 kernel help?
[Galaxy Tab 10.1 Android Development] Toldo:
This is for Gtab 10.1. If you flash that, you can end up bricking your device.

Wysłane z mojego GT-I9300 przy użyciu Tapatalka
[Galaxy Tab 10.1 Android Development] eushaun99:
With all due respect, he was talking about this ROM: http://xdaforums.com/showthread.php?t=2098429

I really can't believe how come not many people know about SGT7 ROM. Or maybe you thought that ROM was simply cm10.2? :)
[Galaxy Tab 10.1 Android Development] Toldo:
Well I think it's not a good thing in a Gtab 10.1 section to name a rom with another device's name ;) But that's my opinion. I thought he was trying to flash that on a SGT7 device thus my previous post.

Wysłane z mojego GT-I9300 przy użyciu Tapatalka
[Galaxy Tab 10.1 Android Development] shmigao:
yes, I was talking about that ROM.

The A1 Kernel seems to be supporting a number of different Gtab devices, judging from its Changelog, but I see it seems not for CM10.2 yet

Too bad, trying to find a solution for no sound over HDMI
[Galaxy Tab 10.1 Android Development] AAccount:
Yes it is for CM10.2. It just has no selinux support but that doesn't make a difference. In android 4.3, selinux is in permissive mode which means it turns a blind eye to any rule violations. In android 4.4, kasper_h and I decided to kill selinux completely since in 4.4, it runs in enforcing mode. My kernel works all the way up to omni 4.4.2 :)
[Galaxy Tab 10.1 Android Development] shmigao:
Which means i can flash A1 and hope sound over HDMI works again?
[Galaxy Tab 10.1 Android Development] AAccount:
Well I have no way to test any hdmi functions since all the TVs I have access to are CRTs from 2000 and earlier.
[Galaxy Tab 10.1 Android Development] shmigao:
i will check it out. atm moving house, so a day or two later
[Galaxy Tab 10.1 Android Development] crippleye:
Faster donate him for new lcd!!!

Thanks for hard work with Tab10.1 both kernel and recovery are "must have" for me)
[Galaxy Tab 10.1 Android Development] neonflx:
Installed the stock kernal on Omni 4.4.2 however, I lost my WiFi.

Tried with fresh install with same results every time

Any suggestions

Thanks
[Galaxy Tab 10.1 Android Development] pitpit24:
Use a cm based rom.
[Galaxy Tab 10.1 Android Development] neonflx:
Thanks that worked
[Galaxy Tab 10.1 Android Development] eushaun99:
Hi AAcount,

Is it possible to add these 2 features into your kernel?

https://github.com/Ezekeel/GLaDOS-nexus-prime/commit/0821e8f15b95092af3f5352653e6b38980f5dd7e

https://github.com/faux123/tuna/commit/57f33be5d76c1071b8e07d5d366c11d9565908ed
[Galaxy Tab 10.1 Android Development] saj070:
TWRP

i just need TWRP for samsung Galaxy Tab 3 10.1

is there a TWRP or not ? if so please kindly point me to the right direction

Thanks
[Galaxy Tab 10.1 Android Development] AAccount:
I doubt it. I checked out the 3rd generation samsung galaxy tab forums a few weeks ago and it was quite empty. Ever since the 1st generation tab, I personally feel the newer models are only minor improvements. I think the large 10" + galaxy notes is where xda is.

Of course I'm still happy with my first generation model rocking a fully functioning kitkat :-p

Sent from my GT-I9300
[Galaxy Tab 10.1 Android Development] kashortiexda:
so, confirm you can, or cannot use this kernel with kasper_h's Omnirom, please
[Galaxy Tab 10.1 Android Development] crippleye:
maybe twrp bug

i ve installed kasper's omni4.4 build, before this i made full copy in twrp 2.6.3.0

after testing i rolled back to my cm 10.1 making full wipe restoring

all the process of installing omni and restoring back was fine

then twrp refused to install any cm files -- error executing updater in xxxxxx.zip

factory resets etc nothing helped

then i flashed old 2215 twrp and flashed cm update without errors

any further attempts to use 2630 with cm failed

what shall we do with this?:(

i like new recovery more but cant use it to all systems
[Galaxy Tab 10.1 Android Development] shmigao:
Wasn't able to test it yet, but after flashing A1 kernel Google Play Movies throws error-2 (failed to acquire license), which means Google DRM rejected due to rooted device. Didnt hv that with SGT7 ROM w/o A1 kernel.

Does flashing A1 kernel change some lib files in the ROM?
[Galaxy Tab 10.1 Android Development] AAccount:
It changes the kernel modules. That way, your wifi will still work.

Sent from my GT-P7510
[Galaxy Tab 10.1 Android Development] TnA.Plastic:
A1 for P4/3G-Version works good with omni 4.4 1.1.2014-build.

Didn't try the newer build yet...
[Galaxy Tab 10.1 Android Development] crippleye:
Hmm i think that found how to install cm... i ve deleted first string with assert function in update script... there was some check of device:eek:
[Galaxy Tab 10.1 Android Development] AAccount:
I tried doing the blx and set the limit to 92%. The rom reports the battery is full but it continues to keep on charging past 92%. If anyone is interested to see what I tried I modified the file drivers/power/p4_battery.c

case CHARGER_USB:
if (battery->current_cable_status != CHARGER_BATTERY)
{
#ifdef CONFIG_BLX
if ((get_charginglimit() != MAX_CHARGINGLIMIT && battery->info.level >= get_charginglimit()) ||
battery->info.batt_is_full || battery->info.level == 100)
return POWER_SUPPLY_STATUS_FULL;
else if ((get_charginglimit() != MAX_CHARGINGLIMIT && battery->info.level < get_charginglimit()) ||
!battery->info.batt_is_full || battery->info.level != 100)
return POWER_SUPPLY_STATUS_CHARGING;
#else
if (battery->info.batt_is_full || battery->info.level == 100)
return POWER_SUPPLY_STATUS_FULL;
else if (!battery->info.batt_is_full || battery->info.level != 100)
return POWER_SUPPLY_STATUS_CHARGING;
#endif
}
else
return POWER_SUPPLY_STATUS_DISCHARGING;
case CHARGER_AC:
#ifdef CONFIG_BLX
if ((get_charginglimit() != MAX_CHARGINGLIMIT && battery->info.level >= get_charginglimit()) ||
battery->info.batt_is_full || battery->info.level == 100)
return POWER_SUPPLY_STATUS_FULL;
else
return POWER_SUPPLY_STATUS_CHARGING;
#else
if (battery->info.batt_is_full ||
battery->info.level == 100)
return POWER_SUPPLY_STATUS_FULL;
else
return POWER_SUPPLY_STATUS_CHARGING;
#endif

The sound mod I won't do since there is already voodoo sound and requires a paid app to control it :(
[Galaxy Tab 10.1 Android Development] eushaun99:
Thanks for trying it out. Was there a sound mod in the 2 links? I thought 1 was improving battery life and other was dynamic fsync?
[Galaxy Tab 10.1 Android Development] AAccount:
Oops I saw faux 123 and assumed it was that faux sound. On devil kernel the developer warns dynamic fsync has a risk for data loss.

Sent from my GT-P7510
[Galaxy Tab 10.1 Android Development] eushaun99:
Ah, alright then. :)
[Galaxy Tab 10.1 Android Development] TnA.Plastic:
So, does the ROM stop loading at 100%?

I kept it loading for the past 6hours and when I woke up my Tab was as hot as it never was before (over 40°C). My Battery already doesn't seem to last as long as before... :-\
[Galaxy Tab 10.1 Android Development] kasper_h:
I really don't like dynamic fsync, as it is a reall risk of loosing data. I therefore don't think it is worth it...
[Galaxy Tab 10.1 Android Development] Grop:
TWRP 2.6.3.0 issue??

More people having trouble installing the nightly from today: 20140112.

I use twrp (2.6.3.0) to install.

Installation failed with this message:

assert failed: getprop("ro.product.device") == "p4" | | getprop("ro.product.device") == "p4"

EError executing updater binary in zip '/sdcard/0/cm-10.1-20140112-nightly-p4.zip'

Error flashing zip '/sdcard/0/cm-10.1-20140112-nightly-p4.zip'

I placed this question in the cm10.1 Nightly discussion.

Member Crippleye suggested a solution and referred to a problem of twrp 2.6.3.0

Is there a possibility to fix twrp?
[Galaxy Tab 10.1 Android Development] eushaun99:
Use an older recovery. This recovery is only meant for kitkat roms only. If not, switch the update binary to the one in kasper_h's kitkat rom.
[Galaxy Tab 10.1 Android Development] Grop:
Thanks, that was the solution. Did not realise that 2.6.3.0 was only for KK.
[Galaxy Tab 10.1 Android Development] varazir:
I like this better then CWM. Only thing is the graphic design, I guess that it can be hard when you have limited space to work with.

Skickat från min Nexus 5 via Tapatalk
[Galaxy Tab 10.1 Android Development] MrBrightside:
I have the problem that, since flashing the kernel over OmniRom 4.4.2, wifi seems broken. I'm not able to activate it.

Any fix for this issue?
[Galaxy Tab 10.1 Android Development] TnA.Plastic:
It works for sure!

Try a clean flash.
[Galaxy Tab 10.1 Android Development] fatjoejr2001:
No problems here and I dirty flashed.