[Request] Deodexed stock ICS ROM for Sensation 4G - HTC Sensation

So Mike has posted deodexed stock ICS roms for both sensation and sensation xe, a long time ago in the dev section, but not for sensation 4G .
I am looking for such a rom (deodexed stock ICS) that works for sensation 4G as well.
I am sure a lot of other ppl would also be happy to have this

Here you go man, just what you requested.

T-Macgnolia said:
Here you go man, just what you requested.
Click to expand...
Click to collapse
Thanks a lot!
Im on the exact same ROM but odexed, do you think flashing this in recovery would flash my dada (i.e. erase everything)?

alireza_simkesh said:
Thanks a lot!
Im on the exact same ROM but odexed, do you think flashing this in recovery would flash my dada (i.e. erase everything)?
Click to expand...
Click to collapse
You will have to look in the updater-script in META-INF/com/google/android. If the updater-script has thecommands to erase and format data then yes it will. But if it does not it will not remove your data.

T-Macgnolia said:
You will have to look in the updater-script in META-INF/com/google/android. If the updater-script has thecommands to erase and format data then yes it will. But if it does not it will not remove your data.
Click to expand...
Click to collapse
Thanks!
Can you pls tell me where the META file is again? i extracted rom.zip from RUU but there is no folders inside rom.zip, just image files....

alireza_simkesh said:
Thanks!
Can you pls tell me where the META file is again? i extracted rom.zip from RUU but there is no folders inside rom.zip, just image files....
Click to expand...
Click to collapse
If you extracted the Rom.zip from the RUU then if I remember right that is just the system.img in the zip or the system.img and boot.img in it. You will have to put the Rom.zip in a kitchen and let the kitchen convert the system.img into a system folder and also let it generate the META-INF folder. Or just place the boot.img with a META-INF from a Sense ROM an then package the three into a zip. The META-INF is in the zip file you download for a ROM or the zip file the kitchen makes when you build the ROM.

T-Macgnolia said:
If you extracted the Rom.zip from the RUU then if I remember right that is just the system.img in the zip or the system.img and boot.img in it. You will have to put the Rom.zip in a kitchen and let the kitchen convert the system.img into a system folder and also let it generate the META-INF folder. Or just place the boot.img with a META-INF from a Sense ROM an then package the three into a zip. The META-INF is in the zip file you download for a ROM or the zip file the kitchen makes when you build the ROM.
Click to expand...
Click to collapse
OK so installed your stock ICS deodexed rom, then i restored my Data from Nandroid backup that i made earlier, but now the rom is odexed again....I didnt restore the System (just Data)...is there anything else that i can do?!

alireza_simkesh said:
OK so installed your stock ICS deodexed rom, then i restored my Data from Nandroid backup that i made earlier, but now the rom is odexed again....I didnt restore the System (just Data)...is there anything else that i can do?!
Click to expand...
Click to collapse
any thought?...

Related

Caution: UOT kitchen

Guyz, Do not ever flash the zip file obtained from UOT kitchen directly to the galaxy r. The Manifest and settings.uot files in the UOT zip file have the wrong configurations ie. not compatible with our phone. The assumed busybox location in the settings and Manifest file is wrong as a result when you flash the zip file it will only delete the original framework-res.apk, systemui.apk and twframework.apk but would not replace them with the modified ones from the UOT zip file. So when you reboot.....---> BOOT LOOP...dead end. I would suggest you to manually push the modified files to their respective locations. I myself ended up into a boot loop yesterday and as luck would have it even my nandroid backup had become corrupt...so had to flash a stock rom through odin..atleast it saved me.
Thanks saurabh.khare for the info.
i've used UOT kitchen many time and i didn't face any problem, when you are flashing the wrong zip file you will have these kind of issues for eg: once i've uploaded the stock ROM framework and flashed it on custom ROM then i faced these kind of issue's..
Yup me too, I've flashed uot-files several times. Never faced such issues.
mj.vikram said:
i've used UOT kitchen many time and i didn't face any problem, when you are flashing the wrong zip file you will have these kind of issues for eg: once i've uploaded the stock ROM framework and flashed it on custom ROM then i faced these kind of issue's..
Click to expand...
Click to collapse
Buddy I'm very much sure that I did nothing wrong. I extracted the files out of a rooted stock ROM(XWKI5) and flashed the cooked zip file over the same rooted Stock ROM through CWM. I have attached the file for you reference...If you could go through and point out where I went wrong I would be very glad
saurabh.khare1000 said:
Guyz, Do not ever flash the zip file obtained from UOT kitchen directly to the galaxy r. The Manifest and settings.uot files in the UOT zip file have the wrong configurations ie. not compatible with our phone. The assumed busybox location in the settings and Manifest file is wrong as a result when you flash the zip file it will only delete the original framework-res.apk, systemui.apk and twframework.apk but would not replace them with the modified ones from the UOT zip file. So when you reboot.....---> BOOT LOOP...dead end. I would suggest you to manually push the modified files to their respective locations. I myself ended up into a boot loop yesterday and as luck would have it even my nandroid backup had become corrupt...so had to flash a stock rom through odin..atleast it saved me.
Click to expand...
Click to collapse
I have flashed files from UOT several times on Galaxy R without any errors(Both Stock Odex and Deodex ones). Not sure why you had issues.

[DISCONTINUED]Installation Error

Hey guys,I am a starter in Galaxy Fit development(sry to be noobish).I used a stock 2.3.6 dxkt7 rom and built a custom rom without any changes to the apks or anyother things even the bootanimation but when i try to install the rom i get status 0 error.I read what a status 0 error is but not able to rectify it can someone pls help.Thanks in advance
hmm..
yeshwanthvshenoy said:
Hey guys,I am a starter in Galaxy Fit development(sry to be noobish).I used a stock 2.3.6 dxkt7 rom and built a custom rom without any changes to the apks or anyother things even the bootanimation but when i try to install the rom i get status 0 error.I read what a status 0 error is but not able to rectify it can someone pls help.Thanks in advance
Click to expand...
Click to collapse
hmm.. have you changed something in the Uppdate-Binary?
Use this recovery. Still facing problem then copy meta-inf folder from any custom rom for fit
FurFur_ said:
hmm.. have you changed something in the Uppdate-Binary?
Click to expand...
Click to collapse
no didnt make any changes to anything just extracted system.rfs and boot.img using kitchen made the system and boot.img files and added superuser and bulit the rom thatz all the edits i did
MajinSaiyan4 said:
Use this recovery. Still facing problem then copy meta-inf folder from any custom rom for fit
Click to expand...
Click to collapse
yes this ver of cwm only am using too :cyclops: yes and i tried meta inf of others but that aso not working(used razordroid,jana rom,hyperdroid,creed's rom-meta inf files)....others meta infs wont work bcoz the stock works on ext4 i think :crying:
can anyone give the updater-script of a stock rom that has root function only pls
do this zip aliign evertyhing add busybox via kitche(deodex if you want to)
then copy all the files from working folder to folder x
pick up meta inf and boot.img from any custom rom and copy it to folder x zip it via winzip or any other soft and flash the zip ....
speed_bot said:
do this zip aliign evertyhing add busybox via kitche(deodex if you want to)
then copy all the files from working folder to folder x
pick up meta inf and boot.img from any custom rom and copy it to folder x zip it via winzip or any other soft and flash the zip ....
Click to expand...
Click to collapse
Thank u mate it works now.The update-binary file was corrupted that is why it didnt install.Thanks a ton
FurFur_ said:
hmm.. have you changed something in the Uppdate-Binary?
Click to expand...
Click to collapse
The android kitchen auto generated a update-binary that did not match my mobile that was why i encoutered this issue thanks a lot mate
thats because kitchen converst update script into edify and other crap

[TUT] How to extract .ftf file to make custom rom - and few tips [2012 Xperia]

[TUT] How to extract .ftf file to make custom rom - Flashable ZIP [2012 Xperia]
This tutorial is for developers who want to make their own custom rom based on official firmware. OK, let's start.
Explanations:
Inside every flashable zip file there are two folders - system and META-INF:
1) system folder - That is actually your ROM and all it's content (If you ROOT your device you gain access to this folder in your device).
2) META-INF folder - That folder gives instructions to your device (ClockWorkMod) how to flash ROM, sets permissions...
This is method to get Stock/Official system folder that you need to edit to make custom ROM.
You will need to find/make yourself contents of META-INF folder - You may took it from another ROM and (maybe) edit.
NOTE: If you use this method your ROM will work for both Locked/Unlocked bootloaders, and it will require that you have firmware your ROM is based on already installed before flashing.
Click to expand...
Click to collapse
How to get contents of stock/official system folder - Extract .ftf file:
1. Download .ftf file for your device.
2. Extract .ftf file using 7Zip.
3. You will get system.sin and other files. You only need system.sin file so delete others.
4. Open flashtool and inside flashtool open SIN Editor to dump data from system.sin - you will get an ext4 file.
5. Open ext2Read and extract ext4 file.
6. Done.
Click to expand...
Click to collapse
How to put CWM into your ROM:
OK, Now you ask - Why do I have to put CWM into ROM? Let's explain:
CWM is custom recovery that you use to flash zip files to your device. There are two types of CWM:
1. For both Locked and Unlocked bootloaders - Recovery is in the system folder of the ROM.
2. Only for Unlocked bootloaders - Recovery is somewhhere else (You don't need that).
Because your ROM is based on official firmware it will be for both Locked/Unlocked bootloaders.
Therefore, you will flash your ROM in CWM for both Locked/Unlocked bootloaders.
And if you flash you will replace system folder of previous ROM. Because CWM was in that folder of previous ROM - You will lose CWM.
That is why you need to put CWM.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Find CWM for both bootloaders for your device.
1. Copy sh file inside files folder to system/xbin.
2. Copy other files inside files folder to system/bin.
3. Go to META-INF/com/google/android/ and you will find updater-script.
4. Add the following lines to it
Code:
set_perm(0, 0, 0755, "/system/bin/recovery.tar");
set_perm(0, 0, 0755, "/system/bin/battery_charging");
set_perm(0, 0, 0755, "/system/bin/battery_charging_help");
set_perm(0, 0, 0755, "/system/xbin/sh");
Thanks srl3gx for tutorial.
Click to expand...
Click to collapse
How to add ROOT into your ROM:
Want your custom rom to be rooted? Here is how:
1. First you need to choose from two great root management apps: Superuser (choose ARM one) and SuperSU(I prefer SuperSU).
2. Download zip file.
3. Go to "system" folder in downloaded zip and copy files within their folders to its place in your rom (same directory - if was "app" then copy in "app".
4. Edit updater-script to set correct permissions - Find that on someone elses rom, it should look just like for CWM, but for those files.
5. Done.
Click to expand...
Click to collapse
Useful notes:
1. Don't edit any file in zip with Windows Notepad or else you will get an error in CWM - you need Notepad++.
2. When you put system and META-INF folders into zip set compression to - Store.
Click to expand...
Click to collapse
thanks.....
very helpful :good:
Option58 said:
[TUT] How to extract .ftf file to make custom rom - flashable ZIP [2012 Xperia]
This tutorial is for developers who want to make their own custom rom based on official firmware. Note that as of 2012 our Xperias use ext4 file system so other tutorials won't work.
Inside every flashable zip file there are two folders - system and META-INF...System folder is ROM content...and META-INF gives instructions to CWM how to flash ROM Content....This is method to get contents of SYSTEM folder, you must find META-INF yourself....​
1. Download .ftf file for your device.
2. Extract .ftf file using 7Zip.
3. You will get system.sin and other files..You only need system.sin file so delete others...
4. Open flashtool and inside flashtool open SIN Editor to dump data from system.sin - you will get an ext4 file.
5. Open ext2Read and extract ext4 file...
6. Done...you will get contents of system folder that you need to modify...
7. IMPORTANT - When you later make zip choose compression - Store
PS: Don't edit files with Windows Notepad or else you will get an error in CWM - you need Notepad++...
Maybe later I will make Screenshots
Click to expand...
Click to collapse
any idea on how I can edit boot.img? the one used for this device are different from what I know.. I am trying dual boot..
you can pack and repack boot img with Android kitchen i think
Great tut
Sent from my Xperia Tipo using xda app-developers app pro
I already knew this method. However I congratulate you for your initiative. :highfive:
Well I learned something else. Before it only used to extract some files. I did not know we could do this way the custom roms.
I'll try to make a custom rom.
However verified that the file size of system.ext4 is 665,654 KB. Once extracted using ext2read, is only 467 MB.
It is normal for this situation? Instead of decreasing, should not increase after extracted?
Kind regards,
Jorge Moreira
drummer1839 said:
you can pack and repack boot img with Android kitchen i think
Click to expand...
Click to collapse
nope.. you cant.. It says android magic header not found. researching a bit, found out that this is a cpio archive.. I did manage to extract it to get 2 .gz files.. but they cannot be opened..
Jorge Moreira said:
I already knew this method. However I congratulate you for your initiative. :highfive:
Well I learned something else. Before it only used to extract some files. I did not know we could do this way the custom roms.
I'll try to make a custom rom.
However verified that the file size of system.ext4 is 665,654 KB. Once extracted using ext2read, is only 467 MB.
It is normal for this situation? Instead of decreasing, should not increase after extracted?
Kind regards,
Jorge Moreira
Click to expand...
Click to collapse
That was my problem too I ended up with an ext2read error and less size
But ext4 is Linux system partition and not zip file. Maybe flashtool made partition that big so every file could go there easily and it couldn't set exact size.
There is no other tool on internet, only ext2read.
Option58 said:
That was my problem too I ended up with an ext2read error and less size
But ext4 is Linux system partition and not zip file. Maybe flashtool made partition that big so every file could go there easily and it couldn't set exact size.
There is no other tool on internet, only ext2read.
Click to expand...
Click to collapse
Anyway I will try this weekend, make a custom rom lighter and functional.
Kind regards,
Jorge Moreira
Jorge Moreira said:
Anyway I will try this weekend, make a custom rom lighter and functional.
Kind regards,
Jorge Moreira
Click to expand...
Click to collapse
OK, don't forget to add CWM and root into your ROM. Actually I will rewrite my post in few days.
OK, the tutorial is rewritten. But it is not done. I will finish the rest later.
i did these steps[even without adding CWM ,just making a flashable stock rom(not included cwm) from cwm] ,but while want to install zip (my custome rom) from recovery ,installation after 2 seconds facing with error("installation aborted")
what is it's reason?
thanks
Jamal_RS said:
i did these steps[even without adding CWM ,just making a flashable stock rom(not included cwm) from cwm] ,but while want to install zip (my custome rom) from recovery ,installation after 2 seconds facing with error("installation aborted")
what is it's reason?
thanks
Click to expand...
Click to collapse
There's some error in updater script, upload it...
Have you edited with notepad or Notepad ++
Option58 said:
There's some error in updater script, upload it...
Have you edited with notepad or Notepad ++
Click to expand...
Click to collapse
i didn't edit updater script
Jamal_RS said:
i didn't edit updater script
Click to expand...
Click to collapse
And you took it from who?
Option58 said:
And you took it from who?
Click to expand...
Click to collapse
oh understood!!
i want to combine your tutorial and this thread
to make a rooted and included cwm custom rom
so i used from "META-INF folder and ROOTING files" that presented on that thread
i think this is my fault!
is it right?
thanks
Jamal_RS said:
oh understood!!
i want to combine your tutorial and this thread
to make a rooted and included cwm custom rom
so i used from "META-INF folder and ROOTING files" that presented on that thread
i think this is my fault!
is it right?
thanks
Click to expand...
Click to collapse
I understand now.
First that zip should only make use to you to learn a little bit more about development. To install that you need already to be rooted with CWM installed.
Second it doesn't install because our devices use a little bit different things. Edit and change every MTD to EMMC and every yaffs (or similar) to ext4. (Notepad ++)
I have only one recovery, from this thread : http://forum.xda-developers.com/showthread.php?t=2034639
Where I need to put it? in zip file or in system folder?
lozohcum said:
I have only one recovery, from this thread : http://forum.xda-developers.com/showthread.php?t=2034639
Where I need to put it? in zip file or in system folder?
Click to expand...
Click to collapse
Read my tut again, that recovery wont do the job.
Does anybody want help me about the new project. Extract ftf. Look at Q&A section.
I read it several times and still can't get it. So please explain. And can You reupload flashtool?

How to make flashable zip from nandroid backup with meta inf folder?

hey guys I want to create a custom rom flashable in cwm I want to convert my nandroid backup to flashable zip but when i convert it doesn't have meta-inf only data, system and boot.img is there
.
I will use the meta-inf for my costom rom because i will copy some scripts in updater-script
.
Is there any options i will appreciate the one who can help me
jom23rd said:
hey guys I want to create a custom rom flashable in cwm I want to convert my nandroid backup to flashable zip but when i convert it doesn't have meta-inf only data, system and boot.img is there
.
I will use the meta-inf for my costom rom because i will copy some scripts in updater-script
.
Is there any options i will appreciate the one who can help me
Click to expand...
Click to collapse
You could find a way to
Flash system.img, data.img, and cache.img using scripts
then, use updater-script to copy those "scripts" that you want to
You could take a lil' help from here, http://forum.xda-developers.com/showthread.php?t=2266285, "reverse engineer" the tool for your requirements :angel:
THANKS
vineethraj49 said:
You could find a way to
Flash system.img, data.img, and cache.img using scripts
then, use updater-script to copy those "scripts" that you want to
You could take a lil' help from here, http://forum.xda-developers.com/showthread.php?t=2266285, "reverse engineer" the tool for your requirements :angel:
Click to expand...
Click to collapse
thanks for your help ill try that
________________________________________________
I APPRECIATE THE ONE WHO HELPED ME
________________________________________________
i misunderstand
vineethraj49 said:
You could find a way to
Flash system.img, data.img, and cache.img using scripts
then, use updater-script to copy those "scripts" that you want to
You could take a lil' help from here, http://forum.xda-developers.com/showthread.php?t=2266285, "reverse engineer" the tool for your requirements :angel:
Click to expand...
Click to collapse
I converted my nandroid backup into update.zip
.
The question now is
.
how can I flash system.img,data.img,cache.img to get those scripts for my updater-script?
U said flash system.img,data.img,cache.img using scripts
.
But i didn't have scripts?
.
I have a meta inf folder but updater-script is not edited because I didnt know what script I will put in this
.
Sorry i didnt understand how to get those scripts while I flash it
.
________________________________________________
I APPRECIATE THE ONE WHO HELPED ME
________________________________________________
jom23rd said:
I converted my nandroid backup into update.zip
But i didn't have scripts?
I have a meta inf folder but updater-script is not edited because I didnt know what script I will put in this
Click to expand...
Click to collapse
If you already have an update.zip that works, then, probably the existing updater-script flashes the system.img, data.img and cache.img... Could you please post the updater-script from the "update.zip" that you obatained :fingers-crossed:

Unpack system.new.dat

Hi guys, I was able to extract system.new.dat from a rom (purity lollipop) and now I have the old good system with folders, so I can change whatever I want. But I tried to flash the zip and only the boot.img gets installed, the rest seems to be ignored.. What should I change in the zip on order to get it to install correctly?
carlese said:
Hi guys, I was able to extract system.new.dat from a rom (purity lollipop) and now I have the old good system with folders, so I can change whatever I want. But I tried to flash the zip and only the boot.img gets installed, the rest seems to be ignored.. What should I change in the zip on order to get it to install correctly?
Click to expand...
Click to collapse
Look at the updater-script
Lethargy said:
Look at the updater-script
Click to expand...
Click to collapse
Can I use the updater from the same rom but kitkat version? The things I install are the same I think..

Categories

Resources