[Q] HTC lockscreen can't work after deodex rom using kitchen(version 0.224),Why? - HTC Butterfly S

I got the stock ROM for the HTC Butterfly S, after I use the android kitchen(version 0.224) to deodex all the files under system/framework and system/app folders, It works properly. But when I flash the rom to the device, the system runs normally for the first start up. When I lock the screen, then the system will restart and will never start up to the lockscreen. So I analysised the log for the system start up. I found that it's a xml file in the framework-res.apk can't be read properly. But after I decompile the framework-res.apk, I found that the resouce is all right. I think this may be some verification error. because I met the same error when I deodex the HTC Butterfly X920e ROM.
So is there anyone can help? Some notes for deodex HTC Sense5 ROM using android kitchen also will be helpful. Thanks in advance.

Related

How to get the original camera.apk back?

I'm modifiying my own rom, and tring to find a way to recover the HTC camera to the stock one.
I did the following step but failed:
1. delete the /system/app/camera.apk and HTCAlbum.apk
2. paste the original camera.apk to /system/app
3. repack the rom and flash
But nothing happened, even there is no camera icon in the menu.
How should I get the stock one back? There is some bug with the HTC camera...
You can just push it. If you change it within the ROM and flash you must resign it.
alritewhadeva said:
You can just push it. If you change it within the ROM and flash you must resign it.
Click to expand...
Click to collapse
Is there any way to resign it? I want to cook my own rom instead of pushing it every time.
zhouzian said:
Is there any way to resign it? I want to cook my own rom instead of pushing it every time.
Click to expand...
Click to collapse
What OS are you using? Windows or Linux
alritewhadeva said:
What OS are you using? Windows or Linux
Click to expand...
Click to collapse
I'm on Windows...
Now I have find the way to resign the package. But I find there is a odex file following the same name apk file. Should I copy the odex file along with the apk file into the app directory?
My rom does not contain any odex file while another rom have many of them. Could any one tell me why?
zhouzian said:
I'm on Windows...
Now I have find the way to resign the package. But I find there is a odex file following the same name apk file. Should I copy the odex file along with the apk file into the app directory?
My rom does not contain any odex file while another rom have many of them. Could any one tell me why?
Click to expand...
Click to collapse
Odex optimization is just optimization. Copy the .odex file along with the .apk if its available.
The HTC camera has a bug that if you half-push the camera button, it will not only focus but also take a photo, not like the original one does.
I have done the following and both of them failed,
1. copy the camera.apk from JF 1.5, resigned the rom, and flash... There is no icon appearing in the menu
2. copy the camera.apk and odex file from ION build, resign and flash... The phone can not start up at all. It freeze at ANDROID logo.
I'm wondering if I have done in the wrong way... Could you offer some help?
Thanks in advance.
try to get the camera from the crc1 build
The problem is where to get...
All the other builds from CRC1 contain the odex file, which will broke the startup process.
could anyone send me the camera.apk and libcamera.so from CRC1?
just mail me: [email protected]
get it here http://forum.xda-developers.com/showthread.php?t=538456 donwload one of those ROMS
NO...it doesn't work. There is an odex file coming alone with the apk file. If I copy the apk and odex files into the CM rom, it will fail to startup. Seems CM rom can only accept standalone apk file.

[DEV] 99% deodexed GRI40 XXKB1 for Nexus S framwork and app dirs only

Hi,
My first deodexing, wasn't as simple as expected, I was surprised no one did it before me...
Deodexed: entire framework dir, and most of the app directory (all but 2 apks which refused to deodex...), as long as the framework is deodexed thats ok.
Needed it to patch the framework.jar for bidi language and it works, seems a bit of a lag after each boot before showing the widgets and apps but after that it runs smooth,
can someone explaing that maybe? something to do with unzipping delay maybe?
here is the file, enjoy.
http://www.multiupload.com/FRE906144I
EDIT1: this zip is not flashable nor is it full rom, just deodexed framework and app directories, use adb to push to device, it is working for me with no problems (except the delay at boot), no fc (forced.closed) at all.
flashable zip?
FaithCry said:
flashable zip?
Click to expand...
Click to collapse
its in a .zip so i would assume so. thats the only way to put new ROMs within Nexus S... unless you want to go to Odin which would be .tar
@OP
Was it bluetooth.apk & networklocation.apk? If so, I finally got those deodexed, but I couldn't get the framework.jar to deodex correctly xD
If you need/want them, I can send them to you.
#EDIT
Testing my build with your framework.jar to see if it works right..
#EDIT 2
I am still getting that da** framework fc lol. Let me logcat it..
#Edit 3
I think I might know what my issue is.. Trying a few things now
#Edit 4
I went back to my framework.jar and fixed some files & now it works.. Go figure! lol. I will upload in a bit
#Edit 5
The issues on my build were the messed up NetworkLocation.apk & Bluetooth.apk.. I fixed those, and we now have a fully deodexed 2.3.3
http://forum.xda-developers.com/showthread.php?t=971690
@OP You should change the thread title to [ROM] Stock 2.3.3 DEODEXED. I'll give it a flash in the morning and add it to my Roms, themes, and kernels thread You could even give it a flashy name hehe
The zip I supplied is not flashable as far as I know, I used adb in recovery mode to push the files to the phone,
my deodexed framework.jar works, I use it for a day now and also used a patching script on it to make it bidi enabled, and it still works, I get no fc's at all with it, just a delay on boot before I see all my widgets/icons, after that all ok.
I have a clean working nandroid deodexed backup which also has the bidi patch at:
http://www.multiupload.com/UQ364AHDWT

htc stock apk's

Does any one have stock htc apk's like lock screen, rosie, splash screen, ect... ? can some one pull these files from completely stock rom... also pandora transparent ect.... thank's
Download one of the de-bloated roms and open the zip file. The apks will be under the /system/app folder.

[Q] framework-res.apk modifying problem

Hi to everyone i have this problem:
I use this rom
http://forum.xda-developers.com/showthread.php?t=1019818
and i am trying to make some changes to framework-res.apk
I pull it out and changed some pngs.
When i push it back and restarted my phone i show the new theme but when i unlock the phone i am having a persistent fc from fonts.apk and the only solution is to pull the battery out and do a nandroid restore..
What i did exactly:
pulled out framework-res.apk with root explorer
I changed the pngs through 7zip
I pushed the new framework-res.apk back and gave the right permissions
An other thing is that when i tried to do the whole proccess through apk-manager i had a lot of .9 pngs errors.Is this a reason for the fonts.apk to fc?
I am new at this and i need your help
Thank you for your time
[SOLVED]
How did you solve it? Might help others.
Sent from my LG-P990 using Tapatalk

[GT-I9001]Need help! can't boot any ported ROM by me!!

Hello guys,
I tried to port different ROMs to my beloved s plus but none of them booted.
I can install them successfully but when I reboot system it stuck at the boot animation and then doesn't boot.....
What's the problem.
Here is the procedure I'm using to port ROM:
Copy any other file or folder present in the root of the ROM except system,META-INF, and boot.img from port to base
Delete :
Apps
Framework
Fonts
Media
Priv-app folders from base ROM and then copy:
Apps
Framework
Fonts
Media
Priv-apps from port to base ROM.
I go to ../Base ROM/system/etc/permissions/ and delete all files except handled_******** and platform then copy all other files except handled_******** and platform from ../Port ROM/system/etc/permissions to base's permissions folder.
I go to /Base ROM/system/etc/init.d and delete all files except 00banner or 99banner don't know for sure the name of the banner file.
Change the name of the ROM in build.prop with notepad++.
Make archive of the ROM (.zip)
Copy the ROM in the internal storage of s plus.
And then flash it on to my s plus.
I tried to port 4.4.4 and 4.4.2 ROMs from s2 and s4 but without success
I'm using TWRP 2.7.1.0 .
Is there anything I'm forgetting to do?
Please help!!!
Need help!!
Developers please help me out!!
Need help!
Are you having the same issue @shin_no40 ?
sent from my GT-I9001 using Tapatalk app and my fingers
Ask here forum.xda-developers.com/galaxy-s-i9000/i9001-development

Categories

Resources