[Q] Upgrading to ICS including other tweaks - Sony Ericsson Xperia Neo, Pro

Hi,
I'm kinda new to flashing and upgrading my phone.
Therefore I got some questions:
Currently running on my Neo: AOSP 4.0.3 ICS BETA with kernel provided there
Baseband says: 56 as last two digits
I would like to upgrade my baseband to 62. (latest)?
As far as I understood I will have to flash 4.0.2.A.0.62 Baseband using flashtool.
Do I have to flash the kernel again after upgrading baseband or should I flash the 4.0.2.A.0.62 Kernel first and change it afterwards?
fastboot flash boot boot.img
Click to expand...
Click to collapse
Will changing the baseband or kernel delete anything?
When would be the right time to apply the RAISE your NEO userdata space patch? Before or after baseband, kernel flash?
Sometimes they say that a reboot is required after flashing a new ROM before flashing an update.zip in CWM. Do I have to reboot at other times?
Is there a tool or a possibility I missed which can flash anything like baseband, kernel, ROM and updates to it in one step?
If I want to edit a ROM like directly changing bootanimation and ringtones.
How should the zip file be packed? No compression, etc?
Is it a good idea to include updates which I would have flashed in CWM directly into the ROMs zip file?

Do I have to flash the kernel again after upgrading baseband or should I flash the 4.0.2.A.0.62 Kernel first and change it afterwards?
Click to expand...
Click to collapse
Kernel is not related to baseband. Simply flash baseband, no need to flash kernel after or before.
Will changing the baseband or kernel delete anything?
Click to expand...
Click to collapse
Flashing baseband won't delete anything, but flashing kernel might. I see that kernel in that thread have CWM inside, so if you flash stock kernel you will lose that.
When would be the right time to apply the RAISE your NEO userdata space patch? Before or after baseband, kernel flash?
Click to expand...
Click to collapse
Whenever you want. It's not related to kernel or baseband.
Sometimes they say that a reboot is required after flashing a new ROM before flashing an update.zip in CWM. Do I have to reboot at other times?
Click to expand...
Click to collapse
Yes, they say that so that ROM "settles down in it's place" then you can install fixes and stuff.
What other times?
Is there a tool or a possibility I missed which can flash anything like baseband, kernel, ROM and updates to it in one step?
Click to expand...
Click to collapse
There is flashtool, but only for stock rom's. Custom roms are installed as a .zip file via CWM recovery.
If I want to edit a ROM like directly changing bootanimation and ringtones.
Click to expand...
Click to collapse
You can do that with root explorer app(or any app which can access to system), create that bootanimation.zip on pc and upload it to sdcard, then move it to where it needs to be. For bootanimation.zip, yes, it's with no compression. How it's created, check other bootanimation.zip's over the net.
For other zip's which are flashed trough CWM, it's a bit more complicated to explain how to create them.
Is it a good idea to include updates which I would have flashed in CWM directly into the ROMs zip file?
Click to expand...
Click to collapse
Well depends. Most likely yes, but I would still ask creator/porter of each rom if that is advisable

Madfysh said:
seXneo said:
If I want to edit a ROM like directly changing bootanimation and ringtones.
How should the zip file be packed? No compression, etc?
Click to expand...
Click to collapse
You can do that with root explorer app(or any app which can access to system), create that bootanimation.zip on pc and upload it to sdcard, then move it to where it needs to be. For bootanimation.zip, yes, it's with no compression. How it's created, check other bootanimation.zip's over the net.
For other zip's which are flashed trough CWM, it's a bit more complicated to explain how to create them.
Click to expand...
Click to collapse
Thank you very much.
But in this point there was a misunderstanding.
I just wanted to know how the update.zip or rom.zip has to be packed and if it's save to replace bootanimation.zip inside rom.zip. Are there any checksums for apk or other files inside an CWM update.zip I need to change?
Most of the ICS based ROMs use MT15i_Neo_ICS_Kernel_V1.img. Where does it come from and where is it's original thread?

if it's save to replace bootanimation.zip inside rom.zip. Are there any checksums for apk or other files inside an CWM update.zip I need to change?
its safe to change bootanimations.zip and any other apk or file in side the provided update.zip file
but if u extract it n do changes then u will lose the signature of the developer n wont b able to install the update.zip properly

chintu1234 said:
its safe to change bootanimations.zip and any other apk or file in side the provided update.zip file
but if u extract it n do changes then u will lose the signature of the developer n wont b able to install the update.zip properly
Click to expand...
Click to collapse
Yes of course. If original zip file flashed and runs nice it will be my fault if it won't after my edits.
So no checksums in the update.zip directly. Thanks.
Signing of an altered apk file is required. Got it.
And I figured that there is no signing of the bootanimation possible.
Will post my question regarding the kernel in an extra thread.

Related

[Q] Converting a .zip ROM into .tar to flash with Odin

I was asking if there's any way to convert a .zip ROM into a .tar ROM to flash with Odin..
The reason why I'm asking this is because I'm unable to flash any ROM via CWM recovery. I can only flash ROMs via Odin. Please see this for further information to my problem.
I'm particularly fond of the MIUI ROM, but there's no Odin version of that.. and CWM doesn't work for me
Have you got usb debugging enabled on your phone?
Thaw.Bytes said:
Have you got usb debugging enabled on your phone?
Click to expand...
Click to collapse
Yeah, always ._.
This is the installation instructions from adys miui rom which i usually use...not sure if you do this already but this usually works for me (wipe cache n devlik aswell)
1. Copy Zip to SDCard.k
2. Reboot to Recovery.
3. Wipe data/factory Reset.
4. Wipe /system from Mounts and Storage.
5. Install *your Rom* zip from SDCard.
6. Reboot (First boot may take time due to alot of init.d scripting)
Convert ZIP to TAR
Thaw.Bytes said:
This is the installation instructions from adys miui rom which i usually use...not sure if you do this already but this usually works for me (wipe cache n devlik aswell)
1. Copy Zip to SDCard.k
2. Reboot to Recovery.
3. Wipe data/factory Reset.
4. Wipe /system from Mounts and Storage.
5. Install *your Rom* zip from SDCard.
6. Reboot (First boot may take time due to alot of init.d scripting)
Click to expand...
Click to collapse
ArcConvert is a free portable tool for Windows that allows you to convert many different types of archives to known formats.
tuesmonhero said:
ArcConvert is a free portable tool for Windows that allows you to convert many different types of archives to known formats.
Click to expand...
Click to collapse
Tried it, converted a kernel .zip file to.tar for Note 2 and it blue-screened Win7 during .tar installation. No damage to PC or phone, but DAYUM!
Justin Demoude said:
Tried it, converted a kernel .zip file to.tar for Note 2 and it blue-screened Win7 during .tar installation. No damage to PC or phone, but DAYUM!
Click to expand...
Click to collapse
I don't think direct conversion like that will ever work, just ask the related developer to generate a tar file for you, ask one of the most helpful devs like salesale(NeatRom creator) or the dev of RevoltRom.
Sent from my GT-P6200 using xda app-developers app
I want to convert .tar rom to .zip flashable file
tariq2kn said:
I want to convert .tar rom to .zip flashable file
Click to expand...
Click to collapse
Why?
You'd need to write a script that specifies what files get flashed to where & create your own flashable zip. Or you could swap the files from the tar into an existing CWM flashable I guess; not sure if this will work tho, the script may be specific to those particular files & might not work with different ones (I'm not au fait with these scripts, hence not being sure). I personally wouldn't try this tho, just flash the tar in Odin already.
The last sentence says it all
MistahBungle said:
You'd need to write a script that specifies what files get flashed to where & create your own flashable zip. Or you could swap the files from the tar into an existing CWM flashable I guess; not sure if this will work tho, the script may be specific to those particular files & might not work with different ones (I'm not au fait with these scripts, hence not being sure). I personally wouldn't try this tho, just flash the tar in Odin already.
Click to expand...
Click to collapse
Could you make a .zip(without rom) for xwlss .tar rom file so that I can flash through recovery without the pc odin.
tariq2kn said:
I want to convert .tar rom to .zip flashable file
Click to expand...
Click to collapse
That's easy (well can cause catastrophe if handled without proper knowledge) just use android kitchen.
Edit :Seriously though must be very careful, I used it to deodex JB firmware for my tab 7 plus (it doesn't have any proper developer support so had to do it manually) and I had a plethora of minor bug's popping up, insignificant but annoying nonetheless, quite frankly must be ready to spend hours for proper tweaking and understanding framework to build a good flashable zip, I didn't have the patience nor the time.
Sent from my GT-P6200 using xda app-developers app
Could I make one for you ? Absolutely not.
I don't sit around all day doing nothing just waiting for n00bs to give me stuff to do for them. If you really want to make one, you'll work out how to do it for yourself. Or you won't *shrugs*
tariq2kn said:
Could you make a .zip(without rom) for xwlss .tar rom file so that I can flash through recovery without the pc odin.
Click to expand...
Click to collapse
how to convert rom files from .zip to odin flashable .tar.md5
I am really in need of help to save a bootlogo stuck bricked Galaxy S5 SM G900F ...i need to flash a new rom ... I need to convert ".zip" Rom to "Odin" usable ".tar.md5" ....faaaaaast...
H E L P !!! :confused :silly:
I need that piece of info as well got to convert a zip Rom to tar to flash via Odin. Not too comfortable with flashing through zip files.
I also need to convert a flashable zip file tar file
oqaab said:
I need that piece of info as well got to convert a zip Rom to tar to flash via Odin. Not too comfortable with flashing through zip files.
Click to expand...
Click to collapse
Brothers. i also need a program that converts a flashable zip file into a tar file, so that it could be installed via odin.
thanks
add me to the list that need to convert the zip to tar
Donnie Sins said:
Why?
Click to expand...
Click to collapse
To build his custom stock rom ?

extract kernel from rom

hey guys so i installed cm7
and then used DJNoXD.
i was wondering how can i go back to the original kernel?
how can i extract the kernel from the rom?
or do you guys have any other suggestions for which kernel should be used?
please help
Ramis93 said:
hey guys so i installed cm7
and then used DJNoXD.
i was wondering how can i go back to the original kernel?
how can i extract the kernel from the rom?
or do you guys have any other suggestions for which kernel should be used?
please help
Click to expand...
Click to collapse
You can use Roq's latest Kernel from Here.
Ramis93 said:
hey guys so i installed cm7
and then used DJNoXD.
i was wondering how can i go back to the original kernel?
how can i extract the kernel from the rom?
or do you guys have any other suggestions for which kernel should be used?
please help
Click to expand...
Click to collapse
Just flash cm7 again (without wiping anything).
After that you will have the original kernel again.
DJNoXD said:
Just flash cm7 again (without wiping anything).
After that you will have the original kernel again.
Click to expand...
Click to collapse
but that would reset all all my settings.
isnt there a way to extract the kernel?
No, if you flash a new version (or the same version) of cm you won't loose all your settings. Important is that you only wipe dalivik cache and cache, nothing else.
Than the only thing you loose are changes you have done to "system"-folder. But less people do this.
The normal configurations like wlan, ... are not touched / lost.
If you are scared to loose your rom data, create a backup (clockwork recovery) before.
Only extracting is not easily possible.
If you got the kernel "zImage" file and the "wireless.ko" module, you have to create the signed zip file before you can flash it.
source cyanogenmod
Code:
Option 1: Koush's AnyKernel zip file Koush's AnyKernel repacks the kernel in the package with the ramdisk currently flashed to the device. Therefore, we need to change the boot.img --base address so the boot.img will boot on the 32A device. This change needs to be made in mkbootimg.sh in the package. Koush has a 32A branch of AnyKernel here: http://github.com/koush/AnyKernel Clone the AnyKernel repo
git clone git://github.com/koush/AnyKernel.git -b 32A
This will make a folder called AnyKernel in your working directory. Keep this and just copy it to your packaging directory.
Copy the AnyKernel folder to a working directory. In the AnyKernel folder you have three folders:
kernel
Put the zImage in this folder. Leave it named zImage
META-INF
system
Put the wlan.ko in system/lib/modules. Replace the placeholder wlan.ko file.
Now you can zip the 3 folders together and sign them
zip -r port.zip *
java -classpath <path to SDK/tools>testsign.jar testsign port.zip signed-port.zip
for example:
java -jar ../SignApp/signapk.jar ../SignApp/testkey.x509.pem ../SignApp/testkey.pk8 port.zip update_signed.zip
This creates a signed zip file called port.zip and can be flashed. :) You are done.
DJNoXD said:
No, if you flash a new version (or the same version) of cm you won't loose all your settings. Important is that you only wipe dalivik cache and cache, nothing else.
Than the only thing you loose are changes you have done to "system"-folder. But less people do this.
The normal configurations like wlan, ... are not touched / lost.
If you are scared to loose your rom data, create a backup (clockwork recovery) before.
Only extracting is not easily possible.
If you got the kernel "zImage" file and the "wireless.ko" module, you have to create the signed zip file before you can flash it.
Click to expand...
Click to collapse
oh ok then, thanks
p.s would you recommend Roq's kernel or the default cm7 one?
(i won't be gaming on my phone. just want performance and battery life)
I haven't tried roqs latest kernel.
Just try it. Only you will know what you are searching for.
All custom kernels are good. But not every kernel is good for everyone.
Edit: What kind of performance are you searching for?
ok then,
thanks for the help
Here you can get the stock kernel for CM7
http://forum.xda-developers.com/showthread.php?t=1564203
Sent from my LG-P500 using XDA
yuripg1 said:
Here you can get the stock kernel for CM7
http://forum.xda-developers.com/showthread.php?t=1564203
Sent from my LG-P500 using XDA
Click to expand...
Click to collapse
awesome thanks
yuripg1 said:
Here you can get the stock kernel for CM7
http://forum.xda-developers.com/showthread.php?t=1564203
Sent from my LG-P500 using XDA
Click to expand...
Click to collapse
Haven't seen that you have updated your kernel to latest sources.
> you can use kitchen to extract zimage.. and copy modules from system>lib>modules folder.. I dont know how to repack it as a zip? may be by the link given above for stock kernel with outdated source.. just replace zimage and modules content on the zip.
I get the zImage using a flashable ZIP that I made.
http://db.tt/0WKE2o8w
What I did was simply modify a kernel installer (by Koush) to make it extract the boot.img of the ROM currently installed to the SD card.
After flashing it, I copy and rename the zImage in /sdcard, copy the modules in /system/lib/modules and make the flashable ZIP as any other kernel.
Sent from my LG-P500 using XDA

[SOLVED] Can anyone please explain this ROM?

I have problems in installing part of **FeraLab*** ICS v1 heres the thread http://forum.xda-developers.com/showpost.php?p=25331067&postcount=2452
Please help...
i did was:
-flash the kernel *done
-go to CWM 5.5 and format all partitions and mount all partitions...install it and reboot ***problem part..
-Installing ROM **not done
-Reboot and done **not done
the problem part is what id dont know how to do...its messed up.. or something.. please help
did the rom download properly. check again if its downloaded fully.
Yes it downloaded fully.. I dont know why it does not show up in CMW?
When I check the downloaded fule its a .tar not a .zip.. I tried to get to zip but it just takes erroe
Sent from my X10S using my hand
Gooperz06 said:
Yes it downloaded fully.. I dont know why it does not show up in CMW?
When I check the downloaded fule its a .tar not a .zip.. I tried to get to zip but it just takes erroe
Sent from my X10S using my hand
Click to expand...
Click to collapse
so the rom doesnt show up in cwm?
make sure the extension is .zip
also check if its inside some folder and not directly in root directory of sdcard
On the computer open up the .tar file and see if the .zip file of the rom is in there the TAR extension is a compressed file which has other files in it
Sent from my X10i using xda premium
dunc4n88 said:
On the computer open up the .tar file and see if the .zip file of the rom is in there the TAR extension is a compressed file which has other files in it
Sent from my X10i using xda premium
Click to expand...
Click to collapse
yeah theres a zip file in there but theres a kernel in the .tar too..
THeLogiC said:
so the rom doesnt show up in cwm?
make sure the extension is .zip
also check if its inside some folder and not directly in root directory of sdcard
Click to expand...
Click to collapse
inside the .tar theres a .zip called update_es209ra_ICS_alpha1_CWM5 and a kernel wich is a SIN file thats it..maybe i need to flash the .zip... and what will i do to tha kernel?
Gooperz06 said:
inside the .tar theres a .zip called update_es209ra_ICS_alpha1_CWM5 and a kernel wich is a SIN file thats it..maybe i need to flash the .zip... and what will i do to tha kernel?
Click to expand...
Click to collapse
you need to flash zip file
THeLogiC said:
you need to flash zip file
Click to expand...
Click to collapse
and what will i do to the kernel.sin?
ignore that.
just flash ferakernel
boot into cwm and install the zip file.
THeLogiC said:
ignore that.
just flash ferakernel
boot into cwm and install the zip file.
Click to expand...
Click to collapse
ok..tnx again for ur continues help...
will my current ROM will affect the new ROM... my current is X10S ROM
Gooperz06 said:
will my current ROM will affect the new ROM... my current is X10S ROM
Click to expand...
Click to collapse
not really.
make sure to wipe data before installing feraICS

[Q] Can I flash camera.apk

My stupid friend has deleted me the camera.apk through titanium
Can I just flash this apk or I have to flash a rom?
Either re-flash or use root explorer to move the apk to system/apps folder and fix permissions.
gastonw said:
Either re-flash or use root explorer to move the apk to system/apps folder and fix permissions.
Click to expand...
Click to collapse
I have downloaded CameraGalaxyS2.zip inside theres only
META-INF
system
files.. I tried flash it through CWM but it doesnt work.. can I flash it with odin? if yes where do I place it
or what the other way? what file exactly I move where
rosti93 said:
I have downloaded CameraGalaxyS2.zip inside theres only
META-INF
system
files.. I tried flash it through CWM but it doesnt work.. can I flash it with odin? if yes where do I place it
or what the other way? what file exactly I move where
Click to expand...
Click to collapse
Flash it then fix permissions in cwm. Also try clearing dalvik cache.
rosti93 said:
I have downloaded CameraGalaxyS2.zip inside theres only
META-INF
system
files.. I tried flash it through CWM but it doesnt work.. can I flash it with odin? if yes where do I place it
or what the other way? what file exactly I move where
Click to expand...
Click to collapse
what ROM are you on?
you can't flash an app, you need to move the apk to the system folder with root explorer.
when i said re-flash i meant re-flash the whole ROM.
google it, i'm sure you are not the first one.
gastonw said:
what ROM are you on?
you can't flash an app, you need to move the apk to the system folder with root explorer.
when i said re-flash i meant re-flash the whole ROM.
google it, i'm sure you are not the first one.
Click to expand...
Click to collapse
Yes you can flash an app aslong as its in a flashable zip like the user mentioned in the reply you quoted.
Didn't know that. Cool
TheATHEiST said:
Yes you can flash an app aslong as its in a flashable zip like the user mentioned in the reply you quoted.
Click to expand...
Click to collapse
Do you have a working one? because I tried this one in recovery and it failed. idk if I can with odin, if yes where do I place it?

Can't turn WiFi on after flashing.

Hey,
Today I used a ROM to flash my mobile (Samsung J5 2016 edition, model: J510FN) and I just used the perfect ROM, and it fits perfectly. But when I try to turn on WiFi it goes back swipe to off automatically when I swipe it to on.
I used this rom (version v1.1 because v2 and v3 were gone and bad): https://forum.xda-developers.com/galaxy-j5/development/rom-light-stock-rom-v1-t3467865
Someone knows what to do? I'm a beginner, so please explain it good. I have everything btw like Odin, TWRP, latest SuperSU, etc.
Please help.
Thanks
From your stock rom Copy the folder named Permissions from /system/etc and paste it at the same location in your new downloaded rom.
DONOT delete the existing folder , just replace the files.
Good Luck Cheers
akash14darshan said:
From your stock rom Copy the folder named Permissions from /system/etc and paste it at the same location in your new downloaded rom.
DONOT delete the existing folder , just replace the files.
Good Luck Cheers
Click to expand...
Click to collapse
But its a md5 file (my stock rom), how do I do it then?
Zarlen said:
But its a md5 file (my stock rom), how do I do it then?
Click to expand...
Click to collapse
You mean an img file , right?
If you have twrp or cwm backup of your stock rom , you can extract it from that file(ext4.system.tar.a) , if you dont have a twrp/cwm backup , you can try to flash stock rom from that img file and then copy necessary files into sdcard and then re flash your new rom and paste the existing files.
Good luck/
akash14darshan said:
You mean an img file , right?
If you have twrp or cwm backup of your stock rom , you can extract it from that file(ext4.system.tar.a) , if you dont have a twrp/cwm backup , you can try to flash stock rom from that img file and then copy necessary files into sdcard and then re flash your new rom and paste the existing files.
Good luck/
Click to expand...
Click to collapse
No, its an md5 file. Inside the md5 file (when I open it with winrar) it only shows hidedcache files etc and also boot.img
I need to have go to the patch (system/etc/permissions
Zarlen said:
No, its an md5 file. Inside the md5 file (when I open it with winrar) it only shows hidedcache files etc and also boot.img
I need to have go to the patch (system/etc/permissions
Click to expand...
Click to collapse
Then you might need to flash your stock rom first and then copy the necessary files.
I have an Mediatek device , steps to troubleshoot are same , but I have a zip of my stock rom created to access stock files when ever i need them.
I would advise you to do the same for future troubleshooting..
Good Luck mate
akash14darshan said:
Then you might need to flash your stock rom first and then copy the necessary files.
I have an Mediatek device , steps to troubleshoot are same , but I have a zip of my stock rom created to access stock files when ever i need them.
I would advise you to do the same for future troubleshooting..
Good Luck mate
Click to expand...
Click to collapse
And what are the nessecary files? Only the permissions folder or more?
Zarlen said:
And what are the nessecary files? Only the permissions folder or more?
Click to expand...
Click to collapse
Permission folder worked for me , but i would insist you to copy the entire /system partition as backup once you have flashed the stock rom just in case.
If permission folder doesnt work , then try replacing files starting with wlan from /system/lib/modules from stock to port
Do only when permissions folder doesnt work.

Categories

Resources