yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] Frustu:
Thanks a lot now i try to flash...only 1 question...what i have to do for revert after flash your kernel?
[Galaxy Tab  Android Development] Chainfire:
Flash back the original ROM ?
[Galaxy Tab  Android Development] Frustu:
Ok thank you , sorry for stupid questions but i m a little noob and i have a lot lo learn :)
[Galaxy Tab  Android Development] Frustu:
Flashed you kernel now stuck on samsung glowing logo...

When i put it in recovery mode it say

ClockworkMOd Recovery v3.0.0.0

Checking for ext4 partitions...

Cheking /system...

Cheking /data...

Cheking /datadata

Cheking /cache...

Done!
[Galaxy Tab  Android Development] Chainfire:
Try flashing it again. I've had this happen once at well, but it went away. Did you leave it at the glowing logo for over a minute ? Were you using a lagfix ?
[Galaxy Tab  Android Development] Monrad:
How did you resurrected your tab? JTAG? You are not signed anymore, are you? :D
[Galaxy Tab  Android Development] vldesco:
Hi [MENTION=631273]Chainfire[/MENTION], I know this is an old thread and even an older device, but I want to ask you if you can build a file for this firmware

Model	GT-P1000L

Model name	GALAXY Tab

Country	Brazil (VIVO)

Version	Android 2.3.6

Changelist	774093

Build date	Wed, 30 Nov 2011 13:14:36 +0000

Product code	ZVV

PDA	P1000LVIJR2

CSC	P1000LZVVJR3

I want to install CM11 for P1L but I can't get the CWM recovery installed because the versions posted in OP doesn't work with my Tab (touch screen stop responding), although CWM is installed and I managed to flash CM11, touch screen still doesn't work (I guess the reason is an incompatible kernel).

I hope you can kindly provide it as a final gift (If not possible, I will understand).

Regards,
[Galaxy Tab  Android Development] vldesco:
I have uncompressed stock zImage, but i can't uncompress the OXA_JQ1 one to compare and figure out which files you have changed/added :(
[Galaxy Tab  Android Development] video maker:
I've made video How to root Galaxy TAB P1000 with 2.3.3

https://youtu.be/kvWSCKbnvU0
[Galaxy Tab  Android Development] Frustu:
No way always stuck , yes i use a lagfix and i don t rebemeber to disbale it damn....
[Galaxy Tab  Android Development] Chainfire:
Service center replaced the mobo :)

Aye that is bad. Not sure if that lagfix included a kernel, but if so, ask in the lagfix thread for someone to upload that kernel. You can then reflash that kernel same way as you flashed CF-Root, and the device should work again.

If not, you need a full reflash :(
[Galaxy Tab  Android Development] Frustu:
Full re-flash whit re-partion flagged right? After i make all and flash your kernel i can use lagfix or not?
[Galaxy Tab  Android Development] Chainfire:
No, don't use CF-Root in combo with lagfixes. It doesn't understand the modified filesystems... and IMHO you really don't need a lagfix on the Tab... also, KA1 will be released this weekend on XDA (and is yet faster than JME), so...
[Galaxy Tab  Android Development] Frustu:
Well , full re-flash whit Roto-JME , flash your Kernel , now working TAB with CWM working :) Thanks for your work and support now i make a donation for you :)
[Galaxy Tab  Android Development] nilezon:
Works great on my nordic (JJ7) device.

Do you think KA1 will be available as a update.zip that can be flashed from recovery, and will I be able to restore my old nandroid backup after trying out KA1?

Thanks
[Galaxy Tab  Android Development] Chainfire:
At least initial Roto release will be Odin, not update.zip.

If you want to go back to JJ7 after flash, restoring the backup from KA1 should work. If it doesn't, manually reflash JJ7, CF-Root that, and then restore the JJ7 backup.
[Galaxy Tab  Android Development] nilezon:
Great!

I did a "Roto Backup" (dd:ed every bml* block) just to be totally safe.
[Galaxy Tab  Android Development] o_tiger:
ROOT

Installed a Roto-KA1-Full.zip

--> working fine (superfast) .

After i installed CF-Root-TAB-KA1-v2.0.zip

--> I have now ClockworkMod 3 / RFS!

Don't see SuperUser - i don't have ROOT!

How do i get my ROOT back! Thankx!
[Galaxy Tab  Android Development] rgbc:
Boot into recovery works from Rom Manager and Quick Boot, nandroid backup completed successfully, haven't tried a restore yet.

Thanks Chainfire.

Cheers,

Rob
[Galaxy Tab  Android Development] hal:
@Chainfire.

First working and transparent CWM! You know you're a hero for that :-)

I'm running Roto-JME, but installed busybox (through busybox installer in the market) -> 1.17 in /system/xbin.

Which of these paths is the best in your opinion:

- Flash your CF-Root-CWM and hope it will overwrite my current busybox?

- First erase my existing busybox before flashing CF-Root-CWM?

- Wipe my Roto-ME, reboot and then flash CF-Root-CWM?

- Flash a clean Roto-JME, reboot, and then flash CF-Root-CWM?

Thanks for clarification,
[Galaxy Tab  Android Development] vartanov:
worked euro tab with rotos JME (v1)

Flashed in less than 30 secs. worked fine.

Thx!
[Galaxy Tab  Android Development] aguiamaster:
this means we can overlock the tab now ? with setcpu ? whats the benefits of this kernel change ? i dont get it well
[Galaxy Tab  Android Development] hal:
@Roto

Do you have some info at hand or can you please point me to some directions on how to extract/modify/rebuild the zImage/initramfs on the tab?

Much appreciated,
[Galaxy Tab  Android Development] TaIz82:
I'm screwed cannot flash...it fails..i have protected bootlooder....there no way i can flash this right? :(:rolleyes:
[Galaxy Tab  Android Development] xpgroup:
Odin in 30 secs with no error, but how do I know CWM is installed? I never use CWM before, can somebody tell me how to find out it is installed & how to boot into recovery? Thanks!
[Galaxy Tab  Android Development] Frustu:
Turn off your device then turn it on again with press vol-up + power to boot into CWM
[Galaxy Tab  Android Development] TaIz82:
Ok fu*** i have a protected bootloader :(

boot.bin : SIGNED

sbl.bin : UNSIGNED

zImage : SIGNED

I'm totally screwed >.<
[Galaxy Tab  Android Development] taiseer999:
@ Chainfire - zImage of P1000JPJK2, please create a suitable kernel for it.
[Galaxy Tab  Android Development] rotohammer:
http://xdaforums.com/wiki/index.php?title=Extract_initramfs_from_zImage

To repackage it, you would have to follow one of the kernel Makefile scripts that build the initramfs and then appends it to the zImage.
[Galaxy Tab  Android Development] Chainfire:
It's possible root could not be installed if your /system space is low (this can be caused by CSC). Please check "df" command from ADB shell.

And to think it has actually been available for weeks and you didn't know about it ;) This thread is actually where the protected bootloaders thread came from.

Actually all of those should work. The setup scripts do take into account uninstalling other busybox versions manually. I'd skip method 1, and directly try method 2. If that doesn't work right, try method 3. There's no reason that shouldn't work, but in the very odd case it doesn't, use method 4.

:)

The benefits of this kernel is that it comes pre-rooted, and with CWM recovery, a reliable way to backup/restore your full system. This kernel is not overclocked or anything.

CF-Root is modified with my own toolset which isn't public at the moment. There are however some threads here on XDA and on wiki detailing how you can do it, even with linux scripts that can do most of it for you. I think searching for "repackaging zimage" or something similar will find you the right threads.

Pretty much, no solution for this yet.

Will look at this after the weekend.
[Galaxy Tab  Android Development] MindCrawler:
Hi,

I just tried to enable DroidWall and it complains about missing /modules/system/lib/modules on Rotos Rom
[Galaxy Tab  Android Development] Frustu:
@ Chainfire

Sorry for question : the new Roto - JMEv3 update can be flashaed via CWM ? I tryed but the log say me Installation aborted .
[Galaxy Tab  Android Development] paulshields:
Currently running:

pda: jme

phone: jma

csc: jme

Kernel: 2.6.32.9 root@SEI-28 #1

Chainfire's test script reports:

boot.bin: SIGNED !

sbl.bin: Unsigned

zImage: SIGNED !

Flashed kernel with Odin. Result was failure. Tried with Heimdall and same result. Each time the tab was left in the PC---!---Phone screen. A reflash of a pit file with Odin brought everything back to life, so no harm done.

Just posting for information in case anyone else gets the same result. I didn't expect it to work for me... Anyway, keep up the great work chainfire. I like your approach to CWM :).
[Galaxy Tab  Android Development] ayman07:
I would like to put in a kernel request for JMC if possible. I have tried JME and it was very laggy and seemed like a step down from JMC. If you don't have time to make one, I might just have to try roto's most recent JMEv3 and see if its any better. Great work and thanks.

edit...

nvm, i forgot this doesnt work on tmobile tabs

From the Tab.

www.twitter.com/ayman07
[Galaxy Tab  Android Development] pakalrtb:
Need some clarification : this kernel installs CWM3 . Will you keep CWM3 if flashing back a stock or any other kernel ?

P_
[Galaxy Tab  Android Development] rainbow ng:
Hi Chainfire, I have checked "df" and found below

used Available Use % /dev

/dev/block/stl9 326336 326336 0 100% /system

that mean there is no space in /system for me to install root,is that correct?

If true, is there any method to install root ? do i need to delete something in /system by adb and how much space I need to provide for the su?

Thanks a lot!!

p.s. CWM working quite good, great job:D

I have fixed the issue, use Z4root to temporaily root than use root explorer to delete the gmail, youtube , memo and swype to free 7% space in /system . Then reboot and flash the kenerl again and it done.

THANKS A LOT!
[Galaxy Tab  Android Development] msewidan:
my files are not protected but it still didn't work. I tried like 5 times and it fails?!
[Galaxy Tab  Android Development] paulshields:
That's odd... It shouldn't fail if your bootloaders are not signed. Did it actually flash and leave you with the PC---!---Phone screen? Or did it not flash at all?
[Galaxy Tab  Android Development] hal:
Call me fool

Hi Roto,

Should have said I had done some homework before calling.

Thing is that at nearly 3.00am I should have been sleeping rather than fooling around on my Linux Crash & Burn lappie... I forgot the "--no-absolute-filenames" when extracting the cpio so you guess where all those nice busybox links went... 2nd time in 15yrs I screw up that bad. Age is just showing I guess :-)

BTB, thanks for the Makefile tip! It does make so much sense when I look back :-)

BTW, when I tried mounting the initramfs, it failed (both JME's and CF-Root). And it gave me an error about a directory seen as a missing file. Sorry I don't have the exact error msg. Again 3.00am...

Not expecting any reply on that. I got more "homework" to do...

Cheers,
[Galaxy Tab  Android Development] Lucky_Charms:
Doesn't work on T-mobile tabs? I believe Roto is using this kernel with his T-mobile and Att tab right?
[Galaxy Tab  Android Development] pakalrtb:
Flashed the Kernel , everything is fine and I eventually made my first Nandroid Backup ;)

Thanks CF

On a side note, at the end of the Nand Backup I rebooted my tab and ....... lost my unlock :eek::confused::eek: . It's the second time it happens ( the first time on a different occasion ). Good enough I have an "unlocked" version of my nv.data.bin file on SD card and quickly restored it with Root Explorer :D
[Galaxy Tab  Android Development] ayman07:
Ya you do have a point. But I tried it as well using Odin and it failed. I flashed JME tho I really hate that firmware. My bootloader isn't locked and I was able to get the tab working again. Anyone else on a T-Mobile tab with this kernel? I would love to know how to get it working.

From the Tab.

www.twitter.com/ayman07
[Galaxy Tab  Android Development] alexmw:
Very straight forward. Worked for me on JME Tab. Performing Nandroid backup as i type this. Thanks Chainfire!
[Galaxy Tab  Android Development] rotohammer:
It should work fine on a T-Mobile Tab, although I didn't test it on my T-Mobile Tab, just the AT&T one.

Unfortunately CF-Root prevents OpenVPN from running as it aggressively seeks out to destroy existing Busybox installations, that OpenVPN relies on. Hence why I haven't tested it on my T-Mobile (main) Tab.
[Galaxy Tab  Android Development] Chainfire:
Should I change the description from euro/international tab to GSM tabs ?

Regarding busybox / OpenVPN, it does remove the existing busybox installation in /system/bin and /system/xbin, and you'll still end up with a fully functional busybox installation.

If OpenVPN requires one specific busybox version, as any good software, it should include it's own copy in a special folder not conflicting with the system busybox installation (in fact many busybox using programs actually do this). Anything else is just shoddy work in the OpenVPN installer/implementation.

That being said, have you tried re-installing OpenVPN after applying CF-Root ?

CF-Root performs its installation only the first time it boots after flash, and every time /data/cfroot is wiped.
[Galaxy Tab  Android Development] rotohammer:
I would, theres no reason for it not to work on any GSM Tab.

Its much simpler than that, OpenVPN is just a compiled binary I drop into /system/bin. Since I have no compelling reason to run CF-Root at the moment, I added OpenVPN functionality without CF-Root installed. So it worked for me, didn't for others.

No, because the point of it is that its built into Roto-JME now.

Ok, good to know. I will fix it in Roto-JME so everything meshes. Its my problem now, I'll fix it.
[Galaxy Tab  Android Development] rotohammer:
Bug

CF-Root has a busybox link /sbin/reboot which is in $PATH before /system/bin/reboot which is the systems functional reboot command.

Busybox reboot doesn't work and so the link needs to be deleted.
[Galaxy Tab  Android Development] Chainfire:
It's problematic because CWM requires it in recovery without /system mounted.

"reboot normal" works btw. Next version will have a wrapper script.
[Galaxy Tab  Android Development] rotohammer:
That works for me :)
[Galaxy Tab  Android Development] ayman07:
well if should work then i would like to request the kernel for JMC....again. i cant use JME, it feels to buggy (as i mentioned earlier). Like i said, i tried the one for JME and it failed in Odin so Im not sure whats going on but ill be happy to try one for JMC. Here is the kernel from roto's-JMC.

https://docs.google.com/leaf?id=0B4...gyOTItYTkzZGFkYTg5YjZk&hl=en&authkey=CPPUxckD
[Galaxy Tab  Android Development] Chainfire:
Actually the JME version should work fine on JMC. Can you make a screenshot of the failure in Odin ?
[Galaxy Tab  Android Development] Lucky_Charms:
Ok. Just got done flashing cf-root on my t-mobile tab running roto-jme v3b. Runs perfect with open vpn and also completed my first nandroid backup for this tab. Simply followed the instructions and everything works.

Thans Roto and Chainfire!
[Galaxy Tab  Android Development] ayman07:
Ok ill try it and let you know.

edit:

it didnt work. failed again. heres the screenshot. i even tried it through heimdall (zImage) and it didnt work either. it flashed 100% but didnt reboot.

From the Tab.

www.twitter.com/ayman07
[Galaxy Tab  Android Development] Chainfire:
That is still 100% exactly what happens if you have a locked bootloader :/
[Galaxy Tab  Android Development] adinis78:
tried to install after flashing JMEv4 and i get a Fail message, any ideas?
[Galaxy Tab  Android Development] ayman07:
well that sucks cuz i ran ur script and it said i didnt have a locked bootloader :/ oh well.
[Galaxy Tab  Android Development] Chainfire:
Well, maybe I'm wrong, but I have no idea what else the problem could be :(
[Galaxy Tab  Android Development] Chainfire:
KA1 v2.1

I just uploaded CF-Root v2.1 for KA1. Should fix various issues. See the 2nd post of this thread for the changelog.

Can I get some people testing the v2.1 for KA1 ? Porting back the changes to JJ and JM versions is quite a bit of work, I'd like to have some test results that v2.1 works properly!
[Galaxy Tab  Android Development] rainbow ng:
I Will try and post the result asap

EDITED: Root can be use now as I have deleted some apps from /system to left 7% space off few days ago, after flash 6% left, boot sound and shutdown sound still here.

tried adb mode, sh, am ,pm are ok, rootsh in fully booted is not allow. rootsh work in recovery mode. I need to flash a new KA1 rom and Oxxjk2 CSC to make /system 100 %used to see if the boot sound will deleted or not after flashing your CF root 2.1, will report again soon... ;-)

re-Edit: after a clean new rom flash ,df ~ /dev/block/stl9 used 326336 0% avaiable 100% used /system, no space left on /system.

then flash KA1-2.1, no root and boot sound still here, can't get su. think still need to cleanup something in /system manually.
[Galaxy Tab  Android Development] alias_neo:
Can you tell me what fixed you had to make to get am and pm working again. I develop on my tab for work and I need to have it working again _right now_. I will implement the changes myself.
[Galaxy Tab  Android Development] alexbard:
Every time I install the version 2.0 or 2.1 over the Roto-JME rom, the light in the lower buttons stop working at all.

I tried several times, also after a fresh reinstall of the firmware I have the same issue. Buttons all right BEFORE CF-Root, buttons with no light AFTER.

Thanks.
[Galaxy Tab  Android Development] Chainfire:
Thanks for the test, will try fixing this yet again.

Can you confirm the location of the sound files on your Tab ?

/system/etc/PowerOn.snd

/system/etc/PowerOn.wav

/system/media/audio/ui/PowerOff.wav

Rereading the script I can't see what is wrong yet, maybe I'm just always going to delete the boot sound, see if that works.

It has to do with replacing the shell, unfortunately you can't do it on an installed CF-Root.

Nothing I have heard about before... Which Tab do you have ? Have others seen this happen ?
[Galaxy Tab  Android Development] Chainfire:
Updated to 2.2 !
[Galaxy Tab  Android Development] gwbard:
Please pardon the noobish question; I'm no stranger to flashing on the HD2 but the Tab is new to me...

Could anyone confirm if this will work safely on the Stock TMOUS running "JJB"?

Yes, I read the OP (twice), and I ran the BootloaderCheck (it's Unsigned), just want to be certain of what I'm doing. I'm quite happy with the stock firmware as-is, just that the Z4Root is not really "full" -- (i.e. no adb root, no Android Commander root).

Using VOIP for phone capabilities with 3G/H works well, the only thing left to tackle is to get bluetooth fully-functional...
[Galaxy Tab  Android Development] rainbow ng:
I using p1000 brought from HK, no such light problem occur, and I think your patch didn`t touch the light at all. ;-)

will try 2.2, thanks a lot
[Galaxy Tab  Android Development] cmdrfire:
Just want to say, I flashed this onto a JM* rotohammer, absolutely no problems at all. Seems to have worked, Odin reports Pass and the startup noise was removed. No issue with the lights. I read the OP as meaning that I install ROM manager now from market as normal, but have to reboot into CWM/recovery to actually do things?
[Galaxy Tab  Android Development] shmigao:
Openvpn

With roto JME v4 connecting no problem, when flashing CF-root after JME v4 I cant figure out how to connect to OpenVPN.

it can only be the kernel or busybox (different version) or?

Is there any solution?

I tried all installation variations of OpenVPN but non seemed to work (some linux problem not being able to start insmod)
[Galaxy Tab  Android Development] alexbard:
I have a T-Mobile P-1000.

I tried several times, always ending with the same result.

So I left Roto-JME without CF-Root.
[Galaxy Tab  Android Development] taiseer999:
http://xdaforums.com/attachment.php?attachmentid=483845&d=1294483246
[Galaxy Tab  Android Development] lxxxxxr:
Thanks for your effort chainfire. I have just sent you 10€ ;-)
[Galaxy Tab  Android Development] codington:
OpenVPN

I too am currently running JMEv4 and happily rooted with working OpenVPN. (Living within the confines of the Great Wall requires OpenVPN for a truly free internet). What I am missing is your beautifully modified CM 3.0 recovery - but I can't give up a working OpenVPN. Is it possible just to create a separate zImage without updating Busybox? JME4 successfully does ROOT (permanent), Superuser 2.3.6.1, and Busybox 1.17.1 - everything works well, just missing CM 3.0.

Cheers from China
[Galaxy Tab  Android Development] rotohammer:
I thought I fixed it in v4, but I guess not. Heres what you need to do after installing CF-Root:

adb shell
su
remount rw /system/
ln -s /system/sbin/busybox /system/xbin/bb/ifconfig
ln -s /system/sbin/busybox /system/xbin/bb/route
remount ro /system/
[Galaxy Tab  Android Development] codington:
Roto,

I had a successful OpenVPN with JME v4. After your tip, I tried flashing CF Root JME, did the ADB commands, and now I am unable to get a connection to blocked sites. OpenVPN does its thing and confirms connection, but sites like whatismyipaddress.com reports I am still located in China.

If anyone has a successful JME v4 build with CF root - can you post your OpenVPN configuration please? I can live without clockwork recovery for now - until then, I am flashing back JME v4.
[Galaxy Tab  Android Development] codington:
Flashed JME v4 and OpenVPN is working again as expected. Yeah, I am free!
[Galaxy Tab  Android Development] shmigao:
Unfortunately these commands still don't make Openvpn work with CF-root. Tried that first thing when JME v3 and v4 came out.

I guess it's either kernel or busybox version of CF-Root (?), or something to do with /sbin CF-Root uses?
[Galaxy Tab  Android Development] rotohammer:
I tried CF-Root on my tab and after creating the links and the vpn came up fine. I'm using the openvpn binary that's installed in v4. Could you run adb logcat and the start the vpn so we can see what the error is? I'm assuming your openvpn binary is looking elsewhere for ifconfig and route, and the fix will be to just recreate the links in the right place.
[Galaxy Tab  Android Development] fallenangel408:
camera?!?!

everything works fine...but my camera cant load up?!?! reset/cleared cash/?!?!?

can i go back to original???:confused:

*tried twice...funny cuz i tried jm and alls good?!?! mine clearly says JJB *happy camper again*
[Galaxy Tab  Android Development] rangercaptain:
If we already have the market version installed to use the Roto modem switcher should we uninstall it?
[Galaxy Tab  Android Development] shmigao:
hi Roto, thanks.

not near the tab now, so I could send logcat later.

However, up front. As per instructions in older "openVPN" related threads, prior to roto-JME even, I used to install OpenVPN binaries in /system/xbin and ifconfig and route in /system/xbin/bb, whereby busybox is installed in /system/bin with symlinks (as you described) between those

ln -s /system/bin/busybox /system/xbin/bb/ifconfig

ln -s /system/bin/busybox /system/xbin/bb/route

now that I read your reply to codington more in detail, i see that instead of having busybox in /system/bin, CF-Root has busybox in /system/sbin

maybe that's where my error is... what do you think?

I might give it a try.

should i reflash:

1) JME-v4 upgrade (to rectify some changes I may have made to get OpenVPN working)

2) CF-Root

then run those commands??

- do i have to turn on "load tun module" or not??

- if yes, where is the tun module located?

thanks
[Galaxy Tab  Android Development] rotohammer:
CF-Root deletes busybox in /system/bin, so I cleverly stashed my busybox in /system/sbin where its still in the $PATH. Reflashing the upgrade and then CF-Root is the way to go. Roto-jme-v4 loads the tun.ko on boot, so no need to worry about that.

Creating the new symlinks per my post should have been all you needed.
[Galaxy Tab  Android Development] rotohammer:
I haven't tested the modem switcher with Cf-root so If everything is working don't uninstall it.
[Galaxy Tab  Android Development] shmigao:
ok, cool. thanks - I will give that a try