Hi There
after long work I've got the 4Way Reboot Mod ported to A700's!
With click on the power button AND then clicking "Turn Off Tablet" you get the advanced menu where you choose other Reboot Mod's.
A: Reboot --- restarts the tablet
B: Hot Boat --- starts the surface without completely reboot
C: Bootloader --- get into the fastboot download mode
D: Recovery --- get into installed Recovery
Thus, additional tools such as Quick Boot are unnecessary because now already in Rom
I built two versions, for Odex'd Rom´s and for deOdex'd
Both are from German RC16RV01 - 1.049 Version
MAYBE they DON´T work on other Releases!
There´s also an xyz-restore.zip so that you could restore the original state again, for those who want/need to uninstall the mod agai because of Bootloop or other problems.
Flash the Zip in CWM Recovery.
P.S. Screenshot is not original, but shows what happens if you press power button and then select Turn Off.
Flash happens as always at your own risk, a backup is preferable, I am not responsible for any damages!
What MOD will work on my A701?
i think no one
i need to have the original a701 files do look inside if there are same or different, then it´s possible to flash it else you may brick your os, get bootloop or something else.
you can try it but change in restore.zip my files to your original files, so you can go back if something messed up
greetz
meier2009 said:
i think no one
i need to have the original a701 files do look inside if there are same or different, then it´s possible to flash it else you may brick your os, get bootloop or something else.
you can try it but change in restore.zip my files to your original files, so you can go back if something messed up
greetz
Click to expand...
Click to collapse
Meier, I would put the Version Number you got that policy.jar from. Not sure if these things are all the same with JB, but am pretty sure they are device specific.
If you want to do one for the JB 701,I've attached it to this post.
MD
Good idea, THX for file
..................
Sorry für manche Schreibfehler, aber mit Slide It ist zwar schnell aber nit schön geschrieben!
Gesendet vom Note OTA
...................
meier2009 said:
Good idea, THX for file
..................
Sorry für manche Schreibfehler, aber mit Slide It ist zwar schnell aber nit schön geschrieben!
Gesendet vom Note OTA
...................
Click to expand...
Click to collapse
No problem Mate.
MD
I built two versions, for Odex'd Rom´s and for deOdex'd
Click to expand...
Click to collapse
Can you elaborate on the difference between the two?
ExtremeRyno said:
Can you elaborate on the difference between the two?
Click to expand...
Click to collapse
A odex'd rom, is when basically it is a "stock" configuration. Most "custom" roms, have the odex built into the apk, in the form of "classes.dex".
If you have a stock rom, it is what we call "origin odex", or just "odexed" It has an APK and an odex file.
Custom, are usually "de-odexed"
MD
Moscow Desire said:
Meier, I would put the Version Number you got that policy.jar from. Not sure if these things are all the same with JB, but am pretty sure they are device specific.
If you want to do one for the JB 701,I've attached it to this post.
MD
Click to expand...
Click to collapse
hi there
i need the bootclasspath please
in shell type :echo $BOOTCLASSPATH
and also an system-dump or all files inside framework folder
meier2009 said:
hi there
i need the bootclasspath please
in shell type :echo $BOOTCLASSPATH
and also an system-dump or all files inside framework folder
Click to expand...
Click to collapse
Here you go Mate. System dump is at: http://d-h.st/ag4
Bootclasspath is attached here.
Thanks!
MD
THX,
can anyone up a screenshot of PowerOFF Menu?
Here you go. Should be the same as the 700.
MD
yes, it is, want to be sure
can anyone send me the Background
I will try to explain how i did it.
I used this HowTo an changed the suggested filenames to android.policy.jar/odex an worked with them to deodex and then (if necessary) reodex the files.
(translated-url) i looked at the translated page and think it should be no prob to follow on trans-english, BUT BE CAREFULLY, in CODE Area´s the folderstring is with an additional space, take the original one or remove it
in the howto for 4Way Reboot Mod they are searching for the line with GlobalActions$4.smali and changed them to 99 to link to the append files for reboot-menu.
to find out which file is needed i had to search for "shutdown" inside the files and find it in GlobalActions$2.smali (so let´s try it)
for us there is in line 647 and 655 the link to GlobalActions$2.smali, we change them to GlobalActions$99.smali
save the file an go on in the tutorial. [look append pic2]
add the extra lines , including "<clinit>" like it´s supposed in HowTo Post105, to GlobalActions$SinglePressAction.smali and copy the 99er´s files to the folder [look append pic1]
that´s it
now compile back the classes.dex an put it into the jar-file and you got your deodex´d android.policy.jar
after that you have to go to the deodex/odex howto to point 5.4. and reodex the file and change the signature. that i can´t do for you because it´s done on the Tab (or don´t figures out how to odex them "offline")
i will add you the compiled android.policya.jar with the included classes.dex
i also add the original and patched smali-files so you can winmerge the differences
and also the classpath txt with the corrected line for CMD
i hope u understand :good:
Thanks for putting it together! I'll probably use it in my de-odexed version as soon as I get the free time. Hopefully soon.
MD
Related
hey guys,
i just re-compiled latest 1.47.401.4 EU shipped rom with root permissions and i'm missing extended power menu with more reboot options like in custom roms (lbc,virtuous...)
what should i do to get that?i assume that need to edit framework.apk or similar but i wonder is there any way to use files from custom roms,if yes which one.thx.
....anyone??
+1 - exactly what I'm looking for too. Must be available as an .apk from somewhere, surely ...
chris5s said:
+1 - exactly what I'm looking for too. Must be available as an .apk from somewhere, surely ...
Click to expand...
Click to collapse
i think we need to modify framework.apk but not sure how ...
Use the UOT Kitchen to add the Power Menu.
If i tell you the exact files i reckon ill end up having to explain baksmali lol
i cooked and deodexed rom so u no need to explain.
just need to know what files to edit...or how to do power menu with UOTK
MarylandCookie said:
Use the UOT Kitchen to add the Power Menu.
Click to expand...
Click to collapse
Ok thanks. The kitchen's pretty busy just now so will have a look later.
Sent from my HTC Desire S
i found that andoid.policy.jar of specific build must be edited but have no clue how to do that lol
cant find any info about that
Here you go:
codryn said:
Someone was asking how to remove hot restart from advanced restart menu because the phone is hanging when using that option (including myself and I have to restart phone using hard keys).
1. That option is present in com/android/internal/policy/impl/GlobalActions$SinglePressAction.smali
2. To have access to that option go in your ROM/system/framework/android.policy.jar
3. Extract classes.dex from file.
4. Use baksmali to decompile classes.dex. I`m using AutoSmali 1.0 from HERE
5. Use a text editor to edit GlobalActions$SinglePressAction.smali.
6. Hot Restart is present in const-string v2, "Hot restart"
Now I`m not sure what to do next. Is enough to delete that string? If yes here is the edited file: View attachment 676952 (you have to unrar it first to use)
Click to expand...
Click to collapse
Hi guys!
I want to share this extended power menu.
How to install:
Extract the archive and put the files to system/framework, then reboot the phone. DEODEX IS REQUIRED!
Screenshot: http://img442.imageshack.us/img442/4664/sc20111013135232.png
Files: http://www.4shared.com/file/QwbwVcvF/PowerMenu.html
Tested on my S+ with XXKP4.
---------------------------------------------
I'm not responsible for your device
---------------------------------------------
Thanks to stemline @ 4pda.ru
karo_96 said:
--- wait ---
Click to expand...
Click to collapse
awesome
android69800 said:
awesome
Click to expand...
Click to collapse
Dont worry Edited
hey karo..i have a suggestion......y dont u mix with a theme?
sakindia123 said:
hey karo..i have a suggestion......y dont u mix with a theme?
Click to expand...
Click to collapse
if u r with a custom theme - maybe.
How we can DEODEX sgs+???
I like those extra options. Wondered why there wasn't reboot option allready.
mal13 said:
How we can DEODEX sgs+???
I like those extra options. Wondered why there wasn't reboot option allready.
Click to expand...
Click to collapse
Take a look at this - http://forum.xda-developers.com/showthread.php?t=1266209
there no ned to deodex....just replace ur existing file with this file and delete the .odex file!
sakindia123 said:
there no ned to deodex....just replace ur existing file with this file and delete the .odex file!
Click to expand...
Click to collapse
Hmm, I think without deodex the phone will stuck in bootloop.
edit: which odex file?
karo_96 said:
Hmm, I think without deodex the phone will stuck in bootloop.
edit: which odex file?
Click to expand...
Click to collapse
the associated .odex!
sakindia123 said:
the associated .odex!
Click to expand...
Click to collapse
If you say it's true, maybe
Hey!
Do you know what I have to edit to remove the prompts for "Reboot", "Recovery" and "Download" of the Extended Power Menu that ask if I REALLY want to do the action?
Since the "Power off" action of the original menu doesn't ask for confirmation, I think it'd be more consistent to have these from the extended menu do the same as well!
Thanks
and also could you provide us the informations how to do this extended power menu since i want to keep my icons ^^
How is this done actually? is it through kitchen? but i cant seem to find any power menu option >.<
How to make the extended power menu myself?
it will works with 2.3.6 too? - ROM I9001XXKPS
btw what about to create zip package flashable via CWM?
prescott66 said:
it will works with 2.3.6 too? - ROM I9001XXKPS
btw what about to create zip package flashable via CWM?
Click to expand...
Click to collapse
No need, as replacing framework-res.apk is faster with root explorer
karo_96 said:
Hmm, I think without deodex the phone will stuck in bootloop
Click to expand...
Click to collapse
Yup, in my case with an odexed ROM (without deodexing) it first started to FC when the files were replaced, and then got stuck in bootloop after factory reset.
prescott66 said:
it will works with 2.3.6 too? - ROM I9001XXKPS
Click to expand...
Click to collapse
Above bootloop was caused by XXKPS. After reverting to XXKP4 it was ok again... haven't tested (yet) whether Power Menu works find without deodexing XXKPS, but will try later
Ok... tried everything, but can't get it to work, not even in XXKP. Can someone explain the exact steps to take?
I tried:
1. copying files, deleting the odex versions, restart device -- nothing
2. deleing odex, copying files, restart device -- nothing
3. deodex, copying files, restart device -- nothing
So far power menu will not showup...
(battery indicator did change btw)
Regards,
Nika.
[ROM ORIGINAL & ROOTED EDITION] RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1 [UPDATE 12/16]
Searching the original RUU ROM?
RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1_Radio_12.65.60.29_26.14.04.28_M_release_225512_signed.exe
Take this & enjoy!
http://www.multiupload.com/74DIWTH88Y
Mirror:
http://www.multiupload.com/FKJ8B7Q0QM
>>>>> UPDATE <<<<<
OK, folks!
For some unknown reasons a lot of users asking for a REAL ORIGINAL ROOTED ROM. This is a PD98IMG.ZIP file which is flashable via the boot loader.
Now I'll present you this ROM at this download:
http://www.multiupload.com/AURLLESU5V
- EVERYTHING is still ORIGINAL
- NOTHING has changed or added or modified at this ROM
- Bussybox is installed
- Toolbox is installed
- Superuser 3.07 is installed
The ONLY exception is the RECOVERY partition. I still like to use the 4ext to do some backups and other things. That's the reason why I keep this partition within the ROM.
Finaly here are common questions and answers about this ROM:
Q: How to update?
A: Just download the PD98IMG.zip and store it on your SDCARD. Unplug the batterie, plug it back and press the VOL-DOWN key for enter the bootloader. That's it.
Q: Does it work on every device?
A: Don't know. But it's working on every device with S-OFF
Q: This ROM is a peace of crap! Why the hell the "lib" folder is not within the "system" partition?
A: This question you should ask HTC. If you need the "lib" folder within the "system" partition please use an other image than this because this is ORIGINAL!
Q: Where I can add some support question about this ROM?
A: Use the trash bin because I will not give any support or add features or anything else to this ROM.
Q: Do you plan to do other things with this ROM?
A: NO!!!!!!!
Q: I love this ROM. But I want to do some changes and release this to the community. Is this O.K.?
A: From my point of view this ROM is Public Domain. Don't ask. Enjoy it and do it!
Regards!
http://forum.xda-developers.com/showthread.php?t=1382235
denied1977 said:
http://forum.xda-developers.com/showthread.php?t=1382235
Click to expand...
Click to collapse
This one is rooted and it's not the EXE
MrT69 said:
This one is rooted and it's not the EXE
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1335027
?
Damn!!!
Sometimes I hate your postings @ Mike1986
Sorry m8 - wasn't aware that this ROM is already available...
MrT69 said:
Damn!!!
Sometimes I hate your postings @ Mike1986
Sorry m8 - wasn't aware that this ROM is already available...
Click to expand...
Click to collapse
multiupload is much better so its a plus =D
how can i root it, i unintentionally install it on my phone and i cant get rid of
U need to install the recovery.img from mike1986 ROM 6.1x
How to do?
Make a PD98IMG.ZIP file which contains the android file and recovery.img
Flash this and then install the superuser 3.07
But fyi - the lib folder is outside the system.img
So if you want to install additional things to this ROM it might be that this will not work.
Sent from my Desire HD using XDA App
is it official htc rom
evanbigfan said:
multiupload is much better so its a plus =D
Click to expand...
Click to collapse
http://driphter.com/index.php?topic=3872.0
better than multiupload
""desire s"" ??
i tried to de-odex this rom with dsixda kitchen but unsuccessful due to 2 files not successfully de-odex in app folders....
anybody got any luck in de-odex the rom?
arzme said:
i tried to de-odex this rom with dsixda kitchen but unsuccessful due to 2 files not successfully de-odex in app folders....
anybody got any luck in de-odex the rom?
Click to expand...
Click to collapse
the two that dont get deodexed is maps and google voice if im not mistaken. just replace them with the apk's from market. This happens for most all htc ruu's.
The important files still get deodexed though, and thats what matters.
JSLEnterprises said:
the two that dont get deodexed is maps and google voice if im not mistaken. just replace them with the apk's from market. This happens for most all htc ruu's.
The important files still get deodexed though, and thats what matters.
Click to expand...
Click to collapse
u are spot on abt the 2 files that fail to de-odex.
need a clarify abt "just replace them with the apk's from market".... u mean, while de-odex, just remove the file and after flashing the rom, then install the 2 files from market...
or i need still to replace the file before zipping them back into roms?
anyway, thanks for sharing the knowledge.
arzme said:
u are spot on abt the 2 files that fail to de-odex.
need a clarify abt "just replace them with the apk's from market".... u mean, while de-odex, just remove the file and after flashing the rom, then install the 2 files from market...
or i need still to replace the file before zipping them back into roms?
anyway, thanks for sharing the knowledge.
Click to expand...
Click to collapse
Use whatever Rom you have on your device now, use a file explorer to get into /data/app and copy the Apk's specific to maps (com.google.maps) and voice (com.google.[somethingorother].voice) and copy em to your sd. Then plug in to pc, choose storage mode, and move em to your pc. Or if you're familiar with adb commands, you can go that route, but you need to know the exact filename of the Apk.
Sent by magic from my fingertips
JSLEnterprises said:
Use whatever Rom you have on your device now, use a file explorer to get into /data/app and copy the Apk's specific to maps (com.google.maps) and voice (com.google.[somethingorother].voice) and copy em to your sd. Then plug in to pc, choose storage mode, and move em to your pc. Or if you're familiar with adb commands, you can go that route, but you need to know the exact filename of the Apk.
Sent by magic from my fingertips
Click to expand...
Click to collapse
okay understood. thanks.
arzme said:
okay understood. thanks.
Click to expand...
Click to collapse
ok, so click thanks.
JSLEnterprises said:
ok, so click thanks.
Click to expand...
Click to collapse
it didn't work....
first method: before odex, i replaced the map.odex - de-odex didn't work
second method: delete both the map.odex & map.apk, then replaced with a map.apk - rom hangs on boot up
third method: delete map.odex & map.apk and continue to cook - rom hangs on boot up
arzme said:
it didn't work....
first method: before odex, i replaced the map.odex - de-odex didn't work
second method: delete both the map.odex & map.apk, then replaced with a map.apk - rom hangs on boot up
third method: delete map.odex & map.apk and continue to cook - rom hangs on boot up
Click to expand...
Click to collapse
Delete the apks that didn't de odex and then create a seprate folder with the data/app option put the 2 you want from market/phone in to that folder should be ok then
sent from my dhd
able to successfully de-odex and cook the rom.... my initial problem when the rom can't boot is due to the rom tht i use to cook... i have to do again, the extraction of the rom from the RUU. maybe my first time, the rom got corrupted.
thanks to all tht one way another, give their helps.
Hi,
After flashing a custom rom I noticed that rom didn't have my language, so I wanted to add it to this custom rom.
After a great and long journey and thx to the info found on this forum I managed to add the language I wanted.
During the journey I started to write a small tool to make the whole process a bit less painful. The tool has been growing from as simple batch decomiple - recompile apk tool to 1 that adds the value folders and do the resources.arsc switch thing.
This is my 1ste release and is still a beta version so still has some errors, stuff to be added and bad code. But still I hope some of you can use it.
If you got any questions just post or pm
Greetings
Installing the tool.
Just extract all files to your root folder and run the ignite script as root. That's it.
There is a help option that guide you step by step.
EDIT: Small adjustment in the language lists and added the Custom_language_list option
EDIT: Like I said tool is still in beta stage, it seems that yesterday in my hurry to get it ready I screwed up big time (like command to make a cp without telling where to copy to) anyway already beta version 1.1 is out now
UPDATE: 1ste real release out now.
Killed some more bugs
Updated the help page
Added some layout editing
Added or updated the log handeling
how can i insert pt language on last jaggyrom for htc explorer ?
I would appreciate if u created a 'How To' for Super Noobs like me ...
a windows version
If there is a windows version,it will be more appreciated.
bascro said:
I would appreciate if u created a 'How To' for Super Noobs like me ...
Click to expand...
Click to collapse
There is a help function in the tool that guide through most of the steps from the moment you got your hands on tha apk files.
So now the question is how to get those apk files.
Well I like to use Android-Kitchen to unpack rom's, and you'll need that tool anyway to add the new apk files to the rom.
1. Decompile the rom containing the language you want. (Can be stock-rom, your original rom, other custom,...)
2. Copy all the apk files from the systeml/app folder to the stock_APK.
3.Copy the framework-res.apk and com.htc.resources.apk from the system/framework folder to flare/framework and the stock_APK folders
The rest of the how you'll find when you start APK-Fire and use option 'h'
Note: Not all of the apk file will decompile without errors, those that give errors (like market, street, superuser,...) you don't realy need to add language so just delete those apk's from the stock_APK and the decompiled_APK folders.
pedrofidalgo said:
how can i insert pt language on last jaggyrom for htc explorer ?
Click to expand...
Click to collapse
To add portugees you can choose to add all the languages from the South_West_Europe list.
or
you put pt and pt-rPT (each on a diff line) to the Custom_language_list.
then follow the steps you'll find in help option.
picodaren said:
If there is a windows version,it will be more appreciated.
Click to expand...
Click to collapse
There is a windows version called APK Edit
Only prob here is that you have to open the apk that has the wanted language, copy those folders, open the apk from the rom where you want to add the language to and repeat this process for all the apk files 1 by 1.
If you take this road plz let me know how long it took yah
i have jaggy rom. and a backup of my stock rom in Portuguese. can i install pt language on jaggy rom ?
Need a little help .. : p
pedrofidalgo said:
i have jaggy rom. and a backup of my stock rom in Portuguese. can i install pt language on jaggy rom ?
Need a little help .. : p
Click to expand...
Click to collapse
sure you can.
Step trough:
1 Set-up Android-kitchen
2 Decompile your stock rom
3 copy the content of the system/apk folder to the APK-Fire/stock_APK
4 copy the 2 apk files from system/framework to APK-Fire/stock_APK AND APK-Fire/flare/framework
5 Start APK-Fire and install the frameworks (option 1)
6 Decompile the apk files (option 2)
7 Add the language code to the Custom_language_list each language code get's it's own line. (you find this file in the APK-Fire/lighter folder) for portugees you add something like this:
pt
pt-rPT
8 Get the value folders containing the portugees language (option 4)
9 Now you can choose to back up the stock_apk and the decompiled_apk folders (option 6 / 1) or delete the content of those 2 folders.
10 Got back to the kitchen and decompile the Jaggyrom and repeat the steps 2 till 6 as before.
11 Now copy the value folders you took from the stock rom to the jaggyrom (option 5)
12 Recompile the apk files (option 3)
(check log for errors, warnings you could ignore but errors need attention, be aware that non stock apps mostly will give errors but those also don't need additional language)
13 Do the resources.arsc switch thing to fool the signature security (option 6)
(for more info what this is all about read the switch_resources script)
14 Copy your upgraded apk files from the APK-Fire/firebox/translated_APK folder to the Android-kitchen/WORKING_****/system/app (don't forget to copy the 2 framework apk files to the Android-kitchen/WORKING_****/system/framework folder and not the app folder)
15 Cook your rom
16 Flash the rom
17 Hold your fingers crossed while booting
18 Hopely enjoy the costum rom in your desired language.
Hope this helps you.
Cosmoon said:
sure you can.
Step trough:
1 Set-up Android-kitchen
2 Decompile your stock rom
3 copy the content of the system/apk folder to the APK-Fire/stock_APK
4 copy the 2 apk files from system/framework to APK-Fire/stock_APK AND APK-Fire/flare/framework
5 Start APK-Fire and install the frameworks (option 1)
6 Decompile the apk files (option 2)
7 Add the language code to the Custom_language_list each language code get's it's own line. (you find this file in the APK-Fire/lighter folder) for portugees you add something like this:
pt
pt-rPT
8 Get the value folders containing the portugees language (option 4)
9 Now you can choose to back up the stock_apk and the decompiled_apk folders (option 6 / 1) or delete the content of those 2 folders.
10 Got back to the kitchen and decompile the Jaggyrom and repeat the steps 2 till 6 as before.
11 Now copy the value folders you took from the stock rom to the jaggyrom (option 5)
12 Recompile the apk files (option 3)
(check log for errors, warnings you could ignore but errors need attention, be aware that non stock apps mostly will give errors but those also don't need additional language)
13 Do the resources.arsc switch thing to fool the signature security (option 6)
(for more info what this is all about read the switch_resources script)
14 Copy your upgraded apk files from the APK-Fire/firebox/translated_APK folder to the Android-kitchen/WORKING_****/system/app (don't forget to copy the 2 framework apk files to the Android-kitchen/WORKING_****/system/framework folder and not the app folder)
15 Cook your rom
16 Flash the rom
17 Hold your fingers crossed while booting
18 Hopely enjoy the costum rom in your desired language.
Hope this helps you.
Click to expand...
Click to collapse
i dont know how to do it :/
if i give you my backup can you add pt language for the last jaggyrom ?
cumps
really??
I've already robbed the experience from you of wandering through the jungle of this mystic entity called Android by making the wandering seem nothing more then a walk through the park.
And now you tell me you don't want to know this mystic entity?
Nah I don't buy that, you almost got me there.
I'm willing to guide you through every step but I refuse to carry you.
If you'r on IRC or msn or I can meet you there to start your journey.
Btw at the current rate Jaggyjags is spitting out rom's I can't keep up adding stuff for everyone so I go by the rule:
You translate 1 version of a rom for a man and you made him happy till the release of the next version. You teach a man how to translate a rom and you made him happy for many versions
pedrofidalgo said:
i dont know how to do it :/
if i give you my backup can you add pt language for the last jaggyrom ?
cumps
Click to expand...
Click to collapse
seriously, I know you like your phone and want get the best out of it but your maximum effort is installing .zip roms or .zip updates?
you've got 2 options.
1. Stick with whatever you have right now: your Portuguese backup or any available custom rom.
2. research, research again, try things out and learn. Try to stop asking people to do things for you. It's difficult, I know, specially when you are used to it, but don´t worry, it always is.
Believe me, it is a really nice feeling when you get things done on your own.
good luck
Would you teach us HOT TO DO IT MANUALLY (without using APK Fire)
pmeler said:
Would you teach us HOT TO DO IT MANUALLY (without using APK Fire)
Click to expand...
Click to collapse
Well.... all right then
I've explained most of how to add language already, k most of it in close relation with the use of APK-Fire. Anyway I'll try to explain the whole process starting from the base rom till the modified one.
Step 1
Check if your (custom) rom really really doesn't have your language. Try also 'morelocal' app. This simple step can save you lot's of time
Step 2
Now that you't sure that the (custom) rom doesn't have your language or you just want to add more languages to the rom you build your self you have to go and look for roms that do have the language(s) your want to add.
Possible finding places:
- different versions of the leaked stock rom
- Others people custom rom's
- Rom's for other devices. ! Won't work for the 2 framework apk files, but has good chances to work with the other apk files !
Step 3
Question now probably is how can I find out what languages a rom contains (specialy those for other devices). Well easy, you just have to dismantle the rom's and to be sure a few apk files.
The easyest way to dismantle a rom is to use Android-Kitchen. This tool doesn't need alot of installing or modification but I do recommend you read the how to etc.
So now you have easy access to all the content files of the rom.
Take a few apk files from the system/app folder and dismantle them with 'Apk Tool' or if you realy want to go hardcore 'aapt'. And check the 'app-name'/res for 'values-*' folders that you need.
Step 4
Now that you've found the folders containing the translation (those values-* folders) you've got to copy them to to 'app-name'/res of the afk file from the rom you want to add language to.
dismantled app from copy value folders dismantled app from
rom with language -----------------> rom without language
Step 5
recompile the dismantled app where you just added the value folders to
Step 6
You thought you where allmost done didn't you??? Now the real fun part just starts.
In order to bypass the security that check for the integity of the apk file we need to cheat abit.
You need the new apk file and the original apk (the one without the language)
*rename the 'app-name'.apk file (from both version) to 'app-name'.zip
*delete the resources.arsc file from the original 'app-name'.apk (now temporaly 'app-name'.zip)
*take that same file from the new apk file and copy it to the original apk
* rename the original back from 'app-name'.zip to 'app-name'.apk
* Copy that apk file back into the rom (Android-Kitchen remember)
Step7
Now you repeat this proces for ALL apk files you find in the rom.
Yup all +100 apk files from 1 rom + the same +100 apk files from the other rom need to get this treatment.
Step 8
Cook rom
So you see 8 simple step is more or less what it takes.
Same tutorial but better here
Even more resources here and here
Updated the tool
Cosmoon said:
Updated the tool
Click to expand...
Click to collapse
It doesn't seem to do the last step for me. The one that is supposed to copy the resources.arsc. It just creates another copy of the stock, without the new resources.arsc.
Any idea of what's going on? Would be a flavor to not have to do this manually!
Hmm I fully tested the latest update with the 2 rframework apk files and everything worked fine.
Are you sure that it's just a copy of the stock apk folder?
The switch_resources script does all the final steps. renaming, delete file from stock, copy from new to stock and rename back.
As I still have to add loggin to this part you should see an output on screen showing what the script is/was doing.
While that part is running you should see a folder called 'temp' (inside firebox or 1 of the subfolders of firebox).
Inside the firebox/recompiled_APK you should find a folder for each app containing the resources.arsc file.
And as last check you can compair the size of the 3 diff apk files. (stock, recompiled and translated). If I'm not mistaken the translated is the smallest (how strange it may sound)
Also make sure the tool is in your root folder.
If possible send me the output you get during this fase.
Cosmoon said:
Hmm I fully tested the latest update with the 2 rframework apk files and everything worked fine.
Are you sure that it's just a copy of the stock apk folder?
The switch_resources script does all the final steps. renaming, delete file from stock, copy from new to stock and rename back.
As I still have to add loggin to this part you should see an output on screen showing what the script is/was doing.
While that part is running you should see a folder called 'temp' (inside firebox or 1 of the subfolders of firebox).
Inside the firebox/recompiled_APK you should find a folder for each app containing the resources.arsc file.
And as last check you can compair the size of the 3 diff apk files. (stock, recompiled and translated). If I'm not mistaken the translated is the smallest (how strange it may sound)
Also make sure the tool is in your root folder.
If possible send me the output you get during this fase.
Click to expand...
Click to collapse
They are identical, not even smaller so Although i was running this in cygwin on windows so it might be that. I'll try to boot it up in ubuntu to see if it's any difference Could be the su that's messing with me in cygwin :S
leolulz said:
They are identical, not even smaller so Although i was running this in cygwin on windows so it might be that. I'll try to boot it up in ubuntu to see if it's any difference Could be the su that's messing with me in cygwin :S
Click to expand...
Click to collapse
Never tried it on windows with cygwin, I'm running a debian linux, so that could be the thing that's messing it up.
Still good to know that only that part doesn't work on windows, I'll see if I can modify the script.
THANK YOU Cosmoon !
I asked because I want to remove unsued language from framework-res.apk to make it slimmer
Cosmoon said:
Never tried it on windows with cygwin, I'm running a debian linux, so that could be the thing that's messing it up.
Still good to know that only that part doesn't work on windows, I'll see if I can modify the script.
Click to expand...
Click to collapse
Ye, but it could work although, i never checked the su/root stuff, kinda rushed it yesterday to see how it worked Anyways it's a nice script and ill love to see this project getting further
pmeler said:
THANK YOU Cosmoon !
I asked because I want to remove unsued language from framework-res.apk to make it slimmer
Click to expand...
Click to collapse
Hmm never thought about that. Only thinking of adding stuff but having a option to remove can be handy to.
I'll add it in the next update.
Thx great idea man
Hi all!
Is there a way to get a mod in order to add toggles (airplane, reboot, power off buttons) for a odex stock rom LSZ Rooted?
TNX a lot
try this!!! http://forum.xda-developers.com/showthread.php?t=2151953
diruengeru said:
try this!!! http://forum.xda-developers.com/showthread.php?t=2151953
Click to expand...
Click to collapse
Won't work because he's using a odexed Rom whereas the Mods only work in a deodexed Rom
Sounds silly but what if he just delete SystemUI.apk and SystemUI.odex, services.jar and services.odex files then flash the mentioned mod, will it be OK???
tbh, I didn't test this method, although it works in some other mods!!!
majdinj said:
Sounds silly but what if he just delete SystemUI.apk and SystemUI.odex, services.jar and services.odex files then flash the mentioned mod, will it be OK???
tbh, I didn't test this method, although it works in some other mods!!!
Click to expand...
Click to collapse
I have Odex firmware, but I put all the fashion, because I can make the necessary files Odex
odexer4_update_external_sd.zip: http://yadi.sk/d/CQSFNoCO2uNMD
odexer_4_update_internal_sd.zip: http://yadi.sk/d/ZLLm-1Qw2uNMF - Who's supposed to, I can write a guide on how to do it, it is elementary
majdinj said:
Sounds silly but what if he just delete SystemUI.apk and SystemUI.odex, services.jar and services.odex files then flash the mentioned mod, will it be OK???
tbh, I didn't test this method, although it works in some other mods!!!
Click to expand...
Click to collapse
I've tried it doesn't work...
ThaiDai said:
Won't work because he's using a odexed Rom whereas the Mods only work in a deodexed Rom
Click to expand...
Click to collapse
Yes it's true...
Klementiy said:
I have Odex firmware, but I put all the fashion, because I can make the necessary files Odex
odexer4_update_external_sd.zip: http://yadi.sk/d/CQSFNoCO2uNMD
odexer_4_update_internal_sd.zip: http://yadi.sk/d/ZLLm-1Qw2uNMF - Who's supposed to, I can write a guide on how to do it, it is elementary
Click to expand...
Click to collapse
Sorry I've not understood. Do you have a way to add toggle on LSZ odex stock rom? If it works, can you write a little guide to do it, please?
updated instructions and changed the translator http://forum.xda-developers.com/showpost.php?p=38715726&postcount=14
Thanks a lot Klementiy. I went through odexer.sh, and it seems so simple now.
I can confirm that this works.. If someone want the CWM package for Odexed LSZ, I can post it here.
Klementiy said:
Instructions on how to make Odex:
1. For First you need to open an archive with modifications and see what sort of files
2. Look on your phone or at this address https://docs.google.com/folder/d/0B...ring&pli=1&docId=0B_tjIX7pV_liQjR3VGhoY0VMSWM which of these files have a second file Odex
3. Install this archiver https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver ZArchiver.apk: http://yadi.sk/d/qhsL2d8n31-w8 and in the settings set compression "uncompressed"
4. From the archive with modifications extract the Deodex files for which you want to create files Odex
5. With an archiver to open our tool odexer_4_update_internal.zip: http://yadi.sk/d/ZLLm-1Qw2uNMF and on the way tmp / MOD add the Deodex file to the appropriate folder for which you want to make a file Odex
6. Exit from the archiver, go to CWM and install the resulting archive
7. After application of the archive in the internal memory card appears folder odexer, in which be necessary apk and odex and which is necessary to put a hands in system, framework and preload, because when they wrote the script, then the preload section has not yet been activated by the system
... shorter than anyone should, he will understand, good luck !
Click to expand...
Click to collapse
R: <req>Add toggles to stock LSZ
Klementiy said:
Instructions on how to make Odex:
1. For First you need to open an archive with modifications and see what sort of files
2. Look on your phone or at this address https://docs.google.com/folder/d/0B...ring&pli=1&docId=0B_tjIX7pV_liQjR3VGhoY0VMSWM which of these files have a second file Odex
3. Install this archiver https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver ZArchiver.apk: http://yadi.sk/d/qhsL2d8n31-w8 and in the settings set compression "uncompressed"
4. From the archive with modifications extract the Deodex files for which you want to create files Odex
5. With an archiver to open our tool odexer_4_update_internal.zip: http://yadi.sk/d/ZLLm-1Qw2uNMF and on the way tmp / MOD add the Deodex file to the appropriate folder for which you want to make a file Odex
6. Exit from the archiver, go to CWM and install the resulting archive
7. After application of the archive in the internal memory card appears folder odexer, in which be necessary apk and odex and which is necessary to put a hands in system, framework and preload, because when they wrote the script, then the preload section has not yet been activated by the system
... shorter than anyone should, he will understand, good luck !
Click to expand...
Click to collapse
Thank you very much
Inviato dal mio GT-N8000 con Tapatalk 2
R: <req>Add toggles to stock LSZ
shardul_seth said:
Thanks a lot Klementiy. I went through odexer.sh, and it seems so simple now.
I can confirm that this works.. If someone want the CWM package for Odexed LSZ, I can post it here.
Click to expand...
Click to collapse
Do I understand right ? Is possible a zip file in order to add toggles by Klementiy way for odex LSZ stock rom ? I'd like it a lot!
Inviato dal mio GT-N8000 con Tapatalk 2
R: <req>Add toggles to stock LSZ
Sorry, I'm trying the klementiy way but I have some problem...For example: why is it necessary to check which files are there in my stock rom and where are they? How many LSZ are there? I thought only one from sammobile site...
Inviato dal mio GT-N8000 con Tapatalk 2
Instructions for installing mods for Odex-firmware:
1. Extract all apk and jar files from the archive for modding
2. Install this archiver ZArchiver: http://yadi.sk/d/gkKGRw3e3_lID and in his settings select the compression method "No compression"
3. With an archiver ZArchiver open archive odexer_4_update_internal.zip: http://yadi.sk/d/lkaVBHxc3_kkG and on the way: tmp/MOD to the appropriate folders to throw the files with modifications, You can throw in any number of
4. Exit from the archiver, go to CWM and install the resulting archive
5. After running the script on the internal memory card appears folder odexer with the new apk and odex files, which must be manually placed in folders on the device, do not forget to set the permissions and ownership are the same as in the original file
CAUTION:
1. This script was created when not yet used section preload, so the script does not know section preload, ready archives use only for sections system/app and system/framework, for working with the section preload/symlink/system/app use only hands
2. If you move any files to the section preload, do not forget to make sure that the system/app to these files have the proper labels symlink, if the symlink is missing, it can easily be created by using Root Explorer: http://yadi.sk/d/dWKFeyRX3_lEh
3. After all the manipulations with the replacement files do not forget to delete the folder: data/dalvik-cache and reboot the device
shardul_seth said:
Thanks a lot Klementiy. I went through odexer.sh, and it seems so simple now.
I can confirm that this works.. If someone want the CWM package for Odexed LSZ, I can post it here.
Click to expand...
Click to collapse
Thank you, can I have Ink Effect for LSB Stock ?
majdinj said:
Sounds silly but what if he just delete SystemUI.apk and SystemUI.odex, services.jar and services.odex files then flash the mentioned mod, will it be OK???
tbh, I didn't test this method, although it works in some other mods!!!
Click to expand...
Click to collapse
this will never work, cause you need the framework jar files completely odexed or deodexed - no mix possible (except some google or third party stuff also working as deodexed in an odexed version)...whereas it is no prob to have a mixture in apps with odexed and deodexed
" odexer_4_update_internal.zip"
Прикольно, у меня такой же есть
finist1 said:
" odexer_4_update_internal.zip"
Прикольно, у меня такой же есть
Click to expand...
Click to collapse
so this is you gave it to me
shardul_seth said:
Thanks a lot Klementiy. I went through odexer.sh, and it seems so simple now.
I can confirm that this works.. If someone want the CWM package for Odexed LSZ, I can post it here.
Click to expand...
Click to collapse
Hello shardul_seth
could you share the mod to add the airplane toggle for a stock rooted rom LSZ?
Thank you very much
ask
hai,.
any one have guide for add stock toggle for samsung 4.1.2 ???
help..