App Review: Calculating Your Android Calculator Options

Sure, everyone has a default Calculator and its something that you dont think about … more

MultiROM Once Again Available for the Galaxy S4

Multiboot, or the ability to select betweenmultiple operating systems on a single device at … more

Build an Impractical But Awesome Lego Mindstorm Dock

The vast majority of what we cover here on the XDA-Developers News Portal relates to … more

MultiROM Makes its Way Over to the HTC One (M8)

While browsing our forum, you will undoubtedly find more than a few enticing ROMs available … more
Post Reply

[DEV] Kexec for locked bootloaders

14th February 2014, 06:45 PM   |  #1  
munjeni's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 16,172
 
5,000 posts
Join Date:Joined: Jun 2011
Hi, need next few things:

1. "cat /proc/iomem"
2. "cat /proc/atags" (if exist)
3. "ls /proc"
4. "echo 1 > /proc/sys/kernel/kptr_restrict" than give me output of the command "cat /proc/kallsyms"
3. link to the stockrom kernel source code

Give me these things, I will start development! Thanks!
Last edited by munjeni; 14th February 2014 at 10:05 PM.
The Following User Says Thank You to munjeni For This Useful Post: [ View ]
14th February 2014, 08:36 PM   |  #2  
zxz0O0's Avatar
Senior Member
Thanks Meter: 1,279
 
872 posts
Join Date:Joined: Apr 2011
Donate to Me
More
1. "cat /proc/iomem"
Code:
cat /proc/iomem
00000000-05cfffff : System RAM
  00008000-00dcc267 : Kernel code
  00f2a000-01258813 : Kernel data
0ff00000-788fffff : System RAM
7ff00000-7ff3ffff : rdtags_mem
7ff80000-7ffa0fff : last_kmsg
7ffa1000-7ffa5fff : last_amsslog
f920c100-f92fbfff : f9200000.dwc3
f9824900-f9824a1b : mmc0
f98a4900-f98a4a1b : mmc1
f991e000-f991efff : msm_serial_hsl
f9924000-f9924fff : f9924000.i2c
f9926000-f9926fff : f9926000.i2c
f9928000-f9928fff : f9928000.i2c
f9967000-f9967fff : f9967000.i2c
fb21b000-fb21dfff : pmu_base
fc380000-fc3e9fff : fc380000.msm-bimc
fc401680-fc401683 : restart_reg
fc4016c0-fc4016c3 : restart_reg
fc401700-fc401703 : clk_base
fc4281d0-fc4291cf : vmpm
fc460000-fc463fff : fc460000.msm-sys-noc
fc468000-fc46bfff : fc468000.msm-periph-noc
fc470000-fc473fff : fc470000.msm-ocmem-noc
fc478000-fc47bfff : fc478000.msm-mmss-noc
fc480000-fc483fff : fc480000.msm-config-noc
fc4a8000-fc4a9fff : tsens_physical
fc4bc000-fc4bcfff : tsens_eeprom_physical
fc820000-fc82001f : rmb_base
fc880000-fc8800ff : qdsp6_base
fd485300-fd48530b : halt_base
fda00020-fda0002f : csi_clk_mux
fda00030-fda00033 : csiphy_clk_mux
fda00038-fda0003b : csiphy_clk_mux
fda00040-fda00043 : csiphy_clk_mux
fda04000-fda040ff : fda04000.qcom,cpp
fda08000-fda080ff : fda08000.qcom,csid
fda08400-fda084ff : fda08400.qcom,csid
fda08800-fda088ff : fda08800.qcom,csid
fda08c00-fda08cff : fda08c00.qcom,csid
fda0a000-fda0a4ff : fda0a000.qcom,ispif
fda0ac00-fda0adff : fda0ac00.qcom,csiphy
fda0b000-fda0b1ff : fda0b000.qcom,csiphy
fda0b400-fda0b5ff : fda0b400.qcom,csiphy
fda0c000-fda0cfff : fda0c000.qcom,cci
fdb00000-fdb0ffff : kgsl-3d0
fdb20000-fdb2ffff : kgsl-3d0
fdc80000-fdc803ff : vbif_base
fdce0000-fdce3fff : wrapper_base
fe200000-fe2000ff : qdsp6_base
fec00000-fed7ffff : fdd00000.qcom,ocmem
2. "cat /proc/atags" (if exist)
Doesn't exist
3. "cat /proc"
cat: /proc: Is a directory
4. "echo 1 > /proc/sys/kernel/kptr_restrict" than give me output of the command "cat /proc/kallsyms"
Download (required root)
5. Kernel source code: http://developer.sonymobile.com/down...-14-2-a-1-114/


Looking forward to your development
Last edited by zxz0O0; 14th February 2014 at 09:06 PM.
The Following User Says Thank You to zxz0O0 For This Useful Post: [ View ]
14th February 2014, 10:05 PM   |  #3  
munjeni's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 16,172
 
5,000 posts
Join Date:Joined: Jun 2011
My wrong If possible please give me:

ls /proc

And another thing which I forgot is - what is displayed in android settings menu related to the kernel version? What is full kernel version name? Thank you!
Last edited by munjeni; 14th February 2014 at 10:07 PM.
14th February 2014, 10:57 PM   |  #4  
zxz0O0's Avatar
Senior Member
Thanks Meter: 1,279
 
872 posts
Join Date:Joined: Apr 2011
Donate to Me
More
ls /proc
Code:
1
100
10022
101
10141
102
10258
103
104
105
10583
106
107
108
109
110
111
11144
11161
112
11255
11276
113
11300
114
12070
121
12189
122
12224
12237
123
124
125
1253
12603
12621
127
12747
12778
12789
128
12815
12874
12890
129
12913
12927
13
130
131
132
1321
1329
133
13360
134
135
13502
13523
1355
13564
136
1362
13625
137
1370
138
1383
13832
139
14
1400
141
14108
142
143
14317
1433
144
14407
145
146
14711
14718
14724
148
149
1502
1536
15576
1589
1643
1675
169
170
17190
1734
174
18
18147
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
187
18762
18764
19
191
1917
192
194
195
19648
197
198
2
20
200
20078
201
20224
20412
20447
20448
20460
20487
20563
20667
20670
20671
20672
20686
20701
208
21
217
22
222
223
23
24
24046
241
244
2495
26584
2831
2846
29903
3
323
324
331
332
333
335
336
337
339
340
343
344
347
348
349
351
352
353
354
355
357
359
366
369
370
371
373
376
381
382
39
3911
40
41
410
4189
419
42
421
425
43
432
434
44
449
45
46
464
468
4684
47
48
49
50
51
511
516
517
518
519
52
520
522
523
524
5253
5254
5255
5256
526
527
5278
5280
53
54
544
55
554
56
57
58
5813
5829
59
60
607
61
62
63
65
66
67
68
69
7
70
71
73
74
75
76
764
765
769
77
8
863
8682
95
96
97
9790
98
99
9985
asound
buddyinfo
bus
cgroups
cmdline
consoles
cpu
cpuinfo
crypto
devices
diskstats
driver
execdomains
fb
filesystems
fs
interrupts
iomem
ioports
irq
kallsyms
key-users
kmsg
kpagecount
kpageflags
loadavg
locks
meminfo
misc
modules
mounts
msm_pm_stats
net
pagetypeinfo
partitions
rdtag
rdtags
sched_debug
schedstat
scsi
self
softirqs
stat
swaps
sys
sysrq-trigger
sysvipc
timer_list
timer_stats
tty
uid_stat
uptime
version
vmallocinfo
vmstat
zoneinfo
I have this kernel: http://forum.xda-developers.com/show....php?t=2620794
15th February 2014, 05:55 AM   |  #5  
poolmaker's Avatar
Senior Member
Thanks Meter: 61
 
211 posts
Join Date:Joined: Jul 2012
Deleted
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xperia Z1 Compact Original Android Development by ThreadRank