Droidwall - Galaxy Ace S5830i General

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...

Related

[Unlocked Only][ROOT][07-27-2011] CWM Recovery ROOT for any ROM

USE THIS SCRIPT AT YOUR OWN RISK
Prerequisites:
1. Unlocked Bootloader
2. CWM Recovery for unlocked bootloader installed
Code:
Changelog 27.7.2011:
- su and superuser updated to latest version
- fixed issue with permissions
- works correctly with Titanium Backup
Changelog 26.7.2011:
- added sqlite3 binary
- su and busybox updated to latest version
How to:
1. Download "root_cwm.zip" (bellow in Attached Files)
2. Copy it to sdcard or sdcard-ext
3. Reboot into CWM recovery
5. Click "install zip from sdcard"
6. Choose zip from sdcard
7. Pick the "root_cwm.zip"
8. Install
9. Reboot
Tested on kennethpenn's [ROM] AT&T 4.5.91 ★ Gingerbread 2.3.4, but should work on any ROM available.
Can you please upload the .zip?
kennethpenn said:
Can you please upload the .zip?
Click to expand...
Click to collapse
its there in attached files...
kamma said:
its there in attached files...
Click to expand...
Click to collapse
Edit: im an idiot.
Awesome
Sent from my MB860 using XDA Premium App
Worked like a charm. Thanks!
goscrewsir said:
Worked like a charm. Thanks!
Click to expand...
Click to collapse
glad to hear...
So is the only difference between these two threads (this one and http://forum.xda-developers.com/showthread.php?t=1140110) that the other is for the HKTW... orrrrr? =) and thanks anyway, I'm about to use your .zip right now
Worked beautifully when preinstall didn't, thank you
wow! this is awesome!
This is great!!!
I used this to obtain root in OTA 4.5.91 but I'm have some problems. Root explorer and terminal can access root, but Titanium Backup, busybox, and SQLite Editor cant get root access. USB debugging is turned on, and same for 3rd party install.
Anyone have any idea what's causing this?
Can you read/write in root explorer?
GuerillaZhou said:
I used this to obtain root in OTA 4.5.91 but I'm have some problems. Root explorer and terminal can access root, but Titanium Backup, busybox, and SQLite Editor cant get root access. USB debugging is turned on, and same for 3rd party install.
Anyone have any idea what's causing this?
Click to expand...
Click to collapse
Sent from my MB860 using XDA App
i got it working, just manually copied su from /preinstall to /system/bin, and sqlite and titanium works now
how do i install CWM before I am rooted?
ekerbuddyeker said:
how do i install CWM before I am rooted?
Click to expand...
Click to collapse
unlock BL and then go to fastboot mode and install CWM
munchy_cool said:
unlock BL and then go to fastboot mode and install CWM
Click to expand...
Click to collapse
can you elaborate. I am in fastboot mode. How do I install CWM?
Hi,
For me, the flashing appears to be successful, but when I boot into recovery I'm getting the stock recovery. I think the issue is with /system/etc/install-recovery.sh, but I have no clue how to remove this file from my phone. I can't change the permissions or the file even with root access. Anyone have any advice?
Thanks!
ekerbuddyeker said:
can you elaborate. I am in fastboot mode. How do I install CWM?
Click to expand...
Click to collapse
Here you go buddy: http://forum.xda-developers.com/showthread.php?t=1154600
kamma said:
USE THIS SCRIPT AT YOUR OWN RISK
Prerequisites:
1. Unlocked Bootloader
2. CWM Recovery for unlocked bootloader installed
How to:
1. Download "root_cwm.zip" (bellow in Attached Files)
2. Copy it to sdcard or sdcard-ext
3. Reboot into CWM recovery
5. Click "install zip from sdcard"
6. Choose zip from sdcard
7. Pick the "root_cwm.zip"
8. Install
9. Reboot
Tested on kennethpenn's [ROM] AT&T 4.5.91 ★ Gingerbread 2.3.4, but should work on any ROM available.
Click to expand...
Click to collapse
Thanks a lot dude...
Easy as pie!
Cheers!
Rayan

[Q] [HELP] cannot install CM10

After entering stage of recovery, I have wipe all the factory reset,
but it fail to mount sd card. showing sth like : fail to /sdcard/.android secure
so i cannot install cm10 zip and stuck at this stage
when i open folder of .android secure, it is empty.
I have tried to format sdcard through rom manager but fail to mount
So now what can i do to fix this problem T^T, i really want to try android 4!!!!
Millions thanks!!!
naleung said:
After entering stage of recovery, I have wipe all the factory reset,
but it fail to mount sd card. showing sth like : fail to /sdcard/.android secure
so i cannot install cm10 zip and stuck at this stage
when i open folder of .android secure, it is empty.
I have tried to format sdcard through rom manager but fail to mount
So now what can i do to fix this problem T^T, i really want to try android 4!!!!
Millions thanks!!!
Click to expand...
Click to collapse
Install an older version of CWM through Rom Manager app. Should be 5.2.xx. This one should work just fine.
N00BY0815 said:
Install an older version of CWM through Rom Manager app. Should be 5.2.xx. This one should work just fine.
Click to expand...
Click to collapse
But i fail to install older version of CWM through Rom manager, it said there is an error
I have tried updated the rom manager through google play but still fail to mount sd card
I am so frustrated, so can i download a rom manager apk file and re-intall it?
by the way thanks for your suggestion, you are so nice!
naleung said:
But i fail to install older version of CWM through Rom manager, it said there is an error
I have tried updated the rom manager through google play but still fail to mount sd card
I am so frustrated, so can i download a rom manager apk file and re-intall it?
by the way thanks for your suggestion, you are so nice!
Click to expand...
Click to collapse
Just go and search for cwm touch flasher optimus black and look for an entry made by redy06. He created a flasher for the 5 version. You can also have a look into dev section. Dont know, if you maybe are able to install a cwm created by tantrums.
Sent from my LG-P970 using xda app-developers app
N00BY0815 said:
Just go and search for cwm touch flasher optimus black and look for an entry made by redy06. He created a flasher for the 5 version. You can also have a look into dev section. Dont know, if you maybe are able to install a cwm created by tantrums.
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
this http://forum.xda-developers.com/showpost.php?p=22121547&postcount=22

[Q] root problem

hello
im currently using an android 4.0.3 XXLQ3 rom
my main objective is to install PARANOIDANDROID rom:
http://forum.xda-developers.com/showthread.php?t=2115167
in order to get root+safe kernel + cwm i used phiz recommended method described here:
http://forum.xda-developers.com/showthread.php?t=1901191
after i flashed it i rebooted the device i now have cwm but i do not have root or supersu app and i dont know if im on safe kernel or not
i read on the forum that lq3 room has some sort of a space problem as described here
http://forum.xda-developers.com/showthread.php?t=1329360
saying:
1B.If you want just Root but not kernel, follow this
- Download Root_SuperSu 0.95
-Copy downloaded file to Ext SD card.
-Reboot into recovery (vol up+Home+power)
-Select install zip from ext SD card
-select 'root_SuperSU-*.zip' which you have copied to Ext card above
-Reboot device
-You can see superSU on appl drawer. open it and update.
-Now This will give you only SuperSU not busybox, though application which doesn't depends on system busybox will still works.e.g.Titanium Backup.
-To get full Root+busybox, Download Root_busybox *.zip
-Copy Root_busybox* only to Ext SD card
-Reboot into recovery, Select Install zip from Ext SD card. select Root_busybox* .zip and Flash.
-Done !
PS : If you can't see superSU after flashing above file(sometimes happen if there is too low space like in LQ3 ROM, then use this Root_superSU, followed by same above Root_busybox file.
Click to expand...
Click to collapse
so my questions are:
1. how do i get root from my current state? can i use the root_supersu in cwm instead of stock recover?
2. how can i tell if my kernel is safe atm? phiz is suppose to be safe but maybe if root failed the mmc_cap remove failed too?
soory for the long post
thanks in advance to all the helpers!
what is the name of the kernel( with extension) you flashed and how did you flash it?
nokiamodeln91 said:
what is the name of the kernel( with extension) you flashed and how did you flash it?
Click to expand...
Click to collapse
i flased PhilZ-cwm6-XXLQ3-OXX-3.99-signed.zip
i flashed it using stock recovery as the post described
that is correct file.. if you have cwm then the kernel has been installed... try to flash the kernel again from cwm... then reboot and see for a supersu app..
nokiamodeln91 said:
that is correct file.. if you have cwm then the kernel has been installed... try to flash the kernel again from cwm... then reboot and see for a supersu app..
Click to expand...
Click to collapse
i flashed it again using cwm i didnt see any error
still no root or supersu app i even downloaded root checker app and it says im not rooted
Hmmm. Try with the supersu zip that you mentioned earlier.
Try installing supersu from market (play store) and look if it works
Sent from my GT-N7100 using xda premium
dr.ketan said:
Try installing supersu from market (play store) and look if it works
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
it didnt work installling from the market.
i used Root_SuperSu -freespace and now im rooted
the last question i have now is my kernel safe?
phiz kernel suppose to be safe does super_su somehow overwrite the mmc_cap erase?
If your recovery is philz cwm then you have safe kern l
Sent from my GT-N7100 using xda premium
Nope. It's safe. Kernel is what has the erase command disabled and supersu just installs supersu
Thanks for everyone's help managed to root and install
u can close thread.
Ok

[L3] [MOD] CWM recovery for e400 [CM/MIUI/SDMERGE]

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

CWM RECOVERY for Galaxy J700t1 (Metro PCS variant)

Ok guys here is a custom recovery for the metro 2016 variant of the Galaxy J700t1 (Metro PCS) Flash with FlashFire or with Odin. Custom recovery but it won't mount the internal sd yet. Can't flash or backup.. so its still a work in progress, but its a working recovery other than that lol. Must be rooted first. Make sure that you download root file explorer and ensure you have a copy of su and busybox in your /system/bin and /system/xbin folders. Make sure you have USB debugging on, OEM on, and unknown sources on in System-Developer options. Thanks to Paco for the root exploit! But we needed a recovery for this fine device. Enjoy!
EDIT: SOME CLARITY FOR EVERYONE... ok, so here's the deal. In marshmallow the system is write protected after you trip KNOX 0x1. The system will persist and will lose integrity if the stock kernel's "CASHE" gets changed. hmmm.... so. this is what you need your system to be at if you want to flash a custom kernel or recovery with flashfire or flashify: After you root with Paco's method, you should be on stock rooted rom with stock recovery. when you flash with flashfire DO NOT WIPE CASHE OR DALVIK CASHE OR FORMAT CASHE in ANY WAY ... IT WILL SEND YOU INTO THE "RESET MODE"... NO worries tho. If this happens to you , ODIN this stock kernel CASHE that i'm posting below and you should boot back up. Keep in mind what you're doing as well... if for some reason you hit the "RESET" SCREEN, don't flip... just ODIN the partition you changed back to stock whether it be the kernel or in this case the RECOVERY. ... also, try not to use ever root in flashify/ flashfire because it lowers the permissions for the SU binaries and removes SU from some of the system folders.
INSTRUCTIONS:
1. start from stock if you can.
2.root via paco's method HERE
3.I would make sure you have a stock copy of the stock firmware (ROM KERNEL RECOVERY) on your computer just in case
HERE
4.download my cwm port for the j700t1 below and put it on the root of your drive or anywhere on your phones internal memory (not your external sd card)
5. Download root browser from the playstore as well as flashfire or flashify or both.
6.rename the cwm.img to recovery.img with root browser and ensure that you have SU and Busybox in /system/bin , /system/xbin , and it wouldn't hurt to have it in ~#/sbin as well..... AND check the permissions with root browser to make sure the permissions are set to 0777 (rwrwrwrw)
7. In "Flashfire" click the "+" symbol - click "Flash firmware package" -- Go to the cwm "recovery" file you put on your internal sd card and select the file. Fireflash will bring a screen up saying "Partitions" at the top showing the package. Click the check mark at the top right. FlashFire will go back to the "Actions" screen. Click"reboot" toward the bottom. Under the "reboot" screen, click recovery to boot directly into your new recovery after the flash. Uncheck Preserve recovery- click the check mark at the top right again. Click "Flash" at the bottom. --- wait. Device will reboot... flashfire will take over and your loading screen willl flash by... phone will boot back up into CWM....
To Flash ODIN tars --- Rename the perspective tar to the partition it goes to before trying to odin. Example: rename "cwm.recovery.img." to just "recovery.img" ... Same with the stock kernel tar below. . rename to "boot.img" then ODIN.
Sideload apps or ROMS or ZIPS just don't wipe any cashe partitions until we can get a good custom kernel. I could use the help with the kernel I will be honest. I can get it done but with a lot of trial and error. Anyone who can remove the SELinux write protection from the kernel please contact me.. I'm working on it. I was able to get a custom kernel to boot. but still no r/w mount for the USB yet. Just keep the CASHE lol. One more thing.. if your'e testing kernels, everytime you have to odin a stock kernel you will LOSE ROOT, so go ahead and re-root again.
https://drive.google.com/file/d/0B_WsJ57QBykaQ3ROeFZnajNzbmc/view?usp=sharing --- CWM img
CWM.TAR-- (new
--Stock Kernel CASHE.tar
Stock KERNEL
Team Rejectz
removed as it was reported not working by @timmetal6669
messi2050 said:
I worked on the kernel you asked for , i hope that it will help you getting a working twrp for your phone
Permissive kernel
https://www.mediafire.com/download/gd51y458vkzwmve
Completely disabled selinux kernel
https://www.mediafire.com/download/ui6udkamk1dkqq4
Click to expand...
Click to collapse
thank you!! the one I sent you? will flash right away
timmetal6669 said:
thank you!! the one I sent you? will flash right away
Click to expand...
Click to collapse
You are welcome ! No i didn't recieve anything , I compiled this one
http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=Sm-j700t
messi2050 said:
I worked on the kernel you asked for , i hope that it will help you getting a working twrp for your phone
Permissive kernel
https://www.mediafire.com/download/gd51y458vkzwmve
Completely disabled selinux kernel
https://www.mediafire.com/download/ui6udkamk1dkqq4
Click to expand...
Click to collapse
not working...
do not flash this
Here is an odin flashable copy of the j700t1 stock kernel to get you booting again. just go into download mode, open odin and flash this if you happened to flash one of the kernels above
https://drive.google.com/open?id=0B_WsJ57QBykaSDRlQXlXSnpSd28
messi2050 said:
You are welcome ! No i didn't recieve anything , I compiled this one
http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=Sm-j700t
Click to expand...
Click to collapse
No wonder it looped, we are the j700t1 variant.... Grab this stock boot.img i just posted above and see what you can do it with this instead lol.:good:
timmetal6669 said:
No wonder it looped, we are the j700t1 variant.... Grab this stock boot.img i just posted above and see what you can do it with this instead lol.:good:
Click to expand...
Click to collapse
Hmmm.... 2 members tested the first one and the phone booted up correctly , i can't disable selinux from the bootimage as Samsung is forcing selinux in the kernel , i need to build the kernel from source to do that
messi2050 said:
Hmmm.... 2 members tested the first one and the phone booted up correctly , i can't disable selinux from the bootimage as Samsung is forcing selinux in the kernel , i need to build the kernel from source to do that
Click to expand...
Click to collapse
Sent me into a loop... but I'm the metro pcs variant
Oh update... If anyone uses that odin flashable stock boot.img .. remember it IS a stock boot img. you will lose root. but you won't lose your system and your apps.. so just re root using paco's CF autroot exploit.
messi2050 said:
Hmmm.... 2 members tested the first one and the phone booted up correctly , i can't disable selinux from the bootimage as Samsung is forcing selinux in the kernel , i need to build the kernel from source to do that
Click to expand...
Click to collapse
might just be what i'll have to do.. the boot image is its own source
So no progress on the recovery to backup or flash yet?
Krumplife4400 said:
So no progress on the recovery to backup or flash yet?
Click to expand...
Click to collapse
Im working on it. the recovery is flashable and it works... just won't mount the SD right now... I have to right a script or look for a work around.. give me a bit...might take a few days. I'm a single dad and im' in school. I do this cuz i love it and I just bought this phone... Don't worry.,.. I'll be making ROMs before you know it... lol... mods everything... look up my threads lol
Thanks keep up the good work
Are you able to mount USB-OTG?? I am about to leave work so I haven't had a chance to play yet!
I can confirm it boots on j700t as well. I haven't flashed anything but it's there. I got twrp to boot and stay for roughly 5 minutes but still cannot mount anything either.
Sent from my SM-J700T using XDA-Developers mobile app
Verification Failed
I got this after flashing the cwm.img in FF. I did rename it to recovery.img is that why it failed? I could not get odin or FF to actually attempt a flash otherwise. Odin failed attempt NANDWRITE and FF complains about partition matching. I did have su and BB in the /system/bin and /system/xbin folders. Busybox permissions were 0777 and su permissions were 0755
Edit: i just rebooted the device and it booted right up. I tried to reboot recovery and it was back to stock so idk . I am definitely missing a step somewhere..
!Led*Eyes! said:
I got this after flashing the cwm.img in FF. I did rename it to recovery.img is that why it failed? I could not get odin or FF to actually attempt a flash otherwise. Odin failed attempt NANDWRITE and FF complains about partition matching. I did have su and BB in the /system/bin and /system/xbin folders. Busybox permissions were 0777 and su permissions were 0755
Edit: i just rebooted the device and it booted right up. I tried to reboot recovery and it was back to stock so idk . I am definitely missing a step somewhere..
Click to expand...
Click to collapse
Start over.
Set up phone like day one
Re-root with cf auto root
Update su binaries
Install BusyBox
Install flashify
Download IMG from op
After download, tap on IMG file should bring up flashify as an option
Flash IMG and reboot
Profit.
- I see you're good but no cwm? Skip start over root part and use flashify.
-sent from this device using this app.
So flashify over flashfire ? Ill give it a shot. Thanks
!Led*Eyes! said:
So flashify over flashfire ? Ill give it a shot. Thanks
Click to expand...
Click to collapse
No problem
sent from the interwebs using dis here application an m'digits....
I decided to just try it with flashify without reverting everything back to stock and voila! I chose the google drive option when searching for the file so it did download it again.... i re member reading something a while back about about a similar issue with not being able to mount the sdcard because the fs was encrypted and the recovery couldnt read it. I think they overcame by formatting the sdcard but i do not know .. i realize that simply formatting the sd in recovery and trying to mount would be fruitless but could the trouble be in the "expected recovery key" ? Just a thought. Thanks again timmetal6669 & OriginalShinken1 for the beta and the help. You guys are so close!
Has anyone tried to sideload a ROM yet since we can't flash?

Categories

Resources