General :: How To Recompile Existing Kernel
Jun 15, 2012Any TUT in how to recompile an existing kernel so i can make some changes and then recompile it?
View 5 RepliesAny TUT in how to recompile an existing kernel so i can make some changes and then recompile it?
View 5 RepliesI want recompile the kernel of my lg e400 for add ext2-3-4 support.How i must proceed? I'm able to compiling with success and i have source from lg, sdk installed etc etc.
View 3 Replies View RelatedCan jellybean run on my existing kernel 2.6.35.7 version or does it need specific one?
View 3 Replies View RelatedThe title says all, the decompiling is succesfull, but i cant recompile any apk, this is the log when i try to recompile holo launcher. (using the last apktool)
and the same happen even if i dont edit nothing on the apk and try to recompile.
I have "if framework-res and systemui" resources from my phone
I've been able to successfully disassemble the Google Now apk for ICS devices and made a change to the sounds it makes for "open" and "success". However, xdaAutoTool displays a lot of errors when I try to recompile it.
View 1 Replies View RelatedEverywhere i look redirects to apkmanager.. Which is not working for me.. Any manual way to recompile an apk.. Or an alternative to apk manager.
SPH-D710
I cant recompile movies,stock launcher apk. If I just decompile and again recompile without any changes it gives me error.
C1904
I want to add some function to my system music player app. So I decompiled the classes.dex with dex2jar, copied the source code and add the code for my functions. Now my problem is that I do not know how to recompile the app. I can't compile it with Eclipse because it uses some system namespaces (in Eclipse it is an error so I can't compile) How can I recompile the app? I only have the *.java files.
Or can't I use the java files and have to edit the smali files? Of course that's much harder...
I can decompile and recompile framework-res.apk and other apps successfully, but every time I decompile a theme chooser *.apk I get errors trying to recompile.
Is there a trick to this? I am running Reaper 3.0(CyanogenMod 7) installed the framework via installation options(that's all), have paths to platform-tools, tools etc.. The latest Android SDK installed (and all the others..)
Once again I'n only getting these errors Recompiling TC Themes.
Here is an Excerpt of my APKMULTITOOL.LOG, the start middle and end.
(full log is also attached)
|
Code:
Thu 06/21/2012 -- 22:05:11.28|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find C:android-sdkplace-apk-here-for-modding../place-apk-here-for-modding/signedcom.araviel.theme.aerish.apk
Could Not Find C:android-sdkplace-apk-here-for-modding../place-apk-here-for-modding/unsignedcom.araviel.theme.aerish.apk
I: Loading resource table...
I: Loaded.
[code]...
I'm interested in an app to decompile apps within android. Something like ninjamorph would be great however ninjamorph seems to do the equivalent of extracting an apk instead of leaving an editable app with readable xml files. What is the likelihood of something like this happening? What is preventing it from happening?
View 2 Replies View Relatedhow to Decompile/Recompile System apps from MTK phones? I'm using apktool 1.5.2.I can decompile like "SystemUI.apk"But I can't recompile. Even I didn't edit anything yet.Specially those who have MTK phones.
View 3 Replies View RelatedI don't want to use APK Multi-Tools or APK_Manager or whatever. I want to know exactly what those tools are doing in order to recompile the system apk while keeping the original signature.
What I initially did...
Code:
apktool d "%~dpnx1.apk" "%~dpnx1"
...modify files here...
apktool b "%~dpnx1" "%~dpnx1.apk"
But obviously that's unsigned. I need to sign it, but I want to use the original signature, which I'm guessing is the META-INF stuff, right? So I attempted this...
Code:
apktool d "%~dpnx1.apk" "%~dpnx1"
7za x -o"%~dpnx1-signature" "%~dpnx1.apk" META-INF -r
...modify files here...
apktool b "%~dpnx1" "%~dpnx1.apk"
7za a -tzip "%~dpnx1.apk" "%~dpnx1-signature/*" -mx9
You'll notice I now use 7-Zip to pull out META-INF from the original APK and then insert it back into the recompiled one afterwards.
The only other thing I can think of would be to go with my first method, but then use 7-zip to pull out the compiled files from the unsigned apk and insert them into the signed apk. I haven't tried that yet, but it will be the next one I go with. Every time this fails, though, I have to do a nandroid restore.
For those interested, after running "apktool b" (to build/compile), ignore the output zip. Instead go into the source directory and there is now a build directory. In that is an apk directory. Simply add your changed files to the original untouched APK (if you modified any XML files, then replace resources.arsc; if you added anything to smali, then replace classes.dex; if you added any XML files, then you need to include those as well; for me, i copied resources.arsc, classes.dex, and one new XML file). I used the following command:
Code:
zip -9 ..SystemUI.apk reslayoutstatus_bar.xml classes.dex resources.arsc
I use zip instead of 7za for cosmetic reasons. You can also use "7za a -tzip etc..." if you want.
I have u8800 and 3.0.8 AOSP kernel. But not runnig cm9 with AOSP kernel. How to port aosp kernel to cm9 kernel.
View 1 Replies View RelatedI'm trying to recompile AnimationDrawable class ( source code tooked from android source ) but I get some errors...
It says "The constructor DrawableContainer.DrawableContainerState (AnimationDrawable.AnimationState, AnimationDrawable) is undefined". Any ideas how to fix it?
Couple of months ago, i came across the SEandroid project and i quite like the idea.
Iam surpised that no existing ROM has ever been released including this mod, so i wanted to try to do it for a test, and how to proceed for integrate androidse in an existing rom? I would like to test in on my nexus one.
I got a theme on a rom. how can i install another theme over this one? do i have to reinstall the whole rom?
View 1 Replies View RelatedI read some stuff about SQLite databases to use them within my own application. so for this point, it should work.
BUT:
for most of my data stuff i need a database that i can directly put into my application. i read on stackoverflow that it's possible to put up to 1,2mb files in the assets folder and then copy them anywhere else to use them.
my question is:
is it possible to acces those databases in the assets folder directly to read from them? there's no need to insert data into this database, it's just a data storage to read from? is it possible? and if it is than how could i do this?
I have a razr maxx hd. How do I set my default email address to an existing gmail account. When I try to sign into that existing email account via the gmail app on the razr, all I get is a response, "The username or password you entered is incorrect".
Please note: I put another gmail address when I first got the phone.
Do I have to clear out the origional google account and or the gmail address to put the new gmail address in?
I just created a gmail account/profile and i wanted to use this new account in my existing Samsung S4 which i have login with another gmail account.I manage to remove the old account ID and login with the new ID, all sync was done. BUT i found that some of my existing contact is without name but having the phone number and i am not sure if there is any missing contacts?
Then I retry to login with the old ID and the contacts details came back to normal with one or two without the names.
i'd like to save & then restore sms/call history from a nandroid, however the apps/method i tested erase current one while restoring...
For SMS there's GoSMS Cloud that works, however limit is to 1000 and i've reached it. For call logs, no idea.
Does anybody know if the new desktop kernel patch written by Mike Galbraith can be applied or modified to be used in the android kernel?
Tiny Linux Kernel Patch Delivers Huge Speed Boost - PCWorld Business Center
I haven't messed around with android kernels yet, but I have applied it to my current Ubuntu 10.10 system and you can see the difference. Its like night & day!
I have vanilla linux kernel version 2.6.27. I want to apply android specific patches and convert it to android linux kernel 2.6.27. Where can a user find the patches to convert a normal vanilla kernel into android kernel?
View 1 Replies View Relatedwhere I have got right now on my phone, which is:
1. I updated to stock 2.1 using the sprint update tool.
2. I followed the video tutorial to root the phone
3. then i used joey's page (http://www.joeyconway.com/sdx/custom/index.php) to install the his kernel (joeykrim-SDX-kernel v2.0.4 (includes root)).
I have done nothing else to the phone but this and removing a couple of bloatware apps (i checked the list of permitted deletions before i removed anything.) I have not installed a new recovery..at least i dont think that I did as part of one of the other operations I performed (as an aside, i am not really sure what the custom recovery is or what it is used for, so i didnt install it...i guess i need to read up more...)
So that is where I am..but i have a couple of questions.
1) i am now having issues with my wifi connection - the signal reception is very spotty in areas where i should have atleast 2 bars of reception, and the wifi often cuts out completely....Is there any know corellation between joey's kernel and this wifi issue? I have searched the forums and have found nothing that answers this.
2) Is there an easy way to get back to the stock kernel? I have read that i can get back to stock everything by using the sprint download center where I did my original 2.1 update. But is there a way to get back to just the stock kernel without wiping the phone?
My phone was just stolen and so I am temporarily using an older Gingerbread device I had laying around. The problem is that my wife used it for a period of time and so its "locked" to her Google account. I realize that with root its fairly easy to disassociate the device from the primary Google account, but I have been unable to find out how to do it WITHOUT root. I really don't want to fully wipe the device if possible! The phone in question is running 2.3.4.
View 9 Replies View RelatedAfter deodexing my ROM (successfuly) with android kitchen and manually applying the changes I attempted to perform this modification
[URL]
That resulted in a bootloop even though I do have the arabic .so file in it's supposed place.
I've tried to ln -s libs to lib from what I saw in some search results but nothing.
My android version is 2.3.6 and bak/smali commands were issued with -a 10 to support proper API level
Here's my logcat:
Code:
D/dalvikvm( 261): creating instr width table
I/dalvikvm( 261): Could not find method android.graphics.Canvas.native_drawText, referenced from method android.graphic
s.Canvas.drawText
W/dalvikvm( 261): VFY: unable to resolve virtual method 9864: Landroid/graphics/Canvas;.native_drawText (Ljava/lang/Str
ing;FFLandroid/graphics/Paint;)V
D/dalvikvm( 261): VFY: replacing opcode 0x6e at 0x0004
[code]...
I currently have bekit 1ghz kernet installed, but I was interested in trying out some other kernels. Can I just install them via Rom Manager over the first kernel? Or is there some kind of uninstall process I should use first?
View 3 Replies View Relatedi wanna know wheres is the kernel in the ROM and as i can replace it for other kernel
View 1 Replies View RelatedI just want to know how to extract a kernel of a ROM!
View 1 Replies View RelatedI know that the boot img contains the kernel.. but how can i now change somthing inside?
ROMS I open with winrar and then change everything I want.
Does it work a different way at Kernel?
i'm trying to use my custom kernel on avd, when i launch
Code:
./emulator -avd sgsp40 -kernel /home/rmbq/zImage -show-kernel -verbose
the output is:
Code:
emulator: found SDK root at /home/rmbq/android-sdk-linux
emulator: Android virtual device file at: /home/rmbq/.android/avd/sgsp40.ini
emulator: virtual device content at /home/rmbq/.android/avd/sgsp40.avd
emulator: virtual device config file: /home/rmbq/.android/avd/sgsp40.avd/config.ini
emulator: using core hw config path: /home/rmbq/.android/avd/sgsp40.avd/hardware-qemu.ini
emulator: Found AVD target API level: 15
emulator: found skin 'WVGA800' in directory: /home/rmbq/android-sdk-linux/platforms/android-15/skins
emulator: autoconfig: -skin WVGA800
[code]....
there is this line:
Code:
emulator: Could not open file: (null)/system/build.prop: No such file or directory
which appear only when i use a custom kernel.