Hi All,
To start off, I don't like the FM app on the xperia x10 mini. I have set about to changing it.
Under Windows XP, this is where I am:
1) Pulled the Radio.apk and FmRxService.apk off of the /system/apps folder
2) Pulled the libfm_stack.so off of the /system/lib folder
3) dex2jar.bat on each item in #1 above
4) Also, EasyApkDisassembler.EN.bat on each item in #1 above to a separate area
5) Viewed the output of #3 above inside jd-gui
6) Read through some of the code and found a missed linkage
7) Saw libfm_stack.so was an ELF File, so probably raw native and no java disasm applicable.
I do not know the next step, so asking for you help. How do I resolve a missed class?
The concrete example is, in the class 'ChipControllerImpl' there is a member variable
.field private mFmChip:Lcom/ti/fm/FmReceiver;
or
private FmReceiver mFmChip;
I can't find the FMReceiver inside the jd-gui (step #6) and I can't find it declared in any files output as of step #4. Also, I tried poking around the file system of the x10 mini and did not see anything that might contain Lcom/ti/fm/FmReceiver. Does anyone know which steps are the next ones to try and locate a missing class?
[EDIT] Putting answer here and leaving the question in case it helps others. I had to delete the Radio.apk out of system/app using adb shell. Then I had to re-install the radio, which put it in with the rest of the dynamic apps. Then I had to uninstall it rather than delete it. This cleaned the app data and allowed successful installation. Following that I edited the smali code and disabled the check about airplane mode and can now run the FM Radio in airplane mode. More editing lies ahead based on this successful proof of concept.
And a little more request for help.
Tried seeing if it does not matter that I don't have that class resolved.
I did this under XP:
1) Used Easy Apk Disassembler
2) (2) DISASSEMBLY a classes.dex with smali
3) Viewed the files int he output directory
4) (3) ASSEMBLY a classes.dex with baksmali
5) Viewed out.dex
6) Removed META-INF and classes.dex in the Radio.apk
7) Added out.dex and renamed as classes.dex
8) (4) Sign an APK
9) Saw the size was a bit bigger than the original Radio.apk, but nothing drastic
10) Tried to install it
Result: Application was able to view permissions and asked if i wanted to replace existing (I had deleted Radio.apk from /system/app already). I said yes to replacement. Then it said Install Failed.
Seems if I can't disassemble and then re-assemble without changes I will be stuck from where I want to go here. Any advice?
moze napisze jutro
Hi, I have this animation (gif) file that I want to have booting up when I turn on my atrix. Basically, three questions.
1. I have the animation in gif but also in a series of PNG's, which one works?
2. How do you add sound to an animation?
3. Does this phone use an xml or txt for instructions (probably linked to question 2 answer).
Thanks guys in advance
A boot animation consists of a zip file that contains a series of png or jpg images, along with a desc.txt file. Here's a snippet from the factory desc.txt for AT&T's Atrix:
# 540 wide, 960 high, 15 frames per second
540 960 15
# p means we're defining a part
# first number is repeat count, 0 means infinite
# second number is delay in frames before performing the next part
# so if you are playing 15 frames a second 15 would be... one second
# string defines the directory to load files from
# files will be loaded in order but names don't matter
# s defines a sound for a part
# sounds will be loaded from /system/media
# oggs with loop points will loop automatically
# only one sound will play at a time
# timing is driven by the part, not the sounds
# if you want no sound, leave blank
(I'm not sure if the sound has to be an OGG; an MP3 or a WAV might work. If not, google around for OGG converters.)
So, say you had a folder of pngs called MainAnimation, and a startup sound called StartupSound.ogg, your desc.txt would look like this:
540 960 15
p 1 0 MainAnimation
s StartupSound.ogg
Or, if you want the animation to loop (instead of just sitting on the last frame), your desc.txt would look like this:
540 960 15
p 0 0 MainAnimation
s StartupSound.ogg
After you make your desc.txt file, zip that up with your MainAnimation folder. The structure should look like this:
bootanimation.zip
|
|- MainAnimation
| |- 001.png
| |- 002.png
| |- 003.png
| |- 004.png
|
|- desc.txt
When you create your zip, use "storage" or "no compression" mode. The zip needs to act simply as a container, instead of trying to save on file size.
Now, all that's left to do is copy bootanimation.zip and StartupSound.ogg to your phone. I use Root Explorer, but any method that'll get the files on there is just fine. Both files go in the /system/media/ folder.
That was great, I will let you know if that works. BUT...two more questions, if I get it wrong, ie no boot animation, will my phone still boot up, other is, will my phone boot whenever it wants or say the png's are set to last 30 seconds playing at 15 frames a second, it will wait for the sequence to stop?
Thanks
The phone will boot just fine if bootanimation.zip is missing or messed up, it'll just keep showing the Dual-Core Technology splash screen until the phone boots. (btw, that Dual-Core splash screen always shows at the beginning; your custom animation will start after it)
Boot time isn't affected by the boot animation, from what I can tell. If you have a short animation, it'll either loop or pause on the last frame (depending on the option set in desc.txt) until the phone finishes booting. If you have an animation longer than the phone's boot sequence, the phone will interrupt the animation and load the home screen.
anyway way to remove splash screen just so we get more animation time?
Thanks
Not that I know of. There might be something you can do with a custom rom (completely guessing), but that's a bit beyond me.
Best of luck!
Sound DOES NOT have to be .ogg it can be any format that the phone is able to play.
Sent from my MB860 using XDA App
Tried every possible variation of this and I cannot get it to play sound
:sigh:
Animation plays, but no sound.
Also should be noted that for windows users, you CANNOT use notepad/wordpad to edit desc.txt. You should get Notepad++ and use that instead or it will screw up the linux formatting of the file.
Do u put soundfile.ogg in zip or in system/media? Thanks for the bootani 101 ^_^ looks to b in system/media but double checking JIC
Sent from my MB860 using XDA App
Got the files over to my phone, and the animation and sound plays, but the sound plays after the animation is finished. Anyway to get sound to play while animation is happening?
A good app to unzip, edit the desc.txt and anything else, and rezip is found on the market and is called "Boot Animatiom Installer".
On a side note, I am having a problem with the audio files during the boot.animation. They only play at ~30% volume level with any audio file. How do I configure/change this so that I can get the audio file to play at max volume level??
Ririal said:
Also should be noted that for windows users, you CANNOT use notepad/wordpad to edit desc.txt. You should get Notepad++ and use that instead or it will screw up the linux formatting of the file.
Click to expand...
Click to collapse
Hah! That explains alot, thank you. What about editing it within something like Root Explorer?
this is gonna sounds stupid but i followed every step but i cant seem to get the file to be only ApplyRecovery.bat, thats how i named the files but it does only open notepad....like if it was reading ApplyRecovery.bat.txt
Step 5: create a text file using notepad, called ApplyRecovery.bat. Make sure it is not named "ApplyRecovery.bat.txt" . It will contain the following lines (copy/paste is fine)
i did it finally
For future reference, it might help others if you explained how you solved your problem. For example, given this issue where the file is opening in notepad, one of the following possibilities is apparent:
1. When saving the file, you did not enclose the file name in quotes, e.g. "ApplyRecovery.bat". Enclosing the file name in quotes overrides the automatic generation of extensions and saves the file exactly as you wish.
2. Batch files, files ending in .bat, were set to open in notepad instead of being ran when double-clicked. This would by necessity require you to delete the file association before the batch file would work.
I've found that a lot of us doesn't satisfied with our current custom ROM. Please don't bully the dev to make a rom with our personal preference. You may follow this guide instead to modify the custom rom to suit with your personal taste. I hope I could make it as simple as possible so all of us so even a new android user could understand. Please make sure you've read this guide throughly before make any modification.
tools:
1. a custom rom (to be customized) or stock rom.
2. 7zip or another similar program
3. apk files
4. dsixda kitchen (not mandatory)
5. apktools (not mandatory)
6. titanium backup (not mandatory)
7. CWM.
First of all, extract your custom rom. You'll see that the custom rom's zip file contain several files and folders. Some of them are common and could be find in almost all custom rom. The files and folders are:
1. meta-inf : contain the script needed to install the rom (don't touch it if you don't understand about scripting nor dsixdia kitchen).
2. system : contain the system files and folder of the custom rom
3. boot.img : the kernel used in the custom rom
4. additional file : (eg:install-busybox, check-data and bmlunlock) additional file contain scripts needed to install additional feature (eg: busybox, additional app in data/app, and install custom kernel) in the custom rom.
If you don't know much about them, don't touch anything but system folder. now, open the the system folder. You'll see a lot of folders and some common files. Leave CSC files and SWconfiguration intact if you don't know about them. You can edit build.prop to insert more build.prop setting or modify the content if you understand how to do it. To change the rom's name, edit the value for 'ro.build.display.id'. You may also change the value for 'ro.build.version.release' to any number like 9.9.9 if you want to show off your modified custom rom
I'll give a quick explanation about the folders in /system.
1. app : contain all the system's app
2. bin : contain the command and bin files for the rom (don't touch it)
3. cameradata : camera files
4. csc : csc files. contain dictionary for the keyboard
5. etc : additional setting and files for the rom
6. font : the fonts
7. framework : system's framework
8. lib : drivers, modules, kernel related files for the rom
9. media : media files-ringtones, notification
10. sd : folder created by a2sd darktremor. (don't touch it)
11. usr : files needed for keyboard, bluetooth, etc.
12. xbin : additional command and bin files (busybox is normally installed here)(don't touch it)
13. T9DB: dictionary and language database for swype and stock keyboard
now, you're ready to customize the rom. I'll divide the guide into several section. pass the section if you don't want to modify it.
DEODEX VS ODEXED ROM. Most of custom rom available is deodexed rom while our stock rom is half deodexed rom. I'll try to explain it in most simple way. First of all, we should understand that mostly every app in android consist of three part, *apk files, *dex/odex files, and lib files.
ODEXED rom means that *dex file needed to run the app is extracted from the apk file and placed in same folder with the apk files (/system/app). the positive side, it consume less internal memory and a execute faster. the negative side, it makes the app uncostumizable (cannot apply custom themes) and need more space in system partition.
DEODEXED rom means that *dex file needed to run the app is extracted from the apk file and placed in /data/dalvik-cache. the positive side, the app can be themed (full customizable) and consume less system partition. we could put more app in /system/app in deodexed rom. the negative side, it consume a lot of internal memory. please be cautious with the internal memory space if you use deodexed rom. (NOTE: if you start from stock rom, you may use dsixdia to convert odexed to deodexed rom).
system app customization is easy. you can add or remove any app in /system/app folder as long as it fit with the space in sistem partition (220MB). if you start from stock rom, please be cautious to not remove essential app from the folder. you may see the app in hybrid rom v.2.1 to see which app is safe to remove or not (the spreadsheet document in this forum is gone. sorry). having ~20mb free space in system partition is a good thing if you want to make the rom more customizable.
Basicly, theme is easily changed by replacing systemUI.apk in /system/app and framework-res.apk in /system/framework. You may put theme from another custom rom or make for yourself from uot kitchen or make it by yourself with apktool. A high modified theme like dysmenorrhea is also modify some part in setting.apk and jobmanager.apk. and another app. Don't forget to delete the *odex file (for all changed app only)from /system/app if you start from stock rom.
NOTE: please be aware with the base firmware of the rom. make sure that systemUI.apk and framework-res.apk files are from exact firmware version. I've found that theme for DXLA, DXLB, DXLC are exchangeable but you can't put theme from DXKL2 to DXLA or the reverse. to minimize any risk, please use themes only from exact same firmware.
Performance tuning could be done in several ways. the easiest (proven works but risky) method is by edit build.prop file. I won't give you all the script. Feel free to search and apply the script with your personal preference. you can found in this forum or just copy from another rom. these script below is used to increase gprs/hsxdpa speed. this script is a common script and proven to be works in a lot of device. (I forgot the original source. sorry)
Code:
ro.ril.enable.dtm=1
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.3g.prefix=1
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=6
ro.ril.hsxpa=2
ro.ril.enable.a53=1
there are also some common tweaks for build.prop file. these are the one I always using in my rom.
Code:
#mod battery kats
debug.performance.tuning=1
pm.sleep_mode=1
video.accelerate.hw=1
windowsmgr.max_events_per_sec=150
ro.ril.disable.power.collapse=1
wifi.supplicant_scan_interval=150
#mod performance
dalvik.vm.execution-mode=int:jit
persist.sys.purgeable_assets=1
dalvik.vm.dexopt-flags=m=y
ro.media.enc.jpeg.quality=100
ro.telephony.call_ring.delay=0
video.accelerate.hw=1
ro.kernel.android.checkjni=0
ro.HOME_APP_ADJ=1
======
the second way, (little bit harder, but its still proven works) by create or modify some file in /system/etc. I'll give you some of them.
1. sysctl script-to increase internet speed.
make a new file in system/etc, name it 'sysctl.conf' (or edit if it already exist). put this script inside.
Code:
net.ipv4.tcp_wmem = 4096 39000 187000
net.ipv4.tcp_rmem = 4096 39000 187000
net.ipv4.tcp_mem = 187000 187000 187000
net.ipv4.tcp_rfc1337 = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_ecn = 0
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1
net.ipv4.route.flush = 1
net.ipv4.ip_no_pmtu_disc = 0
net.core.rmem_default = 524288
net.core.rmem_max = 524288
net.core.wmem_default = 524288
net.core.wmem_max = 524288
its a common sysctl mod for linux based OS (I found it in another mod for another device but I forgot the source). you'll need busybox, and terminal emulator. to run it, type:
'su
'sysctl -p
in your terminal emulator (without ' symbol).
2. GPS mod-to make the GPS lock faster
this mod is based on zeusseuz's guide. please see this page for further information (the script is quite long) http://forum.xda-developers.com/showthread.php?t=1552076
======
the last way...by init.d script. it only works in custom kernel. I won't put any script here. you should find by yourself. you can use make a file in init.d with there script to check if your kernel support init.d script.
Code:
#!system/bin/sh
touch data/kurotsugi_test.txt
set the both init.d folder and the file's permission to rwxrwxrwx (777)
if the script work, you'll find kurotsugi_test.txt in /data.
======
I'll only put the one I've tested and proven to be works.
1. beats audio
this is the old version but doesn't have FC issue. get the file from here http://forum.xda-developers.com/showthread.php?t=1526643
unzip. copy all the files into their respective folder
2. bravia engine
put be_photo and be_movie in system/etc folder then edit the build.prop file doesn't seems work. The real bravia engine mod is consist of
- be_photo, be_movie in /system/etc
- com.sonyericsson.android.SwIqiBmp.xml in /system/etc/permission
- com.sonyericsson.android.SwIqiBmp.jar in /system/framework
my megabassbeat mod contain these files. you can get it from there.
3. boot animation
download or get custom boot animation file from another custom rom or another source. rename it to bootanimation.zip, put it on /system/media.
you may check this out http://forum.xda-developers.com/showthread.php?t=1548479
please note that DXLB rom doesn't support bootanimation. you need to put bootanimation and samsungani files from another rom (like hybrid) in /system/bin and replace all file in /system/lib with lib files from older firmware (DXLA or older)
4. boot sound
make or download boot sound. please make sure the format is *ogg. rename it to poweron.ogg then put it in /system/etc.
5. custom ringtones, notification,
make or download the sound file (in ogg format). put it in /system/media/audio/(respective folder)
6. disable boot animation (for quick boot)
put 'debug.sf.nobootanimation=1' in build.prop.
7. megabassbeats (better than beat bass)
you can get the file from this link http://forum.xda-developers.com/showthread.php?t=1646406. you'll need to copy the files into its respective folder.
If you've done with the customization, enter the custom rom folder. select all the files then create zip file. to install the rom, copy to your sdcard, flash it either by stock recovery or CWM after wipe /data. PLEASE MAKE SURE THAT ALL THE FILES DOESN'T EXCEED THE LIMIT 220MB BEFORE ZIPPED.
This guide can be used if you want to make your own rom. if you start from stock rom, you may use this script (its from myss v.3.4) to install the rom. please make note that it will only install the rom, not the kernel. you'll still need the bin and xbin folder from custom roms in order to make it work.
http://www.mediafire.com/download.php?skw1ytt37mklb4o
All credits for the dev who make the rom, the one I've used the guide here, and all XDA member. no need to say thanks or press it for me. give that to the real dev. I'm just a noob here. Feel free to correct me if I'm wrong.
1. dualboot
this mod actual intent is to make developing a rom a lot more easier without risking our native rom. I was using it a lot when customizing my rom. you can get the original link for dualboot here: http://forum.xda-developers.com/showthread.php?t=1598803 and for a little more detailed step how to use it http://forum.xda-developers.com/showthread.php?t=1600973.
you can find another dualboot kernel here. http://www.mediafire.com/download.php?gkb33aktyf7wbbh
this one have init.d support. all credits goes to irfanbagus
2. data2sd
this mod is used to increase data partition size. you can find the complete guide here http://forum.xda-developers.com/showthread.php?t=1622052[/QUOTE]
I guess you wanted to post this on Galaxy Y Forum But Posted It Here
Nice Guide , but, it's not actually complete.
You have concentrated more on tweaks, and not actually shown how to use the kitchen to create the rom.
masterex567 said:
Nice Guide , but, it's not actually complete.
You have concentrated more on tweaks, and not actually shown how to use the kitchen to create the rom.
Click to expand...
Click to collapse
Why would you want to use a tool that wasn't even meant for Samsung devices in the first place?True,we can use it.But not to a full extent.New users could get bricked phones :silly:
SmOuuK said:
I guess you wanted to post this on Galaxy Y Forum But Posted It Here
Click to expand...
Click to collapse
So will the performance tweaks mentioned here work for Ace too?
Sent from my GT-S5830 using xda app-developers app
Yup..I know that but it's looking at rom cooking..and the kitchen is the only way to easily extract and build roms...well ofcourse you have to change the Meta inf
Sent from my GT-S5830 using xda app-developers app
masterex567 said:
Yup..I know that but it's looking at rom cooking..and the kitchen is the only way to easily extract and build roms...well ofcourse you have to change the Meta inf
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
Yep.But most likely you run into errors.
---------- Post added at 12:12 AM ---------- Previous post was at 12:09 AM ----------
Koogly said:
So will the performance tweaks mentioned here work for Ace too?
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
Most of them.But not all,like DualBoot.
Hmm..yes but that's like the only way available for users to create Roms ryt?
Sent from my GT-S5830 using xda app-developers app
masterex567 said:
Hmm..yes but that's like the only way available for users to create Roms ryt?
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
No...You can do all those things manually...More easily,you can also learn faster if you do it manually
Prawesome said:
No...You can do all those things manually...More easily,you can also learn faster if you do it manually
Click to expand...
Click to collapse
Okkk. I'm actuallly a newbie so i don't know a lot. So forgive me for all those silly questions.
So, you're saying, that a ROM can be built without the kitchen, by using 7zip to extract, and then compile it to a .zip format using this application??
I thought that only the kitchen could successfully compile a rom.
Please correct me if i'm wrong. It will make life a lot easier for me.
Thanks.
masterex567 said:
Okkk. I'm actuallly a newbie so i don't know a lot. So forgive me for all those silly questions.
So, you're saying, that a ROM can be built without the kitchen, by using 7zip to extract, and then compile it to a .zip format using this application??
I thought that only the kitchen could successfully compile a rom.
Please correct me if i'm wrong. It will make life a lot easier for me.
Thanks.
Click to expand...
Click to collapse
original link ?
http://forum.xda-developers.com/showthread.php?t=1590330
masterex567 said:
Okkk. I'm actuallly a newbie so i don't know a lot. So forgive me for all those silly questions.
So, you're saying, that a ROM can be built without the kitchen, by using 7zip to extract, and then compile it to a .zip format using this application??
I thought that only the kitchen could successfully compile a rom.
Please correct me if i'm wrong. It will make life a lot easier for me.
Thanks.
Click to expand...
Click to collapse
Yep...Just zip it
Prawesome said:
Yep...Just zip it
Click to expand...
Click to collapse
Thanks. Saved me alot of work!! I surely owe you big time. Unfortunately I'm still a teenager, so can't buy you a beer or something... But, when I publish my first ROM. You're gonna surely be there in credits.
Moved to General. Please provide link to the original thread or I'll close this one.
Original thread @ galaxy y development section.
Sent from my GT-S5360 using xda premium
Prawesome said:
Yep...Just zip it
Click to expand...
Click to collapse
Ok. Prawesome, I need your help once again. I did as you said..but now i get errors again...
Its a dalvik vm error again:
This time, I didn't touch META-INF. Just modified system and extracted. Modded, then compressed to .zip file and flashed.
Logcat gives me errors:
Unable to find decl for native Landroid/content/res/AssetManager;.splitThemePackageLjava/lang/String;Ljava/lang/String;[Ljava/lang/StringI
Its a W\dalvikvm error. I guess that means that there is a .so file in the lib that needs to be replaced. I extracted the libs from base rom, and copied and replaced them with mine..then added kernel libs..but that doesn't erase the problem.
This particular problem has been bugging me every time i compile. I don't understand what i've done wrong.
Plus, i want to intergrate adrenaline engine. so I just copy data and system to the working folder right? And...The data folder in adrenaline engine has a system \etc..Am I supposed to copy or delete and copy init.d files there?
Thanks.
masterex567 said:
Ok. Prawesome, I need your help once again. I did as you said..but now i get errors again...
Its a dalvik vm error again:
This time, I didn't touch META-INF. Just modified system and extracted. Modded, then compressed to .zip file and flashed.
Logcat gives me errors:
Unable to find decl for native Landroid/content/res/AssetManager;.splitThemePackageLjava/lang/String;Ljava/lang/String;[Ljava/lang/StringI
Its a W\dalvikvm error. I guess that means that there is a .so file in the lib that needs to be replaced. I extracted the libs from base rom, and copied and replaced them with mine..then added kernel libs..but that doesn't erase the problem.
This particular problem has been bugging me every time i compile. I don't understand what i've done wrong.
Plus, i want to intergrate adrenaline engine. so I just copy data and system to the working folder right? And...The data folder in adrenaline engine has a system \etc..Am I supposed to copy or delete and copy init.d files there?
Thanks.
Click to expand...
Click to collapse
To integrate Adrenaline Engine,you should just copy over the required files to their respective directories.I don't have any idea where those errors are coming from,someone else maybe able to help you out with that.My suggestion is,you get a stock rom,don't mod anything,test it first.Then,add mods one by one,testing each of them.This way,you can know where you have caused errors and you can solve it
---------- Post added at 12:32 AM ---------- Previous post was at 12:29 AM ----------
masterex567 said:
Thanks. Saved me alot of work!! I surely owe you big time. Unfortunately I'm still a teenager, so can't buy you a beer or something... But, when I publish my first ROM. You're gonna surely be there in credits.
Click to expand...
Click to collapse
lol..I am just 15,just trying to help out where i can
Prawesome said:
To integrate Adrenaline Engine,you should just copy over the required files to their respective directories.I don't have any idea where those errors are coming from,someone else maybe able to help you out with that.My suggestion is,you get a stock rom,don't mod anything,test it first.Then,add mods one by one,testing each of them.This way,you can know where you have caused errors and you can solve it
---------- Post added at 12:32 AM ---------- Previous post was at 12:29 AM ----------
lol..I am just 15,just trying to help out where i can
Click to expand...
Click to collapse
Okkk! Will try that. I tried doing all tests on this custom ROM. but none of them seems to fix it. The problem is that all stock roms are uploaded on hotfile. And, downloading from hotfile never succeeds. One more test, is that it definetely not a problem in the kernel, but in something i'm modding. First, i was using miracle v4 as base rom. Same error....after that I used cm7 nightly. Error. and now i'm using cm7 rc1, and Errors. This might sound noobish, but in the dalvik vm error log, what does the splitThemePackage actually mean? Because, i deleted the original default theme, added another one, and set it default in build.prop..could that be the problem?
This is the full error log:
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.splitThemePackageLjava/lang/String;Ljava/lang/String;[Ljava/lang/StringI
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.detachThemePathLjava/lang/String;I)Z
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.attachThemePathLjava/lang/StringI
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageCount)I
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageNameI)Ljava/lang/String;
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageIdI)I
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.addRedirectionsNativeI)V
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.clearRedirectionsNative)V
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.generateStyleRedirectionsIII)Z
E/JNIHelp ( 191): RegisterNatives failed for 'android/content/res/AssetManager'
E/AndroidRuntime( 191): Unable to register all android natives
Thanks for the help.
masterex567 said:
Okkk! Will try that. I tried doing all tests on this custom ROM. but none of them seems to fix it. The problem is that all stock roms are uploaded on hotfile. And, downloading from hotfile never succeeds. One more test, is that it definetely not a problem in the kernel, but in something i'm modding. First, i was using miracle v4 as base rom. Same error....after that I used cm7 nightly. Error. and now i'm using cm7 rc1, and Errors. This might sound noobish, but in the dalvik vm error log, what does the splitThemePackage actually mean? Because, i deleted the original default theme, added another one, and set it default in build.prop..could that be the problem?
This is the full error log:
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.splitThemePackageLjava/lang/String;Ljava/lang/String;[Ljava/lang/StringI
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.detachThemePathLjava/lang/String;I)Z
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.attachThemePathLjava/lang/StringI
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageCount)I
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageNameI)Ljava/lang/String;
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageIdI)I
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.addRedirectionsNativeI)V
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.clearRedirectionsNative)V
W/dalvikvm( 191): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.generateStyleRedirectionsIII)Z
E/JNIHelp ( 191): RegisterNatives failed for 'android/content/res/AssetManager'
E/AndroidRuntime( 191): Unable to register all android natives
Thanks for the help.
Click to expand...
Click to collapse
No idea....Double check the name of the apk in build.prop, they are case sensitive
Sent from the year 3000 using a SGA where sheep's are not present.
So in build.prop...how am I supposed to set the default theme. I'm using acheps ics theme..so is it supposed to be com.achep.theme.ICSandwich?
Sent from my GT-S5830 using xda app-developers app