You can enable crt screenoff animation in any stock gingerbread rom(2.3.3/2.3.4 odex/deodex)
You will need-
a)METHOD 1-APK Manager from here http://forum.xda-developers.com/showthread.php?t=695701 METHOD 2-APK tool-windows-http://code.google.com/p/android-apktool/downloads/detail?name=apktool-install-windows-r04-brut1.tar.bz2&can=2&q= and APKtool.jar-http://code.google.com/p/android-apktool/downloads/detail?name=apktool1.4.1.tar.bz2&can=2&q=
b) .zip manager ( 7-zip or winrar for windows and archive manager for linux)
c) text editor ( Notepad++ in windows or gedit/write in linux )
d) framework-res.apk from /system/framework that you want to modify and build.prop from /system.
e)Root explorer/Fileexpert or adb to pull framework-res.apk and build.prop
First thing using root explorer or adb pull the above files to your computer.Then do the following..
For editing framework-res.apk you can use
Method-1
1) Once you extract APKManager you should have a folder called "APKManager," somewhere.Put apkmanager to the root of your C Drive.
2) Within that folder there's another folder called "place-apk-here-for-modding". Place you desired framework-res.apk into that folder.
3) Navigate back to the root of "APKManager", and double-click "Script.bat"in windows or "Script.sh" in linux
4) Press option 9 to decompile the apk. (It may take some time)
5) Once finished, navigate to "APKManager\projects\framework-res.apk\res\values".
6) Inside look for a file called "bools.xml". Open it using your notepad++ or gedit
and find and change the
"<bool name="config_animateScreenLights">true</bool>" to "<bool name="config_animateScreenLights">false</bool>"
7) Remember to save! Not "save as," but save.
8) Double-click "Script.bat" or "Script.sh"again, and choose option 11 to build the apk
9) Say "y" to first option.The program will ask if it is a system app..say yes.Then again yes to copy. Then it will extract to keep folder.Then an option will come to delete the resources.arsc
10) Open the keep folder, and delete resource.arsc before saying yes to the last option.
11) Say "y" to the last option.
12) It will ask you to press any key, do that, and it will finish.
13) Navigate to the "place-apk-here-for-modding" folder, and you'll see a new file called, "unsignedframework-res.apk" open it with a .zip manager, and take the resource.arsc file from it, and transfer it to your original framework-res.apk without extracting it,i.e,through 7-zip/winrar/archive manager(Which should be in the same folder)
14) Now push the modified original framework-res.apk(with new resource.arsc) onto your phone /system/framework using adb or copy by root explorer/fileexpert, and set permissions using root explorer to -rw -r -r or use chmod 644 framework-res.apk using adb. There wil be force-closes using root explorer when copying..just ignore that and set permissions and reboot.
15) Now pull build.prop from /system to your computer
16) Open build.prop(in samsung ROMs) and modify the line.
'debug.sf.hw=1' is the line in the file. Replace it by '#debug.sf.hw=1'. Indirectly you are just changing the line into a comment by adding a #
17) Now take this file and replace your original build.prop. You can do this by using adb or root explorer and set permssions similarly as in above.
18)Reboot and go to settings>>display>>animations and choose all animations. Enjoy your crt screenoff animation.
19) You will lose your boot animation once you do this(in samsung ROMs) . Enable custom boot animation here-http://forum.xda-developers.com/showthread.php?t=1161423.But you have to deodex your firmware to use custom boot animation.
METHOD 2
1) Download APKTOOL
On Windows, download apktool-windows and apktool.jar
Extract the file contents in each archive into your Windows folder:
C:\Windows
2) Save your framework-res.apk file to a place that you know
like to: C:\hktw\framework-res.apk
Open the command prompt
On Windows, press the Start button, type: cmd, press the Enter button
3) You’ll need to change the directory of your commands to the one where you saved your .apk file
Type the “cd” command and then the directory where you saved your file.
cd C:\hktw
Now you need to tell apktool to decompile the framework…
apktool d -f framework-res.apk
You should see in your .apk folder a new folder has been created: “framework-res”
4) Inside of that folder you can now see all of the decompiled parts of your .apk
Edit res/values/bools.xml
Change "<bool name="config_animateScreenLights">true</bool>" to "<bool name="config_animateScreenLights">false</bool>"
5) When you’re done editing, you’ll need to recompile the .apk
cd C:\hktw
apktool b -f framework-res
Note the inclusion of the “.apk” during decompilation, and the exclusion of the “.apk” during recompilation
6) After you’ve sent the recompile command, apktool will work and eventually create two new folders called “dist” and “build”
Inside of the “build” folder will be the recompiled parts of your .apk
7) Open the original .apk file using WinRAR of 7zip
Drag and drop the “resources.arsc” file inside of “build/apk” to the root of your original .apk
8) Now place that modified framework-res.apk in your /system/framework.
9) Then follow steps 15-19 of method 1. Thats it.
Thanks to these forums for the tutorial-
http://forum.xda-developers.com/showthread.php?t=1138800
http://forum.xda-developers.com/showthread.php?t=695701
http://forum.xda-developers.com/showthread.php?t=1140461
When I try sign it, it says "An error occurred please check log". What do I do?
It works! Tested with the S5830BVJKP2 Brazilian FW I only had issues with the apk manager, it was saying:
Please make your decision:9
Please Select A Project To Work On (Option #22)
So I used the apktool. If I could I would thank you 10 times
FMAranda said:
It works! Tested with the S5830BVJKP2 Brazilian FW I only had issues with the apk manager, it was saying:
Please make your decision:9
Please Select A Project To Work On (Option #22)
So I used the apktool. If I could I would thank you 10 times
Click to expand...
Click to collapse
This is for selecting default apk to be used in project.
When it shows press any key..Then enter 22 .Now if you have placed the apk in modding folder it will give option like
1-framework-res.apk
So Enter 1 and then on next option enter 9. Decompilation will start.
crackers999 said:
When I try sign it, it says "An error occurred please check log". What do I do?
Click to expand...
Click to collapse
I hope you selected 11 which is compile option. Now is the apk manager folder on the root of your C Drive? Could you post the logs?
skynet28 said:
I hope you selected 11 which is compile option. Now is the apk manager folder on the root of your C Drive? Could you post the logs?
Click to expand...
Click to collapse
It didnt work for me either, i put the APKmanager folder in C:\
here's the log:
--------------------------------------------------------------------------
|2011.07.27. -- 12:38:37,14|
--------------------------------------------------------------------------
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
--------------------------------------------------------------------------
|2011.07.27. -- 12:42:08,78|
--------------------------------------------------------------------------
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
--------------------------------------------------------------------------
|2011.07.27. -- 12:42:33,67|
--------------------------------------------------------------------------
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
--------------------------------------------------------------------------
|2011.07.27. -- 12:43:15,33|
--------------------------------------------------------------------------
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
--------------------------------------------------------------------------
|2011.07.27. -- 12:45:47,68|
--------------------------------------------------------------------------
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
--------------------------------------------------------------------------
|2011.07.27. -- 12:50:54,76|
--------------------------------------------------------------------------
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
A k”vetkez‹ f*jl nem tal*lhat˘: C:\APKmanager\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
A k”vetkez‹ f*jl nem tal*lhat˘: C:\APKmanager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
--------------------------------------------------------------------------
|2011.07.27. -- 12:53:57,06|
--------------------------------------------------------------------------
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
A k”vetkez‹ f*jl nem tal*lhat˘: C:\Windows\APKmanager\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
A k”vetkez‹ f*jl nem tal*lhat˘: C:\Windows\APKmanager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
--------------------------------------------------------------------------
|2011.07.27. -- 12:55:29,12|
--------------------------------------------------------------------------
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
A k”vetkez‹ f*jl nem tal*lhat˘: C:\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
A k”vetkez‹ f*jl nem tal*lhat˘: C:\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
--------------------------------------------------------------------------
|2011.07.27. -- 12:55:49,14|
--------------------------------------------------------------------------
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
A k”vetkez‹ f*jl nem tal*lhat˘: C:\APKmanager\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
A k”vetkez‹ f*jl nem tal*lhat˘: C:\APKmanager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
A megadott nevet (java) a rendszer nem ismeri fel bels‹ vagy k�ls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
Click to expand...
Click to collapse
tl;dr .
I don't have that line in my build.prop. I am on a TMOUS HTC Sensation
After point 14, when I'm trying to reboot, I have boot animation all the time and my GT-S5830 aren't run. Why? Have I done something wrong? Thanks for replies!
PS: I have 2.3.4
wierzbik said:
After point 14, when I'm trying to reboot, I have boot animation all the time and my GT-S5830 aren't run. Why? Have I done something wrong? Thanks for replies!
PS: I have 2.3.4
Click to expand...
Click to collapse
Try with apktool. I use the above methods to modify all apks and they work well. Please refer to threads related to apkmanager and apktool in xda. Proper knowledge is required to decompile and compile correctly.Also you may check with permissions.
I have done everything step by step like in tutorial method 2 and the same problem. (I'm trying to reboot, I have boot animation all the time and my GT-S5830 aren't run)
wierzbik said:
I have done everything step by step like in tutorial method 2 and the same problem. (I'm trying to reboot, I have boot animation all the time and my GT-S5830 aren't run)
Click to expand...
Click to collapse
If you have done all steps properly,are permissions of framework-res.apk set to -rw -r -r ?
Or if using adb have you done chmod 644 framework-res.apk?
I don't know :/ I just replaced the file. Can you tell me how to set permissions to -rw -r -r step by step?
wierzbik said:
I don't know :/ I just replaced the file. Can you tell me how to set permissions to -rw -r -r step by step?
Click to expand...
Click to collapse
1.If you are using root explorer then after copying from the menu you can select permissions from the pop up after mounting as r/w long pressing the apk select
read/write ,read ,read (rw -r -r ) for owner ,group and others respectively.
It is difficult since after copying lots of force closes occur.
2.If by adb
Code:
$ adb shell
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/framework
#chmod 644 framework-res.apk
I can't select permissions using root explorer, because after copying root explorer is closing. So i want to do it using adb, but i still don't know how. I'm noob in that How to use adb? Have i got some special aplications? Please, don't be laugh I really don't know how.
wierzbik said:
I can't select permissions using root explorer, because after copying root explorer is closing. So i want to do it using adb, but i still don't know how. I'm noob in that How to use adb? Have i got some special aplications? Please, don't be laugh I really don't know how.
Click to expand...
Click to collapse
Check here..
www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
and developer.android.com/guide/developing/tools/adb.html
I've been trying to use adb, but after "$ su" i've got "Permission denied" USB Debugging is enabled. Phone is rooted (superuser) and i have got busybox installed, because i was trying to use QtADB. Permission denied agin.
Why?
wierzbik said:
I've been trying to use adb, but after "$ su" i've got "Permission denied" USB Debugging is enabled. Phone is rooted (superuser) and i have got busybox installed, because i was trying to use QtADB. Permission denied agin.
Why?
Click to expand...
Click to collapse
When you run "su" for the first time a window pops up(superuser) on the phone screen asking you to allow it to run, you have to check it to allow. (You have to answer Yes on the phone to allow access to root and you could use adb after that normally).
I should look at the phone Thanks for help and wasted time on me. Everything works!
Can someone upload the modified version of the framework-res.apk from stock-KPN ?
Related
after I've edit the rom of Wm6 , it'll auto off at slashscreen after flash
please correct me if anything wrong ..
here's my steps :
HTC64 Extended ROM Tool , decode the rom and then...
prepare_imgfs.exe nk.fat -nosplit
viewimgfs imgfs_raw_data.bin
BuildImgfs
set _FLATRELEASEDIR=.
rgucomp -o dump\default.hv -nologo > default.rgu
rgucomp -o dump\user.hv -nologo > user.hv
then I've added other wince.nls and fonts in "dump" directory .
and edit default.rgu , user.hv by ultraedit . added "REGEDIT4" at the first line , added some lines on initflashfiles.dat.
then repack :
copy default.rgu boot.rgu
set _FLATRELEASEDIR=.
rgucomp -b
attrib -s -r -h dump\default.hv
copy boot.hv dump\default.hv
attrib -s -r -h dump\user.hv
copy user.hv dump\user.hv
BuildImgfs
make_imgfs nk.fat -nosplit
use HTC64 Extended ROM Tool encode again . and flash .
any problems in these step ? Please correct me , Thanks alot !!
Building roms
Hi,
Ha... here you are,
will try this tomorrow.
Leo
Leies said:
after I've edit the rom of Wm6 , it'll auto off at slashscreen after flash
please correct me if anything wrong ..
here's my steps :
HTC64 Extended ROM Tool , decode the rom and then...
prepare_imgfs.exe nk.fat -nosplit
viewimgfs imgfs_raw_data.bin
BuildImgfs
set _FLATRELEASEDIR=.
rgucomp -o dump\default.hv -nologo > default.rgu
rgucomp -o dump\user.hv -nologo > user.hv
then I've added other wince.nls and fonts in "dump" directory .
and edit default.rgu , user.hv by ultraedit . added "REGEDIT4" at the first line , added some lines on initflashfiles.dat.
then repack :
copy default.rgu boot.rgu
set _FLATRELEASEDIR=.
rgucomp -b
attrib -s -r -h dump\default.hv
copy boot.hv dump\default.hv
attrib -s -r -h dump\user.hv
copy user.hv dump\user.hv
BuildImgfs
make_imgfs nk.fat -nosplit
use HTC64 Extended ROM Tool encode again . and flash .
any problems in these step ? Please correct me , Thanks alot !!
Click to expand...
Click to collapse
Hi guys, I was wondering if it's possible to extract some programs from a ROM nbh file and recompile them as cab files so that they can be installed on their own... can anybody help me?
Thanks
Shift
(P.s: I tried to look around but didn't find anything...)
shift_runstop said:
Hi guys, I was wondering if it's possible to extract some programs from a ROM nbh file and recompile them as cab files so that they can be installed on their own... can anybody help me?
Thanks
Shift
(P.s: I tried to look around but didn't find anything...)
Click to expand...
Click to collapse
ok, if you have a single folder or 3 folder (usually into sys\ folder!): program;lang;dpi_xx tou have to merge all files (if you have some modules ( folder inside folder) you have to extract exes, muis, dlls, from them) and then merge all rgu files inside into one .reg file.
now with trial of wince cab manager you can create a new cab...
insert all files except rgus, reg and dsm into it, then go on registry tree, import froim file, choice the reg file just create and import it, create shortcut by some exe that uou need to create, save cab.
if you want extract some files by oemapps into oem\ folder, you have to study:
how many dlls depeds the exe and into oemapps rgu how many regkeys you need to make working this exe....
after this, exctract all dlls, eventually the mui file, the chosen exe, the regkeys saved into a reg files and repeat all described into 1st option!!
good work!!
ervius said:
ok, if you have a single folder or 3 folder (usually into sys\ folder!): program;lang;dpi_xx tou have to merge all files (if you have some modules ( folder inside folder) you have to extract exes, muis, dlls, from them) and then merge all rgu files inside into one .reg file.
now with trial of wince cab manager you can create a new cab...
insert all files except rgus, reg and dsm into it, then go on registry tree, import froim file, choice the reg file just create and import it, create shortcut by some exe that uou need to create, save cab.
if you want extract some files by oemapps into oem\ folder, you have to study:
how many dlls depeds the exe and into oemapps rgu how many regkeys you need to make working this exe....
after this, exctract all dlls, eventually the mui file, the chosen exe, the regkeys saved into a reg files and repeat all described into 1st option!!
good work!!
Click to expand...
Click to collapse
ita:non è che potresti postare queste informazioni in ita e un po' piu' dettagliate? non ho capito molto... fare una bella guida per cucinare in ita???
eng:You might not post this information in ita and some 'more' detailed? I did not understand much.
thanks
luciolux said:
ita:non è che potresti postare queste informazioni in ita e un po' piu' dettagliate? non ho capito molto... fare una bella guida per cucinare in ita???
eng:You might not post this information in ita and some 'more' detailed? I did not understand much.
thanks
Click to expand...
Click to collapse
remember me, when I have some time, I'll do it!
Hi,
I try to cook a rom based on an official rom for Vox (HTC FRA 1.34).
I would understand all steps of cooking, i have already made this :
1 - Extract RUU_Vox_HTC_FRA_1.34.406.1_4.1.13.54_03.10.90_Ship.exe to RUU_signed.nbh (7-zip)
2 - Extract RUU_signed.nbh to IPL.nb/PrimarySpalsh.nb/Radio.nb/SPL.nb/Windows.nb (nbhtool.exe)
3 - Dump rom Windows.nb with prepare_imgfs.exe and viewimgfs.exe
4 - Move dump files in OEM/SYS folders with PKGTool
If i understood well, i must extract XIP from Windows.nb, before cook.
I have tried some soft like nbsplit/rommaster/buildxip, but i have errors, could someone help me for this step ?
Thanks.
And sorry for my poor english.
fireburned said:
Hi,
I try to cook a rom based on an official rom for Vox (HTC FRA 1.34).
I would understand all steps of cooking, i have already made this :
1 - Extract RUU_Vox_HTC_FRA_1.34.406.1_4.1.13.54_03.10.90_Ship.exe to RUU_signed.nbh (7-zip)
2 - Extract RUU_signed.nbh to IPL.nb/PrimarySpalsh.nb/Radio.nb/SPL.nb/Windows.nb (nbhtool.exe)
3 - Dump rom Windows.nb with prepare_imgfs.exe and viewimgfs.exe
4 - Move dump files in OEM/SYS folders with PKGTool
If i understood well, i must extract XIP from Windows.nb, before cook.
I have tried some soft like nbsplit/rommaster/buildxip, but i have errors, could someone help me for this step ?
Thanks.
And sorry for my poor english.
Click to expand...
Click to collapse
have u try msflshtool
Thanks for this idea.
I test it, with this command :
msflshtool.exe Windows.nb -d
I obtain 3 files :
- Windows.nb.part0
- Windows.nb.part1
- Windows.nb.part2
Here is the part info :
Code:
***********************************************************
msflsh50dump v0.1 code by blueboy
***********************************************************
partinfo
part <0> offset <00000400> size <00217400>
part <1> offset <00217800> size <00333000>
part <2> offset <0054A800> size <03586800>
end
What is the newt step ?
Thanks you.
fireburned said:
Thanks for this idea.
I test it, with this command :
msflshtool.exe Windows.nb -d
I obtain 3 files :
- Windows.nb.part0
- Windows.nb.part1
- Windows.nb.part2
Here is the part info :
Code:
***********************************************************
msflsh50dump v0.1 code by blueboy
***********************************************************
partinfo
part <0> offset <00000400> size <00217400>
part <1> offset <00217800> size <00333000>
part <2> offset <0054A800> size <03586800>
end
What is the newt step ?
Thanks you.
Click to expand...
Click to collapse
usually it is in part0 or part1 ... use xipport to see which have the boot.hv & boot.rgu ... u only need those files ... around 20-40Kb files
Then u can put it in ROM folder in ur Kitchen
Thank you cruzzmz for your replies
I used XIPort to extract Windows.nb.part0/Windows.nb.part1.
I obtain this :
Code:
Windows.nb.part0
OUT\
PARTHDR.txt
ROMHDR.txt
\FILES
boot.hv
boot.hv.imageinfo.txt
ceconfig.h
ceconfig.h.imageinfo.txt
default.hv
default.hv.imageinfo.txt
initobj.dat
initobj.dat.imageinfo.txt
user.hv
user.hv.imageinfo.txt
\MODULES
busenum.dll
cecompr.dll
ceddk.dll
cereg.dll
certmod.dll
coredll.dll
device.exe
devmgr.dll
diskcache.dll
encfilt.dll
fatfsd.dll
fatutil.dll
filesys.exe
fsdmgr.dll
imgfs.dll
mmtimer.dll
mspart.dll
nk.exe
OMAP850_SDHC.dll
ONDisk.dll
packageinfoapi.dll
pm.dll
ramdisk.dll
rawfs.dll
regenum.dll
romfilter.dll
sdbus.dll
sdmemory.dll
serial.dll
uldrui.dll
updateapp.exe
busenum.dll.txt
cecompr.dll.txt
ceddk.dll.txt
cereg.dll.txt
certmod.dll.txt
coredll.dll.txt
device.exe.txt
devmgr.dll.txt
diskcache.dll.txt
encfilt.dll.txt
fatfsd.dll.txt
fatutil.dll.txt
filesys.exe.txt
fsdmgr.dll.txt
imgfs.dll.txt
mmtimer.dll.txt
mspart.dll.txt
nk.exe.txt
OMAP850_SDHC.dll.txt
ONDisk.dll.txt
packageinfoapi.dll.txt
pm.dll.txt
ramdisk.dll.txt
rawfs.dll.txt
regenum.dll.txt
romfilter.dll.txt
sdbus.dll.txt
sdmemory.dll.txt
serial.dll.txt
uldrui.dll.txt
updateapp.exe.txt
Windows.nb.part1
OUT\
PARTHDR.txt
ROMHDR.txt
\FILES
42d1aab7-6dfa-4c03-9797-d66f7620883d.dsm
42d1aab7-6dfa-4c03-9797-d66f7620883d.dsm.imageinfo.txt
7da1c1a8-1fd2-4a18-a081-84e4825266b1.dsm
7da1c1a8-1fd2-4a18-a081-84e4825266b1.dsm.imageinfo.txt
966f2a5f-b510-8a60-28bc-6c06a3376c66.dsm
966f2a5f-b510-8a60-28bc-6c06a3376c66.dsm.imageinfo.txt
b5332311-48f1-4b76-ad70-8efa5db8fa3a.dsm
b5332311-48f1-4b76-ad70-8efa5db8fa3a.dsm.imageinfo.txt
b5332311-48f1-4b76-ad70-8efa5db8fa3a.rgu
b5332311-48f1-4b76-ad70-8efa5db8fa3a.rgu.imageinfo.txt
boot.hv
boot.hv.imageinfo.txt
boot.rgu
boot.rgu.imageinfo.txt
e7cdacc2-b776-1926-fd10-4b8c9b712e9b.dsm
e7cdacc2-b776-1926-fd10-4b8c9b712e9b.dsm.imageinfo.txt
initflashfiles.dat
initflashfiles.dat.imageinfo.txt
mxip_initdb.vol
mxip_initdb.vol.imageinfo.txt
mxip_lang.vol
mxip_lang.vol.imageinfo.txt
wince.nls
wince.nls.imageinfo.txt
\MODULES
busenum.dll
cachefilt.dll
cecompr.dll
ceddk.dll
certmod.dll
coredll.dll
device.exe
devmgr.dll
diskcache.dll
encfilt.dll
fatfsd.dll
fatutil.dll
filesys.exe
fsdmgr.dll
fsreplxfilt.dll
hd.dll
HtcFsdspy.dll
imgfs.dll
mspart.dll
nk.exe
ONDisk.dll
osaxst0.dll
pm.dll
ps2fatutil.dll
regenum.dll
busenum.dll.txt
cachefilt.dll.txt
cecompr.dll.txt
ceddk.dll.txt
certmod.dll.txt
coredll.dll.txt
device.exe.txt
devmgr.dll.txt
diskcache.dll.txt
encfilt.dll.txt
fatfsd.dll.txt
fatutil.dll.txt
filesys.exe.txt
fsdmgr.dll.txt
fsreplxfilt.dll.txt
hd.dll.txt
HtcFsdspy.dll.txt
imgfs.dll.txt
mspart.dll.txt
nk.exe.txt
ONDisk.dll.txt
osaxst0.dll.txt
pm.dll.txt
ps2fatutil.dll.txt
regenum.dll.txt
The good files are in Windows.nb.part1 ?
Next step : copy boot.hv/boot.rgu in ROM/XIP folder ?
Thank you very much !
And another question, i have "missing files" when i use PKGTool :
Code:
[Missing Manifests]
(Maybe):\ROM\XIP\b5332311-48f1-4b76-ad70-8efa5db8fa3a.dsm
(Maybe):\ROM\XIP\7da1c1a8-1fd2-4a18-a081-84e4825266b1.dsm
(Maybe):\ROM\XIP\42d1aab7-6dfa-4c03-9797-d66f7620883d.dsm
(Maybe):\ROM\XIP\e7cdacc2-b776-1926-fd10-4b8c9b712e9b.dsm
(Maybe):\ROM\XIP\966f2a5f-b510-8a60-28bc-6c06a3376c66.dsm
It's a problem ?
fireburned said:
And another question, i have "missing files" when i use PKGTool :
Code:
[Missing Manifests]
(Maybe):\ROM\XIP\b5332311-48f1-4b76-ad70-8efa5db8fa3a.dsm
(Maybe):\ROM\XIP\7da1c1a8-1fd2-4a18-a081-84e4825266b1.dsm
(Maybe):\ROM\XIP\42d1aab7-6dfa-4c03-9797-d66f7620883d.dsm
(Maybe):\ROM\XIP\e7cdacc2-b776-1926-fd10-4b8c9b712e9b.dsm
(Maybe):\ROM\XIP\966f2a5f-b510-8a60-28bc-6c06a3376c66.dsm
It's a problem ?
Click to expand...
Click to collapse
dont think it is a problem as long as when u do buildOS u dont get any error (hint: if there is error check the temp folder open log.txt)
I created a *.bat file wich does this :
1- nbhextract "RUU_Signed.nbh" to "00_IPL.nb 01_SPL.nb 02_MainSplash.bmp 02_MainSplash.nb 03_GSM.nb 04_OS.nb"
2- dumprom.exe 04_OS.nb wich extract files in "Temp" folder :
Code:
boot.bin
msflsh.bin
romhdr.bin
\Imgfs (1599 objects)
\XIP (37 objects)
3- pkgtool.exe : Temp\Imgfs => Temp\Imgfs\OEM and SYS
4- move Temp\Imgfs\OEM and SYS in root kitchen directory
My problem :
* When i try to re-"BuildOS" (to test if my dump works), i have an error : Error, last status: "Creating initflashfiles.dat..."
I have found a file "initflashfiles.dat" in my ROM\XIP foler. What is the problem ?
Thanks you.
Help me please... I tried... But i'm blocked...
fireburned said:
I created a *.bat file wich does this :
1- nbhextract "RUU_Signed.nbh" to "00_IPL.nb 01_SPL.nb 02_MainSplash.bmp 02_MainSplash.nb 03_GSM.nb 04_OS.nb"
2- dumprom.exe 04_OS.nb wich extract files in "Temp" folder :
Code:
boot.bin
msflsh.bin
romhdr.bin
\Imgfs (1599 objects)
\XIP (37 objects)
3- pkgtool.exe : Temp\Imgfs => Temp\Imgfs\OEM and SYS
4- move Temp\Imgfs\OEM and SYS in root kitchen directory
My problem :
* When i try to re-"BuildOS" (to test if my dump works), i have an error : Error, last status: "Creating initflashfiles.dat..."
I have found a file "initflashfiles.dat" in my ROM\XIP foler. What is the problem ?
Thanks you.
Click to expand...
Click to collapse
I dont seem to hv that file on my ROM\XIP folder, maybe u can try deleting all files inside XIP except for boot.hv & boot.rgu
then try buildOS again
BTW what is the size of both files?
I deleted all files in XIP folder, except boot.hv/boot.rgu
boot.hv = 40 Ko
boot.rgu = 27 Ko
Again, BuildOS fails : Error, last status: "Creating initflashfiles.dat..."
When i search in OEM and SYS folders, i don't have a "initflashfiles.dat" file.
An idea ?
fireburned said:
I deleted all files in XIP folder, except boot.hv/boot.rgu
boot.hv = 40 Ko
boot.rgu = 27 Ko
Again, BuildOS fails : Error, last status: "Creating initflashfiles.dat..."
When i search in OEM and SYS folders, i don't have a "initflashfiles.dat" file.
An idea ?
Click to expand...
Click to collapse
dunno if this can help
If you did something like the following sequence:
typho5 -x nk.nbf
prepare_imgfs.exe 80040000-OS_0.nb -nosplit
viewimgfs.exe imgfs_raw_data.bin
Then the initflashfiles.dat should definitely be in the 'dump' folder.
Did you remember the -nosplit option for prepare_imgfs.exe?
Edit: Just a thought. The initflashfiles.dat is hidden plus the .dat extension is normally used by system files, so could it be something so simple as the fact that your explorer is not showing hidden and/or system files?
Click to expand...
Click to collapse
seems like the initflashfiles.dat is in the dump folder after u do a viewimgfs
You can put initflashfile.dat inside imgfs (for example OEM/OEM_LANG_XXX) and delete it from XIP.
Buildos.exe from Bepe search initflashfiles.dat insiede IMGFS:
cruzzmz : I tried your solution
Code:
typho5 -x nk.nbf
prepare_imgfs.exe 80040000-OS_0.nb -nosplit
viewimgfs.exe imgfs_raw_data.bin
But, in dump folder, i haven't initflashfiles.dat
I tested several solutions, and each time, initflashfiles.dat is in my XIP folder.
cicciocant : I tried to put initflashfiles.dat in dump folder, and run PKGTool, but file is not copy to OEM_Lang_XXXX folder (missing dsm ???), and BuildOS fails, with same error.
I tested to put initflashfiles.dat in OEM_Lang_XXXX manualy, and i have an other error when i try to BuildOS : "initflashfiles.dat is a directory not a file! copying the File!!!"
In my XIP folder, i have :
Code:
busenum.dll
cachefilt.dll
cecompr.dll
ceddk.dll
certmod.dll
coredll.dll
device.exe
devmgr.dll
diskcache.dll
encfilt.dll
fatfsd.dll
fatutil.dll
filesys.exe
fsdmgr.dll
fsreplxfilt.dll
hd.dll
HtcFsdspy.dll
imgfs.dll
mspart.dll
nk.exe
ONDisk.dll
osaxst0.dll
pm.dll
ps2fatutil.dll
regenum.dll
42d1aab7-6dfa-4c03-9797-d66f7620883d.dsm
7da1c1a8-1fd2-4a18-a081-84e4825266b1.dsm
966f2a5f-b510-8a60-28bc-6c06a3376c66.dsm
b5332311-48f1-4b76-ad70-8efa5db8fa3a.dsm
b5332311-48f1-4b76-ad70-8efa5db8fa3a.rgu
boot.hv
boot.rgu
e7cdacc2-b776-1926-fd10-4b8c9b712e9b.dsm
initflashfiles.dat
mxip_initdb.vol
mxip_lang.vol
wince.nls
An idea ?
And thanks for your help.
seems like my rom that i cooked doesnt have initflashfiles.dat in the XIP folder.
Maybe you can try ask around in hypercore kitchen thread
Thanks cruzzmz, i posted my question.
Hello,
In this tutorial I´ll show you how to change the height of your NavBar.
This Tutorial works for any Rom!
Requirements
Text-Editor, e.g. Notepad++
WinRar/WinZip/Bandzip
Apktool (Download)
installed Java (Download)
JDK (Download)
root on your Nexus 4
a FileManager like ES File Explorer or Root Explorer
your framework-res.apk
some Cmd experience (just a little)
.. and some time/nerves
.. let´s go
Before getting started, make a Nandroid Backup (if you get Bootoop etc)!
The decompliling:
First you need to create a new folder like "C:\apktool". Download Apktool and extract the files to C:\apktool
copy your framework-res.apk to C:\apktool
open Cmd
navigate to your apktool (with "cd C:\apktool")
type in: java -jar apktool.jar if framework-res.apk [enter] (...installation of your framework)
type in: java -jar apktool.jar d framework-res.apk [enter]
finished!
Now you should have a new folder named framework-res. That´s your decompiled framework-res.apk.
The customizing of your NavBar height:
Navigate to /res/values
open dimens.xml in your Text-Editor
search the 3 lines which include navigation_bar_height, navigation_bar_height_landscape, und navigation_bar_width
type in your desired dpi number (for default it´s 48dpi)
CAUTION: At width, you should calculate the numeral proportion of the height to the width.
If you got that, save!
The (Re-)compiling:
Cmd (if you have not left it open, you must navigate again to C:\apktool
type in: java -jar apktool.jar b framework-res [enter]
The newly compiled framework-res.apk is located in C:\apktool\framework-res\dist
CAUTION: Copy the META-INF folder and the AndroidManifest.xml from your old framework-res.apk to your newly compiled one! Otherwise you´ll get Bootloop.
Now copy your framework-res.apk with a file manager to /system/framework. After that reboot immediately!
Finished! Have fun with your smaller/higher NavBar.
If there are some question, ask in this thread, I´ll help you as good as possible. Please don´t write me PM´s with support requests.
The "small-print":
Neither XDA-Developers.com, nor me are responible for any damages on your device!
I'm pretty sure this is the same for changing your Navigation Bar white or any color you want?
But instead I think its the navbar.xml that you need to edit correct?
Sent from my Nexus 4 using xda app-developers app
Right. But maybe it's in SysUI.apk, I don't know right now.
~ via Nexus
Flextrick said:
Hello,
In this tutorial I´ll show you how to change the height of your NavBar.
This Tutorial works for any Rom!
Requirements
Text-Editor, e.g. Notepad++
WinRar/WinZip/Bandzip
Apktool (Download)
installed Java (Download)
JDK (Download)
root on your Nexus 4
a FileManager like ES File Explorer or Root Explorer
your framework-res.apk
some Cmd experience (just a little)
.. and some time/nerves
.. let´s go
Before getting started, make a Nandroid Backup (if you get Bootoop etc)!
The decompliling:
First you need to create a new folder like "C:\apktool". Download Apktool and extract the files to C:\apktool
copy your framework-res.apk to C:\apktool
open Cmd
navigate to your apktool (with "cd C:\apktool")
type in: java -jar apktool.jar if framework-res.apk [enter] (...installation of your framework)
type in: java -jar apktool.jar d framework-res.apk [enter]
finished!
Now you should have a new folder named framework-res. That´s your decompiled framework-res.apk.
The customizing of your NavBar height:
Navigate to /res/values
open dimens.xml in your Text-Editor
search the 3 lines which include navigation_bar_height, navigation_bar_height_landscape, und navigation_bar_width
type in your desired dpi number (for default it´s 48dpi)
CAUTION: At width, you should calculate the numeral proportion of the height to the width.
If you got that, save!
The (Re-)compiling:
Cmd (if you have not left it open, you must navigate again to C:\apktool
type in: java -jar apktool.jar b framework-res [enter]
The newly compiled framework-res.apk is located in C:\apktool\framework-res\dist
CAUTION: Copy the META-INF folder and the AndroidManifest.xml from your old framework-res.apk to your newly compiled one! Otherwise you´ll get Bootloop.
Now copy your framework-res.apk with a file manager to /system/framework. After that reboot immediately!
Finished! Have fun with your smaller/higher NavBar.
If there are some question, ask in this thread, I´ll help you as good as possible. Please don´t write me PM´s with support requests.
The "small-print":
Neither XDA-Developers.com, nor me are responible for any damages on your device!
Click to expand...
Click to collapse
Thanks dude!
"CAUTION: At width, you should calculate the numeral proportion of the height to the width."
What's the scale? I set 36dpi both on height and landsape_hight, what's the width should I do? And I want the background of navigation to more smaller...
First of all, please delete fullquote Second: Proportion is like 48:42=36:x (x is width, just calculate). And third: Which background do you mean?
~ via Nexus
Hello,
if somebody is interested: I built a graphical Apktool for easier modding. Check it out: http://forum.xda-developers.com/showthread.php?t=2326604
~ via Nexus
I am attempting this but its not working.
I have apktool, java, and JDK installed.
When I run the commands I get this...
Code:
c:\apktool>java -jar apktool.jar if framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01080294 drawable/ic_ab_back_holo_dark, config=-xhdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
5)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:39)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:384)
at brut.androlib.Androlib.installFramework(Androlib.java:365)
at brut.apktool.Main.cmdInstallFramework(Main.java:193)
at brut.apktool.Main.main(Main.java:69)
c:\apktool>java -jar apktool.jar d framework-res.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01080294 drawable/ic_ab_back_holo_dark, config=-xhdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
5)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
c:\apktool>
Any help would be great.
Or if someone wants to set my dpi to 24 that would be great as well. 24/24/24
framework-res.apk
Hello, I see. Maybe you should try this one here: http://forum.xda-developers.com/showthread.php?t=1755243
I created an AndroidApktool, which makes it easier to mod your files: http://forum.xda-developers.com/showthread.php?t=2326604
It helps you in this Tutorial much, too.
How do you move the old META-INF folder and AndroidManifest.xml into the new apk after it's already compiled?
With WinRar or 7zip etc.
I followed every step and I end up with same as paperecho, empty framework-res folder.
Do you get the same error as he?
Is it possible to set the alignment of the softkeys to the left side (especially for the Nexus 7/10)?
Thanks in advance
Sent from my Nexus 4 using xda premium
It's possible for sure, but I don't know how. Ive got no experience with tablets, sorry.
I'm also finished with empty folder framework-res..
Maybe you guys should download the newest apktool version and replace it with the one in my folder. I think this should solve your problem
Does anyone know what values they use to make the softkeys stay vertical when the phone is in landscape mode? I'm trying to do that with my tablets. Thanks
Works Great Nexus 4 and Nexus 10 Kitkat
In Android L, it didn't work in type in "java -jar apktool.jar if framework-res.apk" & "java -jar apktool.jar d framework-res.apk"...
After I lost a lot of time to add additional languages to the EUI, I want to share how it is done.
I used ready translations from this rom:
LeTV LeEco Le Pro3-X720 Android 6.0 Qualcomm Snapdragon 821 Smartphone Firmware
blog.geekbuying.com/2016/12/letv-leeco-le-pro3-x720-android-6-0-qualcomm-snapdragon-821-smartphone-firmware-211030-161230/
Required folders and files:
/system/framework
/system/framework/framework-res.apk - System wide languages
/system/priv-app/Settings/oat/arm64/Settings.odex
/system/priv-app/Settings/Settings.apk
Apktool.zip:
drive.google.com/file/d/1pLhHEhxOR7NvFr1T6FFVZoF8hskcDZPE/view?usp=sharing
unzip to C:
cd C:\Apktool
STEP 1: delete old frameworks
Code:
apktool empty-framework-dir --force
STEP 2: Decoding & Building framework-res
Code:
apktool d framework-res.apk
- Now make your changes
Code:
apktool b framework-res -o framework-res-new.apk
copy new resources.arsc from framework-res-new.apk without compression into original framework-res.apk
STEP 3: install a rom framework-res; check C:\Users\%USERNAME%\AppData\Local\apktool\framework
Code:
apktool if framework-res.apk
copy folder \system\framework to C:\Apktool
STEP 4: Decoding & Building Settings.apk
plus.google.com/112981865005880407431/posts/MAmuc5LkcEh
Code:
java -jar baksmali-2.2.4.jar deodex Settings.odex -b framework\arm\boot.oat -d framework -o out
java -Xmx1024m -jar smali-2.2.4.jar assemble out -o classes.dex
pack resulting classes.dex without compression into original Settings.apk
Code:
apktool d Settings.apk
- Now make your changes
Code:
apktool b Settings -o Settings-new.apk
copy new resources.arsc from Settings-new.apk without compression into modified Settings.apk
STEP 5:
delete framework-res.apk in /system/framework/framework-res.apk on your device.
Copy a new framework-res.apk from /sdcard/ to /system/framework/. Set permissions to 644.
Code:
chmod 644 /system/framework/framework-res.apk
delete Settings.apk and Settings.odex in /system/priv-app/Settings/ on your device.
Copy a new Settings.apk from /sdcard/ to /system/priv-app/Settings/. Set permissions to 644.
Code:
chmod 644 /system/priv-app/Settings/Settings.apk
Wipe -> Advanced Wipe -> Dalvik / ART Cache