yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Aou:
Last night, I built my first Android kernel from source (opensource.samsung.com) - it was a great experience. However, I wasn't able to accomplish my goals.

I'm trying to build a few specific kernel modules, but I need them to be external modules (*.ko). The build works well, but from what I can tell by the modules.builtin file(s), the specific ones I'm trying to get out of this are built-in only. During the compile, it generates *.o files just fine. At the end of the compile, it shows it used MODPOST to create 17 .ko files. All of these are noted in the modules.order file(s).

It seems that no matter what I do, I can't change whether these are built-in or external. I tried modifying the modules.builtin and modules.order files (there's multiple copies of these that reference the specific modules I want), but these just seem to get overwritten at build time.

I've done lots of searching here and abroad, and I can't seem to find the magic I'm looking for. I've tried many things, most notably:

- make <path>/<module>.ko

- make modules

- other various commands

- cd into subdir that contains the modules I want, running make there (no targets)

Doing more research, it seems it might point to the Makefile that's in the subdirectory of the modules I want. I see various "hello world" Makefiles out there, but most of these don't seem to be completely relevant to what I'm trying to do - plus I already have a Makefile for these modules.

I'm assuming that what I probably need to do is modify the Makefile that's specific to these modules, to force it to make .ko files instead of .o files. I'm also assuming that I can't simply change the lines in the Makefile to read "<module>.ko" instead of "<module>.o". I realize that there's a difference in these files.

I also thought the answers might lie in looking at the Makefile of one of the other 17 external modules that get created. However, it appears these are no different than the Makefile of the modules I'm after.

Okay, enough rambling - I'll give some details now, in case they are needed. I've downloaded the I337 source (MF3) from opensource.samsung.com. The three modules I need (so far) are: msm_kgsl_core.o, msm_adreno.o, msm_z180.o. The makefile that includes these three came from <source-root>/drivers/gpu/msm, and it is attached. I may need more than these three files later, but this is a good start.

I don't want to hear a bajillion questions about, "What are you planning to do with these files?" or "Why do you need them anyway?" - the answer is a longer story than this thread. Trust me, I just need these.

So what do I need to do to make these three files? Thank you for your help.

EDIT/SOLUTION:

obj-y = built-in module

obj-m = external module

I still can't track down the source of the three variables in the last three lines of this Makefile, but they are obviously returning "y". I changed the last three lines manually to:

obj-m += msm_kgsl_core.o
obj-m += msm_adreno.o
obj-m += msm_z180.o

... and then ran a "make clean" and "make modules" again. Voilà: 20 modules built by MODPOST.
[Sony Xperia ZL] meetrohit_2007@rediffmail:
To all experts n friends,,please help me. I have been facing stamina mode issue in xperia zl even after upgrading the firmware to 4.2.2 eg,in stamina mode it shows 1day 4 hour,in normal mode 1day 2 hour. Even after i clear data in eco mode controller the same thing happens after 3-4 days. Please suggest me a solution guys. Thanks in advance.
[Sony Xperia ZL] alltubetone:
http://xdaforums.com/showthread.php?t=2155737

Check out Greenify - it'll help you isolate and hibernate the power hungry apps!
[Sony Xperia ZL] ChuanHong:
it isnt the number of estimation hours is very important to u?

are u feel annoying to see the small number on that? just simply wan see the longer standby time?
[Sony Xperia ZL] Chris_Castro:
Have you tried clearing batt stats?
[Sony Xperia ZL] munishjoshi:
also have same issue with my new xperia zl after update it to 4.2.2
[Sony Xperia ZL] stinky73:
Urban myth, totally pointless, sorry! If you want a good read see this https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT

sent from my still superb Google I/O 7510 (xda hd)
[Sony Xperia ZL] saud2000in:
Try resetting the phone it will work i am sure.

hit thanks if it helped.
[Sony Xperia ZL] stinky73:
Why would we want to thank you for that post? Why will "resetting the phone", do anything?

Did you read the link I posted above?
[Sony Xperia ZL] Crash338:
I don't know if that article is a fact or not but my battery percentage was all over the place until I cleared the battery stats. Now it's perfect so I can't help but to wonder if it's a myth or not.

It was definitely a NOT in my case and many other people on this forum.

Not trying to start an argument BTW, just pointing out how my problem got resolved :cool:

Maybe there's more than meets the eye!
[Sony Xperia ZL] stinky73:
Don't want an argument either but as the article was written by the lady responsible for the coding of this particular module of the android os I think it fair to say it's true....

Heisenberg and his principle of indeterminacy is probably to blame here for the effect that some have observed..... Wiping battery stats has at the same moment in time and space coincided with some other change taking place..... :D

Peace to you all :)

sent from my still superb Google I/O 7510 (xda hd)
[Sony Xperia Z Ultra] jewelkobayashi:
Hey all,

I don' t know if people were aware of something like this on our way..

I finally found an image of something I heard as a rumour a while ago.

Z ultra cover with built in battery

I believe this will be the perferct 2nd cover, for those days when u know u will be going heavy on the device.

According to the source http://techraman.com/sony-xperia-z-ultra-hands-on-review/ the thing is gonna cost 11,900 Indian Rupees, which after checking the exchange rate, is like $190.

Bit pricey, but I assume this to be the official retailer recommended price, and that actual prices to be a quite a bit lower?

WHO HAS FURTHER INFORMATION ABOUT THIS CASE WITH BATTERY?

Availability?

Manufacturer? (I am not sure if it is official Sony accessory, bu heard that Sony was working on it. By themselves? or with 3rd party?)

mAh of the battery unit?

Colours available?

Material of cover?

Looking for sources and leads.

Thanks in advance
[Sony Xperia Z Ultra] avetny:
very interesting
[Sony Xperia Z Ultra] capitansid:
This will be good.. But sadly, I don't have any leads for you my friend.. :(
[Sony Xperia Z Ultra] lex xander:
I mentioned this before in another thread. According to a Sony Centre (Malaysia) staff, the battery cover will is an official sony accessory and will provide additional 3000 mAh. He also said it will be available later this month. Still, if the price mentioned below is true, probably not worth buying.
[Sony Xperia Z Ultra] sev7en:
It's very interesting, I agree and sorry for the OT :) but it get always scared to see this BIG our phone :P

Maybe the jap girl make it better ^^

p.s: who is calling this mate in the main/lock mode? :D eheh
[Sony Xperia Z Ultra] hagalah:
Super, look forward to get this accessory, worth for the extra battery life.

從我使用 Tapatalk 2 的 C6802 發送
[Sony Xperia Z Ultra] bASKOU:
Right, at this price it really isn't worth the price. Need to stay tuned. It exist for the xperia Z so it will for xperia z ultra.

EDIT: http://www.mugen-power-batteries.co...for-sony-xperia-z-docomo-xperia-z-so-02e.html oitch maybe the price given below isn't too far from the truth.
[Sony Xperia Z Ultra] RaindancerAU:
I've seen a reference to the "Sony CP12 protective cover with 3000mAh battery" retailing for $249.99 Australian now that launch details of the XZU in Australia are starting to emerge.
[Sony Xperia Z Ultra] baileyjr:
I found a link http://www.itechworkshop.co.uk/tech...eria-z-ultra-headed-to-australia-september-9/

but it doesn't specifically say if that cover is for the Z Ultra or the Z1
[Sony Xperia Z Ultra] RaindancerAU:
Here is the link that implies that the CP12 cover is for the Z Ultra;

http://ausdroid.net/2013/09/05/sony-xperia-z-australia-release-launch-date/
[Sony Xperia Z Ultra] hagalah:
$250 for a battery case? That's too expensive....$170 is the top price which can be accepted...
[Sony Xperia Z Ultra] baileyjr:
Good, that makes sense the link I found was inconclusive.:good:

Pricy though... I expect third part ones to become available once the launch goes global. They have for the normal xperia z anyway.
[Sony Xperia Z Ultra] RaindancerAU:
Completely agree - definitely a jaw dropping price - I wonder if it is the one pictured at the start of this thread or if it is different again and this one here is a third party one?
[Sony Xperia Z Ultra] baileyjr:
The third party ones for the normal Xperia z are about $25 for the 2300Mah version or $40 for a 4000mAh version.

Its good to see some options coming out but I think I'll wait for the third party option, unless retail price of this turns out to be a lot lower.
[Sony Xperia Z Ultra] capitansid:
I hope mugen or zerolemon makes their own battery for the ZU.. and hope it would be 5000+mah and make it waterproof too!!!

That's my christmas wish.. lol..

Typed along the gumline
[Sony Xperia Z Ultra] unk_damnation:
And half millimeter thin! Lol
[Sony Xperia Z Ultra] nelonez:
Lol... :thumbup:
[Sony Xperia Z Ultra] RaindancerAU:
Image of the CP12 cover with battery;

http://www.waivestar.com.au/xperia-z-ultra-preorder/redirect/Default/Success
[Sony Xperia Z Ultra] hagalah:
Nice to see the real thing, but the price..... 249.99 up... Don't know how can their marketing team allow such a ridiculous price mark for a case which may only get me 3 hours extra...

For that price, I can get a brand new Nexus 7 for extra10 hours uses....
[Sony Xperia Z Ultra] lex xander:
The price is just RIDICULOUS! Not sure if it's worth having. While it will be good to have a boost in battery life, the additional footprint won't make it practical to have it with you all the time. I'm pretty sure the added dimension will match those of 7-inch tablets.

I'm experiencing better battery life with the latest firmware update. So I will wait and see. Hope the price will be reduced...
[Sony Xperia Z Ultra] luisarn:
We don't have any specs about this extended battery yet but maybe will add 200 grams more... don't know if it's worth or not
[Sony Xperia Z Ultra] hagalah:
If they can fit 4000mah or more inside, then that may have an interesting sale point.
[Sony Xperia Z Ultra] luisarn:
According to the info I saw in the previous post it's a 3000mah :rolleyes:
[Sony Xperia Z Ultra] baileyjr:
The design just seems dumb to me... It adds width to the footprint and makes the device more difficult to use in portrait mode. Surely it would have been better to just add some thickness to the device.

Oh well I'll just wait to see some youtube clips of it in action. I think there may well be better, not to mention cheaper, third party solutions that come to market.
[Sony Xperia Z Ultra] luisarn:
I think this cover will be useful for frequent travelers otherwise I would prefer to keep my device thinner and lighter.
[Sony Xperia Z Ultra] RaindancerAU:
Yeah, I thought about it and it is useful if you are travelling on a bus or a plane and you don't want to have the device plugged into something. Also good if you keep the device in a bag and the slight extra bulk is not a negative. My first thought was to sell it and recoup some of the expense of the outright purchase but I'm seeing it as somewhat useful to me now.

In these scenarios you can also carry your slimmer case and just switch out to it when you change over from travelling to actively using it.

Price still scares me, glad I should be getting mine free (if it all works out).
[Sony Xperia Z Ultra] jewelkobayashi:
Yes, definitely, by far the best freebie to be bundles with ZU so far. I have seen Sony's mobile battery, official covers in various forms, bluetooth receivers, docks, NFC speakers at half price and screen protectors..

This or SBH-52 would be the ultimate.

I heard Z1 might get bundles with QX-10 in certain regions!
[Sony Xperia Z Ultra] baileyjr:
Here is a power jacket with built in flip case for the normal Xperia Z

http://shop.brando.com/Power-Jacket-for-Sony-Xperia-Z-with-Cover-4200mAh_p09745c1512d003.html

I'm hoping they release one for the Z Ultra soon. :fingers-crossed:
[Sony Xperia Z Ultra] hagalah:
Yeah, this one is nice. We all can email them for the request. If the demands are high, then they may consider to make it.
[Sony Xperia Z Ultra] baileyjr:
Yeah, Im not sure who actually makes the product though? I seriously suspect one in in the works, but a prod in the right direction can't do any halm
[Sony Xperia Z Ultra] baileyjr:
I emailed them and had this reply.

"Hi,

Thank you for your email. We are sourcing Power Jacket for Xperia Z Ultra,

please kindly visit our website for any update in the next weeks. Thank you.

Regards,

Nina

Brando Workshop"
[Sony Xperia Z Ultra] IsolatedAbyss:
Most extended battery covers are fugly but this one actually looks nice! Hope they do make it. :)
[Sony Xperia Z Ultra] anirudhks:
yes this would be an awsome accessory looking forward as the phone is super thin with this case it will probably make the thickness of Xperia Z so still slim and beast battery :)
[Sony Xperia Z Ultra] f2:
Has anyone found a shop that has the CP12 in stock?
[Sony Xperia Z Ultra] fastest83:
I don't know what are you guys searching for... I mean... I use my ZU all day and still have 30/40% battery at 9PM...

Few days ago I managed to get almost 4 hours of screen time (was restoring all my apps through Titanium) and still have 23% left at 11PM... I admit I didn't browse or anything but the phone was in 3G all the time syncing and all...

These solution may be valid in a year or two when the battery is exhausting... but then again it may be cheaper to get another battery and change it... :)
[Sony Xperia Z Ultra] jewelkobayashi:
I know what u mean...

Yes, the ZU has respectable battery life.

But I am sure we all use phones in a different way. Many people play games that eat up battery very quickly...

For me, sometimes on my day off, I use CCTV to monitor what is happening in my shop.

With wifi or 3g, I connect to the NVR and get streaming images so that I can check that the staff are behaving!

Also for long trips... to the airport, during the airport, on the flight and the journey to final destination can sometimes require more than 4-5 hrs of screen time, which seems to be the average.

This would serve as a power bank for me. Only to use it when necessary... not a daily basis use. But rather than have an A/C adapter or external battery/power bank that requires connection by wire, this would be handy!
[Sony Xperia Z Ultra] anirudhks:
4 hours screen time is very normal even xz can do ot xzu is capable of close to 6 hours which i have achieved browsing and games kill it so ww need extra juice sony cp12 is a battery buitin in the flip cover.. so you can charge your phone when needed..
[Sony Xperia Z Ultra] IsolatedAbyss:
http://shop.brando.com/Power-Jacket-for-Sony-Xperia-Z-Ultra-4500mAh_p09950c1591d003.html

The Brando power jacket is out. Anyone knows if they will release the flip cover version?
[Sony Xperia Z Ultra] baileyjr:
Thats awesome... My one gripe is that it doesn't offer much protection to the sides of the phone..

I wonder if you could get a larger flip case, eg rip the normal tpu cover out and stick this in instead... Im sure it could be done with a bit of work. eg http://www.ebay.co.uk/itm/New-White...t=US_Cell_Phone_PDA_Cases&hash=item1c36ea8bb1 that case has some overlap at the edges.

Or simpler still, get a bumper case, and just cut a couple of slots out of it for where the power jacket attaches to the phone.

I do like the look of that powerjacket, but I'd like more protection than it offers
[Sony Xperia Z Ultra] anirudhks:
this is awsome , was looking for this than flip :)

thanks for the link

---------- Post added at 09:16 PM ---------- Previous post was at 09:10 PM ----------

just ordered mine , will review and update once recieved
[Sony Xperia Z Ultra] baileyjr:
I'm just gutted it offers so little protection. :crying:
[Sony Xperia Z Ultra] IsolatedAbyss:
Cool. Will look forward to your thoughts on it. :)

Yeah, that's one of my gripes too. If they release the flip cover version, that might offer slightly better protection. I guess they are just trying their best to make it as slim as possible. At least it looks pretty good imo.
[Sony Xperia Z Ultra] danilos2k:
What I don't like is :

" Please Charge the Battery Case and Sony Xperia Z Ultra Separately. (Do Not Charge the Battery Case and Sony Xperia Z Ultra At the Same Time) "

Inviato dal mio Xperia Z ULTRA usando Tapatalk 4
[Sony Xperia Z Ultra] troed:
I will give Sony another 1 or 2 months for issue of cp12 (I like the edgy look depicted in the leaked photos and the flap in the front, fits better to the style of ZU) ...........

When then cp 12 is still not available somewhere on this small planet I´ll order the brando-jacket ..............

Thanks for the hint ....................................
[Sony Xperia Z Ultra] baileyjr:
I've just ordered one as well anyway. I will try and doctor a TPU Bumper to offer more complete protection.

I just posted a couple of queries over in the Xperia Z forum as well as they have had a similar jacket available for a while.

http://xdaforums.com/showpost.php?p=45851452&postcount=130
[Sony Xperia Z Ultra] dropofdreams2:
I really like the idea of this but I'm with everyone else on the concerns about lack of protection and the mentioned warning against charging both at the same time. I'd want something seamless. Just plug in the jacket and call it a day.
[Sony Xperia Z Ultra] juku0022:
Emailed them and got replied, should be next week.
[Sony Xperia Z Ultra] baileyjr:
For £25 I intend modifying it and/or a normal tpu case to give complete side protection. I like a little project :D
[Sony Xperia Z Ultra] danilos2k:
Good new!

Inviato dal mio Xperia Z ULTRA usando Tapatalk 4
[Sony Xperia Z Ultra] IsolatedAbyss:
I also emailed them about the same thing but they didn't reply. :mad:

Let us know how it goes. I'm too chicken to try such things. lol
[Sony Xperia Z Ultra] baileyjr:
Well thankfully its only a few pounds if it goes tits up :)
[Sony Xperia Z Ultra] Trung Dt:
Here is power cover for Xperia Z Ultra

pic.twitter.com/UZ33ZqfXpV

It's have a 3000 mAh battery inside.
[Sony Xperia Z Ultra] troed:
Just for Europe:

ZU cp12 is available in Switzerland:

http://m.techmania.ch/product/show/4301643/1210

Problem: Techmania delivers in Switzerland only. Fortunately I've got lotta friends there and already ordered mine. We'll see when it's going to be delivered.

It is also listed at Sony Germany (although hidden) in the Sony shop as ERPCCP12, without product pics and tech specs and availability.......
[Sony Xperia Z Ultra] baileyjr:
http://www.tabletblog.de/2013/09/sony-xperia-z-ultra-power-cover-cp12/

Better picture above... Still done see how your going to use this accessory with the device in portrait mode. adding extra width just seems dumb.
[Sony Xperia Z Ultra] f2:
Did you call them and ask if they really have the cover in stock? As far as I understand their website, they only offer you to preorder it at the moment and they will try to get a cover for you.
[Sony Xperia Z Ultra] dropofdreams2:
Has anyone gotten the Brando one? I'm tempted to buy the one with the cover but it looks like it offers no face protection minus the cover itself.
[Sony Xperia Z Ultra] troed:
Actually it says: "we will organize it for you" ...

Whatever that means....

Anyway I ordered it since it fits best to the design language of the ZU and has an integrated stylus which I am used to since Note 10.1. I just need it ASAP to be more independent from electric plugs. (there are still hotel rooms on this small planet that offer just ONE plug. Even if I unplug lamps, TV, minibar, still too little for minimum five devices to charge :( )
[Sony Xperia Z Ultra] meigor2310:
http://shop.brando.com/Power-Jacket-for-Sony-Xperia-Z-Ultra-4500mAh_p09950c1591d003.html

Power Jack for Sony Xperia Z Ultra with 4500 mAh
[Sony Xperia Z Ultra] shawntim:
The disclaimer writes "Please Charge the Battery Case and Sony Xperia Z Ultra Separately. (Do Not Charge the Battery Case and Sony Xperia Z Ultra At the Same Time)"

Means I have ever to separate the case and the phone each time I want to charge both of them? It is so inconvenient!
[Sony Xperia Z Ultra] baileyjr:
No It doesn't mean that. It just means you switch the charging function off on the powerjacket before charging it. So the jacket isn't charging the phone at the same time it is being charged itself..
[Sony Xperia Z Ultra] danilos2k:
Ok but if you want to charge the phone you have to remove the power jacket?

The power Jacket is plugged to the magnetic slot right? So the usb power is free? Right?

Inviato dal mio Xperia Z ULTRA usando Tapatalk 4
[Sony Xperia Z Ultra] baileyjr:
No you don't have to remove the case you just have to make sure the power-bank is not supplying charge to the phone via the magnetic connector at the same time.

Personally I cant imagine using it like that though.. I don't want to charge the phone via the usb socket at all.
[Sony Xperia Z Ultra] shawntim:
Just curious, have you used this particular battery case before?

I would imagine this is the way I would use it. With the battery case attached (and switched off), I plug the micro-USB cable to the battery case. It should charge the phone first, then the battery case automatically.
[Sony Xperia Z Ultra] aungkhaingoo:
Does someone have experience with this? What about battery quality?
[Sony Xperia Z Ultra] baileyjr:
Thats how I'd picture using it too.

I have it on order guys, I'll let you know when it arrives. :good:

Theres a very similar one out for the normal Xperia Z so It may be worth reading a bit on that thread.

http://xdaforums.com/showthread.php?t=2341951
[Sony Xperia Z Ultra] anirudhks:
that was me reviewing it heheheh,,, have ordered mine on the same day it released waiting for delivery will post a review as soon as I get it... :):good::good:
[Sony Xperia Z Ultra] shawntim:
I popped a question to Brando Support. Much clearer now.

I refer to the battery case for Sony Xperia Z Ultra in the URL above.

I note that there is a disclaimer:

"* Please Charge the Battery Case and Sony Xperia Z Ultra Separately. (Do Not Charge the Battery Case and Sony Xperia Z Ultra At the Same Time)"

Could you please explain what this means?

1) Does it mean that I have to separate the case and phone daily and I charge both of them separately?

2) My previous experience with Mophie Juice Pack products allow me to do this. With the battery case attached (and switched off), I plug the micro-USB cable to the battery case. It should charge the phone first, then the battery case automatically. I don't have to separate the case from the phone and should I leave the setup plugged in long enough, both the phone and case will be 100%. Can you please confirm this is the case with your product?
​

Their answer:

It's pretty much like the Mophie's, it charges the phone first and then the battery case when the phone is fully charged. But it cannot charge the phone and the case at the same time. Thank you.
​
[Sony Xperia Z Ultra] baileyjr:
So you can effectively charge them both at the same time then? Or at least you don't need to switch the powerjacket off, you can leave both powered on and just charge until both are fully charged via the micro usb on the powerjacket?
[Sony Xperia Z Ultra] clubtech:
Reading Brando's website to me it sounds like they don't want you to plug in two chargers at the same time, one to micro usb on the phone and the other on the battery.