yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] franciscofranco:
Pretty strange I compiled the kernel from android-msm-mako-3.4-jb-mr1 and it simply doesn't boot... Did you compiled from that branch or android-msm-mako-3.4-jb-mr1-fr?
[Nexus 4 Android Development] cdesai:
Looking at device/lge/mako-kernel, yours should work, since that's what the version on all the devices is supposed to be.

(Might wanna confirm it by running cat /proc/version on the device.)

https://android.googlesource.com/kernel/msm/+/android-msm-mako-3.4-jb-mr1

https://android.googlesource.com/device/lge/mako-kernel/+/86872ad7106822c612e539f81c9988381b97ad4d

randomblame, what did you do? :D

Your image is out-of-quota, can't view it now.
[Nexus 4 Android Development] jerdog:
Interesting because I followed your instructions precisely.... Didn't see anything about extra steps ;)
[Nexus 4 Android Development] m11kkaa:
Does anyone know about a way to debug kernel?

The easiest way would be USB-UART. I found this in kernel-source which is enabled by default:

config USB_QCOM_DIAG_BRIDGE
tristate "USB Qualcomm diagnostic bridge driver"
depends on USB
help
Say Y here if you have a Qualcomm modem device connected via USB that
will be bridged in kernel space. This driver communicates with the
diagnostic interface and allows for bridging with the diag forwarding
driver.

To compile this driver as a module, choose M here: the
module will be called diag_bridge. If unsure, choose N.

The problem is that we don't know how the hardware of the diag bridge looks like.

Maybe we can just use D+ and D- and GPIO to use them as UART? We do that on MotoDefy, too but there we have ready-to-use code from manufacturer.
[Nexus 4 Android Development] lexxxel:
It would be pretty awesome if someone could write/ finish a HOWTO for the hole system + how to make a flashable zip....
[Nexus 4 Android Development] aj700:
1. get the stock boot.img - to get a ramdisk to be packed with the kernel which you built as per instructions from OP.

2. Install "abootimg" frum synaptic or apt-get.

3. run "abootimg -x <stockboot.img>"

you will get kernel, ramdisk, and a conf file. I am using the ramdisk from the stock. havent tried any other so far. you can try others if you want.

4. fastboot boot <zImage_you_built> <ramdisk_from_step3> (you dont need to connect the phone here)

That step will show you the bootsize = 0xXXXXX. In Hex, update the bootsize feild in conf file.

(I dont know any other way to find this value as of now. If any one knows it, plz share the info.)

5. now run abootimg --create <your_boot.img> -f bootimg.cfg -k zImage -r initrd.img

6. then test the buil "fastboot boot <your_boot.img>"

If it boots up and you are happy after some time you can flash it with fastboot.

if any one knows easier ways plz plz share it.

btw, big thnx to OP. :good: finally I got it working on ubuntu 12.04. updated to tool chain 4.7 as well after some file mods. now its time to jump into some real fun...

/Aj
[Nexus 4 Android Development] vomer:
Could you please also explain:

- how to add features to the kernel?

- how to build using linaro?

- how to add/disable features for a cleaner kernel?

- how to build AOSP rom and adding in features from CM or AOKP (when you put up ROM guide)

Thanks!
[Nexus 4 Android Development] nguyen47:
I have an error while doing the last "make" command. Can someone explain this to me ? I am trying to learn new thing.
[Nexus 4 Android Development] ak700:
@cdesai Have you got the Nexus 4? Would be great to see you over here.
[Nexus 4 Android Development] cdesai:
That's out of the scope for this guide, and not something for which a guide should be made, it's something that should be learnt by yourself.

Run make V=1, and paste the output to pastebin rather than take a screenshot.

Nope, it ain't available in India yet, and i can't get a new device now.
[Nexus 4 Android Development] kozmikkick:
Make sure you export arch, subarch, and toolchain.
[Nexus 4 Android Development] jeffmhasty:
Can you elaborate on "To get the kernel sources matching the device tree, type the below in the device tree."? Maybe I am just confused because I have checked out android-4.2.1_r1, which has a different commit for the kernel.

$ cd device/lge/mako-kernel
$ git log --abbrev-commit kernel
commit 86872ad
Author: Jean-Baptiste Queru <jbq@google.com>
Date: Tue Nov 13 18:31:44 2012 -0800

mako: prebuilt kernel

e039dcb Revert "mako: msm: board: enable HS200 bus speed mode support"

Snapshot of commit 114c47b62c9941135820e0b22a76ce52c9dfbb73

Change-Id: I461c0d8ae5ad0745becc0545248c29ba7f9bf894

Based on this output, should I use commit 86872ad to build my kernel?

Thanks for your help, and this wonderful guide.

-- Edit

Actually, running the "git checkout <COMMIT>" gives me an error:

fatal: reference is not a tree: 86872ad7106822c612e539f81c9988381b97ad4d
[Nexus 4 Android Development] nguyen47:
Thank for your help .I think I already exported it but not sure. How can I check ?

---------- Post added at 06:06 PM ---------- Previous post was at 06:06 PM ----------

Try this : e039dcb
[Nexus 4 Android Development] jeffmhasty:
Thanks, that one worked. I'm still not sure what I'm doing wrong, though. When I build the kernel I get a 6184kb zImage, but the one in device/lge/mako-kernel is 5820kb. Shouldn't they be the same size?

---------------

To check if you set the environment variables correctly, you can use the "printenv" command. There will be quite a few, but you should be able to find the ones you are supposed to have.
[Nexus 4 Android Development] jeffmhasty:
After looking into the difference in kernel size, I think that the factory kernel may have been compiled with the arm-eabi-4.6 toolchain. I plan to look a little more closely when I get home tonight.

I tried looking into the differences between arm-eabi-4.6 and arm-linux-androideabi-4.6, but all I could find was this:

Any ideas why they would have used one over the other in the original Nexus 4 kernel?
[Nexus 4 Android Development] arynhard:
Modified abootimg

To make the process much more simple, I have implemented the function in fastboots' source code that does the calculation of the kernel size into abootimg. The process is much more simple now.

Simply run:

./zhack -x boot.img

to extract all the contents of the original boot.img

then replace the zImage that is extracted with the new zImage you have compiled.

now execute:

./zhack -z boot.img -f bootimg.cfg -k <new zImage> -r initrd.img

You now have a flashable boot.img that you can flash or boot using fastboot.
[Nexus 4 Android Development] harlock:
Hi guys

I need help... I compiled OK my kernel and I got my zimage

I extracted also a ramdisk from a stock boot.IMG

But I cannot repack my zimage and the ram disk successfully

Can someone who succeeded repacking post the mkbootimg parameters that he uses? ( all the command line parameters )

I have a feeling I'm doing something wrong when I repack coz even though I have a good zimage and a correct ram disk it won't boot.

Thanks for ur help
[Nexus 4 Android Development] ziddey:
I just use abootimg. It's available in the repository for ubuntu, so you should be able to simply sudo apt-get install abootimg.

From there, use -x on the original boot.img to break it down into zImage, initrd.img, and bootimg.cfg.

Then you should be able to use abootimg --create newboot.img -f bootimg.cfg -k newzImage -r initrd.img.

It will give you an error if the bootsize is too small, showing you the specified bootsize in bootimg.cfg, as well as the required bootsize. If you wanted, you could convert the required size from to hex and update bootimg.cfg.

Or really, since abootimg can determine the required bootsize anyway........... just delete bootsize in bootimg.cfg and don't worry about it.
[Nexus 4 Android Development] arynhard:
See my post (#40) on page 4 of this thread.
[Nexus 4 Android Development] deepayanneogi:
This is the error i am facing when I am trying to make using the google's prebuilt toolchain :

root@deep:/home/deep/omap# make

scripts/kconfig/conf --silentoldconfig Kconfig

CHK include/linux/version.h

CHK include/generated/utsrelease.h

make[1]: `include/generated/mach-types.h' is up to date.

CC kernel/bounds.s

GEN include/generated/bounds.h

CC arch/arm/kernel/asm-offsets.s

GEN include/generated/asm-offsets.h

CALL scripts/checksyscalls.sh

CC scripts/mod/empty.o

HOSTCC scripts/mod/mk_elfconfig

MKELF scripts/mod/elfconfig.h

HOSTCC scripts/mod/file2alias.o

HOSTCC scripts/mod/modpost.o

HOSTCC scripts/mod/sumversion.o

HOSTLD scripts/mod/modpost

CC init/main.o

CHK include/generated/compile.h

UPD include/generated/compile.h

CC init/version.o

CC init/do_mounts.o

CC init/do_mounts_rd.o

CC init/do_mounts_initrd.o

LD init/mounts.o

/bin/sh: 1: arm-linux-androideabi-ld: not found

make[1]: *** [init/mounts.o] Error 127

make: *** [init] Error 2

Even codesourcerys toolchain cannot also do a make on the omap source I am having. it is showing :

some file in the bin folder not found
[Nexus 4 Android Development] ridobe:
@aj700 and arynhard:

I really appreciate your help. I am in the same boat as harlock. What I don't understand (believe me, I'm not a noob to android, but I am to compiling my own stuff. Noob. Remember that) is in step 3 it says when you extract you get a kernel, ramdisk and config file. I see no such config file. I've read that some kernels require that the size be exact in order to repack and boot up. So, I'm assuming this one is too even though this I don't see it referenced anywhere else pertaining to the N4. Now, I'm willing to try arynhards zip but his script assumes there is a config file. Am I missing something?
[Nexus 4 Android Development] ridobe:
Woot! I got it. I installed abootimg. I was using split_bootimg.pl before and it wasn't giving me what I needed. Thanks for all of the informative posts in this thread. Another shoutout to ziddey and his earlier post.
[Nexus 4 Android Development] Ankhie:
Help me

update and upgrade complete but when i install the packages needed i get this
[Atrix 4G Q&A, Help & Troubleshooting] iAtrix 4g:
someone know if this softwere working ?

http://www.unlockroot.com/
[HTC One X] mahdi_1012:
hi friends

i'm new here :D

i wanna know when can i update my phone?

i'm tired because checking update every 5 minutes!
[HTC One X] inSaN1Ty_X:
https://www.youtube.com/watch?v=JmvCpR45LKA&feature=youtube_gdata_player

It's behind that link!

Seriously. There is like 3 ten pages long threads about which CID has yet recived JB and which ones have not. If you would've used like 20seconds for searching you would already know without asking.
[HTC One X] Wilks3y:
http://xdaforums.com/showthread.php?t=1967980

Please take a look round before posting !
[HTC One X] mahdi_1012:
I can't find it !!
[HTC One X] EddyOS:
JB isn't out for your CID yet
[HTC One X] mahdi_1012:
Yes I know but I wanna know when?!
[HTC One X] crunchyHTC:
No one knows for sure when it'll be released. There are people claiming mid November but those are just speculations atm. Ul just have to sit tight and be patient :cool:

Keep checking the threads every so often. That's the best way to know if its out
[Galaxy S III Themes and Apps] codo2003:
Memory And Storage Info Widget

This is a simple widget that update itself every 10 seconds. It works in English and Arabic.

You can place it on your home screen.

** Fixed the transparent issue in this update (100%).

It will display:

1. Free Ram.

2. Internal SD Card free space.

3. External SD Card free space, choice to hide.

4. Battery Power Left, choice to hide.

5. Resizable Widget from 2 to 4 cells.

6. Transparent and color selected background.

7. Change Font size to your desire (10-25).

8. Touch Widget center for setting screen.

9. Warn you before the device shut down at battery level 2% or less (Fixed FC).

10. Single Click on [Ram Free] to update the Widget for all devices.

. . . Double Click on [Ram Free] to Run Built-in Ram Cleaner for Galaxy Devices (works on some devices).

. . . (This can be Enabled/Disabled from setting screen)[/COLOR][/B]

Supports Android 4.0+

Download and install from Google Play. Rate it if you think it,s helpful.

https://play.google.com/store/apps/details?id=kag.com.memory.storage.widget
[Galaxy S III Themes and Apps] codo2003:
Thank for your visit and please rate it if you like it.
[Galaxy S III Themes and Apps] anirmj:
Neat little app

First off, good job buddy :good:

Nice little app with all the required details, just what i was looking for. i got just one request to make. the colours are a bit saturated (too bright), and tends to hurt the eye more often than not. So, if possible just tone down the colours (more washed out colours/lighter shades), in ur next release.

A good job nonetheless :laugh:
[Galaxy S III Themes and Apps] codo2003:
I am working on a new version right now.

This will include a setting screen where you can configure the widget colors the way you like.

Please rate it if you like it. This will encourage me to continue working on the project.
[Galaxy S III Themes and Apps] codo2003:
New version is uploaded to google play (v3.1).

Choose your favorite colors from the setting screen.

Rate it in google play and spread it to your friends.
[Galaxy S III Themes and Apps] dev-host.eu:
Installed on #SuperNexus build 5, and works great.

One wish though. Can you make it transparentable?
[Galaxy S III Themes and Apps] tmantanner4:
I used this app, but it was causing battery drain. Has that been fixed?
[Galaxy S III Themes and Apps] codo2003:
I have not notice any battery drain myself. I made it for myself and then decide to share it with others.

Can you show me how that is. Thanks for your care.

Best regards.
[Galaxy S III Themes and Apps] Ttblondey:
I don't see any icon etc in my device.
[Galaxy S III Themes and Apps] codo2003:
It's an widget, so find it in the Widgets folder not in the Apps.

Add it by touch and hold on it and drag it to your home screen.
[Galaxy S III Themes and Apps] codo2003:
If your are facing a problem of reading your external Card size or showing it as zero.

Send your external Card PATH to my email and I will fix the widget. I will include it in the next release.
[Galaxy S III Themes and Apps] Cybernerd:
Can you make something simple and similar to this app? It is called storage widget on playstore. I kinda like its minimal text and simplistic design but it has recently stopped reading my external storage device so I'm looking for an alternative. Thanks!View attachment 1544198

Sent from my SHV-E160K
[Galaxy S III Themes and Apps] codo2003:
New version is released in the play store. This one has more features. I fixed some errors in the code.

Now the touch works after changing the language of the device or freeing the memory from task manager.

Please install it and rate it in the play store. Press the thank button to say thanks.
[Galaxy S III Themes and Apps] codo2003:
Up /\

||||||||
[Galaxy S III Themes and Apps] codo2003:
New version now 3.6.
[Galaxy S III Themes and Apps] codo2003:
New Version updated v3.7

Added the ability to select the date format from setting screen.

Rate it and spread it please.
[Galaxy S III Themes and Apps] codo2003:
New version 3.8 .

Support the Sony Xperia Phones as been reported of one user.

Check it, Rate it, and Donate now if you want.
[Galaxy S III Themes and Apps] codo2003:
Up

Check the new version and feedback.
[Galaxy S III Themes and Apps] codo2003:
New version uploaded to play store (v4.3) with a lot of changes.

Check it and rate it in the play store please.
[Galaxy S III Themes and Apps] codo2003:
New version uploaded to play store (v4.4) with a fix for transparent issue.

Check it, hit thanks and rate it in the play store please.
[Galaxy S III Themes and Apps] codo2003:
New version uploaded to play store (v4.5) with a fix for transparent issue (100%).

Check it, hit thanks and rate it in the play store please.
[Galaxy S III Themes and Apps] codo2003:
New version uploaded to play store (v4.7) .

Check it, hit thanks and rate it in the play store please.
[Galaxy S III Themes and Apps] codo2003:
New version uploaded to play store (v4.9) .

It will warn you before shut down when the battery level at 2% or less.

So if you are working on something you can save it before the device shut down suddenly. (Save than sorry).

Check it, hit thanks and rate it in the play store please.
[Galaxy S III Themes and Apps] codo2003:
New version uploaded to play store (v5.1) .

It will warn you before shut down when the battery level at 2% or less (Fixed FC).

New features:

... Double Click [Ram Free] to run the Built-in Ram Cleaner.

... * This can be Enabled/Disabled from setting screen.

... Single Click [Ram Free] to refresh the widget data.

Please Rate and Share with your friends.
[Galaxy S III Themes and Apps] codo2003:
New version uploaded to play store (v5.3) .

Fixed some errors.
[Galaxy S III Themes and Apps] mrayzrocks:
MY REVIEW

NICE..:D

keep it up
[Galaxy S III Themes and Apps] kobwatpo:
+1:good:
[Galaxy S III Themes and Apps] codo2003:
New version uploaded to play store (v5.5) .

New:

- Resizable widget.

- Hide External/Battery

- Fixed some errors.

Thanks for rating in Google paly
[HTC Sensation] XporteR21:
Does anyone know where get original files for htc sensation ? :/ i have it on my sd card and i bought another one and i don't know where is :( and i want to have original android up :(
[HTC Sensation] malybru:
Hi,

You can always run a RUU.

Look HERE

:)
[Windows Phone 8 Q&A, Help & Troubleshooting] Paterr:
Hello;

My HD2 is dead !!!!!! R.I.P :(:(

With the HD2 there were tweaks on your forum "Tips and Tweaks Registry"

My question: is it the same "Tips and Tweaks Registery" for Windows Phone 8 and if so where?

Thank you in advance

Paterr
[Windows Phone 8 Q&A, Help & Troubleshooting] backlashsid:
Man are u dumb or what ? So far rarely do we have devices in the market that are wp8....no one has a custom rom so far and the chances are slim...and u r asking abut Tips and Tweaks registry !!! I mean why !! :eek:
[Windows Phone 8 Q&A, Help & Troubleshooting] Paterr:
Global 'Tips and Tweaks Registery" for Window Phone 8 (2012/11/16)

Sorry for being so impatient!! Why this question .... to prepare my "next phone" .

No problem ......I'll wait :laugh:

Paterr
[Galaxy S III Q&A, Help & Troubleshooting] munwaioblivious:
Hi. just a moment ago, while charging my phone. it works pretty fine. ( still playing my Sims freeplay ). after awhile, my phone could no longer boot. ( before it was hanged with my LED blinking ). it has turned to a full brick. i had no idea whats wrong. it was working fine a moment ago. i read online and it says it could possible be a hard brick. anyone could help me with this?
[Galaxy S III Q&A, Help & Troubleshooting] anthropolyte:
Is your phone rooted? What have you done thus far to try and boot it up again?

First things first: Pull the battery, put it back in, try and boot. If you still have nothing, try charging the phone - do you get the standard charging screen up? If you do, then let it charge for five minutes before trying again.

If you don't get the standard charging screen, I'm afraid the handset is likely to be broken. Others may have more ideas.
[Galaxy S III Q&A, Help & Troubleshooting] howard bamber:
What have you altered that could of done this ?

ie. Have you changed the ROM,kernel,wiped anything just before this happened?

Sent from the man in Your attic.....
[Galaxy S III Q&A, Help & Troubleshooting] munwaioblivious:
yes. before that. maybe 12 hours ago before i sleep, i flashed Omega rom V31 via CWM. and also did install some themes and kernel ( siyah kernel ). after that it was still working fine. until a moment ago.
[Galaxy S III Q&A, Help & Troubleshooting] howard bamber:
Try taking battery out. Put it back and try to get recovery by pressing home,vol. Up, power together, if you could not get recovery from the menu. I'll see what happens when u post

Sent from the man in Your attic.....
[Galaxy S III Q&A, Help & Troubleshooting] testadeferro:
If not try to use a jig, if you don´t know what it is google for it. I´ve tryed myself and done one by muself and works. If you need further explanations about how to do it PM me I can show you some photos.
[Galaxy S III Q&A, Help & Troubleshooting] howard bamber:
Amazon sell them. Got mine there .couple of dollers

Sent from the man in Your attic.....

---------- Post added at 01:45 PM ---------- Previous post was at 01:41 PM ----------

What sort of ROM is it AOKP ? ICS,jb?

Wondering if your kernel and ROM are mismatched. Do not know the ROM.it would save time if you could tell me. I'm CV tied up

Sent from the man in Your attic.....
[Galaxy S III Q&A, Help & Troubleshooting] testadeferro:
I think if he can flash a firmware with odin doesn t matter what he had before. The phone just reflashes ando will bem ok. Theres not much to think about it. If not he assim a major problem, The boot isso damaged. Maybe with help of a jig he can restore it again.
[HTC Sensation] MidnightDevil:
Hi!

I was wondering since I've been pretty happy with Beats on our Sensation, the sound is actually pretty clean and loud enough which is what I want.

So my question is, I've been using Sense roms with Beats Audio for the sake of it, I wanted to try AOSP and CM (i did before but never really used as mp3 player) but I'm not sure with the absense of beats I can achieve the same quality / loudness, so I'm asking for your opinions :)

Is there any app like Apollo which does the same job? I think DSP Manager from CM isn't as good or as loud?

Opinions? :)

Thank you so much!
[HTC Sensation] ganeshp:
there is beats installer in play store ..check it ..i think that will do the job for you
[HTC Sensation] MidnightDevil:
Thank's man! For a while I though I've lost this thread lol.
[HTC Sensation] alphaz1:
poweramp + bassini's beats mod
[HTC Sensation] MidnightDevil:
Thank's man! I'll give those a try!

I haven't searched yet but that bassini's beats is a flashable "mod" or available apk ?
[HTC Sensation] costaxo:
http://xdaforums.com/showthread.php?t=1887828

[AOSP,CM10/9,SENSE 4.0,4.1,3.6]BassMOD v4 Srs & EQ & xLOUD & Beats Audio & Dolby

I haven't tried it but I guess that's what you looking for. Instructions mention that you flash it in recovery..

Sent from my HTC Sensation
[HTC Sensation] alphaz1:
It's flashable zip file, latest version is v4.0

Also, try Anthrax kernel (only for sense-based ROM though). It has system-wide beats, I read somewhere that Beats is like 60% kernel and 40% ROM libs. Sure there's a free Beats audio installer on the market, but considering HTC invested quite a lot in Beats sound technology, it makes more sense that the thing is more than just an apk and some libs.
[HTC Sensation] Simone:
PowerAmp seems to have a crispier sound to it.

DSP Manager was also suggested better than Beats.
[Android Q&A, Help & Troubleshooting] Tovagulet:
Hey everyone.

I might be a noob to this but why everyone wants the nexus 4? Rather than a Galaxy S3 or HTC One X which are more powerfull phones...

Is it because of the android updates?...
[Android Q&A, Help & Troubleshooting] kalais93:
Recently i had installed this [ROM][JB][TC] PAC [ Paranoid + Aokp+ Cm10 ] [Update 1-11-2012]

i m using a class4 16gb memory card i have partioned it to 10gb logical and 4gb as primary so my internal memory becomes 4gb.

i dont know why my mobile still lags???

Is lagging is due to usage of class 4 memory card r not??

now i m facing a new issue mobile hangs frequently i have to reboot it many times a day.

Pls!!!!! someone say a solution for me!!!!!!!!!!!
[Galaxy S II Q&A, Help & Troubleshooting] faraz_fireboy:
Hi everyone

Today I updated my phone I9100-G to ICS using sammobile Firmwares...

The way I did it:

I was on cMIUI...I flashed old 2.3.6 official firmware (used 3 PIT,PDF and Bootloader files)

then I flashed Official 4.0.4 Using PDF file....

now my baseband version:Unknown and I can't register my device to samsung....

Have I done anything wrong?or what? :confused:

Thanks In Advance BTW
[Galaxy S II Q&A, Help & Troubleshooting] faraz_fireboy:
Guys Come on...

I need ur help in this one :(