[Q] Bootloop on framework-miui-res.apk recompiling - HTC Desire S

Hi there,
I got a bootloop issue when I decompile-recompile framework-miui-res.apk from MIUIv4 ROM using apktool. Decompilation comes without any error. Compilation passes after renaming <id> <xml> ... <layout> tags with <item type="id,xml...layout"> in res/ , but I get a bootloop then. When I keep original (signed) framework-miui-res.apk, everything works fine.
I tried new framework-miui-res.apk after a cache+dalvik wipe and a fullwipe and result is always the same even using an original "just" decompiled-compilation corrected-recompiled apk. Bootloop.
Take time to read the Logcat.
Thanks for help ! If you need any other information, do not hesitate .
KennyG9

up ! Still the same issue .

What are you using to compile?
Sent from my HTC Desire S

dan-fish said:
What are you using to compile?
Sent from my HTC Desire S
Click to expand...
Click to collapse
Thanks for answer.
apktool with $ ./apktool b framework-miui-res command. Simply .

KennyG9 said:
Thanks for answer.
apktool with $ ./apktool b framework-miui-res command. Simply .
Click to expand...
Click to collapse
I've had trouble with apktool before. Try seeing if apk manager solves your problem.

Nope, unfortunately, it didn't worked .

Have you tried different apk tool versions?
Swyped from my Desire S waiting for Kernel 3, WAKE UP HTC
Sorry for the swypos....

suku_patel_22 said:
Have you tried different apk tool versions?
Swyped from my Desire S waiting for Kernel 3, WAKE UP HTC
Sorry for the swypos....
Click to expand...
Click to collapse
Really fast answer. Thank you. I just used the last version. You think that a previous version (such as 1.4.2) should do the trick ? I read somewhere that debuild with 1.4.3 and rebuild with 1.4.2 gives surprising (good) results. I guess I did try it but it did not work.
KennyG9

KennyG9 said:
Really fast answer. Thank you. I just used the last version. You think that a previous version (such as 1.4.2) should do the trick ? I read somewhere that debuild with 1.4.3 and rebuild with 1.4.2 gives surprising (good) results. I guess I did try it but it did not work.
KennyG9
Click to expand...
Click to collapse
Had read somewhere that some times apk tool works with different versions
Bad luck mate, no idea on this
Swyped from my Desire S waiting for Kernel 3, WAKE UP HTC
Sorry for the swypos....

suku_patel_22 said:
Have you tried different apk tool versions?
Swyped from my Desire S waiting for Kernel 3, WAKE UP HTC
Sorry for the swypos....
Click to expand...
Click to collapse
Really fast answer. Thank you. I used the last version. You think that a previous version (such as 1.4.2) should do the trick ? I read somewhere that debuild with 1.4.3 and rebuild with 1.4.2 gives surprising (good) results. I did try it but it did not work.
KennyG9

i have still the same issue. Any solution for this?
greetz

me too.. Exact same one! I really need a solution for this!

Related

[FX-MOD][SENSE] Reboot option in power menu 3-in-1

uses htc widgets. minimal footprint (check out the patch).
enjoy
--
flashable zips for _deodexed_ roms: (do not flash them over odexed ones. if in doubt, consult your chef)
as the source code for htc's _heavily_ modified and extended android framework is not publicly available, implementing features like this isn't that straightforward as it is for aosp-based roms
i took the 2.2_r1.1 aosp sources, coded the reboot entry with the dialog (directly into the power menu to maintain a mininal footprint), created dummy stubs for external htc framework references, looked up and hardcoded htc string/icon resource ids, fiddled with the code until it barely compiled
then i baksmali'd my own build, took only the relevant changes, and injected them into the baksmali'd original
hi,
good work ;-) but i have one question:
did this work on auraxtsense 7.6? if yes, what file i need to download?
mindtwista said:
did this work on auraxtsense 7.6? if yes, what file i need to download?
Click to expand...
Click to collapse
2.10.406.2, just added
Very nice! Love it. Please provide some more instructions, compatibility issues, which ROMs should this work with.
Flashed on MCR 9
Finnaly booted ))
Take more than first time boot after flash the rom
Very nice work! Thanks!
snq- said:
2.10.406.2, just added
Click to expand...
Click to collapse
Really nice! That's what I was looking for!
I now have the reboot option in my AuraxTSense 7.6 I flashed 2.12.911.1 at first because I didn't know which one to use and it worked flawlessly. Now flashing the version 2.10.406.2 since it seems that's the one you are saying it's the one compatible with AuraxTSense
Thanks a lot. I'm really happy now. My rom now has everything I wanted
pascanu said:
Please provide some more instructions
Click to expand...
Click to collapse
check your framework build number (settings -> about phone -> software information)
select the package matching your build number
flash it in recovery mode (first boot may take quite a long time)
pascanu said:
compatibility issues
Click to expand...
Click to collapse
may interfere with other mods on android.policy.jar. ask your rom's chef about risks and side effects
pascanu said:
which ROMs should this work with
Click to expand...
Click to collapse
this is only for deodexed sense-based roms
I flashed 2.09.405.8 over Modified Official 2.2 by ieftim and I don't see any reboot option when I long press the power button. What am I missing?
stoned99 said:
Thanks a lot. I'm really happy now. My rom now has everything I wanted
Click to expand...
Click to collapse
glad you like it
pascanu said:
Modified Official 2.2 by ieftim
Click to expand...
Click to collapse
could you please provide a link to that rom? thx
nevermind i got it. it seems to be an odexed, thus not moddable one, sorry
snq- said:
could you please provide a link to that rom? thx
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=741663
(is in my signature )
snq- said:
nevermind i got it. it seems to be an odexed, thus not moddable one, sorry
Click to expand...
Click to collapse
Oooohhh... Well, thanks anyway.
Do you think there should be any side effect now that I flashed it? Everything looks OK (reboot took very little, not like everybody else is reporting, like nothing changed) but do you think I should reflash/nandroid restore?
pascanu said:
do you think I should reflash/nandroid restore?
Click to expand...
Click to collapse
restore your original files with this
ganjbass said:
Finnaly booted ))
Take more than first time boot after flash the rom
Very nice work! Thanks!
Click to expand...
Click to collapse
Ok.. i will try it again..i broke up...because i think it stay on the quietly brilliant screen...hope it works...sounds great
with kind regards..Alex
big thx for this mod
thx man, really needed this, great job !
snq- said:
restore your original files with this
Click to expand...
Click to collapse
Thank you Sir!
Köszönöm
I'd really like to try that but can't download 2.10... I do with 2.12 and 2.09 though, don't know why. Anyway thanks, this is much appreciated!
Alex-V said:
Ok.. i will try it again..i broke up...because i think it stay on the quietly brilliant screen...hope it works...sounds great
with kind regards..Alex
Click to expand...
Click to collapse
works...big big thanks

[HowTo] Make a ROM works on CM7r2 Hboot

Hi all.
All is on the title.
I'm creating my ROM (at least I try to ^^) and I would like to do a CM7 version.
Can somebody tell me what to do exactly please (updater, folder, etc)??
I'm cooking it with dsixda kitchen. And i work on latest RUU of Ace S (2.50. ... )
Thanks for any help.
Sent from my HTC Pyramid using XDA App
You can do it on a working rom too.
http://forum.xda-developers.com/showthread.php?t=992176
nobody knows?
please
Read that thread, you have a link to a guide how some other member made CM7 version od Leedroid 2.4 there.
aaah ok
i read the whole thread ^^ hadn't clicked on the link.
thanks
Or make it like i said in my pm
Nyto75 said:
aaah ok
i read the whole thread ^^ hadn't clicked on the link.
thanks
Click to expand...
Click to collapse
I reckon you will still need the help of experienced dev as the way how they symlink market cache to /data is not explained there (I don't know how to either, that ramdisk failed for me every time I tried it). Without it you will have a hard time updating apps with size >5mb.
o$$!ram said:
Or make it like i said in my pm
Click to expand...
Click to collapse
yes i know but you don't tell me how to edit updater :/ that's what i'm searching for
i think i'll do a normal A2SD version lol

[Q]Can I use UOT Kitchen with This Phone?

Hello Guys,
I have been wandering (NOOB QUESTION) if this would work. I know is a totally noob question, I googled it found no answers. I don't feel like bootlooping my device so I just want to know if it works?
I've used the kitchen using the Android Revolution rom. Works great. But always make a nandroid backup just in case.
alphadog32 said:
Hello Guys,
I have been wandering (NOOB QUESTION) if this would work. I know is a totally noob question, I googled it found no answers. I don't feel like bootlooping my device so I just want to know if it works?
Click to expand...
Click to collapse
Hi,
Works well.
Look here:
http://forum.xda-developers.com/showthread.php?t=1201255
malybru said:
Hi,
Works well.
Look here:
http://forum.xda-developers.com/showthread.php?t=1201255
Click to expand...
Click to collapse
DiZzle. said:
I've used the kitchen using the Android Revolution rom. Works great. But always make a nandroid backup just in case.
Click to expand...
Click to collapse
Works like a Charm, Thanks. Just can't use anymore because i S-ON'd for something important, and when I try to S-OFF the beta key is invalid! D:
alphadog32 said:
Works like a Charm, Thanks. Just can't use anymore because i S-ON'd for something important, and when I try to S-OFF the beta key is invalid! D:
Click to expand...
Click to collapse
Hi,
I had that problem when I did mine.
Copy and paste the key to notepad and check the o and zero , or the I and L .
malybru said:
Hi,
I had that problem when I did mine.
Copy and paste the key to notepad and check the o and zero , or the I and L .
Click to expand...
Click to collapse
I got it fixed the problem was the server was confused because i have requested keys over 20 times and so i had to download the new version and when i pasted it... it worked like a charm

new certs - facebook app error no peer certificat

OK...after some hours of search...i found out whats my problem with facebook app since one day...it can be that the certs are to old...so here is a update pack to flash newer certs from sense 3.5 worked good for me...
This is for all who have the same problem - no peer cert error
flash from recovery? no wipes?
Alex-V said:
OK...after some hours of search...i found out whats my problem with facebook app since one day...it can be that the certs are to old...so here is a update pack to flash newer certs from sense 3.5 worked good for me...
This is for all who have the same problem - no peer cert error
Click to expand...
Click to collapse
had this problem , but after 30 mins it worked again , didn't do anythin lol
leecavturbo said:
flash from recovery? no wipes?
Click to expand...
Click to collapse
from recovery no wipes !!
I to had this problem. It then suddenly went away, then intermittently keeps coming back, so will deff give this a go Alex! Ta very much!!!!
jory9 said:
had this problem , but after 30 mins it worked again , didn't do anythin lol
Click to expand...
Click to collapse
tried it since yesterday evening...and no luck (wiped cache..install new facebook app/a really old one...flash rom again..flashed (3.5 sense..work..so i maked this package flashed my rom again...tried again (old files..no luck.flashed new files..and work...after some research i saw a thread with ca cert...
with kind regards
Alsajosora said:
I to had this problem. It then suddenly went away, then intermittently keeps coming back, so will deff give this a go Alex! Ta very much!!!!
Click to expand...
Click to collapse
with kind regards
Alex-V said:
OK...after some hours of search...i found out whats my problem with facebook app since one day...it can be that the certs are to old...so here is a update pack to flash newer certs from sense 3.5 worked good for me...
This is for all who have the same problem - no peer cert error
Click to expand...
Click to collapse
Ta Chap.
Like many have had this problem (Google's full of these problems) over the last few days - looks to be sorted now.
Nice one.
So this'll work/be safe to try on any GB custom ROM?
worked fine to flash with my stock GB 2.3 with sense 2.1... Facebook is working now ... thanx Alex
solved it just by uninstalling facebook app and reinstalling it
Sent from my HTC Desire using XDA App
BluNoze said:
Ta Chap.
Like many have had this problem (Google's full of these problems) over the last few days - looks to be sorted now.
Nice one.
Click to expand...
Click to collapse
yeah..i searched also
ltGuillaume said:
So this'll work/be safe to try on any GB custom ROM?
Click to expand...
Click to collapse
jokk3 said:
worked fine to flash with my stock GB 2.3 with sense 2.1... Facebook is working now ... thanx Alex
Click to expand...
Click to collapse
yes..should work
stoned99 said:
solved it just by uninstalling facebook app and reinstalling it
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
like BluNoze says..google is full of it...and i tried it also with un-installing but no way...after i use the new certs..all problems solved..
with kind regards
stoned99 said:
solved it just by uninstalling facebook app and reinstalling it
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
It will return guaranteed lol
Sent from my %s using XDA App. rooted,neo,reflex,1.7,ext4
leecavturbo said:
It will return guaranteed lol
Sent from my %s using XDA App. rooted,neo,reflex,1.7,ext4
Click to expand...
Click to collapse
yes..have also read this
See, kids? This is how REAL developer looks like. Be sure to put it to your chicken brains.
Terepin said:
See, kids? This is how REAL developer looks like. Be sure to put it to your chicken brains.
Click to expand...
Click to collapse
he he..i just say..thx
what was the problem? not able to run the app? FC? not even installing it?
Don't know if it'll stick, but for now this is the only solution for me, where reinstall/cache wipe/whatever did not work... Thanks Alex!
@nikosrs4: The Facebook app would give a connection error "no peer certificate" which would render the whole app completely useless.
=(
i don't understand. What should i do whit the certificates?
ty
ltGuillaume said:
Don't know if it'll stick, but for now this is the only solution for me, where reinstall/cache wipe/whatever did not work... Thanks Alex!
Click to expand...
Click to collapse
if this works for you..all is good

[Q] How can I fix my wifi problem vipers rom 5.0 HTC Sensation ?

I recently install Vipers rom with sense 5, but the wifi is unstable did any one solved this issue?
Abdullahku said:
I recently install Vipers rom with sense 5, but the wifi is unstable did any one solved this issue?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2368501 read the first page and last few
Abdullahku said:
I recently install Vipers rom with sense 5, but the wifi is unstable did any one solved this issue?
Click to expand...
Click to collapse
I think it might be related to your SIM card as WiFi probably works without SIM, the new update coming for the ROM will more than likely fix this issue. There is a country WiFi fix here on xda for this type of issue but not sure if it works successfully with ViperS v5.0, could be worth a try though for the meantime.
Sent from my HTCSensation
thanx
Mile_zdr said:
http://forum.xda-developers.com/showthread.php?t=2368501 read the first page and last few
Click to expand...
Click to collapse
Thank you .. I didn't understand very well what I have to do, does it mean I have to replace the farmwork2 in the system file?? thanks for your help
Sorry for my English
hinxnz said:
I think it might be related to your SIM card as WiFi probably works without SIM, the new update coming for the ROM will more than likely fix this issue. There is a country WiFi fix here on xda for this type of issue but not sure if it works successfully with ViperS v5.0, could be worth a try though for the meantime.
Sent from my HTCSensation
Click to expand...
Click to collapse
Thank you, I have tried wifix, and didn't solve any thing it look like I have to wait the rom update :crying:
Sorry for my English
Abdullahku said:
Thank you .. I didn't understand very well what I have to do, does it mean I have to replace the farmwork2 in the system file?? thanks for your help
Sorry for my English
Click to expand...
Click to collapse
Abdullahku said:
Thank you, I have tried wifix, and didn't solve any thing it look like I have to wait the rom update :crying:
Sorry for my English
Click to expand...
Click to collapse
Yes you have to replace the framework2 and to add a line to build.prop ro.product.locale.region=US and that reboot your phone
I replaced the framework2 and wifi seems work fine
Mile_zdr said:
Yes you have to replace the framework2 and to add a line to build.prop ro.product.locale.region=US and that reboot your phone
Click to expand...
Click to collapse
Thank you very much, I replaced the framework2 and wifi seems work fine , but I couldn't add a line to build.pop using "ES Note Editor" and when I add this line ro.product.locale.region=US it says "Error occurred when trying to save the file. it will not be saved" :/
Thanx for helping
Abdullahku said:
Thank you very much, I replaced the framework2 and wifi seems work fine , but I couldn't add a line to build.pop using "ES Note Editor" and when I add this line ro.product.locale.region=US it says "Error occurred when trying to save the file. it will not be saved" :/
Thanx for helping
Click to expand...
Click to collapse
did you give root rights to the file manager?
Abdullahku said:
I recently install Vipers rom with sense 5, but the wifi is unstable did any one solved this issue?
Click to expand...
Click to collapse
"wifixmanager_1.32.apk" can solve your problem
mz1371 said:
"wifixmanager_1.32.apk" can solve your problem
Click to expand...
Click to collapse
he tried wifix manager
Thanx
rzr86 said:
did you give root rights to the file manager?
Click to expand...
Click to collapse
Finally yeeeeeeeeeeees, I missed this step, I did it now, and every things seems good
Thank you all

Categories

Resources