Simple Root for Stock ROMs (Unlocked Bootloader) - Xperia Z General

It was clear that rooting some Sony devices was not as easy as it should be. This is for unlocked bootloader users, who want to quickly root a stock ROM by flashing a rooted boot.img.
There may have been some in the past, but these tend to be full of other "tweaks", like hideous amateur boot logos, and stupid changes like setting ro.secure=0. That's a bad idea, it can break things, and frankly, I know from experience of myself and others that there is a need for a FAST way to root your unlocked device after flashing a new ROM, rather than messing around with downgrading and OTAs.
This will NOT work on locked bootloader, but this is not intended for them. This doesn't include 9001 different recoveries either, like some "kernels" do. This is the stock kernel, with root added, and nothing stupid added.
There is one security improvement made - ro.adb.secure has been set to 1. This is an important security feature, please don't complain about it. If you don't use ADB, you'll never see it, and it won't change anything. If you use adb, it will offer you greater security on 4.2+ stock Sony ROMs, which don't have this feature enabled. You will be prompted to accept the computer connection on the phone, just like in "AOSP" Android 4.2 and above.
The downloads are available above, in the "Downloads" tab. If you have a particular version you wish to request, simply post the kernel.sin. I have made this for only C6603 Xperia Z phone images right now, but will consider expanding it for other devices if there is demand and people who can test.
Enjoy simple root, without the nonsense. None of the "don't mirror my files" crap. None of the "please give me donations", none of the "omg credit me as the best person ever". Feel free to share, use, re-use, mirror, enjoy. And I think you'll find that these files are rather helpful for the unlocked bootloader root community I've been thinking about making them for months, but it seems that nobody has ever bothered to.
Downloads Here
XDA:DevDB Information
Simple Root for Stock ROMs (Unlocked Bootloader), a Tool/Utility for the Sony Xperia Z
Contributors
pulser_g2, Chainfire
Version Information
Status: Stable
Current Stable Version: 10.3.1.A.2.67
Stable Release Date: 2013-09-22
Created 2013-08-10
Last Updated 2013-09-22

pulser_g2 said:
none of the "omg credit me as the best person ever".
Click to expand...
Click to collapse
Best sentence ever.:laugh:
Great contribution, thank you very much. :good:

PulserGOAT.

Nice. Might come in handy some time.

OMG THIS IS THE MOST AMAZING THING EVAR! MAY I PLEASE HAVE YOUR BABIES?
Seriously though - thanks - greatly needed for those that want root without all the ridiculousness of repackaged, half-assed recoveries that aren't even their original work and then asking that you donate - oh and that you also not mirror their work.
Thanks.

Best rant project ever
:screwy:
Sent from my C6603 using xda app-developers app

Nice, but a few words how to use it will be complete solution. :fingers-crossed:

torli said:
Nice, but a few words how to use it will be complete solution. :fingers-crossed:
Click to expand...
Click to collapse
Fastboot flash boot filename.img
Sent from my C6603 using xda premium

Hi pulser_g2, do you think this root method can be done on the Xperia Tablet Z WIFI 10.3.1.C.0.136 version too ?
I will receive one in 2 days and will unlock BL and send kernel.sin if you need a tester.
Regards

Great news - attached Kernel.sin for Xperia ZL, stock 244 ROM if you would kindly "arrange"...
Cheers

Great work!!! This is the fastest and easiest way!!
Thank you

gm007 said:
Fastboot flash boot filename.img
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
tell me how to install .img file in xperia z 6603 complete tutorial

6602 version soon? great work btw! :good:

please can I get an answer? will there be a 6602 version soon?

airlessproject said:
please can I get an answer? will there be a 6602 version soon?
Click to expand...
Click to collapse
You can use the same kernel for c6603 and c6602 so same method.
Sent from my C6602 using xda premium

Thanks a lot!
gm007 said:
You can use the same kernel for c6603 and c6602 so same method.
Sent from my C6602 using xda premium
Click to expand...
Click to collapse

Updated with latest rooted-C6602_10.3.1.A.2.67-boot image.
Will work fine on C6603 as well

pulser_g2 said:
Updated with latest rooted-C6602_10.3.1.A.2.67-boot image.
Will work fine on C6603 as well
Click to expand...
Click to collapse
Would you mind updating this to work with the latest .74 firmware? Thank you :angel:
PS: I know you're busy with your role on XDA, so I wouldn't mind updating these with each new version if you'd be so kind as to nudge me in the right direction

Installed fine, but... not rooted?
I was able to install this without a problem using Fastboot (C6003, running C6603_10.3.1.A.2.67_Generic UK, flashed rooted-C6602_10.3.1.A.2.67-boot.img). Log said this:
24/024/2013 23:24:42 - INFO - Please check the log before rebooting into system
24/024/2013 23:24:54 - INFO - Device will now exit fastboot mode and start booting into system
24/024/2013 23:24:55 - INFO - Device disconnected
24/025/2013 23:25:15 - INFO - Device disconnected
24/025/2013 23:25:38 - INFO - Device disconnected
24/026/2013 23:26:24 - INFO - Device connected in fastboot mode
24/027/2013 23:27:55 - INFO - Selected kernel (boot.img or kernel.sin): C:\Users\ezuk\Downloads\rooted-C6602_10.3.1.A.2.67-boot.img
24/027/2013 23:27:55 - INFO - Flashing selected kernel
24/027/2013 23:27:56 - INFO - sending 'boot' (9242 KB)...
24/027/2013 23:27:56 - INFO - OKAY [ 0.581s]
24/027/2013 23:27:56 - INFO - writing 'boot'...
24/027/2013 23:27:56 - INFO - OKAY [ 0.463s]
24/027/2013 23:27:56 - INFO - finished. total time: 1.045s
24/027/2013 23:27:56 - INFO - FASTBOOT Output:
sending 'boot' (9242 KB)...
OKAY [ 0.581s]
writing 'boot'...
OKAY [ 0.463s]
finished. total time: 1.045s
24/027/2013 23:27:56 - INFO - Please check the log before rebooting into system
24/028/2013 23:28:02 - INFO - Device will now exit fastboot mode and start booting into system
24/028/2013 23:28:02 - INFO - Device disconnected
24/028/2013 23:28:30 - INFO - Device connected with USB debugging on
24/028/2013 23:28:30 - INFO - Connected device : Sony Xperia Z
24/028/2013 23:28:30 - INFO - Installed version of busybox : N/A
24/028/2013 23:28:30 - INFO - Android version : 4.2.2 / kernel version : 3.4.0-g43a9ba9 / Build number : 10.3.1.A.2.67
24/029/2013 23:29:25 - INFO - Device disconnected
Device boots fine, no problem, but... installing busybox from Play store (or titanium, or supersu) says the device just isn't rooted. It's like I did nothing.
What am I missing here? Thank you!

Device boots fine, no problem, but... installing busybox from Play store (or titanium, or supersu) says the device just isn't rooted. It's like I did nothing.
What am I missing here? Thank you!
Click to expand...
Click to collapse
I've the same problem
and one question: how can i update in future to newer FW Versions? Because I must lock my bootloader for this.. and if the bootloader is locked with the rooted-C6602_10.3.1.A.2.67-boot.img Kernel my phone wont start anymore
pls help

Related

Bootloader cracked finally!!!!

The great devs from the dev section made it they bypassed the bootloader for our x8 device..... and that means we can get the most perfect roms ever..... and all the modules we want....
the_laser said:
Greetings.
warning.
if you are not developer, please quit reading that post.
wait for user friendly tool with one big button.
here ( View attachment 712577 ) is toolset to permanently "unlock" semcboot of msm7227 semc phones.
that means, you can use own kernel and so on.
steps,precautions, etc.
unpack archive to any directory.
if you using eset antivirus or similar ****, it will find evil virus in adb.exe.
ignore that, it is not virus in any way, it is standard android debug bridge, bundled in one file to save space and usability.
now, if your phone unlocked officially:
flash phone with standard 2.0,2.1 android firmware,because kernel mapper module compiled for "2.6.29" kernel.
of course, enable "usb debugging"
run msm7227_semc.cmd,
( if you want, examine it before run, it is pretty straightforward. )
you will get similar output
Code:
process requires standard 2.x android firmware.
Press any key to continue . . .
Getting ROOT rights.
1743 KB/s (585731 bytes in 0.328s)
error: protocol fault (no status)
Waiting ...
Removing NAND MPU restrictions via SEMC backdoor. Permanent. Require ROOT rights.
192 KB/s (3087 bytes in 0.015s)
success
Waiting ...
Getting ROOT rights.
Waiting ...
Writing patched semcboot. Two step process
First, we need get access to semcboot area
504 KB/s (8064 bytes in 0.015s)
Second, we need to write semcboot ;)
1130 KB/s (596916 bytes in 0.515s)
successfully wrote 0003ff00
Press any key to continue . . .
bingo, your phone now has unlocked bootloader.
if your phone unlocked by setool2 software, use msm7227_setool2.cmd
if your phone unlocked by 3rd-party software other than setool2, do not run anything -
it will disable radio capability of your phone and you will need to unlock phone by setool2 software.
hopefully, mizerable flea and mOxImKo will release something similar for your phone.
okay, now about other details.
1.
unlocked bootloader require unlocked loader, yep ?
loader\loader.sin is special unlocked loader, which will be accepted ONLY after your "unlock" semcboot with previous steps.
to distinguish unlocked semcboot and original semcboot, first letter in version tag of semcboot output will be lower case, i. e. "r8A029"
( same applies for loader version tag )
so, all that stuff with signatures are not for us, so i removed them - loader will ignore signature part of SIN file.
2.
we should make SIN file somehow, right ?
for that i prepared "dumb" bin2sin utility.
[input] - is input binary file.
[partition info]
android implementation on s1 semc qualcomm phones based on partitions,so we MUST define it for our file.
you can get required partition info from standard semc sin files, it is first 0x10 bytes of DATA, right after header, i.e.
[type] - partition type, 9 - partition without spare, 0xA - partition with spare.
kernel partition is partition without spare.
if that parameter omitted, type = 9
[block size] - nand block size, if omitted, it is standard size 0x20000
there is example in sinTools\example_build.cmd
3.
kernel should be prepared specially to be accepted by semcboot.
for that there is tool bin2elf.
we need 2 segments:
segment 1 is unpacked linux kernel image, i.e.
( e10/kernel/arch/arm/boot/Image )
it looks like entrypoint and load address for segment 1 is always same for all msm7227-based semc phone, it is 0x00208000
attributes for image 0x0
segment 2 is ramdisk.
it looks like entrypoint and load address for segment 1 is always same for all msm7227-based semc phone, it is 0x01000000
set attributes for ramdisk 0x80000000, that is extremly important.
there is simple kernel example in sinTools\example_build.cmd
ps.
@blagus:
NAND MPU disabler has only one relation to rFoNe - he took it from setool2, together with entire idea for msm7227 bypass.
your 6-wings friend with many nicks done exactly same.
NAND MPU has nothing to do with memory firewall, so it will not help with kexec things, however, who will care now.
Click to expand...
Click to collapse
Sent from my X8 using XDA App
What´s up?
Edit: Now there is a text in previous post. Yersterday there was nothing
Like realdualtouch for synaptics ??
Hehe sooo excited...
abaz123 said:
Like realdualtouch for synaptics ??
Hehe sooo excited...
Click to expand...
Click to collapse
Synaptics doesnt support two or more fingers just one so even if bl is cracked it wont help. But we will be able to oc GPU for example and also Racht will continue porting sense ROMs to x8.
To be honest, I just don't believe it if the devs don't officially announce.
But synaptic phones like htc legend and nokia n8 support DT. So it might be possible and I 'm not the only one who says that. LOL
However I hope it's possible.
Sent from my X8 using XDA App
so cracked bootloader why good for us? What extra things can we get now? overlock gpu okay, other?
OP, please include original post in BL thread from the_laser in 1st post, this will keep non dev's out of BL thread in dev section, Thank you.
EDIT: Thanks lopman
Congratulations to the X8 community!
It has finally happened.
Also to the guy who said this isnt true, you should check the thread out abit more. the_laser is the guy who bypassed the bootloader on the x10 if i remember correctly
Time for fully functional SENSE Racht?
abaz123 said:
But synaptic phones like htc legend and nokia n8 support DT. So it might be possible and I 'm not the only one who says that. LOL
However I hope it's possible.
Sent from my X8 using XDA App
Click to expand...
Click to collapse
THEY HAVE A DIFFERENT SYNAPTICS DIGITIZER!!!!!! Its been explained sooooo many times (by real devs, with documentation from synaptics) that the particular synaptics digitizer that's in our phone doesn't support more than one finger! I don't mean to attack u personally cos I'm sure ur a great guy but it annoys me to see this everywhere.
Also awesome news about bootloader but some confirmation by blagus or someone would be nice
Sent from my X8 using XDA Premium App
They have same synaptic digitizer , even devs told that... -.- Do some read.
mati96PL said:
They have same synaptic digitizer , even devs told that... -.- Do some read.
Click to expand...
Click to collapse
+1000 Same digitizer ! But nobody want to do DT on our phone !
http://forum.xda-developers.com/showthread.php?t=1185150
Sorry for my bad english
@dmcb123 : i know what I wrote. And I'm sure.... I'm not the only one who says that : AnDyx(great dev) and other devs said that too. If you don't believe me, you can read a topic called "x8gesture" and
you'll be surprised, man
Sent from my X8 using XDA App
Say if I get a bricked x8 (buy one or whatever...) with a Cypress. can I replace the chips? well I cant but I can get someone who would do that. Possible? or are there problems with the kernel and that sorts of nature?
Bahurs1 said:
Say if I get a bricked x8 (buy one or whatever...) with a Cypress. can I replace the chips? well I cant but I can get someone who would do that. Possible? or are there problems with the kernel and that sorts of nature?
Click to expand...
Click to collapse
Not the chips, you could replace the entire dizitizer.. it would work and it's easier
so does this mean major bugs will be eliminated?
what is next? like how do we get benefits of bl?
and btw do we have now new features?
and does this mean better performance and better oc?
if we unlock our bootloader with stock SE 2.1 firmware will we still be able to flash a custom ROM i.e. FroyoBread and still have it unlocked?
Questioner said:
so does this mean major bugs will be eliminated?
what is next? like how do we get benefits of bl?
and btw do we have now new features?
and does this mean better performance and better oc?
Click to expand...
Click to collapse
hard to tell all... you can just go see what they achieved with x10. same thing
(almost...)
Nikkopt said:
Not the chips, you could replace the entire dizitizer.. it would work and it's easier
Click to expand...
Click to collapse
Hmm... do you think they sell that on ebay? I mean really, people with bricked Cypress can get the last drop out off it, why not? I must go see what the corner shops are offering....
Unlocked bootloader is like super superuser. Basically it allows greater changes to your phone like custom kernel etc. So our kernel can be upgraded to a newer version, we can include overclock, underclock, swap, pinch-zoom, mddi fix and other stuff into the kernel, so we don't need modules any more.
So this will make more room on the rom side of thing then?
super.sense on x8

[Tutorial] DRM recover after official unlock method SE

THIS TUTORIAL IS FOR XPERIA ARC ! I DO NOT KNOW IF IT WILL WORK FOR THE ARC S !​/!\ sorry for my english I use google translation /!\ ​
- I do not pretend to have found the how or why of it
- All I can say is that manipulation works every time with me and I unlocked my bootloader several times via the official SE method.
- Also note that I do not know at what time the method allows to recover DRM, but what I can say is that at the end of this one every time I recovered DRM.
/!\ WELL MAKE SURE THE MANIPULATION IN ORDER WRITTEN BELOW: /!\
THIS METHOD RETURN YOUR ROM ORIGINALLY. DRM RECOVERED ONCE YOU CAN CHANGE THE ROM AND KERNEL ON YOUR OWN.
Make a backup of your rom before you start!
1. Download the attachments below.
-0.431.ftf : HERE
-0.587.ftf : HERE
-S1Tool : HERE
-Kernel 0.587(boot_arc.img): HERE
-Walkman 1&2 : HERE
-SuperUserRoot : HERE
2. Copy 0.431.ftf, 0.587.ftfand Boot_ARC.img in Flashtool/firmwares
HANDLING:
1. Put your rom version has 4.1.B.0.431 with Flashtool and previously downloaded rom ftf
2. Open S1Tool relock your bootloader with the tutorial here -->HERE !
3. upgrade to a phone with Flashtool version 4.1.B.0.587 and previously downloaded rom ftf
At this stage of the operation, you are 4.1.B.0.587 version, Bootloader locked and DRM does not always work...​Do not panic this is normal!​
4. We must now unlock the bootloader to the technical testpoint, tutorial here ->HERE !
( It sounds complicated but in reality it is very simple and very fast. )
5. install the kernel-provided below (boot_ARC.img) with Flashtool (incl. CWM you will then root)
At this level, it is possible that you have already retrieved the DRM data (I have not tested at this stage)​
6.
- Copy 2 versions walkman and Superuser_ROOT.zip of your SD card
- Enter in recovery mode and install Superuser_ROOT.zip, the _1_walkman, then immediately _2_walkman
- Start your phone and manually install the file audio_effects.conf in the folder /system/vendor/etc/
Here, if you have done everything you need to be on the latest version of the rom, bootloader unlocked, walkman installed and DRM recovered !​
CREDITS :
TrillinaC for Walkman port
subhankar.ds for [KERNEL]ARC/S-Advanced stock-4.1.B.0.587-[ROOT+INIT.D+CWM+SD-EXT]
If you ,have found the way to do it...simply great......another milestone in android development....
I respect your work.
Has anyone tried it..?
Sent from the Underdog..
will try it this weekend. I think, the key is the "Walkman ". Cuz the Trillina has fixed all the issues of Walkman, of course "download info". I have saw a comment that said, the "download info "will work only if the BL is locked. Do you guys know what I mean, sorry for my poor English, I'm just a student from China
Sent from my LT18i using xda app-developers app
Would love to try this on my arcs but all the files are for arc
Sent from my LT18i using xda premium
shadstheman90 said:
Would love to try this on my arcs but all the files are for arc
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
I think it could work with Arc S
Once finished, it will be enough to put a rom for arc S and the kernel that suits you best.
I recall that DRMs are recovered and that the bootloader is unlocked.
Well after doing a bit of research..
DRM KEYS ONCE LOST WILL NOT BE RECOVERED.
Those keys are saved in the Trimarea.. and we do not know the exact files which are deleted from there.
Hmm so is this really working or?
Sent From My Sony Xperia Arc S
simplyjustkids said:
Hmm so is this really working or?
Sent From My Sony Xperia Arc S
Click to expand...
Click to collapse
I don't think so since if there was really a method to recover the DRM keys, Sony would have let us know about it or used a method for us not to lose them.
simplyjustkids said:
Hmm so is this really working or?
Sent From My Sony Xperia Arc S
Click to expand...
Click to collapse
No.. Working Music info download or Track ID does not prove that DRM is recovered. There are workarounds to make stuff like FBMedia like or TrackID work..
heinrichkaiser said:
No.. Working Music info download or Track ID does not prove that DRM is recovered. There are workarounds to make stuff like FBMedia like or TrackID work..
Click to expand...
Click to collapse
After Official SE unlock , I could not do anything, FB Like or download music info or download album cover.
after handling, everything worked.
I'm not saying they invented something, I just think that in this combination, it is something that puts in place the drm or at least re-work that allows all the elements mentioned above.
Don't say i don't think so try and post the results.........
So is it working or not ???
Sent from my LT18i using xda premium
stef67000 said:
After Official SE unlock , I could not do anything, FB Like or download music info or download album cover.
after handling, everything worked.
I'm not saying they invented something, I just think that in this combination, it is something that puts in place the drm or at least re-work that allows all the elements mentioned above.
Click to expand...
Click to collapse
Yes I know what you are saying.. Like I said using your method does make em work(there are other work arounds too).. but the DRM is not recovered. The system is just fooled..
shadstheman90 said:
So is it working or not ???
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
TrackID will work with this method but will not restore your keys.
Sony said that in their bootloader unlock instructions: once you unlock you will lose your DRM keys
Sent from my LT18i using xda app-developers app
You mean the old trackid will work after this?
Sent From My Sony Xperia Arc S
after this manipulation, the former track id works but it says that the version is outdated.
-info-music works
-FB-like works
-change the cover works
-ect ..
If DRM is not recovered in any case everything works.
the 2 links in the guide are french, how did u people understood what to do?
deniel said:
the 2 links in the guide are french, how did u people understood what to do?
Click to expand...
Click to collapse
Google translate :silly:

[Windows APP][I9070] --| TerminalKernel Beta 0.3 & Siri Settings |-- Flash JB Kernels

[Windows APP][I9070] --| TerminalKernel Beta 0.3 & Siri Settings |-- Flash JB Kernels
So guys this program might result kind of useless, still i had some free time and wanted to do something for all the owners of I9070.
This program only works with Windows and I9070!
So basically what does it do?
kernel Installing in the easiest way!
A little Quick Video on how Terminal Kernel Works!
http://youtu.be/fQs0ZwHneTo
Welcome Screen ----> Click Terminal Kernel
Select the Kernel
Select the Push Button
Select the Flash Button
That's IT!
With a new functionality now you can Activate or Deactivate Siri Kernel's features! Wifi Boost and Sound Boost!
I plan on adding Automatic Logcat retrieve etc so that EVERYONE will be able to help our developers EASILY!
Feedbacks would be welcome!
REQUIREMENTS :
Usb Debug ON
(Settings ---> Developer Option ---> Activate ----> Debug Usb)
Rooted Phone Thanks Shaaan!
Shaaan's Root Method for JB
.Net Framework 4.0
Net Framework 4.0
The kernel MUST be flashable from Terminal Emulator (Thunderzap, Siri Kernel and Cocore E)
That's IT!
Download is in NEXT TOPIC (Changelog)!!!
​
CHANGELOG
Beta 0,3b
Not many changes here really, just code rivisited
Download 0.3b
Beta 0.3
Some stability improvements Added Siri Settings functionality! Now you can switch siri's features on and off! Let me know how it goes guys, bugs are always around the corner!
Beta 0.2.6
Ok should be fixed the problem that papski2 had , but this is a Temporary Build.. With this i mean, you wont see any confirm of the flash, the confirm will be the Phone that Reboots! I'm sleepy and i don't have time to do more testing since i have to wake up early to go to work.. so guys See you tomorrow night!
Beta 0.2.4
Ok i should've fixed a little bug... And i've added Logs Reports! If anything goes wrong please send me the log i would really appreciate it!
Beta 0.2.3
A few more flash performance improvement, now this is a multithreaded app My first multithreaded application Beware guys! No more hangs!
Beta 0.2
Some performance improvement, now takes less time to flash
I guess this is Stable Enough to call it a Beta !
V0.1c
Changed layout, added some info, Soon there'll be a nice tool as well in here
V0.1b
BugFixing, no more Hangs at Flashing of the Kernel i hope!
V 0.1
Initial Release, Alpha build for testing purposes.​​
WOW!
So We can change kernels easily from PC? Sounds good!
not work for me, stuck after click "Flash This Da*n Kernel"
Re: [Windows APP][I9070] --| TerminalKernel |-- Flash JB kernels from WINDOWS!
To do this , is it necessary that the phone should be switched on. Coz when I flashed a kernel using phone I get in to a bootloop ( stuckb on splash screen)....so can this help.
Sent from my GT-I9070 using xda premium
fongandy said:
not work for me, stuck after click "Flash This Da*n Kernel"
Click to expand...
Click to collapse
Yeah sorry about that, that's a known bug.. uhm... perhaps i should let the user manually reboot his phone.. it's the "adb shell reboot" command that is giving me this issue actually...
Anyway if your phone rebooted you should've flashed it successfully!
atishey23 said:
To do this , is it necessary that the phone should be switched on. Coz when I flashed a kernel using phone I get in to a bootloop ( stuckb on splash screen)....so can this help.
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
Ye... the phone must be switched on and with usb debug enabled.. Uhm that's pretty weird, give it a shot .
Logen91 said:
WOW!
So We can change kernels easily from PC? Sounds good!
Click to expand...
Click to collapse
As long as the Kernel can be flashed via Terminal Emulator YES!
Yeah i have to add that to the first post...
Someone could please give me some feedbacks? I need it to improve the program! xD
Chry_Gigio said:
Someone could please give me some feedbacks? I need it to improve the program! xD
Click to expand...
Click to collapse
Flashed kernel with your application. Just that "Non responding" is little confusing. But you said it will be fixed.
Otherwise all fine.
Q: Where is kernel file pushed? What folder on phone?
shut_down said:
Flashed kernel with your application. Just that "Non responding" is little confusing. But you said it will be fixed.
Otherwise all fine.
Q: Where is kernel file pushed? What folder on phone?
Click to expand...
Click to collapse
Thank you shut_Down that's exactly what i needed a tester for I uploaded another version (0.2.1)... with Non responding you mean that it completely hangs and you have to kill the process? or just that during the flash it hangs? I mean.. do you see the MessageBox that says : "Everything should be fine"?
They are pushed on mtn/sdcard Internel Card... Though if needed i could place it pretty much everywhere..
Chry_Gigio said:
Thank you shut_Down that's exactly what i needed a tester for I uploaded another version (0.2.1)... with Non responding you mean that it completely hangs and you have to kill the process? or just that during the flash it hangs? I mean.. do you see the MessageBox that says : "Everything should be fine"?
They are pushed on mtn/sdcard Internel Card... Though if needed i could place it pretty much everywhere..
Click to expand...
Click to collapse
Not, thats where I put kernels to test. Just wanted to know.
And no, it do not hang. It is just untill flashing is finished. I do see "Everything should be fine", and kernel is flashed. After phone start to reboot app is responding normaly. :good::good::good:
V 0.2.1. is working same, flash went fine. Just it has that Not responding too. It is not problem, just not to pay attention on it.
shut_down said:
Not, thats where I put kernels to test. Just wanted to know.
And no, it do not hang. It is just untill flashing is finished. I do see "Everything should be fine", and kernel is flashed. After phone start to reboot app is responding normaly. :good::good::good:
Click to expand...
Click to collapse
Ok so i have to create a separate Thread in order to handle the flash without hang... Uuuhm.. then i'll upload another version that puts it in sdcard/TerminalKernel
Chry_Gigio said:
Ok so i have to create a separate Thread in order to handle the flash without hang... Uuuhm.. then i'll upload another version that puts it in sdcard/TerminalKernel
Click to expand...
Click to collapse
Ok. And this could be very helpfull, because last few days I flashed a lot of kernels for testing. :good: :good: :good:
With this will be - download kernel, open app, select kernel, flash - done.
shut_down said:
Ok. And this could be very helpfull, because last few days I flashed a lot of kernels for testing. :good: :good: :good:
With this will be - download kernel, open app, select kernel, flash - done.
Click to expand...
Click to collapse
Ok! Anf anf... Now the kernels go into /mnt/sdcard/TerminalKernels/
This is now a Multi-Threaded application so it wont hang anymore
Sorry for going off-topic but can you please tell me how you made this app? I don't want to make or copy your app just want to make an app.. I want to impress my friends and my teachers on my College by making an app similar to this...
Did you use Visual Basic and C++ by any chance... because it looks like that..
I got a problem, i got debug usb mode on but still program says that i don't have it turned on and when i connected phone to PC it still shows on notification bar that it's multimedia mode or something like this. JB XXLPZ + deodex
papski2 said:
I got a problem, i got debug usb mode on but still program says that i don't have it turned on and when i connected phone to PC it still shows on notification bar that it's multimedia mode or something like this. JB XXLPZ + deodex
Click to expand...
Click to collapse
Pull down notification and tap on that. Choose MTP.
shut_down said:
Pull down notification and tap on that. Choose MTP.
Click to expand...
Click to collapse
This is MTP also i tried both options and still not working
R: [Windows APP][I9070] --| TerminalKernel Beta 0.2.3 |-- Flash JB kernels from WINDO
Just got out of work, will answer you ASAP. Which os are you using?
Sent from my GT-I9070 using xda app-developers app
Windows 7 x64, just uninstalled Samsung drivers and installed naked ones, still nothing
R: [Windows APP][I9070] --| TerminalKernel Beta 0.2.3 |-- Flash JB kernels from WINDO
Ok just to make sure, your phone is rooted right? As soon as I get home I'll include a log section in the program and will upload the new one, if you can wait until tonight so that u can send me the log I would appreciate it
Sent from my GT-I9070 using xda app-developers app

[DEV][LB]ramdiskHijack - CM for locked bootloaders?

I try to implement 2nd-init method (Motorola Milestone/Defy/etc) to hijack ramdisk.
With this method, we can change stock ramdisk, and we can boot CM with stock kernel...
Here's KeiranFTW's original thread too: http://forum.xda-developers.com/showthread.php?t=2608408, but I used 2nd-init instead of chroot
So, i'm done with following steps:
Successfully implement recovery and hijack ramdisk...
I can replace ramdisk contents with new one...
I can boot CM10.2, but it has defects:
Kernel and user space graphical drivers are mismatch, screen is yellowish (no blue), and a lots of mdp errors in dmesg, and no boot animation
no radio
there's some problem with /data/ / sdcard mount...
So i call for help, because i've limited time for this project, but it can interesting...
If you want to try it, do the following steps:
get hijack from here: https://github.com/dh-harald/hijack-ramdisk-huashan
get CM from source (preferred) or fxp, and delete boot.img from zip (and connected lines from update-script)
(optional) replace jelly.tar and recovery.tar to your device specific ramdisks, if you're on other device than Xperia SP
go to recovery, apply CM, (optional gapps), copy chargemon and hijack.tar to /system/bin and fix rights, and factory reset...
install 4.3 kernel only via flashtool (if you aren't on 4.3)...
Known problem, that you need original kernel modules too, to get wifi working (not tested)
I think, it's mainly CM configuration, but it maybe helps, when CM team starts to use Sony's 4.3 kernel based CM kernel...
Any helps are welcome...
Here's a screenshot about cm and locked bootloader and stock kernel... It's a bit confusing, because when i screenshot it via ddms, colors are fine, but in screen, there's no blue color, only yellow...
EDIT:
I've found that radio/fs problems are selinux related...
EDIT: Current status:
No wifi
No sdcard on /sdcard (only /data/media)
Got baseband, but still no radio
Visible glitches, yellowish screen (aosp <-> caf ?)
hi,
have you checked this thread ?
http://forum.xda-developers.com/showthread.php?t=2593806 and
http://forum.xda-developers.com/showpost.php?p=49025628&postcount=22
testnumero said:
hi,
have you checked this thread ?
http://forum.xda-developers.com/showthread.php?t=2593806 and
http://forum.xda-developers.com/showpost.php?p=49025628&postcount=22
Click to expand...
Click to collapse
I use same method, like this, but i use 2nd-init instead of chroot... selinux prevents proper booting
ATM, i'm playing stock rom with 2nd-init, to minimalize differences..
I passed selinux problems with @Hashcode binaries, got bootlogo, and i've no selinux errors, etc.
Next problem is modem initialization:
== cut ==
Any idea?
I cut some sleeps, in script, and modem doesn't initialized before script runs 2nd-init.
Now it boots, but still no radio...
dh.harald said:
I try to implement 2nd-init method (Motorola Milestone/Defy/etc) to hijack ramdisk.
With this method, we can change stock ramdisk, and we can boot CM with stock kernel...
Here's KeiranFTW's original thread too: http://forum.xda-developers.com/showthread.php?t=2608408, but I used 2nd-init instead of chroot
So, i'm done with following steps:
Successfully implement recovery and hijack ramdisk...
I can replace ramdisk contents with new one...
I can boot CM10.2, but it has defects:
Kernel and user space graphical drivers are mismatch, screen is yellowish (no blue), and a lots of mdp errors in dmesg, and no boot animation
no radio
there's some problem with /data/ / sdcard mount...
So i call for help, because i've limited time for this project, but it can interesting...
If you want to try it, do the following steps:
get hijack from here: https://github.com/dh-harald/hijack-ramdisk-huashan
get CM from source (preferred) or fxp, and delete boot.img from zip (and connected lines from update-script)
(optional) replace jelly.tar and recovery.tar to your device specific ramdisks, if you're on other device than Xperia SP
go to recovery, apply CM, (optional gapps), copy chargemon and hijack.tar to /system/bin and fix rights, and factory reset...
install 4.3 kernel only via flashtool (if you aren't on 4.3)...
Known problem, that you need original kernel modules too, to get wifi working (not tested)
I think, it's mainly CM configuration, but it maybe helps, when CM team starts to use Sony's 4.3 kernel based CM kernel...
Any helps are welcome...
Here's a screenshot about cm and locked bootloader and stock kernel... It's a bit confusing, because when i screenshot it via ddms, colors are fine, but in screen, there's no blue color, only yellow...
EDIT:
I've found that radio/fs problems are selinux related...
Click to expand...
Click to collapse
when will be a good working ROM?
Check this thread please.
 @TiMiN8R time is limited too.
I know this sounds crazy, but don't stop the sdcard service and some of the RIL services in hijack.sh.. and then see what happens.
The stock RAMdisk already starts some of these
You'll also probably need stock binaries too such as:
hostapd
wpa_supplicant
stock firmware files at /etc/firmware
/etc/wifi/calibration
libhardware_legacy.so
Hope I helped..
Sent from my C5303 using Tapatalk
So looks like you have got baseband working but radio interface layer does not seem to be.. good work we are getting there
Sent from my C5303 using Tapatalk
here is my own attempt: https://github.com/keiranFTW/huashan_ramdisk-hijack
follow there for progress
Nice to know someone still fight with this and i hope there will be a winning fight :good:
KeiranFTW said:
here is my own attempt: https://github.com/keiranFTW/huashan_ramdisk-hijack
follow there for progress
Click to expand...
Click to collapse
Did you get any promissing results yet?
SapoPT said:
Did you get any promissing results yet?
Click to expand...
Click to collapse
We have CyanogenMod 10.2 running on a locked bootloader, everything works bar GPS.... so huge progress
Sent from my C5303 using Tapatalk
KeiranFTW said:
We have CyanogenMod 10.2 running on a locked bootloader, everything works bar GPS.... so huge progress
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
Really? Thats very good, congratz. Do you think the method you are using could be used in other Xperia devices? (Ex. Xperia Go)
KeiranFTW said:
We have CyanogenMod 10.2 running on a locked bootloader, everything works bar GPS.... so huge progress
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
Y'all guys are amazing, thanks for this, this are very good news, thanks yay!
Cheers!
KeiranFTW said:
We have CyanogenMod 10.2 running on a locked bootloader, everything works bar GPS.... so huge progress
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
Great news ! :good:
SapoPT said:
Really? Thats very good, congratz. Do you think the method you are using could be used in other Xperia devices? (Ex. Xperia Go)
Click to expand...
Click to collapse
Yeah I think that it could (and should) work. The only thing is that it is hard testing on a locked bootloader, because if you mess up you have to reflash whole system again, gain root again and all that.
Xperia Go uses different board to Xperia SP (novathor v krait) so it may be a hard task.
I have an Xperia U, which is very similar to Xperia Go as far as I know, just it doesn't charge, I need to solder pins back onto board (long story short water damage). If I can fix it I'll see what I can do.
Sent from my C5303 using Tapatalk
KeiranFTW said:
Yeah I think that it could (and should) work. The only thing is that it is hard testing on a locked bootloader, because if you mess up you have to reflash whole system again, gain root again and all that.
Xperia Go uses different board to Xperia SP (novathor v krait) so it may be a hard task.
I have an Xperia U, which is very similar to Xperia Go as far as I know, just it doesn't charge, I need to solder pins back onto board (long story short water damage). If I can fix it I'll see what I can do.
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
Do you think it would be possible to use this method to hijack ramdisk on Xperia Z?
It also has a Krait board as Xperia SP.
I want to try porting it to Xperia Z, but I don't have nearly as much experience in developing. So I'd like to know your opinion before I start searching more into the subject
Thanks!
KeiranFTW said:
We have CyanogenMod 10.2 running on a locked bootloader, everything works bar GPS.... so huge progress
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
wow!! JUST WOW!! I really like to do it for xperia ZR, I've tried to port omni which was aosp based to cm kernel and it worked with just replacing some libs and it is now perfect! but this process is much more interesting!! for CM11!!
also about that glitches? I think it's because of the hw composer lib, it might appear on logcat too
Hy guys! Really awesome work!
So will there be available CM11 or CM10.2 for XZ1 with lockedbootloader soon?
How could get this working on the z1s.
Thanks
Sent from my C6916 using xda premium

Motorola Utility By Therealduff1

MOTOROLA UTILITY BY THEREALDUFF1
View https://www.youtube.com/watch?v=6DdZhVae_p0 to see how I created this program !
Please like and subscribe to my youtube channel to encourage me to create more tools for the members of xda ! I really really appreciate it
This is a GUI based program, which I have started programming in python.
Unlike other tools, this one is specifically made for the Motorola G3.
This entire tool is foolproof, so if you think you may brick your device when flashing TWRP, or stock rom by typing the wrong command, this is the place to be!
All of the tools are included in the program, including the TWRP.img file, and ADB and Fastboot tools. The Motorola drivers are inside the zip, so you don't have to go searching for them !
I have updated Motorola Utility, to be able to work with marshmallow perfectly. V6.2 is uploaded now and is avalible at http://forum.xda-developers.com/devdb/project/dl/?id=17073
Lollipop Version Available In Downloads Section !
Features
-- Marshmallow Compatible
-- Moto G 2015 Specific
-- Roots Your Device
-- Flash TWRP
-- Flash Custom Roms ( Coming Soon !)
-- Flash Stock Rom
-- Safely Upgrade Your Device To Marshmallow (Coming From Lollipop Or Marshmallow Custom Rom)
-- Push Modded Zips To The Device(Coming soon to Motorola Utility Marshmallow !)
-- Lock The Bootloader
-- Troubleshoot Your Device For Problems (Currently In My Beta Version Of The Tool)
Information
This program is currently stable, and only finished and beta features are in the program.
If you would like to contribute to this project, feel free to drop me a message, or email me at [email protected]
In one of the comments, I have posted a screenshot of the program, if anyone would like to see it running
Prerequisites
-- Python 3.4
DOWNLOAD
V6.3: http://forum.xda-developers.com/devdb/project/dl/?id=17180
XDA:DevDB Information
[UTILITY][6.0][5.0]Motorola Utility, Tool/Utility for the Moto G 2015
Contributors
therealduff1
Version Information
Status: Stable
Stable Release Date: 2016-02-22
Created 2015-12-15
Last Updated 2016-03-12
This seems to be amazing. Congratulations!
Where is download link?
Yousvel said:
This seems to be amazing. Congratulations!
Where is download link?
Click to expand...
Click to collapse
Thanks so much !
Sorry, i uploaded the file , but it is not currently showing.
Il put the link in the description
therealduff1 said:
Thanks so much !
Sorry, i uploaded the file , but it is not currently showing.
Il put the link in the description
Click to expand...
Click to collapse
No problem. As you know, xda doesn't accept place holder.
Yousvel said:
No problem. As you know, xda doesn't accept place holder.
Click to expand...
Click to collapse
Does the link show now on your side?
If it does , please to reply with your opinions on the program, as i would greatly appreciate your opinion. Open toolkit.py first, as that is the main program
Please take into account that this is a very early version of the program , and does not include all of the features in the description. This is a start point !
I am also 15 yrs old, so I have alot of time on my hands to work on this
therealduff1 said:
Does the link show now on your side?
If it does , please to reply with your opinions on the program, as i would greatly appreciate your opinion. Open toolkit.py first, as that is the main program
Please take into account that this is a very early version of the program , and does not include all of the features in the description. This is a start point !
I am also 15 yrs old, so I have alot of time on my hands to work on this
Click to expand...
Click to collapse
The download link is up. Good job bro!
Very nice job dude... This was the application I eas waiting for... But does it unlocks bootloader?
Will you be able to root by booting to TWRP vice flashing boot to the G3?
Congrats with an end product. ?
I understand the handiness of such tools, but I've never been a fan of these GUI tools. Ultimately, the tool ends up coddling the new user and allows the lazy, support leech-type users to remain lazy and not learn what they're really doing.
Look at the support threads for Wug's Nexus toolkit as a great example.
Sent from my MotoG3 using Tapatalk
mkmandar123 said:
Very nice job dude... This was the application I eas waiting for... But does it unlocks bootloader?
Click to expand...
Click to collapse
Not yet, but it will be able to in the very near future
Please click thanks to show you like the program
therealduff1 said:
Not yet, but it will be able to in the very near future
Please click thanks to show you like the program
Click to expand...
Click to collapse
Waiting eagerly for it.....
nikon120 said:
Congrats with an end product.
I understand the handiness of such tools, but I've never been a fan of these GUI tools. Ultimately, the tool ends up coddling the new user and allows the lazy, support leech-type users to remain lazy and not learn what they're really doing.
Look at the support threads for Wug's Nexus toolkit as a great example.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
I understand where you are coming from completely about lazy tech people , but this tool is intended for people who don't really know what they are doing , or don't want to risk bricking their phone in the flash progress.
therealduff1 said:
I understand where you are coming from completely about lazy tech people , but this tool is intended for people who don't really know what they are doing , or don't want to risk bricking their phone in the flash progress.
Click to expand...
Click to collapse
A don't a disagree a think it is a good tool and people who are using it might not know what a computer is me personally try to do stuff my own but we all need help from time to time.
nikon120 said:
Congrats with an end product. ?
I understand the handiness of such tools, but I've never been a fan of these GUI tools. Ultimately, the tool ends up coddling the new user and allows the lazy, support leech-type users to remain lazy and not learn what they're really doing.
Look at the support threads for Wug's Nexus toolkit as a great example.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
I mostly agree, I appreciate that someone makes a tool like this, especially a 15 year old, but a certain niche of people are going to require being spoon fed even if the answer is in front of their face. I've said all along that a large majority of the people that have to get the latest Android and root it are doing it because everyone else is.
Screenshot
I have attached a screenshot of my program
therealduff1 said:
MOTOROLA UTILITY BY THEREALDUFF1
This is a GUI based program, which I have started programming in python.
Unlike other tools, this one is specifically made for the Motorola G3.
This entire tool is foolproof, so if you think you may brick your device when flashing TWRP, or stock rom by typing the wrong command, this is the place to be!
All of the tools are included in the program, including the TWRP.img file, and ADB and Fastboot tools.
Features
-- Moto G 2015 Specific
-- Roots Your Device
-- Flash TWRP
-- Flash Custom Roms
-- Flash Stock Rom
-- Push Modded Zips To The Device
-- Lock The Bootloader
-- Troubleshoot Your Device For Problems
Information
This program is not entirely finished, and some of the features above are not currently functional.
If you would like to contribute to this project, feel free to drop me a message, or email me at [email protected]
In one of the comments, I have posted a screenshot of the program, if anyone would like to see it running
Prerequisites
-- Python 3.4
XDA:DevDB Information
Motorola Utility, Tool/Utility for the Moto G 2015
Contributors
therealduff1
Version Information
Status: Testing
Created 2015-12-15
Last Updated 2015-12-16
Click to expand...
Click to collapse
If anyone thinks of a feature that could be added, please do 'feature request' it, and Il be happy to do my best to add it for you
What would people think about mobile custom rom installers , which would wipe dalvik and cache , factory reset etc. ,and then install the rom for you ?
Maybe even make a backup on the job
therealduff1 said:
What would people think about mobile custom rom installers , which would wipe dalvik and cache , factory reset etc. ,and then install the rom for you ?
Maybe even make a backup on the job
Click to expand...
Click to collapse
Good idea! That would help some noobs not to brick their phone.
By the way , you might want to put the adb and fastboot tools from version 1 of my program into version 2 , if version 2 is what you want to use . sorry about the problem , I just forgot to adb and fastboot in the zip
A think it's great what you are doing m8t am going to wait till u have a working sample then a will test it for u
---------- Post added at 12:59 PM ---------- Previous post was at 12:57 PM ----------
therealduff1 said:
What would people think about mobile custom rom installers , which would wipe dalvik and cache , factory reset etc. ,and then install the rom for you ?
Maybe even make a backup on the job
Click to expand...
Click to collapse
Excellent idea!!

Categories

Resources