yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S 4] S_rob7488:
I know I have had customers come in to my store who've been on that plan and have done the AOL and it shows up under the business plan that I have but I have to do everything through employee accounts and it is basically me submitting forms and would rather it not get messed up...

I will look the form up tomorrow and see if I can submit it keeping the existing plan.
[Verizon Samsung Galaxy S 4] KennyG123:
Questions and Help issues go in Q&A and Help section

Thread moved

FNM
[Xperia Tablet Z Original Android Development] lilstevie:
Note: This is a preview build only, features may change or be incomplete at this time

SGP311 & SGP312 only

Installation instructions in the second post, download links in the third

What is LittleKernel?

LittleKernel is an opensource bootloader for qualcomm devices available from codeaurora.

Why LK?

TL;DR Version

LK allows running separate boot and recovery that are fully independant of eachother.​

Sony use a special method of booting into recovery for their updates, this is not available when you are unlocked, and there is no button combination to enter this mode. As a result the common method to get recovery on Xperia devices has been to use an initrd that has a script to load either normal boot or recovery boot based on a button press. This is a far from ideal solution as when you update your kernel it also updates your recovery. If something goes wrong you are stuck needing a computer to reflash the kernel partition.

With the recent addition of TWRP support for the latest devices there have been advances made in this technique making recovery updatable it still requires the flashed boot image to support that method. This is less than ideal still as it reduces choice in what you want on your device, giving the decision to the dev of the rom you have flashed. This also leaves you in the position of needing your computer if a kernel update fails for any reason.

LK solves these problems by separating out boot and recovery to their own kernels with their own ramdisks like every other device, if you flash the boot kernel, recovery isn't touched and will be there for you as a failsafe in case anything goes wrong. This removes the need to have a computer near by in case of breakage occuring.

What progress has been made?

I have been working on LK for the Xperia Z phone and since the release for the Xperia T have managed to make things a little more portable between devices.

Once the hardware arrives I need to compare the expected configuration against what is expected and add these definitions into my Xperia modifications to the aboot module.

Are there any changes that devs should look at?

Yes, they are minor but I suggest that devs look at the implementation by Dees_Troy for flip flopping boot and fota kernel. Soon I will also publish a patch to kernel restart procedure so that reboot messages can be passed to LK from kernel without S1Boot intercepting and clearing them.

Reboot patch will be very similar to http://review.cyanogenmod.org/#/c/44366/

XDA:DevDB Information

LK (LittleKernel) for Tablet Z, a Tool/Utility for the Sony Xperia Tablet Z

Contributors

lilstevie

Version Information

Status: Alpha

Current Beta Version: 1.0a

Beta Release Date: 2013-07-02

Created 2013-07-30

Last Updated 2013-08-26
[Xperia Tablet Z Original Android Development] lilstevie:
Installation:

Follow these instructions for installing the preview of lk.

Boot device in fastboot mode

Flash pollux_windy-lk.img

Type "fastboot reboot"

Press Vol-Down between 1 and 5 seconds after rebooting

Flash boot.img with "fastboot flash boot boot-pollux_windy.img"

Flash recovery with "fastboot flash recovery pollux_wifionly.img"

Reboot device

Notes:

S1Boot (default bootloader) has different Device ID's to LK, this is to make it easier to identify when you are in lk fastboot, and because google's drivers are more available. The device will show up like the following if you are in lk fastboot:

Bus 001 Device 049: ID 18d1:d00d Google Inc.

This is only a preview, if your serial number does not show up in settings please notify me so that this can be investigated.

This is for Pollux_Windy only, that is the WiFi version of the Tablet Z, Model numbers are SGP311 and SGP312.

Because this is chainloaded from S1Boot pressing vol-up/down within the first second from pressing the power button may end up in flashmode or sony's fastboot. There is a 5 second timeout for pressing buttons in LK, you will not miss it if you wait a second.

Volume-up will boot the kernel you have flashed to recovery.

Volume-down boots into fastboot.
[Xperia Tablet Z Original Android Development] lilstevie:
Downloads:

LK for pollux_windy: here

Stock boot image: here

TWRP by Dees_Troy: here

Note: The boot.img is entirely stock, only repacked for use with lk. Kernel is from .370
[Xperia Tablet Z Original Android Development] lilstevie:
Source:

https://github.com/lilstevie/android_bootable_bootloader_lk

How To Build:

Coming soon
[Xperia Tablet Z Original Android Development] tehSmoogs:
Sounds good!
[Xperia Tablet Z Original Android Development] lilstevie:
Tablet Z has arrived today, once I've charged, rooted and backed up TA I will unlock and get lk booting
[Xperia Tablet Z Original Android Development] lilstevie:
LK is up and running on my tabz now, in the morning I am going to push out a preview build.
[Xperia Tablet Z Original Android Development] lilstevie:
updated first few posts with preview build and information on installing
[Xperia Tablet Z Original Android Development] skiwong20:
just want to understand. when we flash lk in fastboot. what partion are we flashing LK to?
[Xperia Tablet Z Original Android Development] lilstevie:
it is being flashed to boot (the kernel partition). It takes 1Mb off the start to store lk along with enough room for future expansion. LK is aware of how it is set up and uses FOTAKernel as the kernel partition so that no room is lost to lk, then recovery gets the ~19MiB left of boot after lk.
[Xperia Tablet Z Original Android Development] skiwong20:
thanks for the quick response. i went ahead and flashed your LK kernel. all is well i have it booting stock with your kernel and have twrp. time to see if i can play with your source and see if i can get a aosp kernel running. (i am new to building kernels):fingers-crossed:

Huge thanks again for getting this working.
[Xperia Tablet Z Original Android Development] pulser_g2:
You shouldn't need to rebuild LK to get that to work - just install AOSP as normal, and install the kernel via LK fastboot, and it should work.

I believe (but haven't tested) that when dees_troy makes TWRP builds for LK, flashing a zip from within TWRP will flash the kernel such that LK boots it.

So AOSP should run fine without needing to tweak LK sources :)
[Xperia Tablet Z Original Android Development] skiwong20:
Okay cool thanks for the heads will try later. This my first Sony device, so never had LK
[Xperia Tablet Z Original Android Development] skiwong20:
okay so i would like to report back to lilstevie that i finally got a aosp roms booting with his LK bootloader and so happy to have this.

just to let you know stevie i cherry picked your patch you summited to CM and it worked like a charm. i give it plus 1 on review.
[Xperia Tablet Z Original Android Development] mamenyaka:
Is this normal?

[23310.617921] usb 2-1.4: new high-speed USB device number 60 using ehci-pci

[23310.716898] usb 2-1.4: New USB device found, idVendor=18d1, idProduct=d00d

[23310.716909] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[23310.716915] usb 2-1.4: Product: Android

[23310.716920] usb 2-1.4: Manufacturer: Google

[23310.716925] usb 2-1.4: SerialNumber: 9P

]\xffffffc3\xffffffbd\xffffffbd\xffffffc3\xffffffb2\xffffffb2/\x19\x1d\xffffffc2\xffffffb2\xffffffb2

[23356.477514] usb 2-1.4: USB disconnect, device number 60
[Xperia Tablet Z Original Android Development] lilstevie:
No this isn't normal, this is the issue with serial that I mentioned earlier. Best thing to do would be search for your serial in the TA image, then report back what the offset that it starts is.
[Xperia Tablet Z Original Android Development] mamenyaka:
Sorry, what is the TA image?
[Xperia Tablet Z Original Android Development] lilstevie:
The Trim Area is mmcblk0p1
[Xperia Tablet Z Original Android Development] mamenyaka:
And how can I read that partition?
[Xperia Tablet Z Original Android Development] skiwong20:
just wanted to let everybody know that TeamWin has made a new TWRP 2.6 image for are devices. here is the link to teamwin webpage that has the image for use

http://teamw.in/project/twrp2/185
[Xperia Tablet Z Original Android Development] Apo11on:
None of the software rebooting tools, such as Quick Boot, or Rebooter in Rom Toolbox, or even TeamWin's own TWRP Manager are able to reboot into recovery from system when using this LK bootloader. When you select "reboot recovery" it just cycles the tablet back into system. I have latest TWRP 2.6 installed and TeamWin's own TWRP Manager cannot boot into it. I was wondering if this is something [MENTION=1713162]lilstevie[/MENTION] can fix in LK bootloader, or does it have to be fixed by dees_troy in recovery itself?
[Xperia Tablet Z Original Android Development] skiwong20:
He knows that already. It not broken nor is it a twrp issue. With LK we need to use a patched kernel to reboot directly to the recovery u have with the LK bootloader. There is a Cm patch under review.
[Xperia Tablet Z Original Android Development] Apo11on:
I hope that cm patch will be delivered as a standalone flashable zip and will be compatible not only with cm kernels, but with stock kernel as well. Otherwise not many people will be able to use it...not everyone runs cyanogenmod on their XTZ
[Xperia Tablet Z Original Android Development] skiwong20:
the patch is code added to the restart.c found inside the kernel. it can be added easly to any aosp kernel. in the op, he has a stock .370 kernel that he said is patched, not sure about reboot to recovery, but it is a kernel for stock users.
[Xperia Tablet Z Original Android Development] Apo11on:
I guess i should have read the OP more carefully, heh. It already says patch will be published soon and has a link to the CM commit, very similar to what will be done.
[Xperia Tablet Z Original Android Development] lilstevie:
It is a patch to the kernel, all rom devs can grab the patch easily from gerrit and apply it to their own kernels. When I get some time I am going to work with dees_troy to get the patch into twrps kernel, and offer the patch as a .patch so kernel devs can apply it to their kernels with diff.

There is nothing that can be done to solve this problem, S1Boot consumes the reboot-recovery message under normal circumstances and prevents LK from getting the reboot reason. The solution the kernel patch introduces is to move it up in memory to somewhere s1boot does not consume and lk reads it
[Xperia Tablet Z Original Android Development] Apo11on:
Since Doomlord left XTZ development I dont think we have any kernel devs left. Therefore i suspect the patch, if it will ever be made available, will be un-grabbed and un-applied for a really long time because there is no kernel development going on...

It's been nearly a month since we discussed this, so I wanted to check in and see if you had a chance to work with dees_troy on integrating the patch into twrp kernel. It would be really nice to be able to boot into recovery using software apps, without having to shutdown and hold HW button combination every time

Alternatively, my previous suggestion stands - a flashable zip, which could be applied to the existing twrp 2.6 kernel will work just as well
[Xperia Tablet Z Original Android Development] pulser_g2:
Uhhh I don't think it's at all accurate to say there are no kernel developers left. Maybe there are none who are "public facing" and release their kernels in threads while begging for thanks and shouting, "no mirrors on my files!", but there are certainly some of the best kernel developers out there on the Z.

They don't release junk though - they make proven, beneficial improvements to kernels, and submit them to open source kernel projects.

But just because they don't make a huge big deal out of it, trying to get recognition, doesn't mean they don't exist. As a matter of fact, I was working with one, trying to get GPS fixed on custom, source built ROMs, due to kernel issues.

But these people don't release winzip kernels... They work on ones that are source distributed.
[Xperia Tablet Z Original Android Development] skiwong20:
[MENTION=1192060]Apo11on[/MENTION]...as pulsar said we do have good kernel devs. they are on open .source. i also have told u once that the patch is for inside the kernel to trigger when LK bootloader is in place. your idea or concept of a flashabale zip is not easy at all. and i know Stevie probably more focused on ironing out bugs. which i have ran into. also have offered to share my personal kernel with u but u refused. if i were u; its time to invest sometime and learn how to..instead of request or demanding someone to update or make for u. open source is fun to play. give it a shot and enjoy.
[Xperia Tablet Z Original Android Development] Apo11on:
All I did is ask the dev if he had a chance to look into a patch, which he said he would do a month ago...there is no need to bite my head off, and I don't recall making any demands. Thanks for the advice on the learning - i'll keep that in mind.

If your kernel is solid enough and has things, that other kernels don't - why won't you share it with the people here, not just me, and post it in the development thread?
[Xperia Tablet Z Original Android Development] shangrila500:
When and why did Doomlord leave?

---------- Post added at 03:58 PM ---------- Previous post was at 03:57 PM ----------

How do we go about finding these kernels that are being worked on by these devs when they arent posted? Do we have to build them from source or is there another site we can find them on?
[Xperia Tablet Z Original Android Development] Apo11on:
[MENTION=2310917]shangrila500[/MENTION] He made a post in one of his threads in the development section for XTZ over a month ago, not sure exactly how long, saying he decided to focus on development for devices he owns, and he doesnt own XTZ. You're welcome to search his posts from the past couple of months - I'm sure you'll see it. Or, shoot him a pm to confirm.

I also agree with you that if there other kernel devs for XTZ, who dont make images or flashable zips, dont post on XDA and we dont know who they are and unaware of the work being done - that does not invalidate my statement "we have no kernel devs", as far as I'm concerned...Also, over 90% of the member here cannot compile stuff from source, so even if we knew who those people are and had access to their kernel sources - it wouldnt help.
[Xperia Tablet Z Original Android Development] zylstrajs:
He entered the developer contest for a giveaway XTZ tablet and in the end his work wasn't picked up/rewarded with a tablet... Its totally understandable that he made the decision to only develop for the devices that he owns, its just a shame that he didn't end up with an XTZ... ( I believe this dev got a tablet z, look at when it was last updated/how progress went... http://xdaforums.com/showthread.php?t=2337281 )

His last account activity? 14th July 2013 12:15 PM
[Xperia Tablet Z Original Android Development] lilstevie:
Sounds like lovely behaviour, "wah I didn't get a tablet... /raegquit". That behaviour is that of a dev I would not work with, besides my project hasn't been updated for a while either, is it dead? no, is there work going on to make it better? yes. You do not know whether that other guy is still working on getting his project off the ground.

I rather devs that take their time to make something that works rather than someone who releases several versions over the period of a few weeks because of sloppy work, and I especially do not agree with devs who insist on releasing stuff for devices they do not have, then get ****ty when someone won't give them said device.
[Xperia Tablet Z Original Android Development] om22:
Is there a chance to have the ability to flash a new kernel from recovery with this mod?

Gesendet von meinem Xperia Arc S mit Tapatalk 4
[Xperia Tablet Z Original Android Development] lilstevie:
As far as I am aware twrp already does allow this as it flips boot and fotakernel.

I am however checking with dees_troy at the moment to check
[Xperia Tablet Z Original Android Development] skiwong20:
i have flashed a separate kernel zip in twrp that contained lilstevie patch reboot into recovey in power menu on aosp roms.

it work good for me..no hiccups
[Xperia Tablet Z Original Android Development] asweetlove:
on step 2. Flash pollux_windy-lk.img, what command do i type in cmd windows to do this ? please help

PS: when i use fastboot flash recovery pollux_wifionly.img, it said "writing recovery....failed remote: command not allowed"
[Xperia Tablet Z Original Android Development] skiwong20:
fastboot flash boot pollux_wind-lk.img

reboot

hit the down volume key a couple times and u should be in lk fastboot and then flash the recovery.img and the kernel u choose ex:to boot cm10.2 u need to download the rom to a computer first and extract the boot.img..and copy the rom to your tab. from there use the boot image u extracted and now flash it fastboot to the boot partion and then flash the recovery img... then reboot. hit up volume a couple time right away and get into recovery nd flash rom like normal
[Xperia Tablet Z Original Android Development] asweetlove:
but after i typed fastboot reboot, and then press vol down, it either entered flash mode or stuck with a red LED
[Xperia Tablet Z Original Android Development] lilstevie:
You have ended up in flashmode :)

I did mention in the first post that waiting a second after powering is required, this is due to the fact that the sony bootloader still acts underneath LK. In the update I am working on at the moment (around the pile of uni assignments I have) there will be some indication of when you can press the button. As usual with XDA stuff though, no ETA
[Xperia Tablet Z Original Android Development] mamenyaka:
Finally figured out how to do that! I found my serial three times in the TA image (using GHex), so the offsets are:

a) 0x4029A

b) 0x5E353

c) 0x62EE4
[Xperia Tablet Z Original Android Development] lilstevie:
Thanks, seems we do have some again with different offsets, I need to finish my work on actually parsing the TA to make things a bit better.

in the mean time I can do a cheap hack to improve it for people
[Xperia Tablet Z Original Android Development] Pump Ac7i0n:
I'm getting the same error, remote: command not allowed. Im typing fastboot flash boot pollux_windy-lk.img. If anyone could lend some advice it would be appreciated.

I'm rooted and my bootloader is unlocked.
[Xperia Tablet Z Original Android Development] Apo11on:
You have to install proper drivers, specific to your system, in order to have functional fastboot. I had this problem too. You can use the drivers, bundled with the flashtool
[Xperia Tablet Z Original Android Development] Pump Ac7i0n:
Ok, thanks for the reply. Ive done that and ive typed fastboot devices just to make sure the drivers were working properly.
[Xperia Tablet Z Original Android Development] lilstevie:
http://xdaforums.com/showpost.php?p=44672189&postcount=41
[Xperia Tablet Z Original Android Development] Pump Ac7i0n:
Im pretty sure its in fastboot mode because of the blue led.
[Xperia Tablet Z Original Android Development] asweetlove:
I moved everything to my desktop and it worked out fine, weird.
[Xperia Tablet Z Original Android Development] mithun46:
delete
[Xperia Tablet Z Original Android Development] babylonbwoy:
Will definitely give it a go when updated to 4.2.2 (hope Sony will release sources soon), still didn't unlock my BL but it's time now!

If the vote weren't so difficults (reading all threads and finding the link to vote was too much time consuming) I would vote for this for sure (no duck sicking here ;) )

The more threads opened the more donations possibilities...

I prefer buying apps from devs who sell on play store instead of just donating (even if I did few donations to those who really works for the "community" without always asking/begging)
[Xperia Tablet Z Original Android Development] remma:
Bricked it

Hello all,

I think i just bricked my device. I flashed the first file to boot and then i only got the red LED. Then after trying to reboot it a couple of time and pressing the volume down button at the right moment it suddenly stopped giving any light at all.. Now it only give a light when i hold the power and volume up button for a long time, then there is a short flash of white light, and at some point i got a message from my computer that a semc flash drive was connected. Please help me out:confused:

Edit: after pressing seemingly random buttons the device appeared in EMMA :) now applying service, *fingers-crossed*

Edit #2: Im sorry, seems i was a bit quick with posting here, all seems solved now :D
[Xperia Tablet Z Original Android Development] Pump Ac7i0n:
Have you tried flashtool?
[Xperia Tablet Z Original Android Development] remma:
I still do not quiet understand, what color should the led be at the moment you have to press the down key after the first "fastboor reboot"?
[Xperia Tablet Z Original Android Development] skiwong20:
u wont see a light..u just have count like 2 seconds then hit down and plug into computer to lk fastboot
[Xperia Tablet Z Original Android Development] remma:
But after i run the fastboot reboot command i get a red light within a seconden

Verstuurd vanaf mijn GT-I9070 met Tapatalk 4
[Xperia Tablet Z Original Android Development] mrjayviper:
is this stable enough for everyday use? is it possible to back out LK if I change my mind in the future? thanks
[Xperia Tablet Z Original Android Development] lilstevie:
I have it on my tabz which I use as a daily driver, once the tablet has booted LK doesn't do anything as the boot kernel takes over from it at boot time.

LK is simple to back out of, in S1Boot fastboot just flash your favourite kernel
[Xperia Tablet Z Original Android Development] mrjayviper:
2 questions please.

1. I can use flash tarp once I have lk. Right?

2. Can I install lk on my tablet z running cm10.2? The boot loader had been unlocked.

Thanks again
[Xperia Tablet Z Original Android Development] lilstevie:
TWRP works fine with LK

Not a clue, I run stock on my TabZ
[Xperia Tablet Z Original Android Development] skiwong20:
yes u can run cm10.2 with lk...but u cant use the recovery reboot option in power menu..u.need to manually toggle the volume up key when tablet reboots
[Xperia Tablet Z Original Android Development] GretaLewd:
Thanks !

lilstevie:

Just wanted to say thanks for this LK development - I've now got PAC ROM with TWRP recovery - excellent :highfive::good:

---------- Post added at 02:30 PM ---------- Previous post was at 02:24 PM ----------

Donation sent - Have a beer on me :)
[Xperia Tablet Z Original Android Development] MemoryController:
[MENTION=1713162]lilstevie[/MENTION]

Hi, are you still around? When will you update with build instructions?
[Xperia Tablet Z Original Android Development] lilstevie:
I am yes, dev hasn't stopped I've just been fairly busy lately with real life. I hope to make some further announcements soon.

Build instructions off the top of my head you need to add to your PATH the location of your arm-eabi- toolchain (distributed with AOSP) then run the script.

arguments for the script should be

sh build.sh pollux_windy debug

If you wish for the output to be something other than lk.elf you can specify it as a third argument.
[Xperia Tablet Z Original Android Development] cantenna:
Got it working! 6 hrs later, lol

Awesome tweak, thanks!
[Xperia Tablet Z Original Android Development] Lycidias:
Can someone explain me what does this kernel Do? I only know kernels from galaxy s3.

Gesendet von meinem SGP311 mit Tapatalk