Need init.d file - Xperia Arc Q&A, Help & Troubleshooting

Am on stock ICS 4.0.4 firmware 0587
Had searched all over on how to incorporate an init.d file and bind it to my stock fw.
Even downloaded an app Universal Init.d which claimed to create a init.d for all devices but but it does was only scan if my device has init.d support which I already knew was not there.
I do not want to apply any custom roms for now.I know most custom kernels have it for ICS and JB but I only want the file and bind it via existing stock kernel.
The only one I found was from a Samsung device but then I have an xperia.
So could I get some help please.
Sent from my LT18i using xda app-developers app

So basically you want to enable init.d support on stock Kernel?
Sent from my LT18i
---------- Post added at 04:18 PM ---------- Previous post was at 04:17 PM ----------
I use this to activate init.d support on my stock kernel
http://forum.xda-developers.com/showthread.php?p=20574274
Sent from my LT18i

Yes my friend.
The iridaki thread that you linked me to was not that easy to follow.
First off,there's this first line that says to place zip file in a folder to be flashed after setting up certain key ins via root explorer.
How does one flash a zip file within a folder via cwm.This too was a conflict especially when in the thread it says to use only cwm by nAa version 5.0.2.7 meant for 2.3.4 and if use different version the bloody device could explode.And I'm on 4.0.4.
Did apply what was mentioned but after running the test log did not show up in the installed-recovery.sh.
Must have made a mistake following the tutorial either during writing the support text or when not following the first step of putting the zip file in a folder to the letter.
Anyways this is my first time venturing into system files using root explorer.Need to search and learn how to type in the explorer app.
Edit-Well what do you know, somehow it has worked.Just saw the app Universal Init.d and test turn green saying that the device has init.d support.
I did the process around 3 in the morning but only saw the outcome now.Another odd thing is the install-recovery.sh folder is somehow on my main screen.How do I put this back into root explorer?
Sent from my LT18i using xda app-developers app

Sandro8771 said:
Yes my friend.
The iridaki thread that you linked me to was not that easy to follow.
First off,there's this first line that says to place zip file in a folder to be flashed after setting up certain key ins via root explorer.
How does one flash a zip file within a folder via cwm.This too was a conflict especially when in the thread it says to use only cwm by nAa version 5.0.2.7 meant for 2.3.4 and if use different version the bloody device could explode.And I'm on 4.0.4.
Did apply what was mentioned but after running the test log did not show up in the installed-recovery.sh.
Must have made a mistake following the tutorial either during writing the support text or when not following the first step of putting the zip file in a folder to the letter.
Anyways this is my first time venturing into system files using root explorer.Need to search and learn how to type in the explorer app.
Edit-Well what do you know, somehow it has worked.Just saw the app Universal Init.d and test turn green saying that the device has init.d support.
I did the process around 3 in the morning but only saw the outcome now.Another odd thing is the install-recovery.sh folder is somehow on my main screen.How do I put this back into root explorer?
Sent from my LT18i using xda app-developers app
Click to expand...
Click to collapse
It should be in system/etc
Sent from my LT18i

Related

Install zip-files

On my rooted Defy - how do I install a zip-file??
Like this one;
http://forum.xda-developers.com/showpost.php?p=12426274&postcount=24
install the 2ndinit apk 1.4.2 newer ones wont work with some files
then reboot 2 times.
third reboot: press volume down, when the led is blue.
now choose recovery by pressin vol up or down and power to accept.
then choose costum recovery, and apply zip from sd. choose your file and confirm.
done
hope this answers your question
Thanks, seems simple enough
uh, where do I find 2ndinit.apk
You can find it here.
I know how to install .zip but I have a question. CWM3.1 does not flash some .zip like a baseband or a theme. It says "aborted". I think that the problem is that the file is not signed or something. In CWM2.5.1.8 works but the problem is that CM7 or MIUI changes it to CWM3. So, what should I do?
Thanks!
Works fine, even the mentioned zip-file!
The "issue" is that the latest CWM3.x no longer support "amend scripting" (stored in update-script) and won't apply zip's created with such scripts. Therefore all .zip which where written using the old method should be converted to edify scripting (which use different statements - more details here-).
is there an way to downgrade the 2ndinit? an how-to would be very nice
You can replace the recovery file from /system/bootmenu/recovery/sbin with the one from 2nd init 1.4.2 . The file persimmon should be rwxr-xr-x (755).
nepotu said:
You can replace the recovery file from /system/bootmenu/recovery/sbin with the one from 2nd init 1.4.2 . The file persimmon should be rwxr-xr-x (755).
Click to expand...
Click to collapse
and how do i do that? with rootexplorer? what for do i need the file permission? to change it or to set it after changing the files?
Yup. You can replace it using an app like root explorer. And the file permission should be set up after you copy the file (if you have the wrong file permission it won't work).
EDIT: I haven't tried yet to downgrade it this way but that's what I've read on the forum, therefore I cannot guarantee you it will work.
sry for me being a noob. i found the file named recovery in the folder you mentioned. but have got only the file 2ndinit.apk..... where do i get the recovery file from 2ndinit.apk ?
thank you for your time!
You can unpack it using a tool like Apk Manager 4.9 or simply by using 7zip to extract the files from the apk which is in fact some sort of archive. However as I've mentioned in the previous post I didn't tried to downgrade using this method. All I can say is that I've read here on xda about this method, therefore I cannot guarantee you this will work. I think is better to wait someone with more experience to answer.
As an unexperienced user i think i'll wait for a better solution.
As i read, this problem appears quite often, how come that nobody tried to make a solution for this problem?

[MOD] Hulu Hack GB/ICS 11.1.115.12

Ok guys, so I absolutely love Hulu and other legit TV sites, some of which prohibit mobile devices based on a "flash id" similar to what you have with a User Agent string for the browser. It is based on this ID that it prohibits mobile phones from accessing content such as hulu and HBO (I think?). With this mod your phone will appear as though it is a PC running flash and I believe it also modifies your version number to be something like 99.9.999.99 for sites that try and check the version number. I also must make sure to give credit where credit is due. Credit goes to imneveral0ne who posted the modified lib files in the Thunderbolt forums http://forum.xda-developers.com/show...6#post12433036.
His mod stopped working because Gingerbread (and 10.3) copies the lib files from the APK itself back into the lib folder (/data/data/com.adobe.flashplayer/lib/) on boot, thus require the mod be redone every reboot. I simply took his mod, wrote a simple script that installs the hacked lib files to /data/flash/ at first for storage, modifies permission of /data/data/com.adobe.flashplayer/lib/ so that it can be written to by the script, and also installs a "run on boot" script at /system/etc/init.d/01-fixflash.sh which will copy the hacked lib files from /data/flash to /data/data/com.adobe.flashplayer/lib/. It also adds Hulu Bookmark app (1.0) to /data/app.
REQUIREMENTS:
Kernel with init.d support (most custom kernels with root support) and root
Busybox (for running the copy commands. If you don’t have it, install ‘busybox installer’ from the market once you are rooted)
Root explorer (recommended, not required)
NOTE: I have developed this file FOR gingerbread.
INSTRUCTIONS:
Install latest flash player (11.1.115.12) from the market FIRST and be sure to uncheck automatic updates (and don't manually either)
Make sure busybox is installed. One way to test this is to type cp –help in ADB and see if it can run the command. If it does, you’re good to go.
Next, simply flash the zip. Wipe cache/dalvik if you want (I don't believe it's necessary, although again, this is my first time and for whatever reason the script doesn't seem to want to run on its own the first time)
Upon first reboot, you MAY be lucky enough that it simply just works and you’re all set.If you still get the “Hulu not available for your platform” error, simply use either root explorer or adb to run the script for the first time manually. In root explorer, navigate to /system/etc/init.d, tap on S98fixflash and select “execute”. In ADB, navigate to /system/etc/init.d and type ‘sh S98fixflash’. Wait a sec for it to run, then try Hulu again. It should be working immediately (without a reboot required) AND the script should then run correctly on subsequent reboots.
Like I said this is my first "product" I've been able to make available to the community and am more than open to suggestions, criticisms and ideas of how I can make this script better. Enjoy guys!
EDIT: If you do have issues with the script not running on every reboot, simply install "Script Manager" from the market, navigate to /system/etc/init.d, select S98fixflash and check the "run on boot" checkbox.
NOTE: ICS Only version now (least as far as I know). May work on others, please let me and others know if it does work on GB
File is now attached to post due to multiupload being unavailable -
UPDATE 6/26/2012 for 11.1.115.12
Note: after more feedback it seems using busybox installer from the market helps if running the script, even manually does nothing.
ahh too much to do
cba
Sorry, lots of explaining. If your rooted just update flash to latest in market, uncheck auto update adobe flash, then flash the zip. Should just work like it did on my gsII.
Sent from my GT-I9100 using XDA App
A query
I was going thru your update-script. What does this line do?
Code:
set_perm(0, 2000, 0755, "/system/etc/init.d/01-fixflash.sh");
I did not find a 01-fixflash.sh in /system/etc/init.d folder, only S98fixflash?
sileshn said:
I was going thru your update-script. What does this line do?
Code:
set_perm(0, 2000, 0755, "/system/etc/init.d/01-fixflash.sh");
I did not find a 01-fixflash.sh in /system/etc/init.d folder, only S98fixflash?
Click to expand...
Click to collapse
Oops, your right. Sorry I quickly modified this script from my old one I used on my epic and forgot to change that line. Will repair and repost now...
http://www.multiupload.com/VJWDKZ23FR
compuw22c said:
Oops, your right. Sorry I quickly modified this script from my old one I used on my epic and forgot to change that line. Will repair and repost now...
http://www.multiupload.com/VJWDKZ23FR
Click to expand...
Click to collapse
No problem. I already made the necessary changes. Will help others.
Sent from my GT-I9100 using Tapatalk
Cool. Also, it did work for you after those changes correct?
Sent from my SPH-D700 using XDA App
Note: after more feedback it seems using busybox installer from the market helps if running the script, even manually does nothing.
Sent from my GT-I9100 using XDA App
update 9/5/2011 for 10.3.186.6 AND hopefully fixed data mounting issues on certain devices so it works easily on CWM on more devices
NOTE: Latest update includes a brand new flashplayer.so files freshly edited, so no more issues with youtube in the browser, and uses TRUE flash 10.3.186.6 libraries for increased performance (no longer based on 10.2)
does nothing no matter what on kh3 deodexed
I'm using it now on litening 6.1 (kh3) just fine with nymphetamine kernel. This thread is also in the epic 4g forums. Troubleshooting instructions are there a well as the op. Understand what the mod does by reading, then find out where its getting hung up. I guarantee if you read you'll find your problem. Sorry but I keep having to help people read my own posts... First guesses, reflash, check to see files were installed, run busybox installer,.try another kernel with working init.d support... Run script manually?
Nice work. Any way of getting this to work for HC on the Xoom?
Maybe, try it let me know. Our buy me a 10.1
compuw22c said:
Maybe, try it let me know. Our buy me a 10.1
Click to expand...
Click to collapse
LOL! Nah didn't work for me.
Actually I feel I remember it working fire xoom.maybe try the manual troubleshooting in the op. find and replace libflashplayer.so with what's in the zip
it won't let me even flash the file says:
E: Error in /sdcard/gb_hack_flash_hulu10.3.186.6.zip
(Status 0)
Installation aborted.
all you need to do to get it to work is to extract the libflashplayer.so from the zip the op posted and copy it to (and replace) the libflashplayer.so in
Code:
/data/flash/libflashplayer.so
and
Code:
/data/data/com.adobe.flashplayer/lib/libplayerflash.so
do this using root explorer
this also enables crackle as well
there is no need to run a script
Beautiful, tried so many things in the past, and this works beautifully! Thanks!
Um, at the risk of sounding like a complete euro-dummy: What is Hulu, what does this hack do? Perhaps a bit of description in the first post?
ogdobber said:
all you need to do to get it to work is to extract the libflashplayer.so from the zip the op posted and copy it to (and replace) the libflashplayer.so in
Code:
/data/flash/libflashplayer.so
and
Code:
/data/data/com.adobe.flashplayer/lib/libplayerflash.so
do this using root explorer
this also enables crackle as well
there is no need to run a script
Click to expand...
Click to collapse
Yes but when you reboot with 2.3 or higher it replaces those files again back to stock.

[Guide][zip][Root needed] Unsimlock your Defy (v1.3)[NEW:JB support!]

This is a software unlock for the Motorola Defy​
NEW: Jelly Bean roms and ICS roms work!
See the troubleshooting post (post N°2) if you have problems!
Last update: 06/06/2012 ->Troubleshooting section updated (see post 2)
Disclaimer: This manipulation is not risk free. Niether I nor XDA Developpers can be held responsible for damage made upon your phone. Thus, don’t worry we're doing good work and you'll do a backup
Root is needed!
Credits go to yakk from motofan.ru / Special thanks to Labsin for his involvement and help​
Note: Not all Baseband versions work with this hack, to know if it will work for you, go to settings-> system info and check if baseband version is "EPU93_U_00.59.01". If it is not indicated there, then try installing defybaseband switcher and look at info in the app
If your baseband version is different, you can try to change it to the one that works (nandroid backup first ) by downloading Baseband_change(EPU93_U_00.59.01).zip, and putting it in /sdcard/, and flashing it via recovery.​
Flashing a zip has never been easier
Thanks to labsin, there's an easy flashable.zip that will:
Backup your original two files and put them in the folder "simlock_original_files" on your SD card (safety first )
Apply a modification to init.mapphone_umts.rc
Copy the fixed bp_ptc file
Go into recovery, flash Softunlock_defy_v1.1.zip that fits your baseband version and you're done!
​
!!YOU MUST REBOOT ONCE AFTER THE OPERATION BEFORE CHANGING SIMS!!​
Voila!
Don't forget to reboot phone once!
Only then you can test by rebooting with another simcard
Hit thanks button if i helped you!
Any problems? I'm here to help
Changelog​
v1.3:
ICS ROMs are now fully supported!
v1.2:
zip will check if the line to be added already exists, so it doesn't get added more than once
v1.1:
automated zip that will add a line in mapphone_umts and copy fixed pt_ptc in system
Troubleshooting​
I have no signal when i put another simcard in my Defy
Have you rebooted at least once BEFORE changing sim cards??​Try using Defybaseband switcher to select the correct frequencies for your carrier​Try method below​
You are still asked the unlock code
- Turn on Airplane Mode
- Run Terminal emulator and type "su" and then "bp_ptc"
- Turn ofr Airplane Mode​
Airplane mode won't turn off
Flash the baseband(EPU.0.59..) file in the first post, then play around with your APNs and network settings untill you fix it (see post 308)​
You are having trouble unlocking a stock ROM
See Post 260​
Proof of success​
jorgeoro said:
Holy mother of Jesus, I could unsimlock my defy+ (plus) . Here is what i did (i think some steps could be ignored but is good to know the entire procedure i've done)
1) Because of a failed CM7 flash, first I flashed a 2.3.5 SBF
2) Flashed quarkx 26-feb nightly for defy+ (baseband EPU93_U_00.60.00)
3) Changed to a proper baseband with defy-baseband-switcher v4.0
3) Changed to baseband EPU_U_00.59.01 following steps mentioned in 1st page
4) Flashed softunlock 1.2 for EPU_U_00.59.01
5) Rebooted (still no sim change till this step)
6) Power off the phone and changed SIM
7) Rebooted
8) Almost had an orgasm
I'll be posting links i used later if somebody ask for them
Thanks to all people directly and indirectly involved (very special thanks to crakeron for his help)
Click to expand...
Click to collapse
So I guess i use root explorer to put the files where they go?
thisjustin said:
So I guess i use root explorer to put the files where they go?
Click to expand...
Click to collapse
Correct
A simple copy/paste operation
crakeron said:
Correct
A simple copy/paste operation
Click to expand...
Click to collapse
Ok thanks got it
Update.zip
Made it as an update package so you don't need to use root-explorer...
It should just copy the appropriate files and set the right permissions.
Edit: Now makes a backup to defy_simlock_originals on your sd
labsin said:
Made it as an update package so you don't need to use root-explorer...
It should just copy the appropriate files and set the right permissions.
Click to expand...
Click to collapse
Ready to flash from 2nd-init recovery?
Thank you very much!
flashed via 2nd init now testing just got to find my at&t simcard
Garrafone said:
Ready to flash from 2nd-init recovery?
Thank you very much!
Click to expand...
Click to collapse
Should be that yes. Don't have a locked Defy but should do it.
thisjustin said:
flashed via 2nd init now testing just got to find my at&t simcard
Click to expand...
Click to collapse
Can you pls tell it the zip works? Should be the same as pasting so..
Didn't work with the zip
R you on CM7 and witch version? First post also mentions reboot afterwards with good sim and reboot again with other sim.
Did it work the way mentioned in first post?
labsin said:
Made it as an update package so you don't need to use root-explorer...
It should just copy the appropriate files and set the right permissions.
Click to expand...
Click to collapse
Awesome! Thanks! I'll put this in the OP tonight (with credits of course)
Sent from my 1Ghz CM7 + CM9 Defy
thisjustin said:
Didn't work with the zip
Click to expand...
Click to collapse
labsin said:
R you on CM7 and witch version? First post also mentions reboot afterwards with good sim and reboot again with other sim.
Did it work the way mentioned in first post?
Click to expand...
Click to collapse
I admit: I haven't tried this yet, but I did noticed that the OP says to replace init.mapphone_umts.rc to: /system/bootmenu/2nd-init/ and that your patch copies it to: /system/bootmenu/2nd-boot/ folder...
I'm could be wrong on this, but I believe that most people use 2nd-init boot by default (I've only used 2nd-boot while having ICS as dual boot before). But again; I'm just guessing here and could be totally wrong and it might make no difference...
Cheers, and btw, thanks for teaching me how to backup files [with a zip patch]
My OP say's 2nd-init, are you talking about the flashable zip?
Sent from my 1Ghz CM7 + CM9 Defy
crakeron said:
My OP say's 2nd-init, are you talking about the flashable zip?
Sent from my 1Ghz CM7 + CM9 Defy
Click to expand...
Click to collapse
Yes, the flashable zip replaces the file in 2 nd-boot directory so I thought that it "might" be why it didn't work for that guy...
[] AL [] said:
Yes, the flashable zip replaces the file in 2 nd-boot directory so I thought that it "might" be why it didn't work for that guy...
Click to expand...
Click to collapse
True, i'll modify it quickly
Sent from my 1Ghz CM7 + CM9 Defy
thisjustin said:
Didn't work with the zip
Click to expand...
Click to collapse
retry with the new zip, there was an adress error in the old one (nothing bad, don't worry)
New flashable zip uploaded. Fixed (changed .../2nd_boot/... to ..../2nd-init/....)
Hello, the file /system/bootmenu/2nd-init/init.mapphone_umts.rc provided did not work for me. It did not detect any SIM card.
So I edited the original file to defy me and I added the line "service bp-ptc /system/bin/bp_ptc" around line 194 (This can change depending on your file) after the line "user root" in the section "# Adb over Network"
After the copy on my smartphone with correct permissions, it worked.
If it can help
erghaize said:
Hello, the file /system/bootmenu/2nd-init/init.mapphone_umts.rc provided did not work for me. It did not detect any SIM card.
So I edited the original file to defy me and I added the line "service bp-ptc /system/bin/bp_ptc" around line 194 (This can change depending on your file) after the line "user root" in the section "# Adb over Network"
After the copy on my smartphone with correct permissions, it worked.
If it can help
Click to expand...
Click to collapse
Thanks, seems very usefull
Edit: that line is at the right place in the files i gave so you had a different init.mapphone_umts.rc file probably. What ROM are you running?

Running CleanGB, getting prompts to update to FC09..I don't want to

How do I get these prompts to go away and not update. I'm fine with CleanGB and have had very few issues with it. Thanks so much...casey
Wait!?!?!!
To be clear, you are getting an OTA promt to install FC09?
yes, it says "MR7 Update EL30 to FC09" restart and install. Someone just posted the same thing in the developers form but I don't have enough to posts to post in that forum it seems.
DCRocks said:
Wait!?!?!!
To be clear, you are getting an OTA promt to install FC09?
Click to expand...
Click to collapse
Just got mine. You can install it, and it will fail, and you'll pop your battery and reboot. That should clear it for some time. Otherwise, you can edit your build.prop to remove EL30 and replace it with FC09 anywhere you see it.
And you can use the search function or Google. Same procedure as the EL30 update except change to FC09 in build.prop.
Sent from my SPH-D700 using xda premium
I was confused when i tap restart and install the update, the phone stuck. pulled the batt everything back to normal. i wonder if this notice update back in the future
Sent from my SPH-D700 using Tapatalk 2
I started getting them, too, on CleanGB today.
CleanGB EL30 OTA UPDATE TO FC09 notice removal
So first time posting but i got the OTA update to stop. I used ES file explorer & text edit on my mac for the buid.prop edit.
1) In the directory /system/etc/security/otacerts.zip rename to otacerts.zip.bak
2) In the directory /system/build.prop copy this to your SD card
3) save an original copy for safety
4) open and edit the build.prop file and replace all build number indications (ie EL30) to FC09, only replace the build number there are 5 locations.
5)Copy the new edited build.prop file back into the directory /system
6)I had to run the update, it will fail, then pulled the battery when the caution droid pops up rebooted into CWM 5.2.7 then rebooted the phone.
so far no more notification update message
jasoncclark1 said:
So first time posting but i got the OTA update to stop. I used ES file explorer & text edit on my mac for the buid.prop edit.
1) In the directory /system/etc/security/otacerts.zip rename to otacerts.zip.bak
2) In the directory /system/build.prop copy this to your SD card
3) save an original copy for safety
4) open and edit the build.prop file and replace all build number indications (ie EL30) to FC09, only replace the build number there are 5 locations.
5)Copy the new edited build.prop file back into the directory /system
6)I had to run the update, it will fail, then pulled the battery when the caution droid pops up rebooted into CWM 5.2.7 then rebooted the phone.
so far no more notification update message
Click to expand...
Click to collapse
I did this and so far so good, not getting the update notifications.
Once we've got everything running smoothly is it safe to delete the otacerts.zip backup?
here is how you fix it!
http://forum.xda-developers.com/showthread.php?t=1588683
click link above, follow install instructions = joy= no more notices= best rom ever=you'll be glad you clicked on link above...
ps: click thanks, I know, you can only thank me once for this idea and suggestion...it's a shame.
BTW if you use Root Explorer it has an editor and automatically creates a ".bak" file.
Naddict said:
http://forum.xda-developers.com/showthread.php?t=1588683
click link above, follow install instructions = joy= no more notices= best rom ever=you'll be glad you clicked on link above...
ps: click thanks, I know, you can only thank me once for this idea and suggestion...it's a shame.
Click to expand...
Click to collapse
Thanks for not answering the question and for telling people to install a different ROM? SMH
Since this has been answered a 100 times just about everywhere there is no need for this thread if it incites flaming.
Sent from my SPH-D700 using xda premium

how i remove startup verizon logo ? urgent

hello ,
how can i remove starting verizon logo??? and i don,t want any other logos,
i just need like stock samsung boot, for note 4
remember i have not .zip file in media folder
Mr Hassan said:
hello ,
how can i remove starting verizon logo??? and i don,t want any other logos,
i just need like stock samsung boot, for note 4
Click to expand...
Click to collapse
You can use a app like this: https://play.google.com/store/apps/details?id=tkstudio.sboot to change boot animation or some ROMS like jasmine rom 7.0 have the original samsung logo boot sequence, for the app to work you need root and read carefully before doing anything. Hope this helps.
-spektor- said:
You can use a app like this: https://play.google.com/store/apps/details?id=tkstudio.sboot to change boot animation or some ROMS like jasmine rom 7.0 have the original samsung logo boot sequence, for the app to work you need root and read carefully before doing anything. Hope this helps.
Click to expand...
Click to collapse
thanks brother for reply i fixed this problem, now i,m in another project , i successfully extract the system,img,ext file,,,,now i edited somethings,
now i want to create again in same file, img,ext4
have you any idea about it?
Mr Hassan said:
thanks brother for reply i fixed this problem, now i,m in another project , i successfully extract the system,img,ext file,,,,now i edited somethings,
now i want to create again in same file, img,ext4
have you any idea about it?
Click to expand...
Click to collapse
Well if you mean like accessing and editing system files I'm not how to do edit them but I know that you can use a app like root explore: https://play.google.com/store/apps/details?id=com.speedsoftware.explorer that's the free version the paid one is $3.99 in the US. With that you can move and add files to system folder you can edit permission of files and things of that nature.
-spektor- said:
Well if you mean like accessing and editing system files I'm not how to do edit them but I know that you can use a app like root explore: https://play.google.com/store/apps/details?id=com.speedsoftware.explorer that's the free version the paid one is $3.99 in the US. With that you can move and add files to system folder you can edit permission of files and things of that nature.
Click to expand...
Click to collapse
ok brother thanks alot,
but i,m talking about stock rom, i already extracted and edit now its need to repack again
Mr Hassan said:
ok brother thanks alot,
but i,m talking about stock rom, i already extracted and edit now its need to repack again
Click to expand...
Click to collapse
Ah ok, so I found these two threads related to the subject one is for repackaging ODIN files if your using a Samsung: https://forum.xda-developers.com/showthread.php?t=2549712&page=5 and the other is a general tutorial on custom roms https://forum.xda-developers.com/showthread.php?t=2195858 Also this article covers mostly everything about creating and installing ROMS http://lazydroid.com/2011/03/howto-repack-and-sign-rom-image-update-zip-files/ I hope this information helps I do not know much about creating or repackaging roms
-spektor- said:
Ah ok, so I found these two threads related to the subject one is for repackaging ODIN files if your using a Samsung: https://forum.xda-developers.com/showthread.php?t=2549712&page=5 and the other is a general tutorial on custom roms https://forum.xda-developers.com/showthread.php?t=2195858 Also this article covers mostly everything about creating and installing ROMS http://lazydroid.com/2011/03/howto-repack-and-sign-rom-image-update-zip-files/ I hope this information helps I do not know much about creating or repackaging roms
Click to expand...
Click to collapse
ok again thanks,
i,m in samsung note 4 , and i found lot of threads to repack but not success, coz i,m counfuse about where i start?
and how, is that need just system folder or all file like hidden ,cache etc etc
Mr Hassan said:
ok again thanks,
i,m in samsung note 4 , and i found lot of threads to repack but not success, coz i,m counfuse about where i start?
and how, is that need just system folder or all file like hidden ,cache etc etc
Click to expand...
Click to collapse
Well system file is where all the data and software is at basically everything visible on the phone. Maybe this article could help it deals with modifying samsung rom and flashing it. If you want to read more on it here's the link: http://android.stackexchange.com/questions/85703/modifying-samsung-rom-and-flashing-it-on-a-device if you wanted to remove apps or add custom apps to your phone you would modify system file.
But what I thought was important was this;
(I did not write this thread)
< "You should be able to use an archive program on PC and recompress to .tar, .gz, and others. Dont forget to re-sign the archive. Keep a copy of your untouched ROM until you have the modified ROM tested and running.
The ROMs are signed with a signature. When repacking if they don't get signed they will fail in flashing. This link will help explain it.
So basically after downloading the firmware you have to rename it so you can extract the files, change them as you need, recompress them again and re-sign them, so you can flash them using Odin." >
This thread was dealing with modifying CM rom;
< "There are multiple solutions available:
Re-Zip the Image
Advantage: You do it once, and can use the resulting image for multiple devices. That's what I did with CM7.2 for my Milestone 2. Easy enough to do:
create a temporary (empty) folder
unzip the zip file to it
remove unwanted *.apk files from /system/apps (be careful of what you remove, of course)
zip up the directory contents again
Using a graphical ZIP manager (like WinZip or the like), steps would be even easier:
open the zip file with the archive manager
remove the unwanted .apk files
if the ZIP manager requires it, save the manipulated zip
Manually cleanup after flashing, using the shell
This is what ce4 recommended in the comments. It requires you using a terminal emulator on your device:
Flash the image as-is
remove superfluous stuff from the system partition by hand (like rm /system/big/junk/example.mp4)
Manually cleanup after flashing, using other tools
Almost the same as the previous method, but a bit more user-friendly. Disadvantage: this won't do for superflous ringtones and the like:
Flash the image as-is
Use a tool like Titanium Backup or Root Uninstaller to remove unwanted system apps" >
Edit: this link explains the signature of the file: (from google) https://code.google.com/archive/p/zip-signer/
-spektor- said:
Well system file is where all the data and software is at basically everything visible on the phone. Maybe this article could
Edit: this link explains the signature of the file: (from google) https://code.google.com/archive/p/zip-signer/
Click to expand...
Click to collapse
yes brother i want to remove some apps,. in system
even some edits in bulid prop
and after repack it for odin , thats it,
i create zip and trying to install the via twrp, during installation in end its give some error like this
setup finish with error 7 etc etc
so i reboot ,.....its reboot normal but after boot base band is unknown
i,m working on verizon devise.
in very simple words i,m trying to create rom without verizon apps and some more edits
and that all work in stock rom
Mr Hassan said:
yes brother i want to remove some apps,. in system
even some edits in bulid prop
and after repack it for odin , thats it,
i create zip and trying to install the via twrp, during installation in end its give some error like this
setup finish with error 7 etc etc
so i reboot ,.....its reboot normal but after boot base band is unknown
i,m working on verizon devise.
in very simple words i,m trying to create rom without verizon apps and some more edits
and that all work in stock rom
Click to expand...
Click to collapse
Ok so I may have found a solution for you it requires a pc and to download a program. You'll need your rom and any apps you would like to insert into it. The program is as simple as right click and delete for any apps you want to remove. The program is made by a developer on XDA named "_Logie" here's the link to the Web page: http://m.tech.firstpost.com/news-analysis/how-to-add-or-remove-apps-from-a-custom-rom-101986.html and the link to the program is on there or here's the direct link: http://www.solidfiles.com/d/da2dd6335d/
This program compiles the ROM into a .zip if you have TWRP recovery you could do a backup of your previous rom before flashing your current one because you'll have to completely wipe every main partition before flashing new rom to ensure you don't run into problems
Edit: backup system, data, and cache because those are the ones you'll need to wipe also before wiping them just in case I would remove any password that locks your phone because if you try to flash a new rom and fails and your left with the recovery file it'll mess up the password, fingerprints will be forget and backup password will be unchangeable and will require a factory reset to be able to change it.
-spektor- said:
.
Click to expand...
Click to collapse
Who its looking cool. I'll try tomorrow
But for now brother i want to know its remove the apps. OK and what about bulid.prop? I need to edit it also. And after edit i don't want root anymore .after edit i need in tar format
I know you think I'm made but i know it's possible
Mr Hassan said:
Who its looking cool. I'll try tomorrow
But for now brother i want to know its remove the apps. OK and what about bulid.prop? I need to edit it also. And after edit i don't want root anymore .after edit i need in tar format
I know you think I'm made but i know it's possible
Click to expand...
Click to collapse
For build.prop maybe this app could help https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor sorry for lack of knowledge on this subject I've never had to repack a rom before.
-spektor- said:
For build.prop maybe this app could help https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor sorry for lack of knowledge on this subject I've never had to repack a rom before.
Click to expand...
Click to collapse
Ok apps done
Bulid done
Now final thing need . repack in ext4 format
I'll check these things tomorrow
-spektor- said:
For build.prop maybe this app could help https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor sorry for lack of knowledge on this subject I've never had to repack a rom before.
Click to expand...
Click to collapse
brother did you found anything for repack ext4 img?
Mr Hassan said:
brother did you found anything for repack ext4 img?
Click to expand...
Click to collapse
Have you tried this guide? https://forum.xda-developers.com/showthread.php?t=1588461
-spektor- said:
Have you tried this guide? https://forum.xda-developers.com/showthread.php?t=1588461
Click to expand...
Click to collapse
yes but its for linux , and for window 99% unsuccessfully rates , have you try in window ? this ?
now i,m in next step if you have the time so kindly share your experience
https://forum.xda-developers.com/android/help/repack-img-giving-error-odin-invalid-t3577719
Hmmmmm ? I think you want to change the boot animation (white Verizon logo red background? ) if so your gonna need to either need to flash a pre-made zip with Flashfire (can't seem to get it to apply from twrp) or your gonna need to manually copy into the appropriate directory (mount system directory r/w copy then change permissions of the file you copied to 644 and reboot) presumably with a root explorer though doable from terminal
---------- Post added at 07:47 PM ---------- Previous post was at 07:29 PM ----------
-spektor- said:
Ok so I may have found a solution for you it requires a pc and to download a program. You'll need your rom and any apps you would like to insert into it. The program is as simple as right click and delete for any apps you want to remove. The program is made by a developer on XDA named "_Logie" here's the link to the Web page: http://m.tech.firstpost.com/news-analysis/how-to-add-or-remove-apps-from-a-custom-rom-101986.html and the link to the program is on there or here's the direct link: http://www.solidfiles.com/d/da2dd6335d/
This program compiles the ROM into a .zip if you have TWRP recovery you could do a backup of your previous rom before flashing your current one because you'll have to completely wipe every main partition before flashing new rom to ensure you don't run into problems
Edit: backup system, data, and cache because those are the ones you'll need to wipe also before wiping them just in case I would remove any password that locks your phone because if you try to flash a new rom and fails and your left with the recovery file it'll mess up the password, fingerprints will be forget and backup password will be unchangeable and will require a factory reset to be able to change it.
Click to expand...
Click to collapse
Try flashing with flasfire enabling the option mount system r/w and use common paths (probably not necessary but won't hurt) I have had difficulty getting anything other than ROM and gapps to apply from twrp but flashfire seems to work . I'm thinking its due to the fact that flashfire flashes after boot loader and then resets prior to os load.

Categories

Resources