Related
Hi!
I have been trying to extract the theme from this ROM
http://forum.xda-developers.com/showthread.php?t=869408
It looks awesome and I want to add some animations from a different ROM and use it with Darkys or Assonance for example but this seems to be much harder than I though unless someone has a quick and easy for dummies procedure for poor me that is.
It should be as easy as extracting the framework-res.apk, twframework-res.apk, mms.apk, bootanimation.zip and fonts as that is what is listed as being themed in the ROM thread. Then use the theme porter posted in the Android Themes section of XDA to inject them in your apk's, then manually change whatever didn't copy over.
rrrrramos said:
It should be as easy as extracting the framework-res.apk, twframework-res.apk, mms.apk, bootanimation.zip and fonts as that is what is listed as being themed in the ROM thread. Then use the theme porter posted in the Android Themes section of XDA to inject them in your apk's, then manually change whatever didn't copy over.
Click to expand...
Click to collapse
mmm sounds simple when you say it lol I will need to dig deep here it seems but that is a good post to point me towards the right path
I usually just extract the framework-res.apk and twframework-res.apk from the ROM I am taking the theme from and the ROM I want to put it in, then I copy the res/drawable-hdpi folder from the old apk into the new one. It is a quick/dirty method, and wont let you change font colors or add a circle battery mod to one without it, but I have never had problems with it before.
You also have to be sure it is compatible with the rom you are using. Some roms have different xml code behind and if you simply put the framework and tw framework in your rom you risk getting fc at boot and not getting past them.
Sent from my SAMSUNG-SGH-I897 using XDA App
Both are JPY Roms so I hope that is enough. I guess worst thing that could happen is having to flash again
shaolin95 said:
Both are JPY Roms so I hope that is enough. I guess worst thing that could happen is having to flash again
Click to expand...
Click to collapse
Try first with /system/framework/framework-res.apk and /system/framework/twframework-res.apk
I'm attaching a cwm zip file that has those files as found in Doc's 6.1 rom.
Just replace them with the files from whatever rom you want and keep that as a backup in case something goes wrong. It will save you from reflashing
If both are JPY roms then it shouldn't be an issue.
I tried doing what Ryukeima mentioned but I ended up with a Frankenstein of a theme as not all things from the them I wanted came over to the new one!
This is going to require some practice. That ROM has also some very nice Icons for Launcher Pro so is going to be another thing to look for..in fact I think I could be happy just getting those Icons.
shaolin95 said:
I tried doing what Ryukeima mentioned but I ended up with a Frankenstein of a theme as not all things from the them I wanted came over to the new one!
This is going to require some practice. That ROM has also some very nice Icons for Launcher Pro so is going to be another thing to look for..in fact I think I could be happy just getting those Icons.
Click to expand...
Click to collapse
Rip all the framework folder. Make a CWM zip and flash it over your ROM. It should work without problems. Then try to either apply animations on UOT kitchen or inject them with metamorph.
icezar1 said:
Rip all the framework folder. Make a CWM zip and flash it over your ROM. It should work without problems. Then try to either apply animations on UOT kitchen or inject them with metamorph.
Click to expand...
Click to collapse
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
viny2cool said:
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
Click to expand...
Click to collapse
To answer the first question, it won't straight out work. You have to add the images to the file 'framework-res.apk' in the 'drawable-hdpi' folder located within it. Different framework-res.apk's will differ from ROM to ROM, and will just FC or bootloop your phone if you use one that it doesn't like. That's why most themes have the ROM they will work with posted in the title. If it is the same base ROM (in the case of my phone, running Assonance, any JK3 theme will work), then it is as simple as drag & drop. But if it's between say Axura and Assonance, it would have to be manually changed as stated above, since there may be subtle differences in the framework.
As for the second question, here ya go
http://forum.xda-developers.com/showthread.php?t=717437
viny2cool said:
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
Click to expand...
Click to collapse
If the theme was made for JPY and the Rom you want to put it on is JPY, it should work. However, there are sometimes system apps which need to be installed with the theme. Easyest thing would be to rip it off, put it on your rom and see if it works. Experiment a bit, thats how you'll learn.
thanks and thanks.
Its really interesting to have a full control of your phone....so i am enjoying learning this stuff....tried using UOT kitchen but got errors...
I just want to modify notification bar...
I am on darky's 7.7...i will have to look for compatible theme
viny2cool said:
I am on darky's 7.7...i will have to look for compatible theme
Click to expand...
Click to collapse
There's plenty of jpy based themes in the i9000>theme section.
You could metamorph it if it doesn't require any xml edits... it looks like Marilyn img edits which could be taken foment that rom..
Sent from my SAMSUNG-SGH-I897 using XDA App
i have a question along these same lines. if one wanted to copy the notification pulldown from a different ROM|theme, how would you do so? im using Perception 9.5 which is built on JK3, but the Androdena theme is built on JPX files. all i want is the notification pulldown elements. can you just copy those image files over and go? i always see themers talking about 9.pngs and i was just wondering if they'd prohibit just a simple copy from one tw-framework to another.
Make sure you backup before flashing in case something goes wrong. I am not responsible in any way if you brick your phone. You accept all risk that comes with flashing your phone.
With this theme I decided to go for a more genuine GB look. Which is why there are more files to flash. Also after some trial and error and help from people around the forum I finished my bootanimation.
Here are some GB themed apps. These are not required for the theme to work but do make the theme look good as a whole. *note the Dialer were pulled from Serendipity and can be found on the Serendipity site.
All of the files are Clockwork Mod flashable except the "Icons and Dock.zip"
*NOTE*
This theme will not change the look of your launcher. There are Gingerbread styled icons and dock attached if you want to theme your launcher. This is not a CWM file. Download it, unzip it and pick what you want.
Credits:
DesignGears: Cognition 4.1+
arcardinal: Larger font in the battery mod
MikeyMike01: Help with the twframework, themed Swype and dialer
Kaik541: More GB like Signal bar and fixed wifi icons
Guide to Themeing
The attached guide is information I use to theme the Cognition ROMs. If there is additional information that you would like to know you can ask me and I'll try to answer.
Honeycomb Theme
Attached is the Honeycomb theme that received of 70% of the vote in the poll. This Honeycomb theme has been ported from PuffinNugz's theme he created.
*UPDATE
The battery icons in PuffinNugz's theme didn't port over properly. I tried everything I could think of to get them to work but could not. So what I have done is recolor the GB battery icons to match the blues in the rest of the HC theme.
*Note
If you want your lock screen to look like the one in the screenshot you have to use the puzzle lock in the settings.
Hmmm, I'm using Cog. 3.03 and it seems that this theme only changed certain properties of the theme. For example the notification bar is from this theme, but when in settings or any other menu, the font color and type is still from my previous theme.
Otherwise great work, thanks
adrian18w said:
Hmmm, I'm using Cog. 3.03 and it seems that this theme only changed certain properties of the theme. For example the notification bar is from this theme, but when in settings or any other menu, the font color and type is still from my previous theme.
Otherwise great work, thanks
Click to expand...
Click to collapse
I observed this as well during testing. I had flashed one of the other themes available to Cog3 and found that after applying my theme that certain things were still unchanged. This is due to the apps such as settings, dialer, browser and so forth were also themed by the developer. My theme only changes the framework and twframework files in the rom itself. Not in each individial app...for now.
Ahhhh, I see. So I'm guessing that flashing a fresh copy of Cog. 3.03 and applying your theme should work?
Thanks.
adrian18w said:
Ahhhh, I see. So I'm guessing that flashing a fresh copy of Cog. 3.03 and applying your theme should work?
Thanks.
Click to expand...
Click to collapse
You are correct. I will start working on themeing the apps later on in my free time to get the overall GB look with a little of my own customization.
Sounds great man. Keep up the good work
How do you uninstall this
Sent from my SAMSUNG-SGH-I897 using XDA App
jojomoulder said:
How do you uninstall this
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Check the OP for the revert file.
Thanks
Sent from my SAMSUNG-SGH-I897 using XDA App
Why is this different than your Gingerbread for Cognition 2?
AmandeepG said:
Why is this different than your Gingerbread for Cognition 2?
Click to expand...
Click to collapse
Cog2 uses JI6/JJ4 framework.
Cog3 is based of the Rogers 2.2 and uses JL1 framework. Other users tried to use my other GB theme on Cog3 and it didn't work. So I made one that would. Supply and demand is what will drive my themes mostly.
CB650 Wolf said:
Cog2 uses JI6/JJ4 framework.
Cog3 is based of the Rogers 2.2 and uses JL1 framework. Other users tried to use my other GB theme on Cog3 and it didn't work. So I made one that would. Supply and demand is what will drive my themes mostly.
Click to expand...
Click to collapse
Sorry, I think l was unclear. I meant to ask why the theme on Cog3 looks different than on Cog2 (like I notice some icons are different)
Sent from my Rogers Samsung Captivate
AmandeepG said:
Sorry, I think l was unclear. I meant to ask why the theme on Cog3 looks different than on Cog2 (like I notice some icons are different)
Sent from my Rogers Samsung Captivate
Click to expand...
Click to collapse
Which one of the Cog2 themes are you referring to? I know there are differences in the extended power menu and the status bar pull down. I'm not aware at anything else blatantly different. The reason behind the icons being different is that I didn't have new icons when I made for first two themes. If there is a request to update the old themes with the newer icons I will update them. Like I said before supply and demand.
Not installing...
Gets stuck at Installing update for Icons and Dock. I've tried 3 times, re-downloaded the .zip twice
The GinCog3.xip installed fine.
Cog 3.04
dirtyballoonot said:
Gets stuck at Installing update for Icons and Dock. I've tried 3 times, re-downloaded the .zip twice
The GinCog3.xip installed fine.
Cog 3.04
Click to expand...
Click to collapse
I suppose I should have specified in the OP (will fix). The icon and dock zip file is just that, a zip file. download it and unzip the file to see the icons and dock. You will have to manually apply each one.
CB650 Wolf said:
I suppose I should have specified in the OP (will fix). The icon and dock zip file is just that, a zip file. download it and unzip the file to see the icons and dock. You will have to manually apply each one.
Click to expand...
Click to collapse
Must be too complex for me. My phone looks NOTHING like yours
Thanks a lot I've been wanting to change the toggle icons in the notification tray on my perception theme for a while. I loved yours (but I changed the unpressed ones a tiny bit) and now it looks amazing, thanks for sharing!
before:
after:
Looks good...what font are you using in the screen shots?
Fort Rucker, AL...DO NOT miss that place lol!!
I've successfully edited and replaced the framework.jar file from continuum 5.4.1, so this will *probably* work for other jvh roms.
I don't have an update.zip made yet, I'm not sure why I'm getting errors, but it still works to just replace the framework.jar and reboot. Download the attached file, then do
Code:
cd /directory/you/put/framework.jar
adb push framework.jar /system/framework/framework.jar
And now you have bounciness again. I dunno about anyone else but overscroll glow wasn't doing a thing for me!
Samsung source is here:
http://opensource.samsung.com/
Sent from my Nexus S using Tapatalk
what im thinking if you wanna get rid of the overscroll glow is why dont you just get rid of the images itself. there's only to from what i understand. delete the images or replace them with transparent images so you wont see it at all. the image names are: overscroll_edge & overscroll_glow
it does work. but you would have to make a zip for each different framework considering they're all different. easy deal.
Stock roms come with bounce. Glow is added as a mod but it overrides bounce though. If you want bounce just don't implement the mod.. simple. I actually have 2 versions of my framework.jar, 1 with bounce and one with glow.
If you're not a themer you should look into themeing guides. However, they don't explain too much working with java binaries. What you have to do is decompile the dex file in framework.jar and modify .smali files with an advanced text editor (maybe notepad++ on win).
Google this stuff. You'll find lots of info on it.
I'm not trying to disable the glow I want the bounce back, so altering the images would be pretty moot in this case but thanks for the response.
And yea I realize that the bounce is standard but every gingerbread rom I've flashed so far has the glow enabled so instead of waiting for rom devs to provide choice I'm trying to do it myself. It should just be a simple matter of compiling framework.jar, using smali and baksmali seemed like overkill in this case.
Why not take the framework.jar from the stock jvh rom? I'm not a fan of overly custom roms so I use the stock jvh (with only minimal customizations to make it work on the Captivate) from this awesome thread:
http://forum.xda-developers.com/showthread.php?t=948790
majinzen said:
Why not take the framework.jar from the stock jvh rom? I'm not a fan of overly custom roms so I use the stock jvh (with only minimal customizations to make it work on the Captivate) from this awesome thread:
http://forum.xda-developers.com/showthread.php?t=948790
Click to expand...
Click to collapse
Because.....well.....**** I never thought of that lol. I learned a lot from doing it the hard way though so it's all good. I'm gonna rip out the framework.jar's from jvb and any other popular Ginger roms and keep them all here though. I'm much happier with the bouncing I play with it constantly hehe
hello, sorry if i'm late, but i hate overscroll glow... i can't find the modded framework.jar that you said you attached..
Share
Would you care to share the mod you made to re-enable bounce?
It's a pain getting to threads like this finding neither the file mentioned is attached nor the method used explained for others to perform themselves.
The stock KJ3's overscroll effect is now also glow
How can I make it 'bounce'?
chazkenji said:
The stock KJ3's overscroll effect is now also glow
How can I make it 'bounce'?
Click to expand...
Click to collapse
hard work ... symply said forget it .
v1nsai or anyone else can give me some tips how to make bounce overscroll ? I have decompiled framework.jar.
Great, ill try
Sent from my SGH-I897 using Tapatalk 2
Hi i would like some help which would be nice from any Theme Creator or Dev because they will probably know where to look.
So can anyone tell me which files need to be changed to make the volume & brightness bars in quicksettings pulldown bar to change the bar color? i have changed the color via framework, system ui or htc res, rosie, settings files but.... not sure which files i changed in what location that did that?
Also which file do i need to locate to change the button pressed on the home screen? Cause i wanna get rid of the green sense look to my phone, my phone is looking pretty modded & i know how to use Photoshop to change PNGs & know how to mod APKs too.
Any help would be great i have tried the search bar on here & also in google but didnt get any results & to be honest i know people on XDA will know this.... thanks in advance
The progress bar color in quick settings is defined by this file: common_progress_full.9.png (in SystemUI.apk/res/drawable-hdpi)
Are you using a Gingerbread 2.3.5 or Sense 3.5 rom? If yes, the button press color in the homescreens can't be changed. At the moment all available tools fail with decoding the images.
In Sense 2.1, you have to edit Rosie.apk. For Sense 3 (+ GB 2.3.3 or .4), fusion.apk has to be edited with m10 tool.
I can give you more details if you want to.
Thanks
Thanks for that but i cant locate it in my system ui/res/drawable-hdpi? i tried looking in htc/rs/draw-hdpi too? cant find that common_progress_full.9.png? could you check again for me or if have time upload the file? i cant see why it would be missing though?
I havent had a chance to mess with the m10 editor? is it easy enough to use when editing the fusion.apk?
I love XDA.... its the best for phone modding & has many helpful members
sigurd_LU said:
The progress bar color in quick settings is defined by this file: common_progress_full.9.png (in SystemUI.apk/res/drawable-hdpi)
Are you using a Gingerbread 2.3.5 or Sense 3.5 rom? If yes, the button press color in the homescreens can't be changed. At the moment all available tools fail with decoding the images.
In Sense 2.1, you have to edit Rosie.apk. For Sense 3 (+ GB 2.3.3 or .4), fusion.apk has to be edited with m10 tool.
I can give you more details if you want to.
Click to expand...
Click to collapse
I have changed the button press & also found the common_progress_full.9.png from another rom but if you or anyone else can post your common_progress_full.9.png (in SystemUI.apk/res/drawable-hdpi) so i can try there one cause the progress bar isnt looking normal? it looks mis-shapen? Thanks again
What Rom are you using? Could you upload your SystemUI, so I can take a look
sigurd_LU said:
What Rom are you using? Could you upload your SystemUI, so I can take a look
Click to expand...
Click to collapse
I am running LeeDroid 3.3.3 but with sense add-on & my own custom red or colored icons & look! I uploaded my Sys UI, take a look for me? but i dont think i it will work? it maybe something to do with the rosie? my bars in quick settings dont look solid any more, i can live with it though, pics attached.
deanr1977 said:
I am running LeeDroid 3.3.3 but with sense add-on & my own custom red or colored icons & look! I uploaded my Sys UI, take a look for me? but i dont think i it will work? it maybe something to do with the rosie? my bars in quick settings dont look solid any more, i can live with it though, pics attached.
Click to expand...
Click to collapse
Your issue us a bad. 9.PNG it looks like you tried to edit it without decompiling the apk and running the new image threw the draw9patch tool
zelendel said:
Your issue us a bad. 9.PNG it looks like you tried to edit it without decompiling the apk and running the new image threw the draw9patch tool
Click to expand...
Click to collapse
what would you recommend i do? is there a solution or is it stuck this way for good?
I have a similar problem for the common progress bar which im assuming is in framework. I have decompiled, changed images, recompiled but the images are still default green.
Im baffled...
Any theme guru out there to advise...?
Does anyone know which is the location. png for a change in the transparent dock that is rosie navi bar?
goran60 said:
Does anyone know which is the location. png for a change in the transparent dock that is rosie navi bar?
Click to expand...
Click to collapse
be a little more specific on what your using(rom, sense version,etc.)
rayford85 said:
be a little more specific on what your using(rom, sense version,etc.)
Click to expand...
Click to collapse
He wants a fully transparent rosie for RCMix Runny. I have something for you Have a look in my thread: http://forum.xda-developers.com/showthread.php?t=1291351
sigurd_LU said:
He wants a fully transparent rosie for RCMix Runny. I have something for you Have a look in my thread: http://forum.xda-developers.com/showthread.php?t=1291351
Click to expand...
Click to collapse
Nice work!!! Please tell me how you got it to work on runny. I would love to include this in my mods.
Sent from my Desire HD using XDA App
rayford85 said:
Nice work!!! Please tell me how you got it to work on runny. I would love to include this in my mods.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
You have to load the Rosie.apk with m10 editor, then decompile the Rosie_navbar.m10 file and change the following opacity values from 1 to 0.0099999998. If you set them to 0, pressing on the buttons will have no effect.
thanks for this
MarylandCookie said:
I have a similar problem for the common progress bar which im assuming is in framework. I have decompiled, changed images, recompiled but the images are still default green.
Im baffled...
Any theme guru out there to advise...?
Click to expand...
Click to collapse
Do you mean the volume bars? if so just goto the UOT Kitchen & chage them in there, then flash them over your rom, or put the changes of your framework & system ui into your rom zip & flash your rom again?
goran60 said:
Does anyone know which is the location. png for a change in the transparent dock that is rosie navi bar?
Click to expand...
Click to collapse
Look here for rosie modding - http://forum.xda-developers.com/showthread.php?t=1210143
I have solved this thread problem if anyone has the same just change the common_music_progress_fill.9 this will change the volume bars in the status menu.
Hope this helps
MarylandCookie said:
I have a similar problem for the common progress bar which im assuming is in framework. I have decompiled, changed images, recompiled but the images are still default green.
Im baffled...
Any theme guru out there to advise...?
Click to expand...
Click to collapse
Progress_horizontal.xml in the drawable folder of framework-res.apk has to be changed
sigurd_LU said:
Progress_horizontal.xml in the drawable folder of framework-res.apk has to be changed
Click to expand...
Click to collapse
Nice one... only just seen your message lol
Fixed it as above
I still don't know how to do it. My Galaxy Mini has the EmanoN V3 Rom Installed, and I know how to change the boot animation (and where those animations are located) but I don't know anything about the Battery Charge Animation When the Phone is off.
I've read other threads but none of them helped me with this concern. It seems that in Samsung Galaxy Mini the Charging animation file is in other location and not in /System/Media.. I really want to change that old charging Animation (The big green battery charging xD)
It's in u framework.
Easy way is to use Uot kitchen or any theme to change it.
Of u want to change it yourself..then u should replace a few icons in ur framework with others of ur choice.
roofrider said:
It's in u framework.
Easy way is to use Uot kitchen or any theme to change it.
Of u want to change it yourself..then u should replace a few icons in ur framework with others of ur choice.
Click to expand...
Click to collapse
Oh, are you talking about the framework folder located on /system? because in that folder there are only .jar and .odex files.. oh, and 2 .apk called "lidroid-res" and "framework-res".
framework-res.apk is the one.
roofrider said:
framework-res.apk is the one.
Click to expand...
Click to collapse
Cool. It's seems that the EmanoN v3 ROM is not in the ROM list in Uot Kitchen. Well, In the case that I want to change the battery charging animation (when the phone is turned off) manually, how could I edit the 'framework-res.apk'?
Oh u want to change the charging anim when powered off?
It's close to impossible.
Very complex and I have no idea.
It has something to do with the kernel.
The only person afaik who has managed to do that is Chainfire with his app no moar powah and it's incompatible with Qvga.
My bad, sorry.
I didn't read ur OP with care.
[Off-Topic] question !
How can I change the default battery/Wifi/Network Signal icons (Stock 2.3.6 - S5570DDKQ7) to the one below :
http://forum.xda-developers.com/showpost.php?p=19943236&postcount=97
I really liked the ICS blueish battery icons, and had enough with Stock battery icons. Anyways I'm not concerned with Launchers or anything else, that's not a matter
How can I change the default battery/Wifi/Network Signal icons (Stock 2.3.6 - S5570DDKQ7) to the one below :
http://forum.xda-developers.com/show...6&postcount=97
I really liked the ICS blueish battery icons, and had enough with Stock battery icons. Anyways I'm not concerned with Launchers or anything else, that's not a matter
Click to expand...
Click to collapse
Do you mean the icons that are located in the status bar, right? Did you try Uot kitchen?
I'm more curious about how to change the battery charging animation when the phone is turned off. A friend told me that I could not change it because "that animation is part of the 'cellphone'. It's like the Downloading Mode image (that cannot be edited)" but I'm not sure about that..
Harp_River said:
Do you mean the icons that are located in the status bar, right? Did you try Uot kitchen?
I'm more curious about how to change the battery charging animation when the phone is turned off. A friend told me that I could not change it because "that animation is part of the 'cellphone'. It's like the Downloading Mode image (that cannot be edited)" but I'm not sure about that..
Click to expand...
Click to collapse
Yup, the one's that located in status bar. I've been browsing around in UOT Kitchen for sometime, but its not letting me to do anything (Its full)
And, also I'm too lazy to set all icons myself So its easy if anyone had modified framework-res.apk or SystemUI.apk with ICS battery icons set. The ICS battery icons in the link that I posted before, is a perfect choice for me.
coolsandie said:
How can I change the default battery/Wifi/Network Signal icons (Stock 2.3.6 - S5570DDKQ7) to the one below :
http://forum.xda-developers.com/showpost.php?p=19943236&postcount=97
I really liked the ICS blueish battery icons, and had enough with Stock battery icons. Anyways I'm not concerned with Launchers or anything else, that's not a matter
Click to expand...
Click to collapse
impassiable for odex rom ....
if you have deodex rom or custom rom can use UOT kitchen or edit frameeork-res.apk and systemui.apk .
it's so easy for deodex rom.
adib_17 said:
impassiable for odex rom ....
if you have deodex rom or custom rom can use UOT kitchen or edit frameeork-res.apk and systemui.apk .
it's so easy for deodex rom.
Click to expand...
Click to collapse
Hmm, yeah I guessed. Now I'm using CM7.2.0 RC3 and my wish is fullfilled
Sent from my GT-S5570 using XDA App
Check bootloader
Harp_River said:
Cool. It's seems that the EmanoN v3 ROM is not in the ROM list in Uot Kitchen. Well, In the case that I want to change the battery charging animation (when the phone is turned off) manually, how could I edit the 'framework-res.apk'?
Click to expand...
Click to collapse
Hi,
I was also looking for a similar solution for my android phone. Someone on the google group mentioned that this is a part of the bootloader (http://groups.google.com/group/android-platform/browse_thread/thread/7ab362a235b840d2). You got to modify the bootloader to achieve this. This is not part of android.