Related
I was trying to upgrade to CM6 from CM5 and was facing lot of issues so I followed below process and got it worked. I thought of sharing it with everybody as lot of person are having issues.
I know most of the information is available on XDA but not on a single place.
I have made a separate thread because A2sd and SWAP are not supported by CM6 officially.
This is not an official method of installing CM6, this is how I got it worked and you can use it for reference.
1) Preperation: You need to get the below mention files, Please get these files from below mentioned thread:
a) CM6 and Gaaps
b) CustomMTD Patch - You only need FR-recovery and FR-boot latest version.
c) Script for a2sd and swap - get the latest script.
d) Fastboot - Fastboot should be setup and working, If you are on Linux go here
e) SD Card Partition - If you are not sure how to partition the sd card. If you want to use a2sd and swap, please partition your sd-card.Store all files on root of sd-card.
2) Connect the phone to PC, do not mount the phone.
3) Wipe the phone:
a) Boot into recovery(reboot while holding home and power). Wipe everything.
b) Boot in fastboot mode. (reboot while holding back and power)
Enter the command in terminal or command prompt on the PC
fastboot erase system -w c) reboot into recovery.
4) Install the custom MTD. (If you already have custom MTD then this step is not required.)
a) Flash customMTD fr-recovery file.
b) Reboot into recovery.
5) Install CM6 Gapps and boot loader.
a) Flash CM6
b) Flash Gapps
c) Flash Boot Loader fr-boot file
d) reboot phone
6) Once phone is booted and you are on the home screen, go to
CyanogenMod Settings > Application Settings > Install location - Set Install location as Internal, make sure allow application moving is not checked.
CyanogenMod Settings > Performance Settings - make sure that Compcache, JIT, dithering is not checked. If something is checked please uncheck it.
Lock home in memory can be checked, but some guys has reported that it drains a lot of battery.
Reboot the phone.
7) Go to terminal type below code
su
sh /sdcard/fr-patch140.txt a2sd
It will ask if you want to install a2sd, type Y and press enter. Once APKManager is installed, type quit to exit.
Reboot the phone.
8) If you are not using a2sd and want to setup swap, please enter the below command in the terminal otherwise continue to step 9.
su
sh /sdcard/fr-patch140.txt sdext
reboot the phone.
9) Go to terminal type below code
su
sh /sdcard/fr-patch140.txt swap
It will ask for swappiness, I use 60 there, but its your own preference. After that it will ask you if you want to use swap-file, press n and enter.
After this enter below to terminal
FreeIf you get swap setup it will show in front of swap in terminal, if the result show zero swap then reboot and do the step 9 again.
Now you have a CM6 with apps2sd and swap. All the newly installed apps will automatically go to ext.
If you don't like 3d gallery and want it to replace it with old gallery..This has been provided by ZilverZurfarn on CM6 thread.
Extract Gallery.apk from a older CM update (like 5.0.8) somewhere (c:\temp in the example below)
Using adb:
adb remount
adb shell rm /system/app/Gallery3D.apk
adb push c:\temp\Gallery.apk /system/app/Gallery.apk
Also there are some apps which I don't prefer, as I don't use android native keyboard, Android browser, POP email, amazon MP3 etc. So I have created a script for my use which has been shared and it can be run from the terminal..
download remove-app-v1.0.txt and store it to root of your sd card. than enter below commands in terminal
su
sh /sdcard/remove-app-v1.0.txt
currently this script will remove below mention apps based on user input.
Amazon MP3, Live Wallpaper picker, CM Wallpapers, POP Email, Android Native Browser, Android Native Onscreen Keyboard, Genie Widget...
Note: - Before removing browser and keyboard please make sure you have a replacement for them.
I do not take any credit for work, its just a reference for installing CM6. Thanks to Cyanogen and team, Firerat, Lbcoder for producing these amazing roms and methods.....
Please provide your feedback and suggestion for the guide.
If you like my guide and want to Donate
Can I have swap without app2sd?
I skipped the app2sd part, but the swap wouldn't work.
it didn't ask me about the swap file.
It ended with:
use
/system/bin/swappy on # to turn swap on
supa2001 said:
Can I have swap without app2sd?
I skipped the app2sd part, but the swap wouldn't work.
it didn't ask me about the swap file.
It ended with:
use
/system/bin/swappy on # to turn swap on
Click to expand...
Click to collapse
Yes, swap can be there without A2sd..
Do you have Fr-Patch139.txt script or any other version...could you please reboot and so the step 8 again
I did it many times
Do I need to create some files like userinit ?
Thanks for replying.
supa2001 said:
I did it many times
Do I need to create some files like userinit ?
Thanks for replying.
Click to expand...
Click to collapse
Try below command:
sh /sdcard/fr-patch139.txt sdext
reboot the phone
sh /sdcard/fr-patch139.txt swap
If this doesn't work, could you please pass on the message you are getting from the script.
G1sanju said:
Try below command:
sh /sdcard/fr-patch139.txt sdext
reboot the phone
sh /sdcard/fr-patch139.txt swap
If this doesn't work, could you please pass on the message you are getting from the script.
Click to expand...
Click to collapse
It works now. Thanks.
What does sdext do ?
When I ran sdext, it said "danger detected" though, is it still safe?
Same thing appeared when I did swap.
G1sanju said:
I was trying to upgrade to CM6 from CM5 and was facing lot of issues so I followed below process and got it worked. I thought of sharing it with everybody as lot of person are having issues.
I know most of the information is available on XDA but not on a single place.
I have made a separate thread because A2sd and SWAP are not supported by CM6 officially.
This is not an official method of installing CM6, this is how I got it worked and you can use it for reference.
1) Preperation: You need to get the below mention files, Please get these files from below mentioned thread:
a) CM6 and Gaaps
b) CustomMTD Patch - You only need FR-recovery and FR-boot latest version.
c) Script for a2sd and swap - get the latest script.
d) Fastboot - Fastboot should be setup and working, If you are on Linux go here
d) SD Card Partition - If you are not sure how to partition the sd card. If you want to use a2sd and swap, please partition your sd-card.Store all files on root of sd-card.
2) Connect the phone to PC, do not mount the phone.
3) Wipe the phone:
a) Boot into recovery(reboot while holding home and power). Wipe everything.
b) Boot in fastboot mode. (reboot while holding back and power)
Enter the command in terminal or command prompt on the PC
fastboot erase system -w c) reboot into recovery.
4) Install the custom MTD. (If you already have custom MTD then this step is not required.)
a) Flash customMTD fr-recovery file.
b) Reboot into recovery.
5) Install CM6 Gapps and boot loader.
a) Flash CM6
b) Flash Gapps
c) Flash Boot Loader fr-boot file
d) reboot phone
6) Once phone is booted and you are on the home screen, go to
CyanogenMod Settings > Application Settings > Install location - Set Install location as Internal, make sure allow application moving is not checked.
CyanogenMod Settings > Performance Settings - make sure that Compcache, JIT, dithering is not checked. If something is checked please uncheck it.
Lock home in memory can be checked, but some guys has reported that it drains a lot of battery.
Reboot the phone.
7) Go to terminal type below code
su
sh /sdcard/fr-patch139.txt a2sd
It will ask if you want to install a2sd, type Y and press enter. Once APKManager is installed, type quit to exit.
Reboot the phone.
8) Go to terminal type below code
su
sh /sdcard/fr-patch139.txt swap
It will ask for swappiness, I use 60 there, but its your own preference. After that it will ask you if you want to use swap-file, press n and enter.
After this enter below to terminal
FreeIf you get swap setup it will show in front of swap in terminal, if the result show zero swap then reboot and do the step 8 again.
Now you have a CM6 with apps2sd and swap. All the newly installed apps will automatically go to ext.
If you don't like 3d gallery and want it to replace it with old gallery..This has been provided by ZilverZurfarn on CM6 thread.
Extract Gallery.apk from a older CM update (like 5.0.8) somewhere (c:\temp in the example below)
Using adb:
adb remount
adb shell rm /system/app/Gallery3D.apk
adb push c:\temp\Gallery.apk /system/app/Gallery.apkI do not take any credit for work, its just a reference for installing CM6. Thanks to Cyanogen and team, Firerat for producing these amazing roms and methods.....
Please provide your feedback and suggestion for the guide.
Click to expand...
Click to collapse
Thanks mate this will really help me to put my apps on SDcard..as past days m really trying to get my phone memory safe...
supa2001 said:
It works now. Thanks.
What does sdext do ?
When I ran sdext, it said "danger detected" though, is it still safe?
Same thing appeared when I did swap.
Click to expand...
Click to collapse
"danger detected" message is for SPL, It checks for the SPL first and you have danger spl installed.
By default CM6 does not mount ext partition as it does not support a2sd right now. sdext creates a mount point for ext partition. a2sd internally does that but as you are not using a2sd this was not done.
vermaekansh said:
Thanks mate this will really help me to put my apps on SDcard..as past days m really trying to get my phone memory safe...
Click to expand...
Click to collapse
Thanks, If you use this guide then please provide your feedback and suggestion towards it.
Sorry, but is there a script to disable swap? I am gonna do some test to see what works best.
Thanks.
supa2001 said:
Sorry, but is there a script to disable swap? I am gonna do some test to see what works best.
Thanks.
Click to expand...
Click to collapse
In the terminal
sh /sdcard/fr-patch139.txt rev swap
this will turn the swap off.
Watch out...newbie in the room
Okay, you are going to love this.... I'm sorry if this is too long but I hope you can help a newbie trying to learn this stuff!
I am REALLY new to all this, and did a Root and Rom Update as the Unlockr.com videos taught me, to get CM6. And then also added the gapps file because I read a thread that that was needed to get gmail and the market on my phone. Once rebooted, everything worked ok but slow. Then I noticed that my gmail wasn't syncing, and then it started to force close. So I did a wipe and loaded CM5 because I saw on a thread that that was faster for the G1. With all of this, after reading your thread and suggestion, I am wondering...
1. Is CM6 slow for you?
2. Should I have loaded gapps? IS that how to get gmail and should it sync automatically? If not, is there a way to make it?
3. Should I stick with CM5 or try CM6 following these suggestions??
And big ones.... I wish there was a website somewhere with definitions to all the terms and apps used. Lol.. I Google all of them but don't always find anything that actually describes what they are.
Swap and app2sd were mentioned on the video instructions for loading a new ROM but do they automatically come in the ROM zip files? Because in the video they didn't load them separately. They partition the card "for" them, but don't show installing them. Obviously I assume App2sd is a program to store your apps on your sd card. Is this something that I SHOULD install? Is swap something I should install?
And what is a CustomMTD Patch? Annnnnnd, what is fastboot??
I know this is a lot of questions... I decided to ask them all here because they pertain to this thread because I'm wondering if I should do this...
Thanks for any and all answers!
I would assume that you have a G1, and my answer is based on that assumption. If you have different phone let me know.
1. Is CM6 slow for you?
If I don't use a2sd and swap, answer is yes. I install lot of apps, with cutomMTD it works fine in starts but slows down after some time. With a2sd and swap it is worth a try.
2. Should I have loaded gapps? IS that how to get gmail and should it sync automatically? If not, is there a way to make it?
CM roms does not distribute google apps with the rom as its not legal. So if you want gapps then yes that file has to be flashed. CM6 can be run without gapps, but you won't get gmail, market etc..once you have gmail it should sync automatically.
3. Should I stick with CM5 or try CM6 following these suggestions??
CM5 is quite stable rom and runs fine. Choice is yours...CM6 is in initial stages, but is good too...I go with CM5 for my daily driver as a2sd is not officially supported. It will be there in CM6.1....
And what is a CustomMTD Patch? Annnnnnd, what is fastboot??
G1 was build with a low memory and the way internal memory has been partition todays rom can't fit into it. That's why dangerSPL, but there is a risk involved in installing dangerSPL. If you don't follow the instruction you can brick your phone. CustomMTD is a safe method. This increase the size of data partition so you can install more apps internally. link for that thread is in first post.
a2sd is a way to store apps on sdcard, sdcard needs to be partitioned to support that..step 1 - e in my guide. That's a manual way of doing it. If you have AmanRA recovery then it will have a menu option for that. Most of the rom supports it automatically, so if you have sd card partition then rom will automatically do that.
CM6 does not support a2sd so it has to done in different way. CM5 supports it but in settings - application - a2sd has to be checked on to move your apps to sdcard.
Swap is kind of extra memory to help running the applications. if you run multiple application together then you need swap on CM5 and CM6.
G1sanju said:
CM5 is quite stable rom and runs fine. Choice is yours...CM6 is in initial stages, but is good too...I go with CM5 for my daily driver as a2sd is not officially supported. It will be there in CM6.1....
Click to expand...
Click to collapse
So when CM6.1 is comming out for G1..do you have nay idea about HCTCLAY's ROM over CM6
vermaekansh said:
So when CM6.1 is comming out for G1..do you have nay idea about HCTCLAY's ROM over CM6
Click to expand...
Click to collapse
Nope I don't follow htcclay but it is based on CM so should be updated
Sent from my HTC Dream using XDA App
G1sanju said:
Nope I don't follow htcclay but it is based on CM so should be updated
Sent from my HTC Dream using XDA App
Click to expand...
Click to collapse
No hard feeling for CM but for me htcclay's ROM's are more stable than CM's.....any release date for CM6.1 for G1?
vermaekansh said:
No hard feeling for CM but for me htcclay's ROM's are more stable than CM's.....any release date for CM6.1 for G1?
Click to expand...
Click to collapse
Roms are personal preferences, I also tried lot of roms before settling on CM... and for CM there are no eta it will be released when it's done...
Sent from my HTC Dream using XDA App
WOW!
THANK YOU!!! You are awesome for going through all of those!
Yes, it is a G1.
Are there any features in CM6 that aren't in CM5, or is it faster than CM5 with the ap2sd & swap?
I believe I partitioned the sd card when I loaded the CM6 ROM.
So I'd like to try the CM6 with the ap2sd, swap and the CustomMTD. I do have the AmanRA recovery, but not sure about how to select the ap2sd.
Any chance you would tell me how to get the ap2sd, swap and CustomMTD on the phone if I have already Flashed CM6 on there?
Thanks again, regardless. The info you gave me helped me learn a little more. I'm still a bit confused about what fastboot is though. But I will just keep at it and keep learning!
Are there any features in CM6 that aren't in CM5, or is it faster than CM5 with the ap2sd & swap?
CM6 is based on froyo, latest version of android...its good and yes speed is comparable. Also CM has added new stuff in it, like fully customizable power bar and other stuff...Full changelog is there in CM6 thread.
I believe I partitioned the sd card when I loaded the CM6 ROM.
So I'd like to try the CM6 with the ap2sd, swap and the CustomMTD. I do have the AmanRA recovery, but not sure about how to select the ap2sd.
For CM6 a2sd is through script, instruction is in first post. I have included customMTD also there. So if you follow the guide, you will be having customMTD, a2sd and swap...swap require an partition on your sdcard, if you don't have that partition then it will ask for swap file.
Any chance you would tell me how to get the ap2sd, swap and CustomMTD on the phone if I have already Flashed CM6 on there?
you can wipe and start over again, first post should be good for you.
Thanks again, regardless. The info you gave me helped me learn a little more. I'm still a bit confused about what fastboot is though. But I will just keep at it and keep learning!
Oh I forgot about the fastboot, fastboot and adb are tool, which give an option to control, flash and do other thing on the phone from PC. The link for setup guide is in first post.
Thanks again!!
Man! You are great! Thanks again for all your help! Now let's see if I can manage to follow your thread and not brick my phone! Lol
Until next time....
Important Notice Due to my exams i wont be available till 25th. I have tried to make instructions as clear as possible still if anyone is having problems u can use 1.2, 1.2.1, 1.5, 1.5.1 all stable.1.5 and 1.2.1 have most positive feedbacks.
Or Go for my SUPER STABLE and Successful FROYO (android 2.2.1)build HERE :: CLICK HERE
Dear friends ..
You need a rooted wildfire for this...
Thanks frnds for ur interest and testing support ::
HIGHLY RECOMMENDED I can't say it enough be it this or any other ROM, Always Back-up your current stable ROM with Nandroid.
IMP IMP IMP::Please format your SD card to FAT32 before flashing and remove all partitioning.This way you wont have Boot Loop Trouble.
To Flash the zip file needs to be copied to root of ur Sd card and flashed from recovery.
You can also use Koush's Fake Flash.
This ROM wont delete ur personal data from your sd card.
Its better to Wipe ur Caches from recovery menu before flashing. Recommended.
DOWNLOAD the ROM.Complete Following steps.Same steps for all ROMs here.
# Flash the ROM and Make the first boot (will take little time).
# Reboot Once. Now Boot into RECOVERY..and complete following Steps::
HOW TO SET UP SD CARD FOR APP2SD to work properlyA. backup your sd card to your computer, as partitioning will wipe the entire card.(Just to be super safe::Format your card to FAT32 on your PC and then insert it into ur Buzz/Wildfire)
B. Reboot into recovery
c. Select partition sdcard
d. Again select partition sd card.
e. Follow the instructions on the phone to partition your sd card. You can optionally set a swap file while you are partitioning your sd card.
Recommended setting (Swap=0, Ext=256, rest=fat32)
F. In the partition sdcard menu, select sd:ext2 to ext3. Follow the instructions on the screen.
G. ONLY FOR Vibes v1.1 Others skip this step nly perform this step if you want ext4 and your rom supports it: in the partition sdcard menu, select sd:ext3 to ext4. Follow the instructions on the sdcard.H. Press the up volume button on the phone to go back to the main menu.
I. Reboot and viola you are done.
Or Do it THE GEEK WAY
Click to expand...
Click to collapse
LOTS of partitioning trouble causes phone to have boot trouble.
1. Please before flashing remove your partitions you had created earlier.
2. Then Format to FAT32.
Its just partitioning problem i have checked the ROM friends once u partition ur card..then formatting will clean only one partition other is still unusable you have to remove partion. then Format to Fat32 and boot.
HERE ARE SOME INSTRUCTIONS AND A TOOL that will solve ur problems once and for all..
and after this partition removal, ur card is fat32 again ..this time just create a partition with recommended setting (swap=0 and ext=256)..try ext2 first.
Click to expand...
Click to collapse
Vibes v1.6 Released GET IT HERE
# APN/Mobile network Fixed
# Market Patched - u can see apps u could not earlier.
# App2Sd improved and better.
# Advanced Task Killer
# AndroZip, TuneIn Radio added.
# Google Maps fixed and better. Navigation now works even outside US.Cache on SD.
# ROMmanager.
# PowerBoot Menu-Reboot, Recovery, Bootloader, WipeData, Shutdown and Schedule Reboots.
# Wireless Tether.
# A small surprise.
Vibes v1.5.1:: Don't have many feedbacks but up for Vibes v1.5 :: Download
Vibes v1.5 was reported to be stable:: Link Updated:lease format ur sd Card to Fat32 befor flashing and remove Partition.
v1.2.1 (With App2SD) GET IT HERE... For those who want to have a stable working ROM as back up before flashing various other Roms.
v 1.2 (Without App2SD) GET IT HERE.
# Everything same as v1.1 -minus the problems and some cosmetic changes.
# app2sd removed - not many need it.
v1.1 with a new Kernel here. Reported Working well
EDit: Do report Errors and problems friends coz thats when a rom can be improved.
For boot Loop TRY THIS..
v0.9
Edit: almost everything working except soundhound and terminal apps which can be uninstalled..
My Sincere thanks to early testers
adeadrat
leegreggs
rolks
747 Driver
johi69
QAD3R Tested v1.6 See his post.
Click to expand...
Click to collapse
For customizations and probable errors :
> For your FONT Tweaking and Changing needs GO HERE. and HERE.
> If you have market problems try flashing this just like Rom..Market FIX
LOG is HERE
> Google Maps update error is Google Problem. Get This MOD
It also Enables worldwide Navigation using google maps.
Caches on SD so memory is saved and should enable multitouch. Read about it.
Rom is clean..Goodies can be added from market.
Usual warning.. your device is your responsibility..
TO DO:::
1>>If all works well will try to make weather animations working for home screen...
2>>Many more but 1>> is top priority if all goes well.
Special Add On Packages::
Adblock toggle on:: prevents those annoying ads from being displayed.
Adblock toggle off:: Get those ads back.
Just flash these files like rom and Done.
hi......seems rather intresting .....
leegreggs said:
hi......seems rather intresting .....
Click to expand...
Click to collapse
well the one who tests this will tell..
will flash it and see if it is stable
leegreggs said:
will flash it and see if it is stable
Click to expand...
Click to collapse
Awesome thanks mate link will be up in 18 minutes.. Thanks mate post ur findings..
will do......
also have a go at doing my own rom too
could try it out too.. have my phone in clockwork recovery just waiting to flash something fun -_-
leegreggs said:
will do......
also have a go at doing my own rom too
Click to expand...
Click to collapse
HEY WISH U ALL THE BEST..LINK is up now..
adeadrat said:
could try it out too.. have my phone in clockwork recovery just waiting to flash something fun -_-
Click to expand...
Click to collapse
Thanks Mate awesome..LINK is up now..
cheers mate ....will give it a go and get back and keep you informed to how it acts
Boots up just fine got some errors in the logcat but evrythings seems to work will keep using this until I keep working on my own ROM or CM6 is out
logcat if you want it: http://pastebin.com/9hQ7dEsb
clean install....no errors of yet, only soundhoud f.c
will keep you informed
adeadrat said:
Boots up just fine got some errors in the logcat but evrythings seems to work will keep using this until I keep working on my own ROM or CM6 is out
logcat if you want it: http://pastebin.com/9hQ7dEsb
Click to expand...
Click to collapse
Awesome dude thanks for the info..most of all Lovely for the logcat.. will see what can be done..
Now will work to remove errors and will post one with some good modifications soon.. God bless ya ..
Thanks again..
leegreggs said:
clean install....no errors of yet, only soundhoud f.c
will keep you informed
Click to expand...
Click to collapse
Thanks dude... ok will get a newer version of soundhound and see..
Awesome dude lovely for the info....
altight dude....
just noticed when trying to up date apps i.e google maps, superuser etc , it comes back as cannot install .......
not a big problem but just thought id give you the feedback mate
leegreggs said:
altight dude....
just noticed when trying to up date apps i.e google maps, superuser etc , it comes back as cannot install .......
not a big problem but just thought id give you the feedback mate
Click to expand...
Click to collapse
perhaps Flashing this ZIP file can help.. flash it like a rom
GET IT HERE
cheers mate , shall let you know.....rom seems speedy ....good work
leegreggs said:
cheers mate , shall let you know.....rom seems speedy ....good work
Click to expand...
Click to collapse
Thanx mate now working to make it better.. EDIT its 2:30 am here ..friends got to sleep.. sorry if u have any trouble and i am not able to help but i will be back online in 7 hrs see ya all then..
will try, post comments later
leegreggs said:
cheers mate , shall let you know.....rom seems speedy ....good work
Click to expand...
Click to collapse
i hope that the market problem is solved for you . if yes then i will include it in my new update .. that is coming soon..
will test it later
Would this method (for samsung galaxy Y, which is, if I understand correctly, identical to the S5830I) work to get Droidwall/Iptables to function correctly? (or if there are easier alternatives)
If not, is there any way to get it to work?
Thanks a lot
I agree with the question, as we work to us to Droidwall device??
sorry for my English.
salu2 from Colombia
Sorry, forgot to include the link to the Galaxy Y method: http://forum.xda-developers.com/showthread.php?t=1626406
Hey guys,
Since no one seems to know, I just decided to test it and let you all know the result ^^
I downloaded mikstev_add_initd_to_boot.img__kernel_modules_initd_scripts_for_droidwall_v2.zip from that thread and copied modules_droidwall_signed.zip inside of it to the SD card. I then rebooted in recovery mode, applied CWM and installed modules_droidwall_signed.zip using it.
Droidwall still gives an error ("Error applying iptables rules. Exit code:11 iptables v1.4.10 iptables: No chain/target/ match by that name").
So slight update to the original question: is there any way to get droidwall to work?
GermainZ said:
Hey guys,
Since no one seems to know, I just decided to test it and let you all know the result ^^
I downloaded mikstev_add_initd_to_boot.img__kernel_modules_initd_scripts_for_droidwall_v2.zip from that thread and copied modules_droidwall_signed.zip inside of it to the SD card. I then rebooted in recovery mode, applied CWM and installed modules_droidwall_signed.zip using it.
Droidwall still gives an error ("Error applying iptables rules. Exit code:11 iptables v1.4.10 iptables: No chain/target/ match by that name").
So slight update to the original question: is there any way to get droidwall to work?
Click to expand...
Click to collapse
Droidwall works in my Kernel.
Only need this modules.
Rafael.Baugis said:
Droidwall works in my Kernel.
Only need this modules.
Click to expand...
Click to collapse
I suppose you're talking about this:
http://forum.xda-developers.com/showpost.php?p=24264713&postcount=2
Thanks, I'll give it a try ASAP and report back.
Rafael.Baugis said:
Droidwall works in my Kernel.
Only need this modules.
Click to expand...
Click to collapse
I use Retribution rom and this is what I get if I try to enable the firewall...
Sent from my GT-S5830i using xda app-developers app
Droidwall works in my Kernel.
Only need this modules.
Click to expand...
Click to collapse
Rafael.Baugis, here's what I did:
1- Unrooted my phone and rebooted.
2- Downloaded both attachments here: http://forum.xda-developers.com/showpost.php?p=24264713&postcount=2
3- Copied both zips to SD Card. Turned off phone.
4- Rebooted in recovery mode (Home+Power+Volume Up)
5- Using CWR, installed 20120710-2146-CWM-boot.img-modules.zip, then modules_droidwall_signed.zip and rebooted.
6- Ran Droidwall and tried to enable firewalls. Got the same error (for pic, see post#7)
Anything I'm doing wrong?
Wipe dalvik cache and cache partition,then flash the module. Works fine for me
Inviato dal mio GT-S5830i con Tapatalk 2
Qeemi said:
Wipe dalvik cache and cache partition,then flash the module. Works fine for me
Inviato dal mio GT-S5830i con Tapatalk 2
Click to expand...
Click to collapse
Same result.
EDIT: Nevermind. Wasn't wiping dalvik cache. Bricked my phone, probably did something wrong, will try again after recovery.
retribution rom use su binaries in folder /system/xbin --- need remove complet su su-v1 su-v2 su-v3 etc...
delete all files in folder /system/xbin and reboot to CWM.
aply kernel package and reboot to CWM.
aply the droidwall modules and reboot.
check if root is working and try droidwall rules.
After flashing original PDA using Odin, I installed your custom kernel using CWM, rebooted, rebooted into CWM again, installed the module and... wait for it... IT WORKS!
Thanks a lot, all of you!
Rafael.Baugis said:
retribution rom use su binaries in folder /system/xbin --- need remove complet su su-v1 su-v2 su-v3 etc...
delete all files in folder /system/xbin and reboot to CWM.
aply kernel package and reboot to CWM.
aply the droidwall modules and reboot.
check if root is working and try droidwall rules.
Click to expand...
Click to collapse
I worked perfectly thanks rafael
Greetings from Colombia
how
wt is difference btween rafeal's kernel and stock kernel????both are for gb right???so wt is the use of creating another gb kernel??
Rafael kernel has governors,init.d support,ext4 and swap support,iptables.
Hi, my current Android version is 2.3.6 (GINGERBREAD.BVLD3) with 2.6.35.7 kernel.
Can i install Rafael's kernel in my device?
My idea is doing the same than GermainZ...
1- Unrooted my phone and rebooted.
2- Downloaded both attachments here: http://forum.xda-developers.com/showpost.php?p=24264713&postcount=2
3- Copied both zips to SD Card. Turned off phone.
4- Rebooted in recovery mode (Home+Power+Volume Up)
5- Using CWR, installed 20120710-2146-CWM-boot.img-modules.zip, then modules_droidwall_signed.zip and rebooted.
6- Ran Droidwall and tried to enable firewalls.
Click to expand...
Click to collapse
Gambinoh said:
Hi, my current Android version is 2.3.6 (GINGERBREAD.BVLD3) with 2.6.35.7 kernel.
Can i install Rafael's kernel in my device?
My idea is doing the same than GermainZ...
Click to expand...
Click to collapse
You can just need to use ClockworkRecovery wipe dalavik data (in advanced) after it has been flashed.
TheCoNecT said:
You can just need to use ClockworkRecovery wipe dalavik data (in advanced) after it has been flashed.
Click to expand...
Click to collapse
When I apply update from sdcard with ClockworkRecovery for the file 20120710-2146-CWM-boot.img-modules.zip the system gives me an error (E:Error in /tmp/sideload/package.zip (Status 2) Installation aborted).
Somebody knows why happens this error?
Install zip from sd card,not update from sd card
Qeemi said:
Install zip from sd card,not update from sd card
Click to expand...
Click to collapse
Ok, thanks, it's true...
Hi to all!! I've done a little modification to the original CWM to add support to the secondary partition we use in every CM/MIUI etc...
All is done! Now works without an error of mounting "/sd-ext" due to an "unknown volume type!!" in recovery.fstab.
I also included the recovery for the SDMerge and also a linux script. Sorry, but the archive is too big to post it here on xda so i had to upload it on 4shared.
Requirements:
1) Rooted phone (obviously!!)
Instuctions Windows:
1) Download the package from 4shared
2) Extract it in any folder you prefer
3) Make sure you have USB Debugging on
4) Run "CWM-Installer.bat" as administrator
5) Hit enter
6) Wait, if it takes too long simply disconnect the device and reconnect it immediatly.
5) Enjoy the new recovery!!:victory:
Instructions Ubuntu/Debian/Mint:
1) Download the package from 4shared
2) Extract it
3) Make sure you have the sdk properly installed with adb (if not check here: http://forum.xda-developers.com/showthread.php?t=2100673 )
4) Run the script by typing
Code:
./CWM-Installer.sh
5) Enjoy the new recovery
The script is for stock roms but it works well even on CM or CM-Based ROMs so don't worry if you get errors, it's normal.
If you want your old recovery back you can open the CWM-Installer.bat with an editor and replace this
Code:
Files\adb push Files\recovery.img /data/local/recovery.img
With this:
Code:
Files\adb push Files\[COLOR=Red]CWMrecovery_orig[/COLOR].img /data/local/recovery.img
or if you want the recovery for the SDMerge just replace:
Code:
Files\adb push Files\recovery.img /data/local/recovery.img
with this:
Code:
Files\adb push Files\SDmergerecovery.img /data/local/recovery.img
And then run the script again.
Feel free to post comments!!
Download here:
http://www.4shared.com/archive/8HmnogYQ/CWM-Installer-E400tar.html
wow, long time no see...
keep it up buddy
yayakuya said:
wow, long time no see...
keep it up buddy
Click to expand...
Click to collapse
Thanks yaya, I was busy with work and home and I haven't internet at home so I can't download the huge GBs of a repo.
Works like said great job keep it up buddy!
Cobmaster said:
Hi to all!! I've done a little modification to the original CWM to add support to the secondary partition we use in every CM/MIUI etc...
All is done! Now works without an error of mounting "/sd-ext" due to an "unknown volume type!!" in recovery.fstab.
Requirements:
1) Rooted phone (obviously!!)
Instuctions:
1) Download the attachment
2) Extract it in any folder you prefer
3) Make sure you have USB Debugging on
4) Run "CWM-Installer.bat" as administrator
5) Hit enter
6) Wait, if it takes too long simply disconnect the device and reconnect it immediatly.
5) Enjoy the new recovery!!:victory:
The script is for stock roms but it works well even on CM or CM-Based ROMs so don't worry if you get errors, it's normal.
IT DOESN'T WORK WITH SDMerge MOD!!!
If you want your old recovery back you can open the CWM-Installer.bat with an editor and replace this
Code:
Files\adb push Files\recovery.img /mnt/extra-sd/recovery.img
With this:
Code:
Files\adb push Files\[COLOR=Red]CWMrecovery_orig[/COLOR].img /mnt/extra-sd/recovery.img
And then run the script again.
Feel free to post comments!!
Click to expand...
Click to collapse
i created a flashable zip for the recovery her it is please thank me.:good:
jeffreyvh said:
i created a flashable zip for the recovery her it is please thank me.:good:
Click to expand...
Click to collapse
I used the script written a long time ago for who has only the device rooted but hasn't the recovery installed... Btw good job!
@Cobmaster, could you make similar recovery specifically for data2sdext on stock rom?
I already create similar mod based on this tutorial and it works flawlessly but lack of support from recovery (i.e can't backup/restore from sd-ext)
andwie said:
@Cobmaster, could you make similar recovery specifically for data2sdext on stock rom?
I already create similar mod based on this tutorial and it works flawlessly but lack of support from recovery (i.e can't backup/restore from sd-ext)
Click to expand...
Click to collapse
Are you talking about e405? Or you want a recovery modded to support the partition table in stock rom?
I think I can but I need more specs of the partitioning you use for the sd. I need the specific "/dev/block/mmcblk***" of the partitions in the sd. Nothing more (and a little bit of time obviously!).
Cobmaster said:
Are you talking about e405? Or you want a recovery modded to support the partition table in stock rom?
I think I can but I need more specs of the partitioning you use for the sd. I need the specific "/dev/block/mmcblk***" of the partitions in the sd. Nothing more (and a little bit of time obviously!).
Click to expand...
Click to collapse
it's for stock rom in E400 (E400 and E405 shared the same partitioning system though).
it's the same partition structure created by CWM recovery :
swap -> /dev/block/mmcblk1p1
ext4 -> /dev/block/mmcblk1p2 -> mounted as /data
vfat -> /dev/block/mmcblk1p3
thanks again for your effort
andwie said:
it's for stock rom in E400 (E400 and E405 shared the same partitioning system though).
it's the same partition structure created by CWM recovery :
swap -> /dev/block/mmcblk1p1
ext4 -> /dev/block/mmcblk1p2 -> mounted as /data
vfat -> /dev/block/mmcblk1p3
thanks again for your effort
Click to expand...
Click to collapse
Here it is, to flash it use my script replacing the recovery.img with the one attached and report if it works or not.
Btw, are you sure that the "/data" partition is ext4? Because if it's wrong the recovery doesn't mount it.
Very sorry for the very late reply, I just had the time to test your new recovery (I had to create flashable zip for it since the script didn't work) and it work perfectly.
Now we have alternative to increase data partition without having to edit apps like gellmar's StockMergE400, means it will be compatible with all stock-based rom :victory:
Thanks again @Cobmaster :good:
Don't worry about it. It's very pleasing to see that it works.
hi!
@Cobmaster, could you make recovery for E405?
after make SDMerge MOD from '' lgl3e405.blogspot.com/2013/05/sd-merge-mod-for-e405-under-testing.html''. i can't restore my backup and i can't mount internal sd.
can you help me. Sorry for my english. i am not good
dricoarmani said:
hi!
@Cobmaster, could you make recovery for E405?
after make SDMerge MOD from '' lgl3e405.blogspot.com/2013/05/sd-merge-mod-for-e405-under-testing.html''. i can't restore my backup and i can't mount internal sd.
can you help me. Sorry for my english. i am not good
Click to expand...
Click to collapse
Could you give me the link of the recovery for e405?
and if you can give me the partition layout of your phone using this: https://play.google.com/store/apps/details?id=com.cls.partition
Or this:
https://play.google.com/store/apps/details?id=me.kuder.diskinfo
Cobmaster said:
Could you give me the link of the recovery for e405?
and if you can give me the partition layout of your phone using this: https://play.google.com/store/apps/details?id=com.cls.partition
Or this:
https://play.google.com/store/apps/details?id=me.kuder.diskinfo
Click to expand...
Click to collapse
How about L5 E455 users? what do you think would happen if i try this recovery on e455?
will it brick it for good ?
-Rant
most of my previous droid phones were SE and then Sony and i never had to deal with any of this
int mem/int sd/ext sd crap. just int mem and sdcard .period
now i've two Chinese tablets and a sammy and now this e455 cuz i needed an affordable dual sim.
man, it's a clusterF. most my backups wont work cuz they've restored on the wrong partition and
yesterday i got some error message like "this dosnt work on emulated storage" and i was like wtf?
/Rant off
Axims said:
How about L5 E455 users? what do you think would happen if i try this recovery on e455?
will it brick it for good ?
-Rant
most of my previous droid phones were SE and then Sony and i never had to deal with any of this
int mem/int sd/ext sd crap. just int mem and sdcard .period
now i've two Chinese tablets and a sammy and now this e455 cuz i needed an affordable dual sim.
man, it's a clusterF. most my backups wont work cuz they've restored on the wrong partition and
yesterday i got some error message like "this dosnt work on emulated storage" and i was like wtf?
/Rant off
Click to expand...
Click to collapse
It will probably get bricked. It's a matter of kernel...
Sent from my LG-E400 using xda premium
Cobmaster said:
It will probably get bricked. It's a matter of kernel...
Sent from my LG-E400 using xda premium
Click to expand...
Click to collapse
hi all,
i have a problem with sdmerge roms. when i install a rom with sdmerge wipe doesn't work.
in cwm i see wipe done succesfully, but nothing happens, and when i reboot i have the same background, same apps etc...
with this update i could fix the problem?
lomax84 said:
hi all,
i have a problem with sdmerge roms. when i install a rom with sdmerge wipe doesn't work.
in cwm i see wipe done succesfully, but nothing happens, and when i reboot i have the same background, same apps etc...
with this update i could fix the problem?
Click to expand...
Click to collapse
only use gellmar recovery, because it is fixed for sdmerge
kien_vip said:
only use gellmar recovery, because it is fixed for sdmerge
Click to expand...
Click to collapse
Where can i find gellmar recovery?
Do you mean step1?
Inviato dal mio LG-E400 con Tapatalk 2
lomax84 said:
Where can i find gellmar recovery?
Do you mean step1?
Inviato dal mio LG-E400 con Tapatalk 2
Click to expand...
Click to collapse
it contain in step 2 or you can see it on some sdmerge rom
Hi guys, I have got a very urgent problem right now, and hope someone can help me out...I am currently using a HTC One M7, and I used the TWRP recovery and the official bootloader or something rooted my phone, the reason why I need root it is that i need a app move into the system apps which may be easier in using it. And after I moved the app into the system apps using Root Explorer and then reboot my phone, the app just disappeared. After tried many times...I think it is because of the twrp just wipe it... do u guys have a method to solve this problem?...really...pls help me out!!
luvu4evermore said:
Hi guys, I have got a very urgent problem right now, and hope someone can help me out...I am currently using a HTC One M7, and I used the TWRP recovery and the official bootloader or something rooted my phone, the reason why I need root it is that i need a app move into the system apps which may be easier in using it. And after I moved the app into the system apps using Root Explorer and then reboot my phone, the app just disappeared. After tried many times...I think it is because of the twrp just wipe it... do u guys have a method to solve this problem?...really...pls help me out!!
Click to expand...
Click to collapse
This is not a twrp issue, /system partition is write-protected by the stock kernel, every changes made in the /system partition will be reverted after a reboot. If you want to be able to write to /system when booted in the rom, you'll need a custom kernel with write-protection disabled (pretty much all custom kernels here have this). The other option is to make the changes you want in your /system partition before the stock kernel boots, so using the embedded file manager of twrp recovery for example.
If you want to use a custom kernel, you must choose one that works with your rom type and version. For example, ElementalX kernel will only works for Sense or GPE rom (stock or custom). The version of ElementalX required depends on your android version so newer doesn't mean better, you need the right one. Flashing a custom recovery is done using twrp recovery. When installing the custom kernel, you can choose the features you want to be installed so if you don't want a specific feature that the kernel offers, its not a problem. The write-protection is removed by default.
If using the twrp file manger, boot in twrp select "advanced" ---> "file manager"
Then to move a file, select it (tap on it) then it will open another menu. Select "move" then select the location you want to move it to. There is also a chmod menu to edit the files permissions.
alray said:
This is not a twrp issue, /system partition is write-protected by the stock kernel, every changes made in the /system partition will be reverted after a reboot. If you want to be able to write to /system when booted in the rom, you'll need a custom kernel with write-protection disabled (pretty much all custom kernels here have this). The other option is to make the changes you want in your /system partition before the stock kernel boots, so using the embedded file manager of twrp recovery for example.
Click to expand...
Click to collapse
Oh, thanks for answering me~ uh, can u be more specific about how to do that? about the kernel thing? I never did this before and actually this is just my second time to root a phone and try to move an app into system app (as last time i did so there is no such a problem...) Also, about the twrp recovery file manager, tried that one yesterday, and it did not show the " app" folder under the system one, which means i just cannot move it using the twrp file manager...
luvu4evermore said:
Oh, thanks for answering me~ uh, can u be more specific about how to do that? about the kernel thing? I never did this before and actually this is just my second time to root a phone and try to move an app into system app (as last time i did so there is no such a problem...) Also, about the twrp recovery file manager, tried that one yesterday, and it did not show the " app" folder under the system one, which means i just cannot move it using the twrp file manager...
Click to expand...
Click to collapse
see my post above (edited while you were replying)
You can also use aroma file manager within twrp recovery
here a nice xda-video about both twrp file manger and aroma file manager
alray said:
see my post above (edited while you were replying)
You can also use aroma file manager within twrp recovery
here a nice xda-video about both twrp file manger and aroma file manager
Click to expand...
Click to collapse
OMFG!!! Finally I made it! I watched the video and find out that I did not mount the permission to the TWRP file manager! Thank you so much!!!
luvu4evermore said:
OMFG!!! Finally I made it! I watched the video and find out that I did not mount the permission to the TWRP file manager! Thank you so much!!!
Click to expand...
Click to collapse
Yep sorry, should have mentioned that, you always have to mount the partition you want to access when using a recovery. Some are mounted by default, but /system isn't.
alray said:
Yep sorry, should have mentioned that, you always have to mount the partition you want to access to when using a recovery.
Click to expand...
Click to collapse
Nah, still thanks a lot,
luvu4evermore said:
Nah, still thanks a lot,
Click to expand...
Click to collapse
you're welcome :good: